From 16a9b8e6cc26a8df1331cb1af8774df7cc05c959 Mon Sep 17 00:00:00 2001 From: Sanjay <71065320+Sanjay-Veernala@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:43:48 +0530 Subject: [PATCH 001/104] fix(snyk): snyk updated versions merged to oen pr --- package-lock.json | 5754 ++++++++++++++++++++++++++++++++++++++------- package.json | 11 +- 2 files changed, 4928 insertions(+), 837 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1bd460d2ab..525f6cdc1e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,11 @@ "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", - "@aws-sdk/client-personalize": "^3.363.0", + "@aws-sdk/client-lambda": "^3.276.0", + "@aws-sdk/client-personalize": "^3.391.0", "@aws-sdk/client-s3": "^3.370.0", - "@aws-sdk/credential-providers": "^3.363.0", - "@aws-sdk/lib-storage": "^3.370.0", + "@aws-sdk/credential-providers": "^3.391.0", + "@aws-sdk/lib-storage": "^3.391.0", "@bugsnag/js": "^7.20.2", "@datadog/pprof": "^3.1.0", "@koa/router": "^12.0.0", @@ -23,6 +24,7 @@ "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", @@ -52,10 +54,11 @@ "moment": "^2.29.4", "moment-timezone": "^0.5.43", "node-cache": "^5.1.2", - "node-fetch": "^2.6.9", + "node-fetch": "^2.6.12", "oauth-1.0a": "^2.2.6", "object-hash": "^3.0.0", "parse-static-imports": "^1.1.0", + "pprof": "^3.2.1", "prom-client": "^14.2.0", "qs": "^6.11.1", "rudder-transformer-cdk": "^1.4.11", @@ -350,423 +353,4299 @@ } }, "node_modules/@aws-sdk/client-cognito-identity": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.363.0.tgz", - "integrity": "sha512-tsJzgBSCpna85IVsuS7FBIK9wkSl7fs8TJ/QzapIgu8rKss0ySHVO6TeMVAdw2BvaQl7CxU9c3PosjhLWHu6KQ==", + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.414.0.tgz", + "integrity": "sha512-U9J0R/22eftQjY6JeAzXXYSgA+T6vx/jDsBBWBIKTjCZPBmmVOb2A4/d4sxHMxjh6Ms3DolpocE5FCbB9eGBEg==", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "3.363.0", - "@aws-sdk/credential-provider-node": "3.363.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-signing": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", + "@aws-sdk/client-sts": "3.414.0", + "@aws-sdk/credential-provider-node": "3.414.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-signing": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/region-config-resolver": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", + "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", + "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", + "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", + "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", + "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", + "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/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/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", + "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", + "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", + "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", + "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", + "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", + "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", + "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", + "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "dependencies": { + "@smithy/types": "^2.3.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", + "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", + "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", + "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", + "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/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/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", + "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", + "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", + "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", + "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", + "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", + "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", + "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", + "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", + "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@aws-sdk/client-lambda": { + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-lambda/-/client-lambda-3.414.0.tgz", + "integrity": "sha512-Nt2ktmFWKlL19NWcaG9fS2cxjiJvGDIp8Irt1NZngIOfmqm4XsY1AcUjUcdZRED/VjdfM0ziHa9Oj4VVVTdYZA==", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/client-sts": "3.414.0", + "@aws-sdk/credential-provider-node": "3.414.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-signing": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/region-config-resolver": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/eventstream-serde-browser": "^2.0.7", + "@smithy/eventstream-serde-config-resolver": "^2.0.7", + "@smithy/eventstream-serde-node": "^2.0.7", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-stream": "^2.0.10", + "@smithy/util-utf8": "^2.0.0", + "@smithy/util-waiter": "^2.0.7", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", + "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", + "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", + "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-codec": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-2.0.9.tgz", + "integrity": "sha512-sy0pcbKnawt1iu+qCoSFbs/h9PAaUgvlJEO3lqkE1HFFj4p5RgL98vH+9CyDoj6YY82cG5XsorFmcLqQJHTOYw==", + "dependencies": { + "@aws-crypto/crc32": "3.0.0", + "@smithy/types": "^2.3.3", + "@smithy/util-hex-encoding": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-serde-browser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-2.0.9.tgz", + "integrity": "sha512-g70enHZau2hGj1Uxedrn8AAjH9E7RnpHdwkuPKapagah53ztbwI7xaNeA5SLD4MjSjdrjathyQBCQKIzwXrR1g==", + "dependencies": { + "@smithy/eventstream-serde-universal": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-serde-config-resolver": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-2.0.9.tgz", + "integrity": "sha512-+15GzIMtdSuRPyuCeGZ7gzgD94Ejv6eM1vKcqvipdzS+i36KTZ2A9aZsJk+gDw//OCD1EMx9SqpV6bUvMS4PWg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-serde-node": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-2.0.9.tgz", + "integrity": "sha512-UEJcvN2WXXEjkewtFkj1S2HSZLbyCgzUnfoFPrTuKy4+xRfakO5dNx6ws2h1pvb8Vc7mTuBL+Webl1R5mnVsXA==", + "dependencies": { + "@smithy/eventstream-serde-universal": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-serde-universal": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-2.0.9.tgz", + "integrity": "sha512-dAHQEYlK/1tjjieBE7jjXwpLQFgKdkvC4HSQf+/Jj4t34XbUmXWHbw92/EuLp9+vjNB/JQPvkwpMtN31jxIDeg==", + "dependencies": { + "@smithy/eventstream-codec": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", + "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", + "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", + "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-lambda/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/@aws-sdk/client-lambda/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", + "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", + "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", + "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", + "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", + "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", + "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", + "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", + "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "dependencies": { + "@smithy/types": "^2.3.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", + "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", + "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", + "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", + "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/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/@aws-sdk/client-lambda/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", + "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", + "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", + "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", + "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", + "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", + "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", + "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", + "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", + "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-waiter": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-2.0.9.tgz", + "integrity": "sha512-Hy9Cs0FtIacC1aVFk98bm/7CYqim9fnHAPRnV/SB2mj02ExYs/9Dn5SrNQmtTBTLCn65KqYnNVBNS8GuGpZOOw==", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-lambda/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@aws-sdk/client-personalize": { + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-personalize/-/client-personalize-3.414.0.tgz", + "integrity": "sha512-KHaNSYI/TPV77/S3Ble3/Qxq5lGJO5tXY8BpfQU4Gdp92MNkPowPdx4Pn3DFYyNovAGUmA/Y2iWP+vJBtyvQSA==", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/client-sts": "3.414.0", + "@aws-sdk/credential-provider-node": "3.414.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-signing": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/region-config-resolver": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", + "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", + "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", + "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", + "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", + "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", + "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-personalize/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/@aws-sdk/client-personalize/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", + "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", + "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", + "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", + "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", + "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", + "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", + "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", + "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "dependencies": { + "@smithy/types": "^2.3.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", + "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", + "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", + "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", + "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/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/@aws-sdk/client-personalize/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", + "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", + "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", + "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", + "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", + "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", + "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", + "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", + "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", + "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@aws-sdk/client-s3": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.370.0.tgz", + "integrity": "sha512-+b53hI+C+tIiE6OhIvaUXD5qC0zFrCWIu6EKT597W+4XzfFIZE0BGgolP8pC1lLDghPjCFSmAm9Efcb2a1sPvw==", + "dependencies": { + "@aws-crypto/sha1-browser": "3.0.0", + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/client-sts": "3.370.0", + "@aws-sdk/credential-provider-node": "3.370.0", + "@aws-sdk/hash-blob-browser": "3.370.0", + "@aws-sdk/hash-stream-node": "3.370.0", + "@aws-sdk/md5-js": "3.370.0", + "@aws-sdk/middleware-bucket-endpoint": "3.370.0", + "@aws-sdk/middleware-expect-continue": "3.370.0", + "@aws-sdk/middleware-flexible-checksums": "3.370.0", + "@aws-sdk/middleware-host-header": "3.370.0", + "@aws-sdk/middleware-location-constraint": "3.370.0", + "@aws-sdk/middleware-logger": "3.370.0", + "@aws-sdk/middleware-recursion-detection": "3.370.0", + "@aws-sdk/middleware-sdk-s3": "3.370.0", + "@aws-sdk/middleware-signing": "3.370.0", + "@aws-sdk/middleware-ssec": "3.370.0", + "@aws-sdk/middleware-user-agent": "3.370.0", + "@aws-sdk/signature-v4-multi-region": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@aws-sdk/util-user-agent-browser": "3.370.0", + "@aws-sdk/util-user-agent-node": "3.370.0", + "@aws-sdk/xml-builder": "3.310.0", + "@smithy/config-resolver": "^1.0.1", + "@smithy/eventstream-serde-browser": "^1.0.1", + "@smithy/eventstream-serde-config-resolver": "^1.0.1", + "@smithy/eventstream-serde-node": "^1.0.1", + "@smithy/fetch-http-handler": "^1.0.1", + "@smithy/hash-node": "^1.0.1", + "@smithy/invalid-dependency": "^1.0.1", + "@smithy/middleware-content-length": "^1.0.1", + "@smithy/middleware-endpoint": "^1.0.2", + "@smithy/middleware-retry": "^1.0.3", + "@smithy/middleware-serde": "^1.0.1", + "@smithy/middleware-stack": "^1.0.1", + "@smithy/node-config-provider": "^1.0.1", + "@smithy/node-http-handler": "^1.0.2", + "@smithy/protocol-http": "^1.1.0", + "@smithy/smithy-client": "^1.0.3", + "@smithy/types": "^1.1.0", + "@smithy/url-parser": "^1.0.1", + "@smithy/util-base64": "^1.0.1", + "@smithy/util-body-length-browser": "^1.0.1", + "@smithy/util-body-length-node": "^1.0.1", + "@smithy/util-defaults-mode-browser": "^1.0.1", + "@smithy/util-defaults-mode-node": "^1.0.1", + "@smithy/util-retry": "^1.0.3", + "@smithy/util-stream": "^1.0.1", + "@smithy/util-utf8": "^1.0.1", + "@smithy/util-waiter": "^1.0.1", + "fast-xml-parser": "4.2.5", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.370.0.tgz", + "integrity": "sha512-0Ty1iHuzNxMQtN7nahgkZr4Wcu1XvqGfrQniiGdKKif9jG/4elxsQPiydRuQpFqN6b+bg7wPP7crFP1uTxx2KQ==", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/middleware-host-header": "3.370.0", + "@aws-sdk/middleware-logger": "3.370.0", + "@aws-sdk/middleware-recursion-detection": "3.370.0", + "@aws-sdk/middleware-user-agent": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@aws-sdk/util-user-agent-browser": "3.370.0", + "@aws-sdk/util-user-agent-node": "3.370.0", + "@smithy/config-resolver": "^1.0.1", + "@smithy/fetch-http-handler": "^1.0.1", + "@smithy/hash-node": "^1.0.1", + "@smithy/invalid-dependency": "^1.0.1", + "@smithy/middleware-content-length": "^1.0.1", + "@smithy/middleware-endpoint": "^1.0.2", + "@smithy/middleware-retry": "^1.0.3", + "@smithy/middleware-serde": "^1.0.1", + "@smithy/middleware-stack": "^1.0.1", + "@smithy/node-config-provider": "^1.0.1", + "@smithy/node-http-handler": "^1.0.2", + "@smithy/protocol-http": "^1.1.0", + "@smithy/smithy-client": "^1.0.3", + "@smithy/types": "^1.1.0", + "@smithy/url-parser": "^1.0.1", + "@smithy/util-base64": "^1.0.1", + "@smithy/util-body-length-browser": "^1.0.1", + "@smithy/util-body-length-node": "^1.0.1", + "@smithy/util-defaults-mode-browser": "^1.0.1", + "@smithy/util-defaults-mode-node": "^1.0.1", + "@smithy/util-retry": "^1.0.3", + "@smithy/util-utf8": "^1.0.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso-oidc": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.370.0.tgz", + "integrity": "sha512-jAYOO74lmVXylQylqkPrjLzxvUnMKw476JCUTvCO6Q8nv3LzCWd76Ihgv/m9Q4M2Tbqi1iP2roVK5bstsXzEjA==", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/middleware-host-header": "3.370.0", + "@aws-sdk/middleware-logger": "3.370.0", + "@aws-sdk/middleware-recursion-detection": "3.370.0", + "@aws-sdk/middleware-user-agent": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@aws-sdk/util-user-agent-browser": "3.370.0", + "@aws-sdk/util-user-agent-node": "3.370.0", + "@smithy/config-resolver": "^1.0.1", + "@smithy/fetch-http-handler": "^1.0.1", + "@smithy/hash-node": "^1.0.1", + "@smithy/invalid-dependency": "^1.0.1", + "@smithy/middleware-content-length": "^1.0.1", + "@smithy/middleware-endpoint": "^1.0.2", + "@smithy/middleware-retry": "^1.0.3", + "@smithy/middleware-serde": "^1.0.1", + "@smithy/middleware-stack": "^1.0.1", + "@smithy/node-config-provider": "^1.0.1", + "@smithy/node-http-handler": "^1.0.2", + "@smithy/protocol-http": "^1.1.0", + "@smithy/smithy-client": "^1.0.3", + "@smithy/types": "^1.1.0", + "@smithy/url-parser": "^1.0.1", + "@smithy/util-base64": "^1.0.1", + "@smithy/util-body-length-browser": "^1.0.1", + "@smithy/util-body-length-node": "^1.0.1", + "@smithy/util-defaults-mode-browser": "^1.0.1", + "@smithy/util-defaults-mode-node": "^1.0.1", + "@smithy/util-retry": "^1.0.3", + "@smithy/util-utf8": "^1.0.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sts": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.370.0.tgz", + "integrity": "sha512-utFxOPWIzbN+3kc415Je2o4J72hOLNhgR2Gt5EnRSggC3yOnkC4GzauxG8n7n5gZGBX45eyubHyPOXLOIyoqQA==", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/credential-provider-node": "3.370.0", + "@aws-sdk/middleware-host-header": "3.370.0", + "@aws-sdk/middleware-logger": "3.370.0", + "@aws-sdk/middleware-recursion-detection": "3.370.0", + "@aws-sdk/middleware-sdk-sts": "3.370.0", + "@aws-sdk/middleware-signing": "3.370.0", + "@aws-sdk/middleware-user-agent": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@aws-sdk/util-user-agent-browser": "3.370.0", + "@aws-sdk/util-user-agent-node": "3.370.0", "@smithy/config-resolver": "^1.0.1", "@smithy/fetch-http-handler": "^1.0.1", "@smithy/hash-node": "^1.0.1", "@smithy/invalid-dependency": "^1.0.1", "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.2", + "@smithy/middleware-endpoint": "^1.0.2", + "@smithy/middleware-retry": "^1.0.3", "@smithy/middleware-serde": "^1.0.1", "@smithy/middleware-stack": "^1.0.1", "@smithy/node-config-provider": "^1.0.1", "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.0.1", + "@smithy/protocol-http": "^1.1.0", "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.0.0", + "@smithy/types": "^1.1.0", "@smithy/url-parser": "^1.0.1", "@smithy/util-base64": "^1.0.1", "@smithy/util-body-length-browser": "^1.0.1", "@smithy/util-body-length-node": "^1.0.1", "@smithy/util-defaults-mode-browser": "^1.0.1", "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.2", + "@smithy/util-retry": "^1.0.3", "@smithy/util-utf8": "^1.0.1", + "fast-xml-parser": "4.2.5", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-env": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.370.0.tgz", + "integrity": "sha512-raR3yP/4GGbKFRPP5hUBNkEmTnzxI9mEc2vJAJrcv4G4J4i/UP6ELiLInQ5eO2/VcV/CeKGZA3t7d1tsJ+jhCg==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-ini": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.370.0.tgz", + "integrity": "sha512-eJyapFKa4NrC9RfTgxlXnXfS9InG/QMEUPPVL+VhG7YS6nKqetC1digOYgivnEeu+XSKE0DJ7uZuXujN2Y7VAQ==", + "dependencies": { + "@aws-sdk/credential-provider-env": "3.370.0", + "@aws-sdk/credential-provider-process": "3.370.0", + "@aws-sdk/credential-provider-sso": "3.370.0", + "@aws-sdk/credential-provider-web-identity": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/credential-provider-imds": "^1.0.1", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-node": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.370.0.tgz", + "integrity": "sha512-gkFiotBFKE4Fcn8CzQnMeab9TAR06FEAD02T4ZRYW1xGrBJOowmje9dKqdwQFHSPgnWAP+8HoTA8iwbhTLvjNA==", + "dependencies": { + "@aws-sdk/credential-provider-env": "3.370.0", + "@aws-sdk/credential-provider-ini": "3.370.0", + "@aws-sdk/credential-provider-process": "3.370.0", + "@aws-sdk/credential-provider-sso": "3.370.0", + "@aws-sdk/credential-provider-web-identity": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/credential-provider-imds": "^1.0.1", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-process": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.370.0.tgz", + "integrity": "sha512-0BKFFZmUO779Xdw3u7wWnoWhYA4zygxJbgGVSyjkOGBvdkbPSTTcdwT1KFkaQy2kOXYeZPl+usVVRXs+ph4ejg==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-sso": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.370.0.tgz", + "integrity": "sha512-PFroYm5hcPSfC/jkZnCI34QFL3I7WVKveVk6/F3fud/cnP8hp6YjA9NiTNbqdFSzsyoiN/+e5fZgNKih8vVPTA==", + "dependencies": { + "@aws-sdk/client-sso": "3.370.0", + "@aws-sdk/token-providers": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-web-identity": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.370.0.tgz", + "integrity": "sha512-CFaBMLRudwhjv1sDzybNV93IaT85IwS+L8Wq6VRMa0mro1q9rrWsIZO811eF+k0NEPfgU1dLH+8Vc2qhw4SARQ==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-host-header": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.370.0.tgz", + "integrity": "sha512-CPXOm/TnOFC7KyXcJglICC7OiA7Kj6mT3ChvEijr56TFOueNHvJdV4aNIFEQy0vGHOWtY12qOWLNto/wYR1BAQ==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-logger": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.370.0.tgz", + "integrity": "sha512-cQMq9SaZ/ORmTJPCT6VzMML7OxFdQzNkhMAgKpTDl+tdPWynlHF29E5xGoSzROnThHlQPCjogU0NZ8AxI0SWPA==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-recursion-detection": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.370.0.tgz", + "integrity": "sha512-L7ZF/w0lAAY/GK1khT8VdoU0XB7nWHk51rl/ecAg64J70dHnMOAg8n+5FZ9fBu/xH1FwUlHOkwlodJOgzLJjtg==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-sdk-sts": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.370.0.tgz", + "integrity": "sha512-ykbsoVy0AJtVbuhAlTAMcaz/tCE3pT8nAp0L7CQQxSoanRCvOux7au0KwMIQVhxgnYid4dWVF6d00SkqU5MXRA==", + "dependencies": { + "@aws-sdk/middleware-signing": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-signing": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.370.0.tgz", + "integrity": "sha512-Dwr/RTCWOXdm394wCwICGT2VNOTMRe4IGPsBRJAsM24pm+EEqQzSS3Xu/U/zF4exuxqpMta4wec4QpSarPNTxA==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/protocol-http": "^1.1.0", + "@smithy/signature-v4": "^1.0.1", + "@smithy/types": "^1.1.0", + "@smithy/util-middleware": "^1.0.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-user-agent": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.370.0.tgz", + "integrity": "sha512-2+3SB6MtMAq1+gVXhw0Y3ONXuljorh6ijnxgTpv+uQnBW5jHCUiAS8WDYiDEm7i9euJPbvJfM8WUrSMDMU6Cog==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/token-providers": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.370.0.tgz", + "integrity": "sha512-EyR2ZYr+lJeRiZU2/eLR+mlYU9RXLQvNyGFSAekJKgN13Rpq/h0syzXVFLP/RSod/oZenh/fhVZ2HwlZxuGBtQ==", + "dependencies": { + "@aws-sdk/client-sso-oidc": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-endpoints": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.370.0.tgz", + "integrity": "sha512-5ltVAnM79nRlywwzZN5i8Jp4tk245OCGkKwwXbnDU+gq7zT3CIOsct1wNZvmpfZEPGt/bv7/NyRcjP+7XNsX/g==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-browser": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.370.0.tgz", + "integrity": "sha512-028LxYZMQ0DANKhW+AKFQslkScZUeYlPmSphrCIXgdIItRZh6ZJHGzE7J/jDsEntZOrZJsjI4z0zZ5W2idj04w==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/types": "^1.1.0", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-node": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.370.0.tgz", + "integrity": "sha512-33vxZUp8vxTT/DGYIR3PivQm07sSRGWI+4fCv63Rt7Q++fO24E0kQtmVAlikRY810I10poD6rwILVtITtFSzkg==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/node-config-provider": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "aws-crt": ">=1.0.0" + }, + "peerDependenciesMeta": { + "aws-crt": { + "optional": true + } + } + }, + "node_modules/@aws-sdk/client-sso": { + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.414.0.tgz", + "integrity": "sha512-GvRwQ7wA3edzsQEKS70ZPhkOUZ62PAiXasjp6GxrsADEb8sV1z4FxXNl9Un/7fQxKkh9QYaK1Wu1PmhLi9MLMg==", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/region-config-resolver": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", + "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", + "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", + "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", + "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", + "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", + "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sso/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/@aws-sdk/client-sso/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", + "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", + "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", + "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", + "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", + "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", + "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", + "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", + "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "dependencies": { + "@smithy/types": "^2.3.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", + "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", + "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", + "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", + "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/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/@aws-sdk/client-sso/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", + "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", + "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", + "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", + "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", + "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", + "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", + "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", + "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", + "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@aws-sdk/client-sts": { + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.414.0.tgz", + "integrity": "sha512-xeYH3si6Imp1EWolWn1zuxJJu2AXKwXl1HDftQULwC5AWkm1mNFbXYSJN4hQul1IM+kn+JTRB0XRHByQkKhe+Q==", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/credential-provider-node": "3.414.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-sdk-sts": "3.413.0", + "@aws-sdk/middleware-signing": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/region-config-resolver": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "fast-xml-parser": "4.2.5", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", + "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", + "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", + "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", + "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", + "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", + "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sts/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/@aws-sdk/client-sts/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", + "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", + "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", + "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", + "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", + "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", + "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", + "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", + "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "dependencies": { + "@smithy/types": "^2.3.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", + "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", + "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", + "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", + "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/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/@aws-sdk/client-sts/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", + "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", + "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", + "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", + "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", + "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", + "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", + "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", + "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", + "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@aws-sdk/credential-provider-cognito-identity": { + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.414.0.tgz", + "integrity": "sha512-sAbp5HVy0YmvXUKkkTt8Tr5a5XNQMxshxI+pmXHLCHNpRATS9A6i7YHVNMGmERKGriFWZG0Q8qgKh1E+rvN7fQ==", + "dependencies": { + "@aws-sdk/client-cognito-identity": "3.414.0", + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.413.0.tgz", + "integrity": "sha512-yeMOkfG20/RlzfPMtQuDB647AcPEvFEVYOWZzAWVJfldYQ5ybKr0d7sBkgG9sdAzGkK3Aw9dE4rigYI8EIqc1Q==", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini": { + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.414.0.tgz", + "integrity": "sha512-rlpLLx70roJL/t40opWC96LbIASejdMbRlgSCRpK8b/hKngYDe5A7SRVacaw08vYrAywxRiybxpQOwOt9b++rA==", + "dependencies": { + "@aws-sdk/credential-provider-env": "3.413.0", + "@aws-sdk/credential-provider-process": "3.413.0", + "@aws-sdk/credential-provider-sso": "3.414.0", + "@aws-sdk/credential-provider-web-identity": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/credential-provider-imds": "^2.0.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", + "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node": { + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.414.0.tgz", + "integrity": "sha512-xlkcOUKeGHInxWKKrZKIPSBCUL/ozyCldJBjmMKEj7ZmBAEiDcjpMe3pZ//LibMkCSy0b/7jtyQBE/eaIT2o0A==", + "dependencies": { + "@aws-sdk/credential-provider-env": "3.413.0", + "@aws-sdk/credential-provider-ini": "3.414.0", + "@aws-sdk/credential-provider-process": "3.413.0", + "@aws-sdk/credential-provider-sso": "3.414.0", + "@aws-sdk/credential-provider-web-identity": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/credential-provider-imds": "^2.0.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", + "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.413.0.tgz", + "integrity": "sha512-GFJdgS14GzJ1wc2DEnS44Z/34iBZ05CAkvDsLN2CMwcDgH4eZuif9/x0lwzIJBK3xVFHzYUeVvEzsqRPbCHRsw==", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso": { + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.414.0.tgz", + "integrity": "sha512-w9g2hlkZn7WekWICRqk+L33py7KrjYMFryVpkKXOx2pjDchCfZDr6pL1ml782GZ0L3qsob4SbNpbtp13JprnWQ==", + "dependencies": { + "@aws-sdk/client-sso": "3.414.0", + "@aws-sdk/token-providers": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.413.0.tgz", + "integrity": "sha512-5cdA1Iq9JeEHtg59ERV9fdMQ7cS0JF6gH/BWA7HYEUGdSVPXCuwyEggPtG64QgpNU7SmxH+QdDG+Ldxz09ycIA==", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers": { + "version": "3.414.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.414.0.tgz", + "integrity": "sha512-xv3cN/lu+HRroGWYWtqwBQ+guykyjSKHzYq6FlyfBZyjC6u8hoeNSNilFobIooJOXfrDM0LKr9L+uUlPE+0+lg==", + "dependencies": { + "@aws-sdk/client-cognito-identity": "3.414.0", + "@aws-sdk/client-sso": "3.414.0", + "@aws-sdk/client-sts": "3.414.0", + "@aws-sdk/credential-provider-cognito-identity": "3.414.0", + "@aws-sdk/credential-provider-env": "3.413.0", + "@aws-sdk/credential-provider-ini": "3.414.0", + "@aws-sdk/credential-provider-node": "3.414.0", + "@aws-sdk/credential-provider-process": "3.413.0", + "@aws-sdk/credential-provider-sso": "3.414.0", + "@aws-sdk/credential-provider-web-identity": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/credential-provider-imds": "^2.0.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", + "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/hash-blob-browser": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/hash-blob-browser/-/hash-blob-browser-3.370.0.tgz", + "integrity": "sha512-DyStaznfloyF9jN3KvG6puOAjt25alXoBNeHBF2FyLlEEbrOqUmso39JB5LVAw2/KB4UmCNsbAXFb6WktX/yHQ==", + "dependencies": { + "@aws-sdk/chunked-blob-reader": "3.310.0", + "@aws-sdk/chunked-blob-reader-native": "3.310.0", + "@aws-sdk/types": "3.370.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/hash-stream-node": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/hash-stream-node/-/hash-stream-node-3.370.0.tgz", + "integrity": "sha512-ExsbBiIMiL9AN1VpWlD8+xaO5s0cXUZJC2UONiQbgMb1jz7Wq9fa1GmKUDyaGXOuQTT7DDhAmalb9fIpauZKuA==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-utf8": "3.310.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/is-array-buffer": { + "version": "3.310.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/is-array-buffer/-/is-array-buffer-3.310.0.tgz", + "integrity": "sha512-urnbcCR+h9NWUnmOtet/s4ghvzsidFmspfhYaHAmSRdy9yDjdjBJMFjjsn85A1ODUktztm+cVncXjQ38WCMjMQ==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage": { + "version": "3.417.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/lib-storage/-/lib-storage-3.417.0.tgz", + "integrity": "sha512-L981uo/QCXTQW34zfvwN4iB0Xh6tFFq/lVaZfoTa2WvXT22+NxccbblyAdYckN3q+KasfcAQCP618t8Fk2BMwg==", + "dependencies": { + "@smithy/abort-controller": "^2.0.1", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/smithy-client": "^2.1.4", + "buffer": "5.6.0", + "events": "3.3.0", + "stream-browserify": "3.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "@aws-sdk/client-s3": "^3.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", + "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", + "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/lib-storage/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/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", + "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-personalize": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-personalize/-/client-personalize-3.363.0.tgz", - "integrity": "sha512-SZ9QO3LLuIiAvT28F2Qo7ImbmAvedticrDMoFpvVQB2TJ/NR0wzu33udMqN4ZCy8bUY9eG1mhdo35YAhzVgjBQ==", + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", + "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "3.363.0", - "@aws-sdk/credential-provider-node": "3.363.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-signing": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.2", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.0.1", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.0.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.2", - "@smithy/util-utf8": "^1.0.1", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-personalize/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", + "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3": { + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", + "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", + "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", + "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", + "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/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/@aws-sdk/lib-storage/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", + "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", + "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", + "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", + "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", + "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/md5-js": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.370.0.tgz", - "integrity": "sha512-+b53hI+C+tIiE6OhIvaUXD5qC0zFrCWIu6EKT597W+4XzfFIZE0BGgolP8pC1lLDghPjCFSmAm9Efcb2a1sPvw==", + "resolved": "https://registry.npmjs.org/@aws-sdk/md5-js/-/md5-js-3.370.0.tgz", + "integrity": "sha512-wch3+hiRdFGsu5E+w3WU9qmumQErKshtgetd6wMgFYm2MPSksFU58rM/aiwiWRA6knpcaShKaPKMmGnuX3HwhQ==", "dependencies": { - "@aws-crypto/sha1-browser": "3.0.0", - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "3.370.0", - "@aws-sdk/credential-provider-node": "3.370.0", - "@aws-sdk/hash-blob-browser": "3.370.0", - "@aws-sdk/hash-stream-node": "3.370.0", - "@aws-sdk/md5-js": "3.370.0", - "@aws-sdk/middleware-bucket-endpoint": "3.370.0", - "@aws-sdk/middleware-expect-continue": "3.370.0", - "@aws-sdk/middleware-flexible-checksums": "3.370.0", - "@aws-sdk/middleware-host-header": "3.370.0", - "@aws-sdk/middleware-location-constraint": "3.370.0", - "@aws-sdk/middleware-logger": "3.370.0", - "@aws-sdk/middleware-recursion-detection": "3.370.0", - "@aws-sdk/middleware-sdk-s3": "3.370.0", - "@aws-sdk/middleware-signing": "3.370.0", - "@aws-sdk/middleware-ssec": "3.370.0", - "@aws-sdk/middleware-user-agent": "3.370.0", - "@aws-sdk/signature-v4-multi-region": "3.370.0", "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@aws-sdk/util-user-agent-browser": "3.370.0", - "@aws-sdk/util-user-agent-node": "3.370.0", - "@aws-sdk/xml-builder": "3.310.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/eventstream-serde-browser": "^1.0.1", - "@smithy/eventstream-serde-config-resolver": "^1.0.1", - "@smithy/eventstream-serde-node": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/middleware-retry": "^1.0.3", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", + "@aws-sdk/util-utf8": "3.310.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/middleware-bucket-endpoint": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.370.0.tgz", + "integrity": "sha512-B36+fOeJVO0D9cjR92Ob6Ki2FTzyTQ/uKk8w+xtur6W6zYVOPU4IQNpNZvN3Ykt4jitR2uUnVSlBb3sXHHhdFA==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-arn-parser": "3.310.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/types": "^1.1.0", + "@smithy/util-config-provider": "^1.0.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-expect-continue": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.370.0.tgz", + "integrity": "sha512-OlFIpXa53obLryHyrqedE2Cp8lp2k+1Vjd++hlZFDFJncRlWZMxoXSyl6shQPqhIiGnNW4vt7tG5xE4jg4NAvw==", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-flexible-checksums": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.370.0.tgz", + "integrity": "sha512-62fyW4hZxppvkQKSXdkzjHQ95dXyVCuL18Sfnlciy9pr9f/t5w6LhZIxsNIW+Ge9mbgc661SVRKTwxlZj6FuLQ==", + "dependencies": { + "@aws-crypto/crc32": "3.0.0", + "@aws-crypto/crc32c": "3.0.0", + "@aws-sdk/types": "3.370.0", + "@smithy/is-array-buffer": "^1.0.1", "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.3", "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.3", - "@smithy/util-stream": "^1.0.1", "@smithy/util-utf8": "^1.0.1", - "@smithy/util-waiter": "^1.0.1", - "fast-xml-parser": "4.2.5", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.370.0.tgz", - "integrity": "sha512-0Ty1iHuzNxMQtN7nahgkZr4Wcu1XvqGfrQniiGdKKif9jG/4elxsQPiydRuQpFqN6b+bg7wPP7crFP1uTxx2KQ==", + "node_modules/@aws-sdk/middleware-host-header": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.413.0.tgz", + "integrity": "sha512-r9PQx468EzPHo9wRzZLfgROpKtVdbkteMrdhsuM12bifVHjU1OHr7yfhc1OdWv39X8Xiv6F8n5r+RBQEM0S6+g==", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-host-header/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-host-header/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-host-header/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/middleware-host-header": "3.370.0", - "@aws-sdk/middleware-logger": "3.370.0", - "@aws-sdk/middleware-recursion-detection": "3.370.0", - "@aws-sdk/middleware-user-agent": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@aws-sdk/util-user-agent-browser": "3.370.0", - "@aws-sdk/util-user-agent-node": "3.370.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/middleware-retry": "^1.0.3", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.3", - "@smithy/util-utf8": "^1.0.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso-oidc": { + "node_modules/@aws-sdk/middleware-location-constraint": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.370.0.tgz", - "integrity": "sha512-jAYOO74lmVXylQylqkPrjLzxvUnMKw476JCUTvCO6Q8nv3LzCWd76Ihgv/m9Q4M2Tbqi1iP2roVK5bstsXzEjA==", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.370.0.tgz", + "integrity": "sha512-NlDZEbBOF1IN7svUTcjbLodkUctt9zsfDI8+DqNlklRs5lsPb91WYvahOfjFO/EvACixa+a5d3cCumMCaIq4Cw==", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/middleware-host-header": "3.370.0", - "@aws-sdk/middleware-logger": "3.370.0", - "@aws-sdk/middleware-recursion-detection": "3.370.0", - "@aws-sdk/middleware-user-agent": "3.370.0", "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@aws-sdk/util-user-agent-browser": "3.370.0", - "@aws-sdk/util-user-agent-node": "3.370.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/middleware-retry": "^1.0.3", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.3", "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.3", - "@smithy/util-utf8": "^1.0.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sts": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.370.0.tgz", - "integrity": "sha512-utFxOPWIzbN+3kc415Je2o4J72hOLNhgR2Gt5EnRSggC3yOnkC4GzauxG8n7n5gZGBX45eyubHyPOXLOIyoqQA==", + "node_modules/@aws-sdk/middleware-logger": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.413.0.tgz", + "integrity": "sha512-jqcXDubcKvoqBy+kkEa0WoNjG6SveDeyNy+gdGnTV+DEtYjkcHrHJei4q0W5zFl0mzc+dP+z8tJF44rv95ZY3Q==", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/credential-provider-node": "3.370.0", - "@aws-sdk/middleware-host-header": "3.370.0", - "@aws-sdk/middleware-logger": "3.370.0", - "@aws-sdk/middleware-recursion-detection": "3.370.0", - "@aws-sdk/middleware-sdk-sts": "3.370.0", - "@aws-sdk/middleware-signing": "3.370.0", - "@aws-sdk/middleware-user-agent": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@aws-sdk/util-user-agent-browser": "3.370.0", - "@aws-sdk/util-user-agent-node": "3.370.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/middleware-retry": "^1.0.3", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.3", - "@smithy/util-utf8": "^1.0.1", - "fast-xml-parser": "4.2.5", + "@aws-sdk/types": "3.413.0", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-env": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.370.0.tgz", - "integrity": "sha512-raR3yP/4GGbKFRPP5hUBNkEmTnzxI9mEc2vJAJrcv4G4J4i/UP6ELiLInQ5eO2/VcV/CeKGZA3t7d1tsJ+jhCg==", + "node_modules/@aws-sdk/middleware-logger/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.370.0.tgz", - "integrity": "sha512-eJyapFKa4NrC9RfTgxlXnXfS9InG/QMEUPPVL+VhG7YS6nKqetC1digOYgivnEeu+XSKE0DJ7uZuXujN2Y7VAQ==", + "node_modules/@aws-sdk/middleware-logger/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { - "@aws-sdk/credential-provider-env": "3.370.0", - "@aws-sdk/credential-provider-process": "3.370.0", - "@aws-sdk/credential-provider-sso": "3.370.0", - "@aws-sdk/credential-provider-web-identity": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-node": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.370.0.tgz", - "integrity": "sha512-gkFiotBFKE4Fcn8CzQnMeab9TAR06FEAD02T4ZRYW1xGrBJOowmje9dKqdwQFHSPgnWAP+8HoTA8iwbhTLvjNA==", + "node_modules/@aws-sdk/middleware-recursion-detection": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.413.0.tgz", + "integrity": "sha512-C6k0IKJk/A4/VBGwUjxEPG+WOjjnmWAZVRBUzaeM7PqRh+g5rLcuIV356ntV3pREVxyiSTePTYVYIHU9YXkLKQ==", "dependencies": { - "@aws-sdk/credential-provider-env": "3.370.0", - "@aws-sdk/credential-provider-ini": "3.370.0", - "@aws-sdk/credential-provider-process": "3.370.0", - "@aws-sdk/credential-provider-sso": "3.370.0", - "@aws-sdk/credential-provider-web-identity": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "@aws-sdk/types": "3.413.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-process": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.370.0.tgz", - "integrity": "sha512-0BKFFZmUO779Xdw3u7wWnoWhYA4zygxJbgGVSyjkOGBvdkbPSTTcdwT1KFkaQy2kOXYeZPl+usVVRXs+ph4ejg==", + "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.370.0.tgz", - "integrity": "sha512-PFroYm5hcPSfC/jkZnCI34QFL3I7WVKveVk6/F3fud/cnP8hp6YjA9NiTNbqdFSzsyoiN/+e5fZgNKih8vVPTA==", + "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", "dependencies": { - "@aws-sdk/client-sso": "3.370.0", - "@aws-sdk/token-providers": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.370.0.tgz", - "integrity": "sha512-CFaBMLRudwhjv1sDzybNV93IaT85IwS+L8Wq6VRMa0mro1q9rrWsIZO811eF+k0NEPfgU1dLH+8Vc2qhw4SARQ==", + "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-host-header": { + "node_modules/@aws-sdk/middleware-sdk-s3": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.370.0.tgz", - "integrity": "sha512-CPXOm/TnOFC7KyXcJglICC7OiA7Kj6mT3ChvEijr56TFOueNHvJdV4aNIFEQy0vGHOWtY12qOWLNto/wYR1BAQ==", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.370.0.tgz", + "integrity": "sha512-DPYXtveWBDS5MzSHWTThg2KkLaOzZkCgPejjEuw3yl4ljsHawDs/ZIVCtmWXlBIS2lLCaBMpCV+t9psuJ/6/zQ==", "dependencies": { "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-arn-parser": "3.310.0", "@smithy/protocol-http": "^1.1.0", "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -775,381 +4654,325 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-logger": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.370.0.tgz", - "integrity": "sha512-cQMq9SaZ/ORmTJPCT6VzMML7OxFdQzNkhMAgKpTDl+tdPWynlHF29E5xGoSzROnThHlQPCjogU0NZ8AxI0SWPA==", + "node_modules/@aws-sdk/middleware-sdk-sts": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.413.0.tgz", + "integrity": "sha512-t0u//JUyaEZRVnH5q+Ur3tWnuyIsTdwA0XOdDCZXcSlLYzGp2MI/tScLjn9IydRrceIFpFfmbjk4Nf/Q6TeBTQ==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/types": "^1.1.0", + "@aws-sdk/middleware-signing": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-recursion-detection": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.370.0.tgz", - "integrity": "sha512-L7ZF/w0lAAY/GK1khT8VdoU0XB7nWHk51rl/ecAg64J70dHnMOAg8n+5FZ9fBu/xH1FwUlHOkwlodJOgzLJjtg==", + "node_modules/@aws-sdk/middleware-sdk-sts/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-sdk-sts": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.370.0.tgz", - "integrity": "sha512-ykbsoVy0AJtVbuhAlTAMcaz/tCE3pT8nAp0L7CQQxSoanRCvOux7au0KwMIQVhxgnYid4dWVF6d00SkqU5MXRA==", + "node_modules/@aws-sdk/middleware-sdk-sts/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { - "@aws-sdk/middleware-signing": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-signing": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.370.0.tgz", - "integrity": "sha512-Dwr/RTCWOXdm394wCwICGT2VNOTMRe4IGPsBRJAsM24pm+EEqQzSS3Xu/U/zF4exuxqpMta4wec4QpSarPNTxA==", + "node_modules/@aws-sdk/middleware-signing": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.413.0.tgz", + "integrity": "sha512-QFEnVvIKYPCermM+ESxEztgUgXzGSKpnPnohMYNvSZySqmOLu/4VvxiZbRO/BX9J3ZHcUgaw4vKm5VBZRrycxw==", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/signature-v4": "^2.0.0", + "@smithy/types": "^2.3.1", + "@smithy/util-middleware": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/protocol-http": "^1.1.0", - "@smithy/signature-v4": "^1.0.1", - "@smithy/types": "^1.1.0", - "@smithy/util-middleware": "^1.0.1", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/eventstream-codec": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-2.0.9.tgz", + "integrity": "sha512-sy0pcbKnawt1iu+qCoSFbs/h9PAaUgvlJEO3lqkE1HFFj4p5RgL98vH+9CyDoj6YY82cG5XsorFmcLqQJHTOYw==", + "dependencies": { + "@aws-crypto/crc32": "3.0.0", + "@smithy/types": "^2.3.3", + "@smithy/util-hex-encoding": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/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/@aws-sdk/middleware-signing/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-user-agent": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.370.0.tgz", - "integrity": "sha512-2+3SB6MtMAq1+gVXhw0Y3ONXuljorh6ijnxgTpv+uQnBW5jHCUiAS8WDYiDEm7i9euJPbvJfM8WUrSMDMU6Cog==", - "dependencies": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/signature-v4": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-2.0.9.tgz", + "integrity": "sha512-RkHP0joSI1j2EI+mU55sOi33/aMMkKdL9ZY+SWrPxsiCe1oyzzuy79Tpn8X7uT+t0ilNmQlwPpkP/jUy940pEA==", + "dependencies": { + "@smithy/eventstream-codec": "^2.0.9", + "@smithy/is-array-buffer": "^2.0.0", + "@smithy/types": "^2.3.3", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-uri-escape": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/token-providers": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.370.0.tgz", - "integrity": "sha512-EyR2ZYr+lJeRiZU2/eLR+mlYU9RXLQvNyGFSAekJKgN13Rpq/h0syzXVFLP/RSod/oZenh/fhVZ2HwlZxuGBtQ==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { - "@aws-sdk/client-sso-oidc": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-endpoints": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.370.0.tgz", - "integrity": "sha512-5ltVAnM79nRlywwzZN5i8Jp4tk245OCGkKwwXbnDU+gq7zT3CIOsct1wNZvmpfZEPGt/bv7/NyRcjP+7XNsX/g==", + "node_modules/@aws-sdk/middleware-signing/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": { - "@aws-sdk/types": "3.370.0", + "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-browser": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.370.0.tgz", - "integrity": "sha512-028LxYZMQ0DANKhW+AKFQslkScZUeYlPmSphrCIXgdIItRZh6ZJHGzE7J/jDsEntZOrZJsjI4z0zZ5W2idj04w==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", + "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/types": "^1.1.0", - "bowser": "^2.11.0", "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-node": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.370.0.tgz", - "integrity": "sha512-33vxZUp8vxTT/DGYIR3PivQm07sSRGWI+4fCv63Rt7Q++fO24E0kQtmVAlikRY810I10poD6rwILVtITtFSzkg==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", + "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" - }, - "peerDependencies": { - "aws-crt": ">=1.0.0" - }, - "peerDependenciesMeta": { - "aws-crt": { - "optional": true - } } }, - "node_modules/@aws-sdk/client-sso": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.363.0.tgz", - "integrity": "sha512-PZ+HfKSgS4hlMnJzG+Ev8/mgHd/b/ETlJWPSWjC/f2NwVoBQkBnqHjdyEx7QjF6nksJozcVh5Q+kkYLKc/QwBQ==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", + "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.2", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.0.1", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.0.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.2", - "@smithy/util-utf8": "^1.0.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sso-oidc": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.363.0.tgz", - "integrity": "sha512-V3Ebiq/zNtDS/O92HUWGBa7MY59RYSsqWd+E0XrXv6VYTA00RlMTbNcseivNgp2UghOgB9a20Nkz6EqAeIN+RQ==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", + "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.2", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.0.1", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.0.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.2", - "@smithy/util-utf8": "^1.0.1", + "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sso-oidc/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/middleware-ssec": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.370.0.tgz", + "integrity": "sha512-NIosfLS7mxCNdGYnuy76W9qP3f3YWVTusUA+uv+s6rnwG+Z2UheXCf1wpnJKzxORA8pioSP7ylZ8w2A0reCgYQ==", "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", - "dependencies": { + "node_modules/@aws-sdk/middleware-user-agent": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.413.0.tgz", + "integrity": "sha512-eVMJyeWxNBqerhfD+sE9sTjDtwQiECrfU6wpUQP5fGPhJD2cVVZPxuTuJGDZCu/4k/V61dF85IYlsPUNLdVQ6w==", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sts": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.363.0.tgz", - "integrity": "sha512-0jj14WvBPJQ8xr72cL0mhlmQ90tF0O0wqXwSbtog6PsC8+KDE6Yf+WsxsumyI8E5O8u3eYijBL+KdqG07F/y/w==", + "node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/credential-provider-node": "3.363.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-sdk-sts": "3.363.0", - "@aws-sdk/middleware-signing": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.1", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.1", - "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.2", - "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.1", - "@smithy/util-utf8": "^1.0.1", - "fast-xml-parser": "4.2.5", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-cognito-identity": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.363.0.tgz", - "integrity": "sha512-5x42JvqEsBUrm6/qdf0WWe4mlmJjPItxamQhRjuOzeQD/BxsA2W5VS/7n0Ws0e27DNhlnUErcIJd+bBy6j1fqA==", + "node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { - "@aws-sdk/client-cognito-identity": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/region-config-resolver": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.413.0.tgz", + "integrity": "sha512-h90e6yyOhvoc+1F5vFk3C5mxwB8RSDEMKTO/fxexyur94seczZ1yxyYkTMZv30oc9RUiToABlHNrh/wxL7TZPQ==", "dependencies": { + "@smithy/node-config-provider": "^2.0.10", + "@smithy/types": "^2.3.1", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-env": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.363.0.tgz", - "integrity": "sha512-VAQ3zITT2Q0acht0HezouYnMFKZ2vIOa20X4zQA3WI0HfaP4D6ga6KaenbDcb/4VFiqfqiRHfdyXHP0ThcDRMA==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-env/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.363.0.tgz", - "integrity": "sha512-ZYN+INoqyX5FVC3rqUxB6O8nOWkr0gHRRBm1suoOlmuFJ/WSlW/uUGthRBY5x1AQQnBF8cpdlxZzGHd41lFVNw==", - "dependencies": { - "@aws-sdk/credential-provider-env": "3.363.0", - "@aws-sdk/credential-provider-process": "3.363.0", - "@aws-sdk/credential-provider-sso": "3.363.0", - "@aws-sdk/credential-provider-web-identity": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { "tslib": "^2.5.0" }, @@ -1157,386 +4980,427 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-node": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.363.0.tgz", - "integrity": "sha512-C1qXFIN2yMxD6pGgug0vR1UhScOki6VqdzuBHzXZAGu7MOjvgHNdscEcb3CpWnITHaPL2ztkiw75T1sZ7oIgQg==", - "dependencies": { - "@aws-sdk/credential-provider-env": "3.363.0", - "@aws-sdk/credential-provider-ini": "3.363.0", - "@aws-sdk/credential-provider-process": "3.363.0", - "@aws-sdk/credential-provider-sso": "3.363.0", - "@aws-sdk/credential-provider-web-identity": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", + "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "dependencies": { "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", + "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-process": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.363.0.tgz", - "integrity": "sha512-fOKAINU7Rtj2T8pP13GdCt+u0Ml3gYynp8ki+1jMZIQ+Ju/MdDOqZpKMFKicMn3Z1ttUOgqr+grUdus6z8ceBQ==", + "node_modules/@aws-sdk/signature-v4-multi-region": { + "version": "3.370.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.370.0.tgz", + "integrity": "sha512-Q3NQopPDnHbJXMhtYl0Mfy5U2o76K6tzhdnYRcrYImY0ze/zOkCQI7KPC4588PuyvAXCdQ02cmCPPjYD55UeNg==", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", + "@aws-sdk/types": "3.370.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/signature-v4": "^1.0.1", "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" + }, + "peerDependencies": { + "@aws-sdk/signature-v4-crt": "^3.118.0" + }, + "peerDependenciesMeta": { + "@aws-sdk/signature-v4-crt": { + "optional": true + } } }, - "node_modules/@aws-sdk/credential-provider-process/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.413.0.tgz", + "integrity": "sha512-NfP1Ib9LAWVLMTOa/1aJwt4TRrlRrNyukCpVZGfNaMnNNEoP5Rakdbcs8KFVHe/MJzU+GdKVzxQ4TgRkLOGTrA==", "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/property-provider": "^2.0.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.363.0.tgz", - "integrity": "sha512-5RUZ5oM0lwZSo3EehT0dXggOjgtxFogpT3cZvoLGtIwrPBvm8jOQPXQUlaqCj10ThF1sYltEyukz/ovtDwYGew==", + "node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", "dependencies": { - "@aws-sdk/client-sso": "3.363.0", - "@aws-sdk/token-providers": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", + "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.363.0.tgz", - "integrity": "sha512-Z6w7fjgy79pAax580wdixbStQw10xfyZ+hOYLcPudoYFKjoNx0NQBejg5SwBzCF/HQL23Ksm9kDfbXDX9fkPhA==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", + "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", + "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-providers": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.363.0.tgz", - "integrity": "sha512-hVa1DdYasnLud2EKjDAlDHiV/+H/Zq52chHU00c/R8XwPu1s0kZX3NMmlt0D2HhYqC1mUwtdmE58Jra2POviQQ==", - "dependencies": { - "@aws-sdk/client-cognito-identity": "3.363.0", - "@aws-sdk/client-sso": "3.363.0", - "@aws-sdk/client-sts": "3.363.0", - "@aws-sdk/credential-provider-cognito-identity": "3.363.0", - "@aws-sdk/credential-provider-env": "3.363.0", - "@aws-sdk/credential-provider-ini": "3.363.0", - "@aws-sdk/credential-provider-node": "3.363.0", - "@aws-sdk/credential-provider-process": "3.363.0", - "@aws-sdk/credential-provider-sso": "3.363.0", - "@aws-sdk/credential-provider-web-identity": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", + "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", + "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/hash-blob-browser": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/hash-blob-browser/-/hash-blob-browser-3.370.0.tgz", - "integrity": "sha512-DyStaznfloyF9jN3KvG6puOAjt25alXoBNeHBF2FyLlEEbrOqUmso39JB5LVAw2/KB4UmCNsbAXFb6WktX/yHQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", + "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", "dependencies": { - "@aws-sdk/chunked-blob-reader": "3.310.0", - "@aws-sdk/chunked-blob-reader-native": "3.310.0", - "@aws-sdk/types": "3.370.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" } }, - "node_modules/@aws-sdk/hash-stream-node": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/hash-stream-node/-/hash-stream-node-3.370.0.tgz", - "integrity": "sha512-ExsbBiIMiL9AN1VpWlD8+xaO5s0cXUZJC2UONiQbgMb1jz7Wq9fa1GmKUDyaGXOuQTT7DDhAmalb9fIpauZKuA==", + "node_modules/@aws-sdk/token-providers/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": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-utf8": "3.310.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/is-array-buffer": { - "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/is-array-buffer/-/is-array-buffer-3.310.0.tgz", - "integrity": "sha512-urnbcCR+h9NWUnmOtet/s4ghvzsidFmspfhYaHAmSRdy9yDjdjBJMFjjsn85A1ODUktztm+cVncXjQ38WCMjMQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", + "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/lib-storage": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/lib-storage/-/lib-storage-3.370.0.tgz", - "integrity": "sha512-vUdvd8jvusl81A0OdCz3y2E7Nhqwa57cxJviK6P262zqL2Ge5WlfR9djjv78sqdclvm7iXTxj7o1djMu1aScNg==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", + "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", "dependencies": { - "@smithy/abort-controller": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/smithy-client": "^1.0.3", - "buffer": "5.6.0", - "events": "3.3.0", - "stream-browserify": "3.0.0", + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", + "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" }, - "peerDependencies": { - "@aws-sdk/client-s3": "^3.0.0" + "engines": { + "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/md5-js": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/md5-js/-/md5-js-3.370.0.tgz", - "integrity": "sha512-wch3+hiRdFGsu5E+w3WU9qmumQErKshtgetd6wMgFYm2MPSksFU58rM/aiwiWRA6knpcaShKaPKMmGnuX3HwhQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", + "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-utf8": "3.310.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-bucket-endpoint": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.370.0.tgz", - "integrity": "sha512-B36+fOeJVO0D9cjR92Ob6Ki2FTzyTQ/uKk8w+xtur6W6zYVOPU4IQNpNZvN3Ykt4jitR2uUnVSlBb3sXHHhdFA==", - "dependencies": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-arn-parser": "3.310.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", - "@smithy/util-config-provider": "^1.0.1", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", + "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-expect-continue": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.370.0.tgz", - "integrity": "sha512-OlFIpXa53obLryHyrqedE2Cp8lp2k+1Vjd++hlZFDFJncRlWZMxoXSyl6shQPqhIiGnNW4vt7tG5xE4jg4NAvw==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-flexible-checksums": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.370.0.tgz", - "integrity": "sha512-62fyW4hZxppvkQKSXdkzjHQ95dXyVCuL18Sfnlciy9pr9f/t5w6LhZIxsNIW+Ge9mbgc661SVRKTwxlZj6FuLQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", + "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", "dependencies": { - "@aws-crypto/crc32": "3.0.0", - "@aws-crypto/crc32c": "3.0.0", - "@aws-sdk/types": "3.370.0", - "@smithy/is-array-buffer": "^1.0.1", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", - "@smithy/util-utf8": "^1.0.1", + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-host-header": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.363.0.tgz", - "integrity": "sha512-FobpclDCf5Y1ueyJDmb9MqguAdPssNMlnqWQpujhYVABq69KHu73fSCWSauFPUrw7YOpV8kG1uagDF0POSxHzA==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-host-header/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", + "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-location-constraint": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.370.0.tgz", - "integrity": "sha512-NlDZEbBOF1IN7svUTcjbLodkUctt9zsfDI8+DqNlklRs5lsPb91WYvahOfjFO/EvACixa+a5d3cCumMCaIq4Cw==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", + "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-logger": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.363.0.tgz", - "integrity": "sha512-SSGgthScYnFGTOw8EzbkvquqweFmvn7uJihkpFekbtBNGC/jGOGO+8ziHjTQ8t/iI/YKubEwv+LMi0f77HKSEg==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", + "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-logger/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", + "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", "dependencies": { - "tslib": "^2.5.0" + "@smithy/types": "^2.3.3" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-recursion-detection": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.363.0.tgz", - "integrity": "sha512-MWD/57QgI/N7fG8rtzDTUdSqNpYohQfgj9XCFAoVeI/bU4usrkOrew43L4smJG4XrDxlNT8lSJlDtd64tuiUZA==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", + "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-sdk-s3": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.370.0.tgz", - "integrity": "sha512-DPYXtveWBDS5MzSHWTThg2KkLaOzZkCgPejjEuw3yl4ljsHawDs/ZIVCtmWXlBIS2lLCaBMpCV+t9psuJ/6/zQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-arn-parser": "3.310.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-sdk-sts": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.363.0.tgz", - "integrity": "sha512-1yy2Ac50FO8BrODaw5bPWvVrRhaVLqXTFH6iHB+dJLPUkwtY5zLM3Mp+9Ilm7kME+r7oIB1wuO6ZB1Lf4ZszIw==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", + "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", "dependencies": { - "@aws-sdk/middleware-signing": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/types": "^1.1.0", + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", + "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-sdk-sts/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", + "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", + "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", "dependencies": { "tslib": "^2.5.0" }, @@ -1544,27 +5408,22 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-signing": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.363.0.tgz", - "integrity": "sha512-/7qia715pt9JKYIPDGu22WmdZxD8cfF/5xB+1kmILg7ZtjO0pPuTaCNJ7xiIuFd7Dn7JXp5lop08anX/GOhNRQ==", + "node_modules/@aws-sdk/token-providers/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": { - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/protocol-http": "^1.1.0", - "@smithy/signature-v4": "^1.0.1", - "@smithy/types": "^1.1.0", - "@smithy/util-middleware": "^1.0.1", + "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-signing/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", + "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", "dependencies": { "tslib": "^2.5.0" }, @@ -1572,38 +5431,42 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-ssec": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.370.0.tgz", - "integrity": "sha512-NIosfLS7mxCNdGYnuy76W9qP3f3YWVTusUA+uv+s6rnwG+Z2UheXCf1wpnJKzxORA8pioSP7ylZ8w2A0reCgYQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", + "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/types": "^1.1.0", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", "tslib": "^2.5.0" }, "engines": { - "node": ">=14.0.0" + "node": ">= 10.0.0" } }, - "node_modules/@aws-sdk/middleware-user-agent": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.363.0.tgz", - "integrity": "sha512-ri8YaQvXP6odteVTMfxPqFR26Q0h9ejtqhUDv47P34FaKXedEM4nC6ix6o+5FEYj6l8syGyktftZ5O70NoEhug==", - "dependencies": { - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", + "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { - "node": ">=14.0.0" + "node": ">= 10.0.0" } }, - "node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", + "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", "dependencies": { "tslib": "^2.5.0" }, @@ -1611,56 +5474,80 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/signature-v4-multi-region": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.370.0.tgz", - "integrity": "sha512-Q3NQopPDnHbJXMhtYl0Mfy5U2o76K6tzhdnYRcrYImY0ze/zOkCQI7KPC4588PuyvAXCdQ02cmCPPjYD55UeNg==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", + "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/signature-v4": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", + "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" }, - "peerDependencies": { - "@aws-sdk/signature-v4-crt": "^3.118.0" + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", + "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" }, - "peerDependenciesMeta": { - "@aws-sdk/signature-v4-crt": { - "optional": true - } + "engines": { + "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/token-providers": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.363.0.tgz", - "integrity": "sha512-6+0aJ1zugNgsMmhTtW2LBWxOVSaXCUk2q3xyTchSXkNzallYaRiZMRkieW+pKNntnu0g5H1T0zyfCO0tbXwxEA==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", + "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", "dependencies": { - "@aws-sdk/client-sso-oidc": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", + "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, + "node_modules/@aws-sdk/token-providers/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@aws-sdk/types": { "version": "3.370.0", "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.370.0.tgz", @@ -1709,11 +5596,11 @@ } }, "node_modules/@aws-sdk/util-endpoints": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.357.0.tgz", - "integrity": "sha512-XHKyS5JClT9su9hDif715jpZiWHQF9gKZXER8tW0gOizU3R9cyWc9EsJ2BRhFNhi7nt/JF/CLUEc5qDx3ETbUw==", + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.413.0.tgz", + "integrity": "sha512-VAwr7cITNb1L6/2XUPIbCOuhKGm0VtKCRblurrfUF2bxqG/wtuw/2Fm4ahYJPyxklOSXAMSq+RHdFWcir0YB/g==", "dependencies": { - "@aws-sdk/types": "3.357.0", + "@aws-sdk/types": "3.413.0", "tslib": "^2.5.0" }, "engines": { @@ -1721,9 +5608,21 @@ } }, "node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-endpoints/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { "tslib": "^2.5.0" }, @@ -1743,20 +5642,32 @@ } }, "node_modules/@aws-sdk/util-user-agent-browser": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.363.0.tgz", - "integrity": "sha512-fk9ymBUIYbxiGm99Cn+kAAXmvMCWTf/cHAcB79oCXV4ELXdPa9lN5xQhZRFNxLUeXG4OAMEuCAUUuZEj8Fnc1Q==", + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.413.0.tgz", + "integrity": "sha512-7j/qWcRO2OBZBre2fC6V6M0PAS9n7k6i+VtofPkkhxC2DZszLJElqnooF9hGmVGYK3zR47Np4WjURXKIEZclWg==", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/types": "^1.1.0", + "@aws-sdk/types": "3.413.0", + "@smithy/types": "^2.3.1", "bowser": "^2.11.0", "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/util-user-agent-browser/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-browser/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { "tslib": "^2.5.0" }, @@ -1765,13 +5676,13 @@ } }, "node_modules/@aws-sdk/util-user-agent-node": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.363.0.tgz", - "integrity": "sha512-Fli/dvgGA9hdnQUrYb1//wNSFlK2jAfdJcfNXA6SeBYzSeH5pVGYF4kXF0FCdnMA3Fef+Zn1zAP/hw9v8VJHWQ==", + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.413.0.tgz", + "integrity": "sha512-vHm9TVZIzfWMeDvdmoOky6VarqOt8Pr68CESHN0jyuO6XbhCDnr9rpaXiBhbSR+N1Qm7R/AfJgAhQyTMu2G1OA==", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@aws-sdk/types": "3.413.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { @@ -1787,9 +5698,59 @@ } }, "node_modules/@aws-sdk/util-user-agent-node/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "version": "3.413.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", + "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", + "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", + "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", + "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", + "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", "dependencies": { "tslib": "^2.5.0" }, @@ -5488,7 +9449,6 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -5501,6 +9461,57 @@ "resolved": "https://registry.npmjs.org/await-handler/-/await-handler-1.1.2.tgz", "integrity": "sha512-dihteGhwbJpT89kVbacWiyKeAZr+En0YGK6pAKQJLR0En9ZxSH2H4TTvfG4bBjzFq9gDAma4y9BrpDns6j5UiQ==" }, + "node_modules/aws-sdk": { + "version": "2.1462.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1462.0.tgz", + "integrity": "sha512-gEcp/YWUp0zrM/LujI3cTLbOTK6XLwGSHWQII57jjRvjsIMacLomnIcd7fGKSfREAIHr5saexISRsnXhfI+Vgw==", + "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", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "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", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/aws-sdk/node_modules/ieee754": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + }, + "node_modules/aws-sdk/node_modules/uuid": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", + "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/axios": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", @@ -10129,7 +14140,6 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dev": true, "dependencies": { "is-callable": "^1.1.3" } @@ -10786,7 +14796,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -11432,6 +15441,21 @@ "node": "*" } }, + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "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", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.1.tgz", @@ -11503,7 +15527,6 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -11831,7 +15854,6 @@ "version": "1.1.10", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", - "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -11918,8 +15940,7 @@ "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" }, "node_modules/iserror": { "version": "0.0.2", @@ -12670,6 +16691,14 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/jmespath": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", + "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/joi": { "version": "17.9.2", "resolved": "https://registry.npmjs.org/joi/-/joi-17.9.2.tgz", @@ -14286,9 +18315,9 @@ } }, "node_modules/node-fetch": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", - "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -15636,6 +19665,15 @@ "node": ">=0.10.0" } }, + "node_modules/querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", + "engines": { + "node": ">=0.4.x" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -16325,6 +20363,11 @@ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true }, + "node_modules/sax": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + }, "node_modules/semver": { "version": "7.5.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", @@ -17950,6 +21993,15 @@ "punycode": "^2.1.0" } }, + "node_modules/url": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", + "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", + "dependencies": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, "node_modules/url-parse-lax": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", @@ -17971,6 +22023,11 @@ "node": ">= 4" } }, + "node_modules/url/node_modules/punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + }, "node_modules/utf8-byte-length": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz", @@ -17981,6 +22038,18 @@ "resolved": "https://registry.npmjs.org/utf8-length/-/utf8-length-0.0.1.tgz", "integrity": "sha512-j/XH2ftofBiobnyApxlN/J6j/ixwT89WEjDcjT66d2i0+GIn9RZfzt8lpEXXE4jUe4NsjBSUq70kS2euQ4nnMw==" }, + "node_modules/util": { + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", + "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "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", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -18140,7 +22209,6 @@ "version": "1.1.9", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", - "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -18290,6 +22358,26 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, + "node_modules/xml2js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "engines": { + "node": ">=4.0" + } + }, "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", diff --git a/package.json b/package.json index 1dd7f5e2fc..be1bba25a5 100644 --- a/package.json +++ b/package.json @@ -51,10 +51,11 @@ }, "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", - "@aws-sdk/client-personalize": "^3.363.0", + "@aws-sdk/client-personalize": "^3.391.0", + "@aws-sdk/client-lambda": "^3.276.0", "@aws-sdk/client-s3": "^3.370.0", - "@aws-sdk/credential-providers": "^3.363.0", - "@aws-sdk/lib-storage": "^3.370.0", + "@aws-sdk/credential-providers": "^3.391.0", + "@aws-sdk/lib-storage": "^3.391.0", "@bugsnag/js": "^7.20.2", "@datadog/pprof": "^3.1.0", "@koa/router": "^12.0.0", @@ -64,6 +65,7 @@ "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", @@ -93,10 +95,11 @@ "moment": "^2.29.4", "moment-timezone": "^0.5.43", "node-cache": "^5.1.2", - "node-fetch": "^2.6.9", + "node-fetch": "^2.6.12", "oauth-1.0a": "^2.2.6", "object-hash": "^3.0.0", "parse-static-imports": "^1.1.0", + "pprof": "^3.2.1", "prom-client": "^14.2.0", "qs": "^6.11.1", "rudder-transformer-cdk": "^1.4.11", From c200ef576e5aaf31e1f4a820fbb76a9fe0638090 Mon Sep 17 00:00:00 2001 From: Krishna Chaitanya Date: Fri, 22 Sep 2023 19:48:16 +0530 Subject: [PATCH 002/104] chore: fixed prod image build runs (#2637) --- .github/workflows/build-push-docker-image.yml | 14 ++++++++++++++ .github/workflows/prepare-for-prod-deploy.yml | 3 ++- .github/workflows/prepare-for-prod-ut-deploy.yml | 3 ++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-push-docker-image.yml b/.github/workflows/build-push-docker-image.yml index f65aa0c8ce..c57e74c81b 100644 --- a/.github/workflows/build-push-docker-image.yml +++ b/.github/workflows/build-push-docker-image.yml @@ -21,6 +21,8 @@ on: push_target: required: true type: string + build_type: + type: string secrets: DOCKERHUB_PROD_TOKEN: required: true @@ -147,3 +149,15 @@ jobs: - name: Create multi-arch manifest run: | docker buildx imagetools create -t ${{ inputs.push_tags }} ${{ inputs.push_tags }}-amd64 ${{ inputs.push_tags }}-arm64 + + - name: Create latest multi-arch manifest + # To be triggered only for release/hotfix PR merges coming from `prepare-for-prod-deploy.yaml` + if: ${{ inputs.build_type == 'dt' }} + run: | + docker buildx imagetools create -t rudderstack/rudder-transformer:latest ${{ inputs.push_tags }}-amd64 ${{ inputs.push_tags }}-arm64 + + - name: Create latest ut multi-arch manifest + # To be triggered only for release/hotfix PR merges coming from `prepare-for-prod-ut-deploy.yaml` + if: ${{ inputs.build_type == 'ut' }} + run: | + docker buildx imagetools create -t rudderstack/rudder-transformer:ut-latest ${{ inputs.push_tags }}-amd64 ${{ inputs.push_tags }}-arm64 diff --git a/.github/workflows/prepare-for-prod-deploy.yml b/.github/workflows/prepare-for-prod-deploy.yml index ddce8d7fc9..def8f17643 100644 --- a/.github/workflows/prepare-for-prod-deploy.yml +++ b/.github/workflows/prepare-for-prod-deploy.yml @@ -47,11 +47,12 @@ jobs: uses: ./.github/workflows/build-push-docker-image.yml with: build_tag: rudderstack/rudder-transformer:${{ needs.generate-tag-names.outputs.tag_name }} - push_tags: rudderstack/rudder-transformer:${{ needs.generate-tag-names.outputs.tag_name }},rudderstack/rudder-transformer:latest + push_tags: rudderstack/rudder-transformer:${{ needs.generate-tag-names.outputs.tag_name }} img_tag: ${{ needs.generate-tag-names.outputs.tag_name }} dockerfile: Dockerfile load_target: development push_target: production + build_type: dt secrets: DOCKERHUB_PROD_TOKEN: ${{ secrets.DOCKERHUB_PROD_TOKEN }} diff --git a/.github/workflows/prepare-for-prod-ut-deploy.yml b/.github/workflows/prepare-for-prod-ut-deploy.yml index d0c348f9e2..bac768883e 100644 --- a/.github/workflows/prepare-for-prod-ut-deploy.yml +++ b/.github/workflows/prepare-for-prod-ut-deploy.yml @@ -50,11 +50,12 @@ jobs: uses: ./.github/workflows/build-push-docker-image.yml with: build_tag: rudderstack/rudder-transformer:${{ needs.generate-tag-names.outputs.tag_name_ut }} - push_tags: rudderstack/rudder-transformer:${{ needs.generate-tag-names.outputs.tag_name_ut }},rudderstack/rudder-transformer:ut-latest + push_tags: rudderstack/rudder-transformer:${{ needs.generate-tag-names.outputs.tag_name_ut }} img_tag: ${{ needs.generate-tag-names.outputs.tag_name_ut }} dockerfile: Dockerfile-ut-func load_target: development push_target: production + build_type: ut secrets: DOCKERHUB_PROD_TOKEN: ${{ secrets.DOCKERHUB_PROD_TOKEN }} From 364779ce959d7548e5cf1cc8c718b71331dcb378 Mon Sep 17 00:00:00 2001 From: Sanjay <71065320+Sanjay-Veernala@users.noreply.github.com> Date: Mon, 25 Sep 2023 13:13:47 +0530 Subject: [PATCH 003/104] fix(snyk): removed the new added dependencies --- package-lock.json | 6393 ++++++++++++++------------------------------- package.json | 2 - 2 files changed, 1969 insertions(+), 4426 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3221faf871..cf60870029 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,6 @@ "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", - "@aws-sdk/client-lambda": "^3.276.0", "@aws-sdk/client-personalize": "^3.391.0", "@aws-sdk/client-s3": "^3.370.0", "@aws-sdk/credential-providers": "^3.391.0", @@ -58,7 +57,6 @@ "oauth-1.0a": "^2.2.6", "object-hash": "^3.0.0", "parse-static-imports": "^1.1.0", - "pprof": "^3.2.1", "prom-client": "^14.2.0", "qs": "^6.11.1", "rudder-transformer-cdk": "^1.4.11", @@ -116,26 +114,23 @@ }, "node_modules/@aashutoshrathi/word-wrap": { "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/@amplitude/ua-parser-js": { "version": "0.7.24", - "resolved": "https://registry.npmjs.org/@amplitude/ua-parser-js/-/ua-parser-js-0.7.24.tgz", - "integrity": "sha512-VbQuJymJ20WEw0HtI2np7EdC3NJGUWi8+Xdbc7uk8WfMIF308T0howpzkQ3JFMN7ejnrcSM/OyNGveeE3TP3TA==", + "license": "MIT", "engines": { "node": "*" } }, "node_modules/@ampproject/remapping": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@jridgewell/gen-mapping": "^0.1.0", "@jridgewell/trace-mapping": "^0.3.9" @@ -146,9 +141,8 @@ }, "node_modules/@apidevtools/json-schema-ref-parser": { "version": "9.0.6", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", - "integrity": "sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==", "dev": true, + "license": "MIT", "dependencies": { "@jsdevtools/ono": "^7.1.3", "call-me-maybe": "^1.0.1", @@ -157,18 +151,16 @@ }, "node_modules/@apidevtools/json-schema-ref-parser/node_modules/argparse": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } }, "node_modules/@apidevtools/json-schema-ref-parser/node_modules/js-yaml": { "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -179,24 +171,21 @@ }, "node_modules/@apidevtools/openapi-schemas": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", - "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/@apidevtools/swagger-methods": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", - "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@apidevtools/swagger-parser": { "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz", - "integrity": "sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw==", "dev": true, + "license": "MIT", "dependencies": { "@apidevtools/json-schema-ref-parser": "9.0.6", "@apidevtools/openapi-schemas": "^2.1.0", @@ -212,8 +201,7 @@ }, "node_modules/@aws-crypto/crc32": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-3.0.0.tgz", - "integrity": "sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^3.0.0", "@aws-sdk/types": "^3.222.0", @@ -222,13 +210,11 @@ }, "node_modules/@aws-crypto/crc32/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/crc32c": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/crc32c/-/crc32c-3.0.0.tgz", - "integrity": "sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^3.0.0", "@aws-sdk/types": "^3.222.0", @@ -237,26 +223,22 @@ }, "node_modules/@aws-crypto/crc32c/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/ie11-detection": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/ie11-detection/-/ie11-detection-3.0.0.tgz", - "integrity": "sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q==", + "license": "Apache-2.0", "dependencies": { "tslib": "^1.11.1" } }, "node_modules/@aws-crypto/ie11-detection/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/sha1-browser": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/sha1-browser/-/sha1-browser-3.0.0.tgz", - "integrity": "sha512-NJth5c997GLHs6nOYTzFKTbYdMNA6/1XlKVgnZoaZcQ7z7UJlOgj2JdbHE8tiYLS3fzXNCguct77SPGat2raSw==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/ie11-detection": "^3.0.0", "@aws-crypto/supports-web-crypto": "^3.0.0", @@ -269,13 +251,11 @@ }, "node_modules/@aws-crypto/sha1-browser/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/sha256-browser": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-3.0.0.tgz", - "integrity": "sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/ie11-detection": "^3.0.0", "@aws-crypto/sha256-js": "^3.0.0", @@ -289,13 +269,11 @@ }, "node_modules/@aws-crypto/sha256-browser/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/sha256-js": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-3.0.0.tgz", - "integrity": "sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^3.0.0", "@aws-sdk/types": "^3.222.0", @@ -304,26 +282,22 @@ }, "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==" + "license": "0BSD" }, "node_modules/@aws-crypto/supports-web-crypto": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-3.0.0.tgz", - "integrity": "sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^1.11.1" } }, "node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/util": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/util/-/util-3.0.0.tgz", - "integrity": "sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.222.0", "@aws-sdk/util-utf8-browser": "^3.0.0", @@ -332,21 +306,18 @@ }, "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==" + "license": "0BSD" }, "node_modules/@aws-sdk/chunked-blob-reader": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/chunked-blob-reader/-/chunked-blob-reader-3.310.0.tgz", - "integrity": "sha512-CrJS3exo4mWaLnWxfCH+w88Ou0IcAZSIkk4QbmxiHl/5Dq705OLoxf4385MVyExpqpeVJYOYQ2WaD8i/pQZ2fg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/chunked-blob-reader-native": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/chunked-blob-reader-native/-/chunked-blob-reader-native-3.310.0.tgz", - "integrity": "sha512-RuhyUY9hCd6KWA2DMF/U6rilYLLRYrDY6e0lq3Of1yzSRFxi4bk9ZMCF0mxf/9ppsB5eudUjrOypYgm6Axt3zw==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/util-base64": "3.310.0", "tslib": "^2.5.0" @@ -354,8 +325,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity": { "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.414.0.tgz", - "integrity": "sha512-U9J0R/22eftQjY6JeAzXXYSgA+T6vx/jDsBBWBIKTjCZPBmmVOb2A4/d4sxHMxjh6Ms3DolpocE5FCbB9eGBEg==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -401,8 +371,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -413,8 +382,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/abort-controller": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", - "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -425,8 +393,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/config-resolver": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", - "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/types": "^2.3.3", @@ -440,8 +407,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/credential-provider-imds": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", - "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/property-provider": "^2.0.10", @@ -455,8 +421,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/fetch-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", - "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/querystring-builder": "^2.0.9", @@ -467,8 +432,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/hash-node": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", - "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-buffer-from": "^2.0.0", @@ -481,8 +445,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/invalid-dependency": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", - "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -490,8 +453,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/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==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -501,8 +463,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-content-length": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", - "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/types": "^2.3.3", @@ -514,8 +475,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-endpoint": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", - "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-serde": "^2.0.9", "@smithy/types": "^2.3.3", @@ -529,8 +489,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-retry": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", - "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/protocol-http": "^3.0.5", @@ -547,8 +506,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-serde": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", - "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -559,8 +517,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-stack": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", - "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -571,8 +528,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -585,8 +541,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/node-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", - "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^2.0.9", "@smithy/protocol-http": "^3.0.5", @@ -600,8 +555,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -612,8 +566,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -624,8 +577,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/querystring-builder": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", - "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-uri-escape": "^2.0.0", @@ -637,8 +589,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/querystring-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -649,8 +600,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/service-error-classification": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", - "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3" }, @@ -660,8 +610,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -672,8 +621,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/smithy-client": { "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", - "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-stack": "^2.0.2", "@smithy/types": "^2.3.3", @@ -686,8 +634,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -697,8 +644,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/url-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^2.0.9", "@smithy/types": "^2.3.3", @@ -707,8 +653,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-base64": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", - "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -719,16 +664,14 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-body-length-browser": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", - "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-body-length-node": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", - "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -738,8 +681,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/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==", + "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" @@ -750,8 +692,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-config-provider": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", - "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -761,8 +702,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-defaults-mode-browser": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", - "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/smithy-client": "^2.1.6", @@ -776,8 +716,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-defaults-mode-node": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", - "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "license": "Apache-2.0", "dependencies": { "@smithy/config-resolver": "^2.0.10", "@smithy/credential-provider-imds": "^2.0.12", @@ -793,8 +732,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-hex-encoding": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", - "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -804,8 +742,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-middleware": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", - "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -816,8 +753,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-retry": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", - "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "license": "Apache-2.0", "dependencies": { "@smithy/service-error-classification": "^2.0.2", "@smithy/types": "^2.3.3", @@ -829,8 +765,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-stream": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", - "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "license": "Apache-2.0", "dependencies": { "@smithy/fetch-http-handler": "^2.1.5", "@smithy/node-http-handler": "^2.1.5", @@ -847,8 +782,7 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-uri-escape": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", - "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -858,632 +792,25 @@ }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-utf8": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", - "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", - "dependencies": { - "@smithy/util-buffer-from": "^2.0.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-cognito-identity/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/@aws-sdk/client-lambda": { - "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-lambda/-/client-lambda-3.414.0.tgz", - "integrity": "sha512-Nt2ktmFWKlL19NWcaG9fS2cxjiJvGDIp8Irt1NZngIOfmqm4XsY1AcUjUcdZRED/VjdfM0ziHa9Oj4VVVTdYZA==", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "3.414.0", - "@aws-sdk/credential-provider-node": "3.414.0", - "@aws-sdk/middleware-host-header": "3.413.0", - "@aws-sdk/middleware-logger": "3.413.0", - "@aws-sdk/middleware-recursion-detection": "3.413.0", - "@aws-sdk/middleware-signing": "3.413.0", - "@aws-sdk/middleware-user-agent": "3.413.0", - "@aws-sdk/region-config-resolver": "3.413.0", - "@aws-sdk/types": "3.413.0", - "@aws-sdk/util-endpoints": "3.413.0", - "@aws-sdk/util-user-agent-browser": "3.413.0", - "@aws-sdk/util-user-agent-node": "3.413.0", - "@smithy/config-resolver": "^2.0.8", - "@smithy/eventstream-serde-browser": "^2.0.7", - "@smithy/eventstream-serde-config-resolver": "^2.0.7", - "@smithy/eventstream-serde-node": "^2.0.7", - "@smithy/fetch-http-handler": "^2.1.3", - "@smithy/hash-node": "^2.0.7", - "@smithy/invalid-dependency": "^2.0.7", - "@smithy/middleware-content-length": "^2.0.9", - "@smithy/middleware-endpoint": "^2.0.7", - "@smithy/middleware-retry": "^2.0.10", - "@smithy/middleware-serde": "^2.0.7", - "@smithy/middleware-stack": "^2.0.0", - "@smithy/node-config-provider": "^2.0.10", - "@smithy/node-http-handler": "^2.1.3", - "@smithy/protocol-http": "^3.0.3", - "@smithy/smithy-client": "^2.1.4", - "@smithy/types": "^2.3.1", - "@smithy/url-parser": "^2.0.7", - "@smithy/util-base64": "^2.0.0", - "@smithy/util-body-length-browser": "^2.0.0", - "@smithy/util-body-length-node": "^2.1.0", - "@smithy/util-defaults-mode-browser": "^2.0.8", - "@smithy/util-defaults-mode-node": "^2.0.10", - "@smithy/util-retry": "^2.0.0", - "@smithy/util-stream": "^2.0.10", - "@smithy/util-utf8": "^2.0.0", - "@smithy/util-waiter": "^2.0.7", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@aws-sdk/types": { - "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", - "dependencies": { - "@smithy/types": "^2.3.1", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/abort-controller": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", - "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/config-resolver": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", - "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", - "dependencies": { - "@smithy/node-config-provider": "^2.0.12", - "@smithy/types": "^2.3.3", - "@smithy/util-config-provider": "^2.0.0", - "@smithy/util-middleware": "^2.0.2", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/credential-provider-imds": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", - "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", - "dependencies": { - "@smithy/node-config-provider": "^2.0.12", - "@smithy/property-provider": "^2.0.10", - "@smithy/types": "^2.3.3", - "@smithy/url-parser": "^2.0.9", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-codec": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-2.0.9.tgz", - "integrity": "sha512-sy0pcbKnawt1iu+qCoSFbs/h9PAaUgvlJEO3lqkE1HFFj4p5RgL98vH+9CyDoj6YY82cG5XsorFmcLqQJHTOYw==", - "dependencies": { - "@aws-crypto/crc32": "3.0.0", - "@smithy/types": "^2.3.3", - "@smithy/util-hex-encoding": "^2.0.0", - "tslib": "^2.5.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-serde-browser": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-2.0.9.tgz", - "integrity": "sha512-g70enHZau2hGj1Uxedrn8AAjH9E7RnpHdwkuPKapagah53ztbwI7xaNeA5SLD4MjSjdrjathyQBCQKIzwXrR1g==", - "dependencies": { - "@smithy/eventstream-serde-universal": "^2.0.9", - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-serde-config-resolver": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-2.0.9.tgz", - "integrity": "sha512-+15GzIMtdSuRPyuCeGZ7gzgD94Ejv6eM1vKcqvipdzS+i36KTZ2A9aZsJk+gDw//OCD1EMx9SqpV6bUvMS4PWg==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-serde-node": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-2.0.9.tgz", - "integrity": "sha512-UEJcvN2WXXEjkewtFkj1S2HSZLbyCgzUnfoFPrTuKy4+xRfakO5dNx6ws2h1pvb8Vc7mTuBL+Webl1R5mnVsXA==", - "dependencies": { - "@smithy/eventstream-serde-universal": "^2.0.9", - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/eventstream-serde-universal": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-2.0.9.tgz", - "integrity": "sha512-dAHQEYlK/1tjjieBE7jjXwpLQFgKdkvC4HSQf+/Jj4t34XbUmXWHbw92/EuLp9+vjNB/JQPvkwpMtN31jxIDeg==", - "dependencies": { - "@smithy/eventstream-codec": "^2.0.9", - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/fetch-http-handler": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", - "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", - "dependencies": { - "@smithy/protocol-http": "^3.0.5", - "@smithy/querystring-builder": "^2.0.9", - "@smithy/types": "^2.3.3", - "@smithy/util-base64": "^2.0.0", - "tslib": "^2.5.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/hash-node": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", - "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", - "dependencies": { - "@smithy/types": "^2.3.3", - "@smithy/util-buffer-from": "^2.0.0", - "@smithy/util-utf8": "^2.0.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/invalid-dependency": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", - "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - } - }, - "node_modules/@aws-sdk/client-lambda/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/@aws-sdk/client-lambda/node_modules/@smithy/middleware-content-length": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", - "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", - "dependencies": { - "@smithy/protocol-http": "^3.0.5", - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/middleware-endpoint": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", - "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", - "dependencies": { - "@smithy/middleware-serde": "^2.0.9", - "@smithy/types": "^2.3.3", - "@smithy/url-parser": "^2.0.9", - "@smithy/util-middleware": "^2.0.2", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/middleware-retry": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", - "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", - "dependencies": { - "@smithy/node-config-provider": "^2.0.12", - "@smithy/protocol-http": "^3.0.5", - "@smithy/service-error-classification": "^2.0.2", - "@smithy/types": "^2.3.3", - "@smithy/util-middleware": "^2.0.2", - "@smithy/util-retry": "^2.0.2", - "tslib": "^2.5.0", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/middleware-serde": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", - "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/middleware-stack": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", - "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/node-config-provider": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", - "dependencies": { - "@smithy/property-provider": "^2.0.10", - "@smithy/shared-ini-file-loader": "^2.0.11", - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/node-http-handler": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", - "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", - "dependencies": { - "@smithy/abort-controller": "^2.0.9", - "@smithy/protocol-http": "^3.0.5", - "@smithy/querystring-builder": "^2.0.9", - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/property-provider": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/protocol-http": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/querystring-builder": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", - "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", - "dependencies": { - "@smithy/types": "^2.3.3", - "@smithy/util-uri-escape": "^2.0.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/querystring-parser": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/service-error-classification": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", - "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", - "dependencies": { - "@smithy/types": "^2.3.3" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/shared-ini-file-loader": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/smithy-client": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", - "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", - "dependencies": { - "@smithy/middleware-stack": "^2.0.2", - "@smithy/types": "^2.3.3", - "@smithy/util-stream": "^2.0.12", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/types": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", - "dependencies": { - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/url-parser": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", - "dependencies": { - "@smithy/querystring-parser": "^2.0.9", - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-base64": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", - "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", - "dependencies": { - "@smithy/util-buffer-from": "^2.0.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-body-length-browser": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", - "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", - "dependencies": { - "tslib": "^2.5.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-body-length-node": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", - "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", - "dependencies": { - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/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/@aws-sdk/client-lambda/node_modules/@smithy/util-config-provider": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", - "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", - "dependencies": { - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-defaults-mode-browser": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", - "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", - "dependencies": { - "@smithy/property-provider": "^2.0.10", - "@smithy/smithy-client": "^2.1.6", - "@smithy/types": "^2.3.3", - "bowser": "^2.11.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-defaults-mode-node": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", - "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", - "dependencies": { - "@smithy/config-resolver": "^2.0.10", - "@smithy/credential-provider-imds": "^2.0.12", - "@smithy/node-config-provider": "^2.0.12", - "@smithy/property-provider": "^2.0.10", - "@smithy/smithy-client": "^2.1.6", - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-hex-encoding": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", - "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", - "dependencies": { - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-middleware": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", - "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", - "dependencies": { - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-retry": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", - "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", - "dependencies": { - "@smithy/service-error-classification": "^2.0.2", - "@smithy/types": "^2.3.3", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-stream": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", - "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", - "dependencies": { - "@smithy/fetch-http-handler": "^2.1.5", - "@smithy/node-http-handler": "^2.1.5", - "@smithy/types": "^2.3.3", - "@smithy/util-base64": "^2.0.0", - "@smithy/util-buffer-from": "^2.0.0", - "@smithy/util-hex-encoding": "^2.0.0", - "@smithy/util-utf8": "^2.0.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-uri-escape": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", - "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", - "dependencies": { - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-utf8": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", - "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", - "dependencies": { - "@smithy/util-buffer-from": "^2.0.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@aws-sdk/client-lambda/node_modules/@smithy/util-waiter": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-2.0.9.tgz", - "integrity": "sha512-Hy9Cs0FtIacC1aVFk98bm/7CYqim9fnHAPRnV/SB2mj02ExYs/9Dn5SrNQmtTBTLCn65KqYnNVBNS8GuGpZOOw==", - "dependencies": { - "@smithy/abort-controller": "^2.0.9", - "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-lambda/node_modules/uuid": { + "node_modules/@aws-sdk/client-cognito-identity/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/@aws-sdk/client-personalize": { "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-personalize/-/client-personalize-3.414.0.tgz", - "integrity": "sha512-KHaNSYI/TPV77/S3Ble3/Qxq5lGJO5tXY8BpfQU4Gdp92MNkPowPdx4Pn3DFYyNovAGUmA/Y2iWP+vJBtyvQSA==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -1529,8 +856,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -1541,8 +867,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/abort-controller": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", - "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -1553,8 +878,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/config-resolver": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", - "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/types": "^2.3.3", @@ -1568,8 +892,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/credential-provider-imds": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", - "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/property-provider": "^2.0.10", @@ -1583,8 +906,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/fetch-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", - "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/querystring-builder": "^2.0.9", @@ -1595,8 +917,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/hash-node": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", - "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-buffer-from": "^2.0.0", @@ -1609,8 +930,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/invalid-dependency": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", - "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -1618,8 +938,7 @@ }, "node_modules/@aws-sdk/client-personalize/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==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1629,8 +948,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-content-length": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", - "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/types": "^2.3.3", @@ -1642,8 +960,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-endpoint": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", - "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-serde": "^2.0.9", "@smithy/types": "^2.3.3", @@ -1657,8 +974,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-retry": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", - "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/protocol-http": "^3.0.5", @@ -1675,8 +991,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-serde": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", - "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -1687,8 +1002,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-stack": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", - "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -1699,8 +1013,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -1713,8 +1026,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/node-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", - "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^2.0.9", "@smithy/protocol-http": "^3.0.5", @@ -1728,8 +1040,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -1740,8 +1051,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -1752,8 +1062,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/querystring-builder": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", - "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-uri-escape": "^2.0.0", @@ -1765,8 +1074,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/querystring-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -1777,8 +1085,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/service-error-classification": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", - "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3" }, @@ -1788,8 +1095,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -1800,8 +1106,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/smithy-client": { "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", - "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-stack": "^2.0.2", "@smithy/types": "^2.3.3", @@ -1814,8 +1119,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1825,8 +1129,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/url-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^2.0.9", "@smithy/types": "^2.3.3", @@ -1835,8 +1138,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-base64": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", - "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -1847,16 +1149,14 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-body-length-browser": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", - "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-body-length-node": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", - "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1866,8 +1166,7 @@ }, "node_modules/@aws-sdk/client-personalize/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==", + "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" @@ -1878,8 +1177,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-config-provider": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", - "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1889,8 +1187,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-defaults-mode-browser": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", - "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/smithy-client": "^2.1.6", @@ -1904,8 +1201,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-defaults-mode-node": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", - "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "license": "Apache-2.0", "dependencies": { "@smithy/config-resolver": "^2.0.10", "@smithy/credential-provider-imds": "^2.0.12", @@ -1921,8 +1217,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-hex-encoding": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", - "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1932,8 +1227,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-middleware": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", - "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -1944,8 +1238,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-retry": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", - "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "license": "Apache-2.0", "dependencies": { "@smithy/service-error-classification": "^2.0.2", "@smithy/types": "^2.3.3", @@ -1957,8 +1250,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-stream": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", - "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "license": "Apache-2.0", "dependencies": { "@smithy/fetch-http-handler": "^2.1.5", "@smithy/node-http-handler": "^2.1.5", @@ -1975,8 +1267,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-uri-escape": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", - "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1986,8 +1277,7 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-utf8": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", - "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -1998,16 +1288,14 @@ }, "node_modules/@aws-sdk/client-personalize/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/@aws-sdk/client-s3": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.370.0.tgz", - "integrity": "sha512-+b53hI+C+tIiE6OhIvaUXD5qC0zFrCWIu6EKT597W+4XzfFIZE0BGgolP8pC1lLDghPjCFSmAm9Efcb2a1sPvw==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha1-browser": "3.0.0", "@aws-crypto/sha256-browser": "3.0.0", @@ -2070,8 +1358,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.370.0.tgz", - "integrity": "sha512-0Ty1iHuzNxMQtN7nahgkZr4Wcu1XvqGfrQniiGdKKif9jG/4elxsQPiydRuQpFqN6b+bg7wPP7crFP1uTxx2KQ==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -2113,8 +1400,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso-oidc": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.370.0.tgz", - "integrity": "sha512-jAYOO74lmVXylQylqkPrjLzxvUnMKw476JCUTvCO6Q8nv3LzCWd76Ihgv/m9Q4M2Tbqi1iP2roVK5bstsXzEjA==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -2156,8 +1442,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sts": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.370.0.tgz", - "integrity": "sha512-utFxOPWIzbN+3kc415Je2o4J72hOLNhgR2Gt5EnRSggC3yOnkC4GzauxG8n7n5gZGBX45eyubHyPOXLOIyoqQA==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -2203,8 +1488,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-env": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.370.0.tgz", - "integrity": "sha512-raR3yP/4GGbKFRPP5hUBNkEmTnzxI9mEc2vJAJrcv4G4J4i/UP6ELiLInQ5eO2/VcV/CeKGZA3t7d1tsJ+jhCg==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/property-provider": "^1.0.1", @@ -2217,8 +1501,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-ini": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.370.0.tgz", - "integrity": "sha512-eJyapFKa4NrC9RfTgxlXnXfS9InG/QMEUPPVL+VhG7YS6nKqetC1digOYgivnEeu+XSKE0DJ7uZuXujN2Y7VAQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/credential-provider-env": "3.370.0", "@aws-sdk/credential-provider-process": "3.370.0", @@ -2237,8 +1520,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-node": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.370.0.tgz", - "integrity": "sha512-gkFiotBFKE4Fcn8CzQnMeab9TAR06FEAD02T4ZRYW1xGrBJOowmje9dKqdwQFHSPgnWAP+8HoTA8iwbhTLvjNA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/credential-provider-env": "3.370.0", "@aws-sdk/credential-provider-ini": "3.370.0", @@ -2258,8 +1540,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-process": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.370.0.tgz", - "integrity": "sha512-0BKFFZmUO779Xdw3u7wWnoWhYA4zygxJbgGVSyjkOGBvdkbPSTTcdwT1KFkaQy2kOXYeZPl+usVVRXs+ph4ejg==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/property-provider": "^1.0.1", @@ -2273,8 +1554,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-sso": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.370.0.tgz", - "integrity": "sha512-PFroYm5hcPSfC/jkZnCI34QFL3I7WVKveVk6/F3fud/cnP8hp6YjA9NiTNbqdFSzsyoiN/+e5fZgNKih8vVPTA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-sso": "3.370.0", "@aws-sdk/token-providers": "3.370.0", @@ -2290,8 +1570,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-web-identity": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.370.0.tgz", - "integrity": "sha512-CFaBMLRudwhjv1sDzybNV93IaT85IwS+L8Wq6VRMa0mro1q9rrWsIZO811eF+k0NEPfgU1dLH+8Vc2qhw4SARQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/property-provider": "^1.0.1", @@ -2304,8 +1583,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-host-header": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.370.0.tgz", - "integrity": "sha512-CPXOm/TnOFC7KyXcJglICC7OiA7Kj6mT3ChvEijr56TFOueNHvJdV4aNIFEQy0vGHOWtY12qOWLNto/wYR1BAQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/protocol-http": "^1.1.0", @@ -2318,8 +1596,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-logger": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.370.0.tgz", - "integrity": "sha512-cQMq9SaZ/ORmTJPCT6VzMML7OxFdQzNkhMAgKpTDl+tdPWynlHF29E5xGoSzROnThHlQPCjogU0NZ8AxI0SWPA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/types": "^1.1.0", @@ -2331,8 +1608,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-recursion-detection": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.370.0.tgz", - "integrity": "sha512-L7ZF/w0lAAY/GK1khT8VdoU0XB7nWHk51rl/ecAg64J70dHnMOAg8n+5FZ9fBu/xH1FwUlHOkwlodJOgzLJjtg==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/protocol-http": "^1.1.0", @@ -2345,8 +1621,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-sdk-sts": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.370.0.tgz", - "integrity": "sha512-ykbsoVy0AJtVbuhAlTAMcaz/tCE3pT8nAp0L7CQQxSoanRCvOux7au0KwMIQVhxgnYid4dWVF6d00SkqU5MXRA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/middleware-signing": "3.370.0", "@aws-sdk/types": "3.370.0", @@ -2359,8 +1634,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-signing": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.370.0.tgz", - "integrity": "sha512-Dwr/RTCWOXdm394wCwICGT2VNOTMRe4IGPsBRJAsM24pm+EEqQzSS3Xu/U/zF4exuxqpMta4wec4QpSarPNTxA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/property-provider": "^1.0.1", @@ -2376,8 +1650,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-user-agent": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.370.0.tgz", - "integrity": "sha512-2+3SB6MtMAq1+gVXhw0Y3ONXuljorh6ijnxgTpv+uQnBW5jHCUiAS8WDYiDEm7i9euJPbvJfM8WUrSMDMU6Cog==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@aws-sdk/util-endpoints": "3.370.0", @@ -2391,8 +1664,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/token-providers": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.370.0.tgz", - "integrity": "sha512-EyR2ZYr+lJeRiZU2/eLR+mlYU9RXLQvNyGFSAekJKgN13Rpq/h0syzXVFLP/RSod/oZenh/fhVZ2HwlZxuGBtQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-sso-oidc": "3.370.0", "@aws-sdk/types": "3.370.0", @@ -2407,8 +1679,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-endpoints": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.370.0.tgz", - "integrity": "sha512-5ltVAnM79nRlywwzZN5i8Jp4tk245OCGkKwwXbnDU+gq7zT3CIOsct1wNZvmpfZEPGt/bv7/NyRcjP+7XNsX/g==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "tslib": "^2.5.0" @@ -2419,8 +1690,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-browser": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.370.0.tgz", - "integrity": "sha512-028LxYZMQ0DANKhW+AKFQslkScZUeYlPmSphrCIXgdIItRZh6ZJHGzE7J/jDsEntZOrZJsjI4z0zZ5W2idj04w==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/types": "^1.1.0", @@ -2430,8 +1700,7 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-node": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.370.0.tgz", - "integrity": "sha512-33vxZUp8vxTT/DGYIR3PivQm07sSRGWI+4fCv63Rt7Q++fO24E0kQtmVAlikRY810I10poD6rwILVtITtFSzkg==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/node-config-provider": "^1.0.1", @@ -2452,8 +1721,7 @@ }, "node_modules/@aws-sdk/client-sso": { "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.414.0.tgz", - "integrity": "sha512-GvRwQ7wA3edzsQEKS70ZPhkOUZ62PAiXasjp6GxrsADEb8sV1z4FxXNl9Un/7fQxKkh9QYaK1Wu1PmhLi9MLMg==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -2496,8 +1764,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -2508,8 +1775,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/abort-controller": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", - "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -2520,8 +1786,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/config-resolver": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", - "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/types": "^2.3.3", @@ -2535,8 +1800,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/credential-provider-imds": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", - "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/property-provider": "^2.0.10", @@ -2550,8 +1814,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/fetch-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", - "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/querystring-builder": "^2.0.9", @@ -2562,8 +1825,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/hash-node": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", - "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-buffer-from": "^2.0.0", @@ -2576,8 +1838,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/invalid-dependency": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", - "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -2585,8 +1846,7 @@ }, "node_modules/@aws-sdk/client-sso/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==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -2596,8 +1856,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-content-length": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", - "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/types": "^2.3.3", @@ -2609,8 +1868,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-endpoint": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", - "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-serde": "^2.0.9", "@smithy/types": "^2.3.3", @@ -2624,8 +1882,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-retry": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", - "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/protocol-http": "^3.0.5", @@ -2642,8 +1899,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-serde": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", - "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -2654,8 +1910,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-stack": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", - "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -2666,8 +1921,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -2680,8 +1934,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", - "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^2.0.9", "@smithy/protocol-http": "^3.0.5", @@ -2695,8 +1948,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -2707,8 +1959,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -2719,8 +1970,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/querystring-builder": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", - "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-uri-escape": "^2.0.0", @@ -2732,8 +1982,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/querystring-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -2744,8 +1993,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/service-error-classification": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", - "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3" }, @@ -2755,8 +2003,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -2767,8 +2014,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/smithy-client": { "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", - "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-stack": "^2.0.2", "@smithy/types": "^2.3.3", @@ -2781,8 +2027,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -2792,8 +2037,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/url-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^2.0.9", "@smithy/types": "^2.3.3", @@ -2802,8 +2046,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-base64": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", - "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -2814,16 +2057,14 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-body-length-browser": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", - "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-body-length-node": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", - "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -2833,8 +2074,7 @@ }, "node_modules/@aws-sdk/client-sso/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==", + "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" @@ -2845,8 +2085,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-config-provider": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", - "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -2856,8 +2095,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-defaults-mode-browser": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", - "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/smithy-client": "^2.1.6", @@ -2871,8 +2109,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-defaults-mode-node": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", - "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "license": "Apache-2.0", "dependencies": { "@smithy/config-resolver": "^2.0.10", "@smithy/credential-provider-imds": "^2.0.12", @@ -2888,8 +2125,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-hex-encoding": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", - "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -2899,8 +2135,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-middleware": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", - "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -2911,8 +2146,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-retry": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", - "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "license": "Apache-2.0", "dependencies": { "@smithy/service-error-classification": "^2.0.2", "@smithy/types": "^2.3.3", @@ -2924,8 +2158,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-stream": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", - "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "license": "Apache-2.0", "dependencies": { "@smithy/fetch-http-handler": "^2.1.5", "@smithy/node-http-handler": "^2.1.5", @@ -2942,8 +2175,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-uri-escape": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", - "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -2953,8 +2185,7 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-utf8": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", - "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -2965,16 +2196,14 @@ }, "node_modules/@aws-sdk/client-sso/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/@aws-sdk/client-sts": { "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.414.0.tgz", - "integrity": "sha512-xeYH3si6Imp1EWolWn1zuxJJu2AXKwXl1HDftQULwC5AWkm1mNFbXYSJN4hQul1IM+kn+JTRB0XRHByQkKhe+Q==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -3021,8 +2250,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -3033,8 +2261,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/abort-controller": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", - "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3045,8 +2272,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/config-resolver": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", - "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/types": "^2.3.3", @@ -3060,8 +2286,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/credential-provider-imds": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", - "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/property-provider": "^2.0.10", @@ -3075,8 +2300,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", - "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/querystring-builder": "^2.0.9", @@ -3087,8 +2311,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/hash-node": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", - "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-buffer-from": "^2.0.0", @@ -3101,8 +2324,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/invalid-dependency": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", - "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3110,8 +2332,7 @@ }, "node_modules/@aws-sdk/client-sts/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==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3121,8 +2342,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-content-length": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", - "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/types": "^2.3.3", @@ -3134,8 +2354,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-endpoint": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", - "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-serde": "^2.0.9", "@smithy/types": "^2.3.3", @@ -3149,8 +2368,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-retry": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", - "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/protocol-http": "^3.0.5", @@ -3167,8 +2385,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-serde": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", - "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3179,8 +2396,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-stack": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", - "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3191,8 +2407,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -3205,8 +2420,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/node-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", - "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^2.0.9", "@smithy/protocol-http": "^3.0.5", @@ -3220,8 +2434,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3232,8 +2445,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3244,8 +2456,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/querystring-builder": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", - "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-uri-escape": "^2.0.0", @@ -3257,8 +2468,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/querystring-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3269,8 +2479,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/service-error-classification": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", - "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3" }, @@ -3280,8 +2489,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3292,8 +2500,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/smithy-client": { "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", - "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-stack": "^2.0.2", "@smithy/types": "^2.3.3", @@ -3306,8 +2513,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3317,8 +2523,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/url-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^2.0.9", "@smithy/types": "^2.3.3", @@ -3327,8 +2532,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-base64": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", - "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -3339,16 +2543,14 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-body-length-browser": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", - "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-body-length-node": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", - "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3358,8 +2560,7 @@ }, "node_modules/@aws-sdk/client-sts/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==", + "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" @@ -3370,8 +2571,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-config-provider": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", - "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3381,8 +2581,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-defaults-mode-browser": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", - "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/smithy-client": "^2.1.6", @@ -3396,8 +2595,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-defaults-mode-node": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", - "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "license": "Apache-2.0", "dependencies": { "@smithy/config-resolver": "^2.0.10", "@smithy/credential-provider-imds": "^2.0.12", @@ -3413,8 +2611,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-hex-encoding": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", - "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3424,8 +2621,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-middleware": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", - "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3436,8 +2632,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-retry": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", - "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "license": "Apache-2.0", "dependencies": { "@smithy/service-error-classification": "^2.0.2", "@smithy/types": "^2.3.3", @@ -3449,8 +2644,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-stream": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", - "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "license": "Apache-2.0", "dependencies": { "@smithy/fetch-http-handler": "^2.1.5", "@smithy/node-http-handler": "^2.1.5", @@ -3467,8 +2661,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-uri-escape": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", - "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3478,8 +2671,7 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-utf8": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", - "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -3490,16 +2682,14 @@ }, "node_modules/@aws-sdk/client-sts/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/@aws-sdk/credential-provider-cognito-identity": { "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.414.0.tgz", - "integrity": "sha512-sAbp5HVy0YmvXUKkkTt8Tr5a5XNQMxshxI+pmXHLCHNpRATS9A6i7YHVNMGmERKGriFWZG0Q8qgKh1E+rvN7fQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-cognito-identity": "3.414.0", "@aws-sdk/types": "3.413.0", @@ -3513,8 +2703,7 @@ }, "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -3525,8 +2714,7 @@ }, "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3537,8 +2725,7 @@ }, "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3548,8 +2735,7 @@ }, "node_modules/@aws-sdk/credential-provider-env": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.413.0.tgz", - "integrity": "sha512-yeMOkfG20/RlzfPMtQuDB647AcPEvFEVYOWZzAWVJfldYQ5ybKr0d7sBkgG9sdAzGkK3Aw9dE4rigYI8EIqc1Q==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@smithy/property-provider": "^2.0.0", @@ -3562,8 +2748,7 @@ }, "node_modules/@aws-sdk/credential-provider-env/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -3574,8 +2759,7 @@ }, "node_modules/@aws-sdk/credential-provider-env/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3586,8 +2770,7 @@ }, "node_modules/@aws-sdk/credential-provider-env/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3597,8 +2780,7 @@ }, "node_modules/@aws-sdk/credential-provider-ini": { "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.414.0.tgz", - "integrity": "sha512-rlpLLx70roJL/t40opWC96LbIASejdMbRlgSCRpK8b/hKngYDe5A7SRVacaw08vYrAywxRiybxpQOwOt9b++rA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/credential-provider-env": "3.413.0", "@aws-sdk/credential-provider-process": "3.413.0", @@ -3617,8 +2799,7 @@ }, "node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -3629,8 +2810,7 @@ }, "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/credential-provider-imds": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", - "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/property-provider": "^2.0.10", @@ -3644,8 +2824,7 @@ }, "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -3658,8 +2837,7 @@ }, "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3670,8 +2848,7 @@ }, "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/querystring-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3682,8 +2859,7 @@ }, "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3694,8 +2870,7 @@ }, "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3705,8 +2880,7 @@ }, "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/url-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^2.0.9", "@smithy/types": "^2.3.3", @@ -3715,8 +2889,7 @@ }, "node_modules/@aws-sdk/credential-provider-node": { "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.414.0.tgz", - "integrity": "sha512-xlkcOUKeGHInxWKKrZKIPSBCUL/ozyCldJBjmMKEj7ZmBAEiDcjpMe3pZ//LibMkCSy0b/7jtyQBE/eaIT2o0A==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/credential-provider-env": "3.413.0", "@aws-sdk/credential-provider-ini": "3.414.0", @@ -3736,8 +2909,7 @@ }, "node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -3748,8 +2920,7 @@ }, "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/credential-provider-imds": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", - "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/property-provider": "^2.0.10", @@ -3763,8 +2934,7 @@ }, "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -3777,8 +2947,7 @@ }, "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3789,8 +2958,7 @@ }, "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/querystring-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3801,8 +2969,7 @@ }, "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3813,8 +2980,7 @@ }, "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3824,8 +2990,7 @@ }, "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/url-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^2.0.9", "@smithy/types": "^2.3.3", @@ -3834,8 +2999,7 @@ }, "node_modules/@aws-sdk/credential-provider-process": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.413.0.tgz", - "integrity": "sha512-GFJdgS14GzJ1wc2DEnS44Z/34iBZ05CAkvDsLN2CMwcDgH4eZuif9/x0lwzIJBK3xVFHzYUeVvEzsqRPbCHRsw==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@smithy/property-provider": "^2.0.0", @@ -3849,8 +3013,7 @@ }, "node_modules/@aws-sdk/credential-provider-process/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -3861,8 +3024,7 @@ }, "node_modules/@aws-sdk/credential-provider-process/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3873,8 +3035,7 @@ }, "node_modules/@aws-sdk/credential-provider-process/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3885,8 +3046,7 @@ }, "node_modules/@aws-sdk/credential-provider-process/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3896,8 +3056,7 @@ }, "node_modules/@aws-sdk/credential-provider-sso": { "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.414.0.tgz", - "integrity": "sha512-w9g2hlkZn7WekWICRqk+L33py7KrjYMFryVpkKXOx2pjDchCfZDr6pL1ml782GZ0L3qsob4SbNpbtp13JprnWQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-sso": "3.414.0", "@aws-sdk/token-providers": "3.413.0", @@ -3913,8 +3072,7 @@ }, "node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -3925,8 +3083,7 @@ }, "node_modules/@aws-sdk/credential-provider-sso/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3937,8 +3094,7 @@ }, "node_modules/@aws-sdk/credential-provider-sso/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3949,8 +3105,7 @@ }, "node_modules/@aws-sdk/credential-provider-sso/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -3960,8 +3115,7 @@ }, "node_modules/@aws-sdk/credential-provider-web-identity": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.413.0.tgz", - "integrity": "sha512-5cdA1Iq9JeEHtg59ERV9fdMQ7cS0JF6gH/BWA7HYEUGdSVPXCuwyEggPtG64QgpNU7SmxH+QdDG+Ldxz09ycIA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@smithy/property-provider": "^2.0.0", @@ -3974,8 +3128,7 @@ }, "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -3986,8 +3139,7 @@ }, "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -3998,8 +3150,7 @@ }, "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4009,8 +3160,7 @@ }, "node_modules/@aws-sdk/credential-providers": { "version": "3.414.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.414.0.tgz", - "integrity": "sha512-xv3cN/lu+HRroGWYWtqwBQ+guykyjSKHzYq6FlyfBZyjC6u8hoeNSNilFobIooJOXfrDM0LKr9L+uUlPE+0+lg==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-cognito-identity": "3.414.0", "@aws-sdk/client-sso": "3.414.0", @@ -4034,8 +3184,7 @@ }, "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -4046,8 +3195,7 @@ }, "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/credential-provider-imds": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", - "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/property-provider": "^2.0.10", @@ -4061,8 +3209,7 @@ }, "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -4075,8 +3222,7 @@ }, "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4087,8 +3233,7 @@ }, "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/querystring-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4099,8 +3244,7 @@ }, "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4111,8 +3255,7 @@ }, "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4122,8 +3265,7 @@ }, "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/url-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^2.0.9", "@smithy/types": "^2.3.3", @@ -4132,8 +3274,7 @@ }, "node_modules/@aws-sdk/hash-blob-browser": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/hash-blob-browser/-/hash-blob-browser-3.370.0.tgz", - "integrity": "sha512-DyStaznfloyF9jN3KvG6puOAjt25alXoBNeHBF2FyLlEEbrOqUmso39JB5LVAw2/KB4UmCNsbAXFb6WktX/yHQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/chunked-blob-reader": "3.310.0", "@aws-sdk/chunked-blob-reader-native": "3.310.0", @@ -4143,8 +3284,7 @@ }, "node_modules/@aws-sdk/hash-stream-node": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/hash-stream-node/-/hash-stream-node-3.370.0.tgz", - "integrity": "sha512-ExsbBiIMiL9AN1VpWlD8+xaO5s0cXUZJC2UONiQbgMb1jz7Wq9fa1GmKUDyaGXOuQTT7DDhAmalb9fIpauZKuA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@aws-sdk/util-utf8": "3.310.0", @@ -4156,8 +3296,7 @@ }, "node_modules/@aws-sdk/is-array-buffer": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/is-array-buffer/-/is-array-buffer-3.310.0.tgz", - "integrity": "sha512-urnbcCR+h9NWUnmOtet/s4ghvzsidFmspfhYaHAmSRdy9yDjdjBJMFjjsn85A1ODUktztm+cVncXjQ38WCMjMQ==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4167,8 +3306,7 @@ }, "node_modules/@aws-sdk/lib-storage": { "version": "3.417.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/lib-storage/-/lib-storage-3.417.0.tgz", - "integrity": "sha512-L981uo/QCXTQW34zfvwN4iB0Xh6tFFq/lVaZfoTa2WvXT22+NxccbblyAdYckN3q+KasfcAQCP618t8Fk2BMwg==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^2.0.1", "@smithy/middleware-endpoint": "^2.0.7", @@ -4187,8 +3325,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/abort-controller": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", - "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4199,8 +3336,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/fetch-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", - "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/querystring-builder": "^2.0.9", @@ -4211,8 +3347,7 @@ }, "node_modules/@aws-sdk/lib-storage/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==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4222,8 +3357,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", - "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-serde": "^2.0.9", "@smithy/types": "^2.3.3", @@ -4237,8 +3371,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-serde": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", - "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4249,8 +3382,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-stack": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", - "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4261,8 +3393,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/node-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", - "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^2.0.9", "@smithy/protocol-http": "^3.0.5", @@ -4276,8 +3407,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4288,8 +3418,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/querystring-builder": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", - "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-uri-escape": "^2.0.0", @@ -4301,8 +3430,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/querystring-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4313,8 +3441,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client": { "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", - "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-stack": "^2.0.2", "@smithy/types": "^2.3.3", @@ -4327,8 +3454,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4338,8 +3464,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/url-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^2.0.9", "@smithy/types": "^2.3.3", @@ -4348,8 +3473,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-base64": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", - "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -4360,8 +3484,7 @@ }, "node_modules/@aws-sdk/lib-storage/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==", + "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" @@ -4372,8 +3495,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-hex-encoding": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", - "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4383,8 +3505,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-middleware": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", - "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4395,8 +3516,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-stream": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", - "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "license": "Apache-2.0", "dependencies": { "@smithy/fetch-http-handler": "^2.1.5", "@smithy/node-http-handler": "^2.1.5", @@ -4413,8 +3533,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-uri-escape": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", - "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4424,8 +3543,7 @@ }, "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-utf8": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", - "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -4436,8 +3554,7 @@ }, "node_modules/@aws-sdk/md5-js": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/md5-js/-/md5-js-3.370.0.tgz", - "integrity": "sha512-wch3+hiRdFGsu5E+w3WU9qmumQErKshtgetd6wMgFYm2MPSksFU58rM/aiwiWRA6knpcaShKaPKMmGnuX3HwhQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@aws-sdk/util-utf8": "3.310.0", @@ -4446,8 +3563,7 @@ }, "node_modules/@aws-sdk/middleware-bucket-endpoint": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.370.0.tgz", - "integrity": "sha512-B36+fOeJVO0D9cjR92Ob6Ki2FTzyTQ/uKk8w+xtur6W6zYVOPU4IQNpNZvN3Ykt4jitR2uUnVSlBb3sXHHhdFA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@aws-sdk/util-arn-parser": "3.310.0", @@ -4462,8 +3578,7 @@ }, "node_modules/@aws-sdk/middleware-expect-continue": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.370.0.tgz", - "integrity": "sha512-OlFIpXa53obLryHyrqedE2Cp8lp2k+1Vjd++hlZFDFJncRlWZMxoXSyl6shQPqhIiGnNW4vt7tG5xE4jg4NAvw==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/protocol-http": "^1.1.0", @@ -4476,8 +3591,7 @@ }, "node_modules/@aws-sdk/middleware-flexible-checksums": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.370.0.tgz", - "integrity": "sha512-62fyW4hZxppvkQKSXdkzjHQ95dXyVCuL18Sfnlciy9pr9f/t5w6LhZIxsNIW+Ge9mbgc661SVRKTwxlZj6FuLQ==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/crc32": "3.0.0", "@aws-crypto/crc32c": "3.0.0", @@ -4494,8 +3608,7 @@ }, "node_modules/@aws-sdk/middleware-host-header": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.413.0.tgz", - "integrity": "sha512-r9PQx468EzPHo9wRzZLfgROpKtVdbkteMrdhsuM12bifVHjU1OHr7yfhc1OdWv39X8Xiv6F8n5r+RBQEM0S6+g==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@smithy/protocol-http": "^3.0.3", @@ -4508,8 +3621,7 @@ }, "node_modules/@aws-sdk/middleware-host-header/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -4520,8 +3632,7 @@ }, "node_modules/@aws-sdk/middleware-host-header/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4532,8 +3643,7 @@ }, "node_modules/@aws-sdk/middleware-host-header/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4543,8 +3653,7 @@ }, "node_modules/@aws-sdk/middleware-location-constraint": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.370.0.tgz", - "integrity": "sha512-NlDZEbBOF1IN7svUTcjbLodkUctt9zsfDI8+DqNlklRs5lsPb91WYvahOfjFO/EvACixa+a5d3cCumMCaIq4Cw==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/types": "^1.1.0", @@ -4556,8 +3665,7 @@ }, "node_modules/@aws-sdk/middleware-logger": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.413.0.tgz", - "integrity": "sha512-jqcXDubcKvoqBy+kkEa0WoNjG6SveDeyNy+gdGnTV+DEtYjkcHrHJei4q0W5zFl0mzc+dP+z8tJF44rv95ZY3Q==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@smithy/types": "^2.3.1", @@ -4569,8 +3677,7 @@ }, "node_modules/@aws-sdk/middleware-logger/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -4581,8 +3688,7 @@ }, "node_modules/@aws-sdk/middleware-logger/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4592,8 +3698,7 @@ }, "node_modules/@aws-sdk/middleware-recursion-detection": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.413.0.tgz", - "integrity": "sha512-C6k0IKJk/A4/VBGwUjxEPG+WOjjnmWAZVRBUzaeM7PqRh+g5rLcuIV356ntV3pREVxyiSTePTYVYIHU9YXkLKQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@smithy/protocol-http": "^3.0.3", @@ -4606,8 +3711,7 @@ }, "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -4618,8 +3722,7 @@ }, "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4630,8 +3733,7 @@ }, "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4641,8 +3743,7 @@ }, "node_modules/@aws-sdk/middleware-sdk-s3": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.370.0.tgz", - "integrity": "sha512-DPYXtveWBDS5MzSHWTThg2KkLaOzZkCgPejjEuw3yl4ljsHawDs/ZIVCtmWXlBIS2lLCaBMpCV+t9psuJ/6/zQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@aws-sdk/util-arn-parser": "3.310.0", @@ -4656,8 +3757,7 @@ }, "node_modules/@aws-sdk/middleware-sdk-sts": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.413.0.tgz", - "integrity": "sha512-t0u//JUyaEZRVnH5q+Ur3tWnuyIsTdwA0XOdDCZXcSlLYzGp2MI/tScLjn9IydRrceIFpFfmbjk4Nf/Q6TeBTQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/middleware-signing": "3.413.0", "@aws-sdk/types": "3.413.0", @@ -4670,8 +3770,7 @@ }, "node_modules/@aws-sdk/middleware-sdk-sts/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -4682,8 +3781,7 @@ }, "node_modules/@aws-sdk/middleware-sdk-sts/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4693,8 +3791,7 @@ }, "node_modules/@aws-sdk/middleware-signing": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.413.0.tgz", - "integrity": "sha512-QFEnVvIKYPCermM+ESxEztgUgXzGSKpnPnohMYNvSZySqmOLu/4VvxiZbRO/BX9J3ZHcUgaw4vKm5VBZRrycxw==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@smithy/property-provider": "^2.0.0", @@ -4710,8 +3807,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -4722,8 +3818,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/eventstream-codec": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-2.0.9.tgz", - "integrity": "sha512-sy0pcbKnawt1iu+qCoSFbs/h9PAaUgvlJEO3lqkE1HFFj4p5RgL98vH+9CyDoj6YY82cG5XsorFmcLqQJHTOYw==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/crc32": "3.0.0", "@smithy/types": "^2.3.3", @@ -4733,8 +3828,7 @@ }, "node_modules/@aws-sdk/middleware-signing/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==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4744,8 +3838,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4756,8 +3849,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4768,8 +3860,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/signature-v4": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-2.0.9.tgz", - "integrity": "sha512-RkHP0joSI1j2EI+mU55sOi33/aMMkKdL9ZY+SWrPxsiCe1oyzzuy79Tpn8X7uT+t0ilNmQlwPpkP/jUy940pEA==", + "license": "Apache-2.0", "dependencies": { "@smithy/eventstream-codec": "^2.0.9", "@smithy/is-array-buffer": "^2.0.0", @@ -4786,8 +3877,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4797,8 +3887,7 @@ }, "node_modules/@aws-sdk/middleware-signing/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==", + "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" @@ -4809,8 +3898,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-hex-encoding": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", - "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4820,8 +3908,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-middleware": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", - "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4832,8 +3919,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-uri-escape": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", - "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4843,8 +3929,7 @@ }, "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-utf8": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", - "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -4855,8 +3940,7 @@ }, "node_modules/@aws-sdk/middleware-ssec": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.370.0.tgz", - "integrity": "sha512-NIosfLS7mxCNdGYnuy76W9qP3f3YWVTusUA+uv+s6rnwG+Z2UheXCf1wpnJKzxORA8pioSP7ylZ8w2A0reCgYQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/types": "^1.1.0", @@ -4868,8 +3952,7 @@ }, "node_modules/@aws-sdk/middleware-user-agent": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.413.0.tgz", - "integrity": "sha512-eVMJyeWxNBqerhfD+sE9sTjDtwQiECrfU6wpUQP5fGPhJD2cVVZPxuTuJGDZCu/4k/V61dF85IYlsPUNLdVQ6w==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@aws-sdk/util-endpoints": "3.413.0", @@ -4883,8 +3966,7 @@ }, "node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -4895,8 +3977,7 @@ }, "node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4907,8 +3988,7 @@ }, "node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4918,8 +3998,7 @@ }, "node_modules/@aws-sdk/region-config-resolver": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.413.0.tgz", - "integrity": "sha512-h90e6yyOhvoc+1F5vFk3C5mxwB8RSDEMKTO/fxexyur94seczZ1yxyYkTMZv30oc9RUiToABlHNrh/wxL7TZPQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.10", "@smithy/types": "^2.3.1", @@ -4933,8 +4012,7 @@ }, "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -4947,8 +4025,7 @@ }, "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4959,8 +4036,7 @@ }, "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -4971,8 +4047,7 @@ }, "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4982,8 +4057,7 @@ }, "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/util-config-provider": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", - "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4993,8 +4067,7 @@ }, "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/util-middleware": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", - "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5005,8 +4078,7 @@ }, "node_modules/@aws-sdk/signature-v4-multi-region": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.370.0.tgz", - "integrity": "sha512-Q3NQopPDnHbJXMhtYl0Mfy5U2o76K6tzhdnYRcrYImY0ze/zOkCQI7KPC4588PuyvAXCdQ02cmCPPjYD55UeNg==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/protocol-http": "^1.1.0", @@ -5028,8 +4100,7 @@ }, "node_modules/@aws-sdk/token-providers": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.413.0.tgz", - "integrity": "sha512-NfP1Ib9LAWVLMTOa/1aJwt4TRrlRrNyukCpVZGfNaMnNNEoP5Rakdbcs8KFVHe/MJzU+GdKVzxQ4TgRkLOGTrA==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -5073,8 +4144,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -5085,8 +4155,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/abort-controller": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-2.0.9.tgz", - "integrity": "sha512-8liHOEbx99xcy4VndeQNQhyA0LS+e7UqsuRnDTSIA26IKBv/7vA9w09KOd4fgNULrvX0r3WpA6cwsQTRJpSWkg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5097,8 +4166,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/config-resolver": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-2.0.10.tgz", - "integrity": "sha512-MwToDsCltHjumkCuRn883qoNeJUawc2b8sX9caSn5vLz6J5crU1IklklNxWCaMO2z2nDL91Po4b/aI1eHv5PfA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/types": "^2.3.3", @@ -5112,8 +4180,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/credential-provider-imds": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-2.0.12.tgz", - "integrity": "sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/property-provider": "^2.0.10", @@ -5127,8 +4194,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/fetch-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.1.5.tgz", - "integrity": "sha512-BIeCHGfr5JCGN+EMTwZK74ELvjPXOIrI7OLM5OhZJJ6AmZyRv2S9ANJk18AtLwht0TsSm+8WoXIEp8LuxNgUyA==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/querystring-builder": "^2.0.9", @@ -5139,8 +4205,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/hash-node": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-2.0.9.tgz", - "integrity": "sha512-XP3yWd5wyCtiVmsY5Nuq/FUwyCEQ6YG7DsvRh7ThldNukGpCzyFdP8eivZJVjn4Fx7oYrrOnVoYZ0WEgpW1AvQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-buffer-from": "^2.0.0", @@ -5153,8 +4218,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/invalid-dependency": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-2.0.9.tgz", - "integrity": "sha512-RuJqhYf8nViK96IIO9JbTtjDUuFItVfuuJhWw2yk7fv67yltQ7fZD6IQ2OsHHluoVmstnQJuCg5raXJR696Ubw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5162,8 +4226,7 @@ }, "node_modules/@aws-sdk/token-providers/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==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5173,8 +4236,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-content-length": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-2.0.11.tgz", - "integrity": "sha512-Malj4voNTL4+a5ZL3a6+Ij7JTUMTa2R7c3ZIBzMxN5OUUgAspU7uFi1Q97f4B0afVh2joQBAWH5IQJUG25nl8g==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^3.0.5", "@smithy/types": "^2.3.3", @@ -5186,8 +4248,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-endpoint": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-2.0.9.tgz", - "integrity": "sha512-72/o8R6AAO4+nyTI6h4z6PYGTSA4dr1M7tZz29U8DEUHuh1YkhC77js0P6RyF9G0wDLuYqxb+Yh0crI5WG2pJg==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-serde": "^2.0.9", "@smithy/types": "^2.3.3", @@ -5201,8 +4262,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-retry": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-2.0.12.tgz", - "integrity": "sha512-YQ/ufXX4/d9/+Jf1QQ4J+CVeupC7BW52qldBTvRV33PDX9vxndlAwkFwzBcmnUFC3Hjf1//HW6I77EItcjNSCA==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^2.0.12", "@smithy/protocol-http": "^3.0.5", @@ -5219,8 +4279,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-serde": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.9.tgz", - "integrity": "sha512-GVbauxrr6WmtCaesakktg3t5LR/yDbajpC7KkWc8rtCpddMI4ShAVO5Q6DqwX8MDFi4CLaY8H7eTGcxhl3jbLg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5231,8 +4290,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-stack": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-2.0.2.tgz", - "integrity": "sha512-6BNfPVp/8gcmkKdJhNJK3HEkUNNTrY3hM9vuWXIUSoLk9FZo1L2QuGLGB6S124D9ySInn8PzEdOtguCF5Ao4KA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5243,8 +4301,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -5257,8 +4314,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-http-handler": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-2.1.5.tgz", - "integrity": "sha512-52uF+BrZaFiBh+NT/bADiVDCQO91T+OwDRsuaAeWZC1mlCXFjAPPQdxeQohtuYOe9m7mPP/xIMNiqbe8jvndHA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^2.0.9", "@smithy/protocol-http": "^3.0.5", @@ -5272,8 +4328,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5284,8 +4339,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/protocol-http": { "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.0.5.tgz", - "integrity": "sha512-3t3fxj+ip4EPHRC2fQ0JimMxR/qCQ1LSQJjZZVZFgROnFLYWPDgUZqpoi7chr+EzatxJVXF/Rtoi5yLHOWCoZQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5296,8 +4350,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/querystring-builder": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-2.0.9.tgz", - "integrity": "sha512-Yt6CPF4j3j1cuwod/DRflbuXxBFjJm7gAjy6W1RE21Rz5/kfGFqiZBXWmmXwGtnnhiLThYwoHK4S6/TQtnx0Fg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "@smithy/util-uri-escape": "^2.0.0", @@ -5309,8 +4362,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/querystring-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-2.0.9.tgz", - "integrity": "sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5321,8 +4373,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/service-error-classification": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-2.0.2.tgz", - "integrity": "sha512-GTUd2j63gKy7A+ggvSdn2hc4sejG7LWfE+ZMF17vzWoNyqERWbRP7HTPS0d0Lwg1p6OQCAzvNigSrEIWVFt6iA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3" }, @@ -5332,8 +4383,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5344,8 +4394,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/smithy-client": { "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-2.1.6.tgz", - "integrity": "sha512-+F26b8U7C6ydJgj5Y+OZ94NL54HQUPF1LrFiZjMAIX3OlgZjDhiT3m6VOZo6+hge3sEFOrupwdjB5V24JOCpQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-stack": "^2.0.2", "@smithy/types": "^2.3.3", @@ -5358,8 +4407,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5369,8 +4417,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/url-parser": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-2.0.9.tgz", - "integrity": "sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^2.0.9", "@smithy/types": "^2.3.3", @@ -5379,8 +4426,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-base64": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-2.0.0.tgz", - "integrity": "sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -5391,16 +4437,14 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-body-length-browser": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-2.0.0.tgz", - "integrity": "sha512-JdDuS4ircJt+FDnaQj88TzZY3+njZ6O+D3uakS32f2VNnDo3vyEuNdBOh/oFd8Df1zSZOuH1HEChk2AOYDezZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-body-length-node": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-2.1.0.tgz", - "integrity": "sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5410,8 +4454,7 @@ }, "node_modules/@aws-sdk/token-providers/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==", + "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" @@ -5422,8 +4465,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-config-provider": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-2.0.0.tgz", - "integrity": "sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5433,8 +4475,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-defaults-mode-browser": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.0.10.tgz", - "integrity": "sha512-M5eaPn961jU2glZkqvmrVd6H4Tz4j1CJ2Kt8kjqMfcWZ4IQFgwPYbRkgND0W93dZXDmFU2GtuJGatwSmWIqxrA==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/smithy-client": "^2.1.6", @@ -5448,8 +4489,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-defaults-mode-node": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.0.12.tgz", - "integrity": "sha512-fwAVus2YBTU5u4KFmmEZDdgx3HpUUg8f6SEUetJFsNL+6AzoGBIhCZX0yMrVCLJEZe6tUfMbL5TZHXMw2q6MaA==", + "license": "Apache-2.0", "dependencies": { "@smithy/config-resolver": "^2.0.10", "@smithy/credential-provider-imds": "^2.0.12", @@ -5465,8 +4505,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-hex-encoding": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.0.0.tgz", - "integrity": "sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5476,8 +4515,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-middleware": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.0.2.tgz", - "integrity": "sha512-UGPZM+Ja/vke5pc/S8G0LNiHpVirtjppsXO+GK9m9wbzRGzPJTfnZA/gERUUN/AfxEy/8SL7U1kd7u4t2X8K1w==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5488,8 +4526,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-retry": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-2.0.2.tgz", - "integrity": "sha512-ovWiayUB38moZcLhSFFfUgB2IMb7R1JfojU20qSahjxAgfOZvDWme3eOYUMtAVnouZ9kYJiFgHLy27qRH4NeeA==", + "license": "Apache-2.0", "dependencies": { "@smithy/service-error-classification": "^2.0.2", "@smithy/types": "^2.3.3", @@ -5501,8 +4538,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-stream": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-2.0.12.tgz", - "integrity": "sha512-FOCpRLaj6gvSyUC5mJAACT+sPMPmp9sD1o+hVbUH/QxwZfulypA3ZIFdAg/59/IY0d/1Q4CTztsiHEB5LgjN4g==", + "license": "Apache-2.0", "dependencies": { "@smithy/fetch-http-handler": "^2.1.5", "@smithy/node-http-handler": "^2.1.5", @@ -5519,8 +4555,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-uri-escape": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.0.0.tgz", - "integrity": "sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5530,8 +4565,7 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-utf8": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.0.0.tgz", - "integrity": "sha512-rctU1VkziY84n5OXe3bPNpKR001ZCME2JCaBBFgtiM2hfKbHFudc/BkMuPab8hRbLd0j3vbnBTTZ1igBf0wgiQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" @@ -5542,16 +4576,14 @@ }, "node_modules/@aws-sdk/token-providers/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/@aws-sdk/types": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.370.0.tgz", - "integrity": "sha512-8PGMKklSkRKjunFhzM2y5Jm0H2TBu7YRNISdYzXLUHKSP9zlMEYagseKVdmox0zKHf1LXVNuSlUV2b6SRrieCQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -5562,8 +4594,7 @@ }, "node_modules/@aws-sdk/util-arn-parser": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.310.0.tgz", - "integrity": "sha512-jL8509owp/xB9+Or0pvn3Fe+b94qfklc2yPowZZIFAkFcCSIdkIglz18cPDWnYAcy9JGewpMS1COXKIUhZkJsA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5573,8 +4604,7 @@ }, "node_modules/@aws-sdk/util-base64": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-base64/-/util-base64-3.310.0.tgz", - "integrity": "sha512-v3+HBKQvqgdzcbL+pFswlx5HQsd9L6ZTlyPVL2LS9nNXnCcR3XgGz9jRskikRUuUvUXtkSG1J88GAOnJ/apTPg==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/util-buffer-from": "3.310.0", "tslib": "^2.5.0" @@ -5585,8 +4615,7 @@ }, "node_modules/@aws-sdk/util-buffer-from": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-buffer-from/-/util-buffer-from-3.310.0.tgz", - "integrity": "sha512-i6LVeXFtGih5Zs8enLrt+ExXY92QV25jtEnTKHsmlFqFAuL3VBeod6boeMXkN2p9lbSVVQ1sAOOYZOHYbYkntw==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/is-array-buffer": "3.310.0", "tslib": "^2.5.0" @@ -5597,8 +4626,7 @@ }, "node_modules/@aws-sdk/util-endpoints": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.413.0.tgz", - "integrity": "sha512-VAwr7cITNb1L6/2XUPIbCOuhKGm0VtKCRblurrfUF2bxqG/wtuw/2Fm4ahYJPyxklOSXAMSq+RHdFWcir0YB/g==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "tslib": "^2.5.0" @@ -5609,8 +4637,7 @@ }, "node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -5621,8 +4648,7 @@ }, "node_modules/@aws-sdk/util-endpoints/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5632,8 +4658,7 @@ }, "node_modules/@aws-sdk/util-locate-window": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.310.0.tgz", - "integrity": "sha512-qo2t/vBTnoXpjKxlsC2e1gBrRm80M3bId27r0BRB2VniSSe7bL1mmzM+/HFtujm0iAxtPM+aLEflLJlJeDPg0w==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5643,8 +4668,7 @@ }, "node_modules/@aws-sdk/util-user-agent-browser": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.413.0.tgz", - "integrity": "sha512-7j/qWcRO2OBZBre2fC6V6M0PAS9n7k6i+VtofPkkhxC2DZszLJElqnooF9hGmVGYK3zR47Np4WjURXKIEZclWg==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@smithy/types": "^2.3.1", @@ -5654,8 +4678,7 @@ }, "node_modules/@aws-sdk/util-user-agent-browser/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -5666,8 +4689,7 @@ }, "node_modules/@aws-sdk/util-user-agent-browser/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5677,8 +4699,7 @@ }, "node_modules/@aws-sdk/util-user-agent-node": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.413.0.tgz", - "integrity": "sha512-vHm9TVZIzfWMeDvdmoOky6VarqOt8Pr68CESHN0jyuO6XbhCDnr9rpaXiBhbSR+N1Qm7R/AfJgAhQyTMu2G1OA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.413.0", "@smithy/node-config-provider": "^2.0.10", @@ -5699,8 +4720,7 @@ }, "node_modules/@aws-sdk/util-user-agent-node/node_modules/@aws-sdk/types": { "version": "3.413.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.413.0.tgz", - "integrity": "sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.1", "tslib": "^2.5.0" @@ -5711,8 +4731,7 @@ }, "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/node-config-provider": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-2.0.12.tgz", - "integrity": "sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^2.0.10", "@smithy/shared-ini-file-loader": "^2.0.11", @@ -5725,8 +4744,7 @@ }, "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/property-provider": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-2.0.10.tgz", - "integrity": "sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5737,8 +4755,7 @@ }, "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/shared-ini-file-loader": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.0.11.tgz", - "integrity": "sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^2.3.3", "tslib": "^2.5.0" @@ -5749,8 +4766,7 @@ }, "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/types": { "version": "2.3.3", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.3.3.tgz", - "integrity": "sha512-zTdIPR9PvFVNRdIKMQu4M5oyTaycIbUqLheQqaOi9rTWPkgjGO2wDBxMA1rBHQB81aqAEv+DbSS4jfKyQMnXRA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5760,8 +4776,7 @@ }, "node_modules/@aws-sdk/util-utf8": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8/-/util-utf8-3.310.0.tgz", - "integrity": "sha512-DnLfFT8uCO22uOJc0pt0DsSNau1GTisngBCDw8jQuWT5CqogMJu4b/uXmwEqfj8B3GX6Xsz8zOd6JpRlPftQoA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/util-buffer-from": "3.310.0", "tslib": "^2.5.0" @@ -5772,16 +4787,14 @@ }, "node_modules/@aws-sdk/util-utf8-browser": { "version": "3.259.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.259.0.tgz", - "integrity": "sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.1" } }, "node_modules/@aws-sdk/xml-builder": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.310.0.tgz", - "integrity": "sha512-TqELu4mOuSIKQCqj63fGVs86Yh+vBx5nHRpWKNUNhB2nPTpfbziTs5c1X358be3peVWA4wPxW7Nt53KIg1tnNw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -5791,8 +4804,7 @@ }, "node_modules/@babel/code-frame": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", - "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.22.5" }, @@ -5802,18 +4814,16 @@ }, "node_modules/@babel/compat-data": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.22.6.tgz", - "integrity": "sha512-29tfsWTq2Ftu7MXmimyC0C5FDZv5DYxOZkh3XD3+QW4V/BYuv/LyEsjj3c0hqedEaDt6DBfDvexMKU8YevdqFg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.6.tgz", - "integrity": "sha512-HPIyDa6n+HKw5dEuway3vVAhBboYCtREBMp+IWeseZy6TFtzn6MHkCH2KKYUOC/vKKwgSMHQW4htBOrmuRPXfw==", "dev": true, + "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.22.5", @@ -5841,9 +4851,8 @@ }, "node_modules/@babel/generator": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.5.tgz", - "integrity": "sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5", "@jridgewell/gen-mapping": "^0.3.2", @@ -5856,9 +4865,8 @@ }, "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -5870,9 +4878,8 @@ }, "node_modules/@babel/helper-compilation-targets": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.6.tgz", - "integrity": "sha512-534sYEqWD9VfUm3IPn2SLcH4Q3P86XL+QvqdC7ZsFrzyyPF3T4XGiVghF6PTYNdWg6pXuoqXxNQAhbYeEInTzA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/compat-data": "^7.22.6", "@babel/helper-validator-option": "^7.22.5", @@ -5889,18 +4896,16 @@ }, "node_modules/@babel/helper-environment-visitor": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz", - "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", - "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/template": "^7.22.5", "@babel/types": "^7.22.5" @@ -5911,9 +4916,8 @@ }, "node_modules/@babel/helper-hoist-variables": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" }, @@ -5923,9 +4927,8 @@ }, "node_modules/@babel/helper-module-imports": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz", - "integrity": "sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" }, @@ -5935,9 +4938,8 @@ }, "node_modules/@babel/helper-module-transforms": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.22.5.tgz", - "integrity": "sha512-+hGKDt/Ze8GFExiVHno/2dvG5IdstpzCq0y4Qc9OJ25D4q3pKfiIP/4Vp3/JvhDkLKsDK2api3q3fpIgiIF5bw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-environment-visitor": "^7.22.5", "@babel/helper-module-imports": "^7.22.5", @@ -5954,18 +4956,16 @@ }, "node_modules/@babel/helper-plugin-utils": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" }, @@ -5975,9 +4975,8 @@ }, "node_modules/@babel/helper-split-export-declaration": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" }, @@ -5987,35 +4986,31 @@ }, "node_modules/@babel/helper-string-parser": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", - "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz", - "integrity": "sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.22.6.tgz", - "integrity": "sha512-YjDs6y/fVOYFV8hAf1rxd1QvR9wJe1pDBZ2AREKq/SDayfPzgk0PBnVuTCE5X1acEpMMNOVUqoe+OwiZGJ+OaA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/template": "^7.22.5", "@babel/traverse": "^7.22.6", @@ -6027,8 +5022,7 @@ }, "node_modules/@babel/highlight": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", - "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.22.5", "chalk": "^2.0.0", @@ -6040,8 +5034,7 @@ }, "node_modules/@babel/highlight/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -6051,8 +5044,7 @@ }, "node_modules/@babel/highlight/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -6064,29 +5056,25 @@ }, "node_modules/@babel/highlight/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/@babel/highlight/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "license": "MIT" }, "node_modules/@babel/highlight/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/@babel/highlight/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -6096,9 +5084,8 @@ }, "node_modules/@babel/parser": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.6.tgz", - "integrity": "sha512-EIQu22vNkceq3LbjAq7knDf/UmtI2qbcNI8GRBlijez6TpQLvSodJPYfydQmNA5buwkxxxa/PVI44jjYZ+/cLw==", "dev": true, + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -6108,9 +5095,8 @@ }, "node_modules/@babel/plugin-syntax-async-generators": { "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -6120,9 +5106,8 @@ }, "node_modules/@babel/plugin-syntax-bigint": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -6132,9 +5117,8 @@ }, "node_modules/@babel/plugin-syntax-class-properties": { "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.12.13" }, @@ -6144,9 +5128,8 @@ }, "node_modules/@babel/plugin-syntax-import-meta": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -6156,9 +5139,8 @@ }, "node_modules/@babel/plugin-syntax-json-strings": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -6168,9 +5150,8 @@ }, "node_modules/@babel/plugin-syntax-jsx": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz", - "integrity": "sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -6183,9 +5164,8 @@ }, "node_modules/@babel/plugin-syntax-logical-assignment-operators": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -6195,9 +5175,8 @@ }, "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -6207,9 +5186,8 @@ }, "node_modules/@babel/plugin-syntax-numeric-separator": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -6219,9 +5197,8 @@ }, "node_modules/@babel/plugin-syntax-object-rest-spread": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -6231,9 +5208,8 @@ }, "node_modules/@babel/plugin-syntax-optional-catch-binding": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -6243,9 +5219,8 @@ }, "node_modules/@babel/plugin-syntax-optional-chaining": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -6255,9 +5230,8 @@ }, "node_modules/@babel/plugin-syntax-top-level-await": { "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -6270,9 +5244,8 @@ }, "node_modules/@babel/plugin-syntax-typescript": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz", - "integrity": "sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -6285,9 +5258,8 @@ }, "node_modules/@babel/template": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.22.5", "@babel/parser": "^7.22.5", @@ -6299,9 +5271,8 @@ }, "node_modules/@babel/traverse": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.6.tgz", - "integrity": "sha512-53CijMvKlLIDlOTrdWiHileRddlIiwUIyCKqYa7lYnnPldXCG5dUSN38uT0cA6i7rHWNKJLH0VU/Kxdr1GzB3w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.22.5", "@babel/generator": "^7.22.5", @@ -6320,18 +5291,16 @@ }, "node_modules/@babel/traverse/node_modules/globals": { "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/@babel/types": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", - "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.22.5", "@babel/helper-validator-identifier": "^7.22.5", @@ -6343,22 +5312,19 @@ }, "node_modules/@bcoe/v8-coverage": { "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@bugsnag/browser": { "version": "7.20.2", - "resolved": "https://registry.npmjs.org/@bugsnag/browser/-/browser-7.20.2.tgz", - "integrity": "sha512-4J4s53ZpYr3hHA+QjxUjOI6U+A8+XuUVH45UshE87Jp2Y4mV8ML2DovejqJS8J8yjdbnh2z1Wtg/v3WUNt4ayQ==", + "license": "MIT", "dependencies": { "@bugsnag/core": "^7.19.0" } }, "node_modules/@bugsnag/core": { "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@bugsnag/core/-/core-7.19.0.tgz", - "integrity": "sha512-2KGwdaLD9PhR7Wk7xPi3jGuGsKTatc/28U4TOZIDU3CgC2QhGjubwiXSECel5gwxhZ3jACKcMKSV2ovHhv1NrA==", + "license": "MIT", "dependencies": { "@bugsnag/cuid": "^3.0.0", "@bugsnag/safe-json-stringify": "^6.0.0", @@ -6369,13 +5335,11 @@ }, "node_modules/@bugsnag/cuid": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@bugsnag/cuid/-/cuid-3.0.2.tgz", - "integrity": "sha512-cIwzC93r3PQ/INeuwtZwkZIG2K8WWN0rRLZQhu+mr48Ay+i6sEki4GYfTsflse7hZ1BeDWrNb/Q9vgY3B31xHQ==" + "license": "MIT" }, "node_modules/@bugsnag/js": { "version": "7.20.2", - "resolved": "https://registry.npmjs.org/@bugsnag/js/-/js-7.20.2.tgz", - "integrity": "sha512-Q08k0h0h6NFwFGkFmib39Uln2WpvJdqT1EGF1JlyYiGW03Y+VopVb9r37pZrRrN9IY08mxaIEO8la5xeaWAs6A==", + "license": "MIT", "dependencies": { "@bugsnag/browser": "^7.20.2", "@bugsnag/node": "^7.19.0" @@ -6383,8 +5347,7 @@ }, "node_modules/@bugsnag/node": { "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@bugsnag/node/-/node-7.19.0.tgz", - "integrity": "sha512-c4snyxx5d/fsMogmgehFBGc//daH6+4XCplia4zrEQYltjaQ+l8ud0dPx623DgJl/2j1+2zlRc7y7IHSd7Gm5w==", + "license": "MIT", "dependencies": { "@bugsnag/core": "^7.19.0", "byline": "^5.0.0", @@ -6396,22 +5359,19 @@ }, "node_modules/@bugsnag/safe-json-stringify": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@bugsnag/safe-json-stringify/-/safe-json-stringify-6.0.0.tgz", - "integrity": "sha512-htzFO1Zc57S8kgdRK9mLcPVTW1BY2ijfH7Dk2CeZmspTWKdKqSo1iwmqrq2WtRjFlo8aRZYgLX0wFrDXF/9DLA==" + "license": "MIT" }, "node_modules/@colors/colors": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "license": "MIT", "engines": { "node": ">=0.1.90" } }, "node_modules/@commitlint/cli": { "version": "17.6.6", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-17.6.6.tgz", - "integrity": "sha512-sTKpr2i/Fjs9OmhU+beBxjPavpnLSqZaO6CzwKVq2Tc4UYVTMFgpKOslDhUBVlfAUBfjVO8ParxC/MXkIOevEA==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/format": "^17.4.4", "@commitlint/lint": "^17.6.6", @@ -6433,9 +5393,8 @@ }, "node_modules/@commitlint/config-conventional": { "version": "17.6.5", - "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-17.6.5.tgz", - "integrity": "sha512-Xl9H9KLl86NZm5CYNTNF9dcz1xelE/EbvhWIWcYxG/rn3UWYWdWmmnX2q6ZduNdLFSGbOxzUpIx61j5zxbeXxg==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog-conventionalcommits": "^5.0.0" }, @@ -6445,9 +5404,8 @@ }, "node_modules/@commitlint/config-conventional/node_modules/conventional-changelog-conventionalcommits": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz", - "integrity": "sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0", "lodash": "^4.17.15", @@ -6459,9 +5417,8 @@ }, "node_modules/@commitlint/config-validator": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-17.4.4.tgz", - "integrity": "sha512-bi0+TstqMiqoBAQDvdEP4AFh0GaKyLFlPPEObgI29utoKEYoPQTvF0EYqIwYYLEoJYhj5GfMIhPHJkTJhagfeg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "ajv": "^8.11.0" @@ -6472,9 +5429,8 @@ }, "node_modules/@commitlint/ensure": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-17.4.4.tgz", - "integrity": "sha512-AHsFCNh8hbhJiuZ2qHv/m59W/GRE9UeOXbkOqxYMNNg9pJ7qELnFcwj5oYpa6vzTSHtPGKf3C2yUFNy1GGHq6g==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "lodash.camelcase": "^4.3.0", @@ -6489,18 +5445,16 @@ }, "node_modules/@commitlint/execute-rule": { "version": "17.4.0", - "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-17.4.0.tgz", - "integrity": "sha512-LIgYXuCSO5Gvtc0t9bebAMSwd68ewzmqLypqI2Kke1rqOqqDbMpYcYfoPfFlv9eyLIh4jocHWwCK5FS7z9icUA==", "dev": true, + "license": "MIT", "engines": { "node": ">=v14" } }, "node_modules/@commitlint/format": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-17.4.4.tgz", - "integrity": "sha512-+IS7vpC4Gd/x+uyQPTAt3hXs5NxnkqAZ3aqrHd5Bx/R9skyCAWusNlNbw3InDbAK6j166D9asQM8fnmYIa+CXQ==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "chalk": "^4.1.0" @@ -6511,9 +5465,8 @@ }, "node_modules/@commitlint/is-ignored": { "version": "17.6.6", - "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-17.6.6.tgz", - "integrity": "sha512-4Fw875faAKO+2nILC04yW/2Vy/wlV3BOYCSQ4CEFzriPEprc1Td2LILmqmft6PDEK5Sr14dT9tEzeaZj0V56Gg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "semver": "7.5.2" @@ -6524,9 +5477,8 @@ }, "node_modules/@commitlint/is-ignored/node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -6536,9 +5488,8 @@ }, "node_modules/@commitlint/is-ignored/node_modules/semver": { "version": "7.5.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz", - "integrity": "sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -6551,15 +5502,13 @@ }, "node_modules/@commitlint/is-ignored/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/@commitlint/lint": { "version": "17.6.6", - "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-17.6.6.tgz", - "integrity": "sha512-5bN+dnHcRLkTvwCHYMS7Xpbr+9uNi0Kq5NR3v4+oPNx6pYXt8ACuw9luhM/yMgHYwW0ajIR20wkPAFkZLEMGmg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/is-ignored": "^17.6.6", "@commitlint/parse": "^17.6.5", @@ -6572,9 +5521,8 @@ }, "node_modules/@commitlint/load": { "version": "17.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-17.5.0.tgz", - "integrity": "sha512-l+4W8Sx4CD5rYFsrhHH8HP01/8jEP7kKf33Xlx2Uk2out/UKoKPYMOIRcDH5ppT8UXLMV+x6Wm5osdRKKgaD1Q==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/config-validator": "^17.4.4", "@commitlint/execute-rule": "^17.4.0", @@ -6597,18 +5545,16 @@ }, "node_modules/@commitlint/message": { "version": "17.4.2", - "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-17.4.2.tgz", - "integrity": "sha512-3XMNbzB+3bhKA1hSAWPCQA3lNxR4zaeQAQcHj0Hx5sVdO6ryXtgUBGGv+1ZCLMgAPRixuc6en+iNAzZ4NzAa8Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=v14" } }, "node_modules/@commitlint/parse": { "version": "17.6.5", - "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-17.6.5.tgz", - "integrity": "sha512-0zle3bcn1Hevw5Jqpz/FzEWNo2KIzUbc1XyGg6WrWEoa6GH3A1pbqNF6MvE6rjuy6OY23c8stWnb4ETRZyN+Yw==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "conventional-changelog-angular": "^5.0.11", @@ -6620,9 +5566,8 @@ }, "node_modules/@commitlint/read": { "version": "17.5.1", - "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-17.5.1.tgz", - "integrity": "sha512-7IhfvEvB//p9aYW09YVclHbdf1u7g7QhxeYW9ZHSO8Huzp8Rz7m05aCO1mFG7G8M+7yfFnXB5xOmG18brqQIBg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/top-level": "^17.4.0", "@commitlint/types": "^17.4.4", @@ -6636,9 +5581,8 @@ }, "node_modules/@commitlint/read/node_modules/fs-extra": { "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -6650,9 +5594,8 @@ }, "node_modules/@commitlint/resolve-extends": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-17.4.4.tgz", - "integrity": "sha512-znXr1S0Rr8adInptHw0JeLgumS11lWbk5xAWFVno+HUFVN45875kUtqjrI6AppmD3JI+4s0uZlqqlkepjJd99A==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/config-validator": "^17.4.4", "@commitlint/types": "^17.4.4", @@ -6667,9 +5610,8 @@ }, "node_modules/@commitlint/rules": { "version": "17.6.5", - "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-17.6.5.tgz", - "integrity": "sha512-uTB3zSmnPyW2qQQH+Dbq2rekjlWRtyrjDo4aLFe63uteandgkI+cc0NhhbBAzcXShzVk0qqp8SlkQMu0mgHg/A==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/ensure": "^17.4.4", "@commitlint/message": "^17.4.2", @@ -6683,18 +5625,16 @@ }, "node_modules/@commitlint/to-lines": { "version": "17.4.0", - "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-17.4.0.tgz", - "integrity": "sha512-LcIy/6ZZolsfwDUWfN1mJ+co09soSuNASfKEU5sCmgFCvX5iHwRYLiIuoqXzOVDYOy7E7IcHilr/KS0e5T+0Hg==", "dev": true, + "license": "MIT", "engines": { "node": ">=v14" } }, "node_modules/@commitlint/top-level": { "version": "17.4.0", - "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-17.4.0.tgz", - "integrity": "sha512-/1loE/g+dTTQgHnjoCy0AexKAEFyHsR2zRB4NWrZ6lZSMIxAhBJnmCqwao7b4H8888PsfoTBCLBYIw8vGnej8g==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^5.0.0" }, @@ -6704,9 +5644,8 @@ }, "node_modules/@commitlint/types": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-17.4.4.tgz", - "integrity": "sha512-amRN8tRLYOsxRr6mTnGGGvB5EmW/4DDjLMgiwK3CCVEmN6Sr/6xePGEpWaspKkckILuUORCwe6VfDBw6uj4axQ==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.0" }, @@ -6716,9 +5655,8 @@ }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.9" }, @@ -6728,9 +5666,8 @@ }, "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { "version": "0.3.9", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" @@ -6738,8 +5675,7 @@ }, "node_modules/@dabh/diagnostics": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", - "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "license": "MIT", "dependencies": { "colorspace": "1.1.x", "enabled": "2.0.x", @@ -6748,9 +5684,8 @@ }, "node_modules/@datadog/pprof": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@datadog/pprof/-/pprof-3.1.0.tgz", - "integrity": "sha512-Bg8O8yrHeL2KKHXhLoAAT33ZfzLnZ6rWfOjy8PkcNhUJy3UwNVLbUoApf+99EyLjqpzpk/kZXrIAMBzMMB8ilg==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "delay": "^5.0.0", "node-gyp-build": "<4.0", @@ -6764,17 +5699,15 @@ }, "node_modules/@datadog/pprof/node_modules/source-map": { "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "license": "BSD-3-Clause", "engines": { "node": ">= 8" } }, "node_modules/@dependents/detective-less": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@dependents/detective-less/-/detective-less-3.0.1.tgz", - "integrity": "sha512-NjjCPJbx/za2287T6gnC5zD2IFSplro1evaTV9yvx3jnPpHi7s8PwJvh9vvJRFnMx5nbakodwNOnFvk8+9YQTg==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^5.0.0" @@ -6785,9 +5718,8 @@ }, "node_modules/@dependents/detective-less/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -6797,9 +5729,8 @@ }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@digitalroute/cz-conventional-changelog-for-jira/-/cz-conventional-changelog-for-jira-8.0.1.tgz", - "integrity": "sha512-I7uNQ2R5LnDYVhQ01sfNvaxqe1PutXyDl8Kltj4L8uDa1LTYqQgWWp3yEj3XYDNjhUjsAheHW0lsmF1oiAjWVg==", "dev": true, + "license": "MIT", "dependencies": { "boxen": "^5.1.2", "chalk": "^2.4.1", @@ -6820,9 +5751,8 @@ }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -6832,9 +5762,8 @@ }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -6846,33 +5775,29 @@ }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -6882,9 +5807,8 @@ }, "node_modules/@eslint-community/eslint-utils": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.3.0.tgz", - "integrity": "sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==", "dev": true, + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^3.3.0" }, @@ -6897,18 +5821,16 @@ }, "node_modules/@eslint-community/regexpp": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.4.0.tgz", - "integrity": "sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, "node_modules/@eslint/eslintrc": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", - "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -6929,9 +5851,8 @@ }, "node_modules/@eslint/eslintrc/node_modules/ajv": { "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -6945,45 +5866,38 @@ }, "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@eslint/js": { "version": "8.41.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.41.0.tgz", - "integrity": "sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@ewoudenberg/difflib": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@ewoudenberg/difflib/-/difflib-0.1.0.tgz", - "integrity": "sha512-OU5P5mJyD3OoWYMWY+yIgwvgNS9cFAU10f+DDuvtogcWQOoJIsQ4Hy2McSfUfhKjq8L0FuWVb4Rt7kgA+XK86A==", "dependencies": { "heap": ">= 0.2.0" } }, "node_modules/@hapi/hoek": { "version": "9.3.0", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==" + "license": "BSD-3-Clause" }, "node_modules/@hapi/topo": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", - "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", @@ -6995,9 +5909,8 @@ }, "node_modules/@humanwhocodes/module-importer": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=12.22" }, @@ -7008,29 +5921,25 @@ }, "node_modules/@humanwhocodes/object-schema": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/@hutson/parse-repository-url": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", - "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=6.9.0" } }, "node_modules/@ioredis/commands": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.2.0.tgz", - "integrity": "sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==" + "license": "MIT" }, "node_modules/@isaacs/cliui": { "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", @@ -7045,9 +5954,8 @@ }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -7057,9 +5965,8 @@ }, "node_modules/@isaacs/cliui/node_modules/ansi-styles": { "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -7069,9 +5976,8 @@ }, "node_modules/@isaacs/cliui/node_modules/string-width": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, + "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -7086,9 +5992,8 @@ }, "node_modules/@isaacs/cliui/node_modules/strip-ansi": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -7101,9 +6006,8 @@ }, "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", @@ -7118,9 +6022,8 @@ }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", "dev": true, + "license": "ISC", "dependencies": { "camelcase": "^5.3.1", "find-up": "^4.1.0", @@ -7134,18 +6037,16 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } }, "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -7156,9 +6057,8 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -7169,9 +6069,8 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -7181,9 +6080,8 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -7196,9 +6094,8 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -7208,18 +6105,16 @@ }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/@jest/console": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.6.0.tgz", - "integrity": "sha512-anb6L1yg7uPQpytNVA5skRaXy3BmrsU8icRhTVNbWdjYWDDfy8M1Kq5HIVRpYoABdbpqsc5Dr+jtu4+qWRQBiQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@types/node": "*", @@ -7234,9 +6129,8 @@ }, "node_modules/@jest/core": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.6.0.tgz", - "integrity": "sha512-5dbMHfY/5R9m8NbgmB3JlxQqooZ/ooPSOiwEQZZ+HODwJTbIu37seVcZNBK29aMdXtjvTRB3f6LCvkKq+r8uQA==", "dev": true, + "license": "MIT", "dependencies": { "@jest/console": "^29.6.0", "@jest/reporters": "^29.6.0", @@ -7281,9 +6175,8 @@ }, "node_modules/@jest/environment": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.6.0.tgz", - "integrity": "sha512-bUZLYUxYlUIsslBbxII0fq0kr1+friI3Gty+cRLmocGB1jdcAHs7FS8QdCDqedE8q4DZE1g/AJHH6OJZBLGGsg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/fake-timers": "^29.6.0", "@jest/types": "^29.6.0", @@ -7296,9 +6189,8 @@ }, "node_modules/@jest/expect": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.6.0.tgz", - "integrity": "sha512-a7pISPW28Q3c0/pLwz4mQ6tbAI+hc8/0CJp9ix6e9U4dQ6TiHQX82CT5DV5BMWaw8bFH4E6zsfZxXdn6Ka23Bw==", "dev": true, + "license": "MIT", "dependencies": { "expect": "^29.6.0", "jest-snapshot": "^29.6.0" @@ -7309,9 +6201,8 @@ }, "node_modules/@jest/expect-utils": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.6.0.tgz", - "integrity": "sha512-LLSQQN7oypMSETKoPWpsWYVKJd9LQWmSDDAc4hUQ4JocVC7LAMy9R3ZMhlnLwbcFvQORZnZR7HM893Px6cJhvA==", "dev": true, + "license": "MIT", "dependencies": { "jest-get-type": "^29.4.3" }, @@ -7321,9 +6212,8 @@ }, "node_modules/@jest/fake-timers": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.6.0.tgz", - "integrity": "sha512-nuCU46AsZoskthWSDS2Aj6LARgyNcp5Fjx2qxsO/fPl1Wp1CJ+dBDqs0OkEcJK8FBeV/MbjH5efe79M2sHcV+A==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@sinonjs/fake-timers": "^10.0.2", @@ -7338,9 +6228,8 @@ }, "node_modules/@jest/globals": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.6.0.tgz", - "integrity": "sha512-IQQ3hZ2D/hwEwXSMv5GbfhzdH0nTQR3KPYxnuW6gYWbd6+7/zgMz7Okn6EgBbNtJNONq03k5EKA6HqGyzRbpeg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.6.0", "@jest/expect": "^29.6.0", @@ -7353,9 +6242,8 @@ }, "node_modules/@jest/reporters": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.6.0.tgz", - "integrity": "sha512-dWEq4HI0VvHcAD6XTtyBKKARLytyyWPIy1SvGOcU91106MfvHPdxZgupFwVHd8TFpZPpA3SebYjtwS5BUS76Rw==", "dev": true, + "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^0.2.3", "@jest/console": "^29.6.0", @@ -7396,9 +6284,8 @@ }, "node_modules/@jest/reporters/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -7416,9 +6303,8 @@ }, "node_modules/@jest/schemas": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.0.tgz", - "integrity": "sha512-rxLjXyJBTL4LQeJW3aKo0M/+GkCOXsO+8i9Iu7eDb6KwtP65ayoDsitrdPBtujxQ88k4wI2FNYfa6TOGwSn6cQ==", "dev": true, + "license": "MIT", "dependencies": { "@sinclair/typebox": "^0.27.8" }, @@ -7428,9 +6314,8 @@ }, "node_modules/@jest/source-map": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.0.tgz", - "integrity": "sha512-oA+I2SHHQGxDCZpbrsCQSoMLb3Bz547JnM+jUr9qEbuw0vQlWZfpPS7CO9J7XiwKicEz9OFn/IYoLkkiUD7bzA==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "^0.3.18", "callsites": "^3.0.0", @@ -7442,9 +6327,8 @@ }, "node_modules/@jest/test-result": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.6.0.tgz", - "integrity": "sha512-9qLb7xITeyWhM4yatn2muqfomuoCTOhv0QV9i7XiIyYi3QLfnvPv5NeJp5u0PZeutAOROMLKakOkmoAisOr3YQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/console": "^29.6.0", "@jest/types": "^29.6.0", @@ -7457,9 +6341,8 @@ }, "node_modules/@jest/test-sequencer": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.6.0.tgz", - "integrity": "sha512-HYCS3LKRQotKWj2mnA3AN13PPevYZu8MJKm12lzYojpJNnn6kI/3PWmr1At/e3tUu+FHQDiOyaDVuR4EV3ezBw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/test-result": "^29.6.0", "graceful-fs": "^4.2.9", @@ -7472,9 +6355,8 @@ }, "node_modules/@jest/transform": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.6.0.tgz", - "integrity": "sha512-bhP/KxPo3e322FJ0nKAcb6WVK76ZYyQd1lWygJzoSqP8SYMSLdxHqP4wnPTI4WvbB8PKPDV30y5y7Tya4RHOBA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", "@jest/types": "^29.6.0", @@ -7498,15 +6380,13 @@ }, "node_modules/@jest/transform/node_modules/convert-source-map": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jest/transform/node_modules/write-file-atomic": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "signal-exit": "^3.0.7" @@ -7517,9 +6397,8 @@ }, "node_modules/@jest/types": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.0.tgz", - "integrity": "sha512-8XCgL9JhqbJTFnMRjEAO+TuW251+MoMd5BSzLiE3vvzpQ8RlBxy8NoyNkDhs3K3OL3HeVinlOl9or5p7GTeOLg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.0", "@types/istanbul-lib-coverage": "^2.0.0", @@ -7534,9 +6413,8 @@ }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.0", "@jridgewell/sourcemap-codec": "^1.4.10" @@ -7547,33 +6425,29 @@ }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.18", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", - "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "3.1.0", "@jridgewell/sourcemap-codec": "1.4.14" @@ -7581,14 +6455,12 @@ }, "node_modules/@jsdevtools/ono": { "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", - "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@koa/router": { "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@koa/router/-/router-12.0.0.tgz", - "integrity": "sha512-cnnxeKHXlt7XARJptflGURdJaO+ITpNkOHmQu7NHmCoRinPbyvFzce/EG/E8Zy81yQ1W9MoSdtklc3nyaDReUw==", + "license": "MIT", "dependencies": { "http-errors": "^2.0.0", "koa-compose": "^4.1.0", @@ -7601,8 +6473,7 @@ }, "node_modules/@koa/router/node_modules/http-errors": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", @@ -7616,16 +6487,14 @@ }, "node_modules/@koa/router/node_modules/statuses": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/@mapbox/node-pre-gyp": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz", - "integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==", + "license": "BSD-3-Clause", "dependencies": { "detect-libc": "^2.0.0", "https-proxy-agent": "^5.0.0", @@ -7643,23 +6512,20 @@ }, "node_modules/@ndhoule/extend": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@ndhoule/extend/-/extend-2.0.0.tgz", - "integrity": "sha512-xb77tVVGDGwjy25a6RmBiiBQ9uvxhkG0OEpVkQ74oNFsy9u+4PGp5BIIblmJZmJBMgXiKxZtkr4GcmHCNVubBQ==" + "license": "MIT" }, "node_modules/@nicolo-ribaudo/semver-v6": { "version": "6.3.3", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz", - "integrity": "sha512-3Yc1fUTs69MG/uZbJlLSI3JISMn2UV2rg+1D/vROUqZyh3l6iYHCs7GMp+M40ZD7yOdDbYjJcU1oTJhrc+dGKg==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -7670,18 +6536,16 @@ }, "node_modules/@nodelib/fs.stat": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "dev": true, + "license": "MIT", "engines": { "node": ">= 8" } }, "node_modules/@nodelib/fs.walk": { "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -7692,9 +6556,8 @@ }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", "dev": true, + "license": "MIT", "optional": true, "engines": { "node": ">=14" @@ -7702,28 +6565,23 @@ }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/base64": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/codegen": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/eventemitter": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/fetch": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "license": "BSD-3-Clause", "dependencies": { "@protobufjs/aspromise": "^1.1.1", "@protobufjs/inquire": "^1.1.0" @@ -7731,33 +6589,27 @@ }, "node_modules/@protobufjs/float": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/inquire": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/path": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/pool": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/utf8": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" + "license": "BSD-3-Clause" }, "node_modules/@pyroscope/nodejs": { "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@pyroscope/nodejs/-/nodejs-0.2.6.tgz", - "integrity": "sha512-F37ROH//HzO7zKm2S7CtNG8OAp+i4ADg4erQR9D57BrSgi8+3Jjp5s5PWqyJABC6IzsABgGrentPobBDr8QdsA==", + "license": "Apache-2.0", "dependencies": { "axios": "^0.26.1", "debug": "^4.3.3", @@ -7772,29 +6624,25 @@ }, "node_modules/@pyroscope/nodejs/node_modules/axios": { "version": "0.26.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", - "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "license": "MIT", "dependencies": { "follow-redirects": "^1.14.8" } }, "node_modules/@pyroscope/nodejs/node_modules/source-map": { "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "license": "BSD-3-Clause", "engines": { "node": ">= 8" } }, "node_modules/@rudderstack/json-template-engine": { "version": "0.5.5", - "resolved": "https://registry.npmjs.org/@rudderstack/json-template-engine/-/json-template-engine-0.5.5.tgz", - "integrity": "sha512-p3HdTqgZiJjjZmjaHN2paa1e87ifGE5UjkA4zdvge4bBzJbKKMQNWqRg6I96SwoA+hsxNkW/f9R83SPLU9t7LA==" + "license": "MIT" }, "node_modules/@rudderstack/workflow-engine": { "version": "0.5.7", - "resolved": "https://registry.npmjs.org/@rudderstack/workflow-engine/-/workflow-engine-0.5.7.tgz", - "integrity": "sha512-qR4eSiSFgYdOMtldR0rJ5kLGiTfnyufDfkMHNXFybxPb3jpjxBEGapj2lRiiTiRPgSUef7vuKyJ8BzY/VR4noA==", + "license": "MIT", "dependencies": { "@aws-crypto/sha256-js": "^4.0.0", "@rudderstack/json-template-engine": "^0.5.5", @@ -7806,8 +6654,7 @@ }, "node_modules/@rudderstack/workflow-engine/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==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^4.0.0", "@aws-sdk/types": "^3.222.0", @@ -7816,8 +6663,7 @@ }, "node_modules/@rudderstack/workflow-engine/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==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.222.0", "@aws-sdk/util-utf8-browser": "^3.0.0", @@ -7826,64 +6672,55 @@ }, "node_modules/@rudderstack/workflow-engine/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@sideway/address": { "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", - "integrity": "sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } }, "node_modules/@sideway/formula": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==" + "license": "BSD-3-Clause" }, "node_modules/@sideway/pinpoint": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" + "license": "BSD-3-Clause" }, "node_modules/@sinclair/typebox": { "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@sindresorhus/is": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.7.0.tgz", - "integrity": "sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/@sinonjs/commons": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" } }, "node_modules/@sinonjs/fake-timers": { "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.0" } }, "node_modules/@smithy/abort-controller": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-1.0.1.tgz", - "integrity": "sha512-An6irzp9NCji2JtJHhrEFlDbxLwHd6c6Y9fq3ZeomyUR8BIXlGXVTxsemUSZVVgOq3166iYbYs/CrPAmgRSFLw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -7894,8 +6731,7 @@ }, "node_modules/@smithy/config-resolver": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-1.0.1.tgz", - "integrity": "sha512-quj0xUiEVG/UHfY82EtthR/+S5/17p3IxXArC3NFSNqryMobWbG9oWgJy2s2cgUSVZLzxevjKKvxrilK7JEDaA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "@smithy/util-config-provider": "^1.0.1", @@ -7908,8 +6744,7 @@ }, "node_modules/@smithy/credential-provider-imds": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-1.0.1.tgz", - "integrity": "sha512-hkRJoxVCh4CEt1zYOBElE+G/MV6lyx3g68hSJpesM4pwMT/bzEVo5E5XzXY+6dVq8yszeatWKbFuqCCBQte8tg==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^1.0.1", "@smithy/property-provider": "^1.0.1", @@ -7923,8 +6758,7 @@ }, "node_modules/@smithy/eventstream-codec": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-1.0.1.tgz", - "integrity": "sha512-cpcTXQEOEs2wEvIyxW/iTHJ2m0RVqoEOTjjWEXD6SY8Gcs3FCFP6E8MXadC098tdH5ctMIUXc8POXyMpxzGnjw==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/crc32": "3.0.0", "@smithy/types": "^1.1.0", @@ -7934,8 +6768,7 @@ }, "node_modules/@smithy/eventstream-serde-browser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-1.0.1.tgz", - "integrity": "sha512-oc8vxe+AU2RzvXH/Ehh0TzM/Nsw3I3ywu7V3qaCzqdkBIntAwK9JGZqcSDsqTK0WxZKBRgFIEwopcuZ2slVnFQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/eventstream-serde-universal": "^1.0.1", "@smithy/types": "^1.1.0", @@ -7947,8 +6780,7 @@ }, "node_modules/@smithy/eventstream-serde-config-resolver": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-1.0.1.tgz", - "integrity": "sha512-TJwaXima0djnNY819utO1j93qZHaheFH1bhHxBkMrImtEOuXY48Tjma/L2m8swkIq8dy8jFC9hrYOkD0eYHkFA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -7959,8 +6791,7 @@ }, "node_modules/@smithy/eventstream-serde-node": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-1.0.1.tgz", - "integrity": "sha512-JEj8w7IRs4l+kcwKxbv3pNuu8n7ORC4pMFrIOrM4rERzrRnI7vMNTRzvAPGYA53rqm/Y9tBA9dw4C+H6hLXcsA==", + "license": "Apache-2.0", "dependencies": { "@smithy/eventstream-serde-universal": "^1.0.1", "@smithy/types": "^1.1.0", @@ -7972,8 +6803,7 @@ }, "node_modules/@smithy/eventstream-serde-universal": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-1.0.1.tgz", - "integrity": "sha512-c6m9DH7m6D2S93dof4wSxysaGSQdauO20TNcSePzrgHd4rkTnz5pqZ1a7Pt22q2SKf09SvTugq5cV2Sy4r8zHw==", + "license": "Apache-2.0", "dependencies": { "@smithy/eventstream-codec": "^1.0.1", "@smithy/types": "^1.1.0", @@ -7985,8 +6815,7 @@ }, "node_modules/@smithy/fetch-http-handler": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-1.0.1.tgz", - "integrity": "sha512-/e2A8eOMk4FVZBQ0o6uF/ttLtFZcmsK5MIwDu1UE3crM4pCAIP19Ul8U9rdLlHhIu81X4AcJmSw55RDSpVRL/w==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^1.1.0", "@smithy/querystring-builder": "^1.0.1", @@ -7997,8 +6826,7 @@ }, "node_modules/@smithy/hash-node": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-1.0.1.tgz", - "integrity": "sha512-eCz08BySBcOjVObjbRAS/XMKUGY4ujnuS+GoWeEpzpCSKDnO8/YQ0rStRt4C0llRmhApizYc1tK9DiJwfvXcBg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "@smithy/util-buffer-from": "^1.0.1", @@ -8011,8 +6839,7 @@ }, "node_modules/@smithy/invalid-dependency": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-1.0.1.tgz", - "integrity": "sha512-kib63GFlAzRn/wf8M0cRWrZA1cyOy5IvpTkLavCY782DPFMP0EaEeD6VrlNIOvD6ncf7uCJ68HqckhwK1qLT3g==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -8020,8 +6847,7 @@ }, "node_modules/@smithy/is-array-buffer": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-1.0.1.tgz", - "integrity": "sha512-fHSTW70gANnzPYWNDcWkPXpp+QMbHhKozbQm/+Denkhp4gwSiPuAovWZRpJa9sXO+Q4dOnNzYN2max1vTCEroA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -8031,8 +6857,7 @@ }, "node_modules/@smithy/middleware-content-length": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-1.0.1.tgz", - "integrity": "sha512-vWWigayk5i2cFp9xPX5vdzHyK+P0t/xZ3Ovp4Ss+c8JQ1Hlq2kpJZVWtTKsmdfND5rVo5lu0kD5wgAMUCcmuhw==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^1.1.0", "@smithy/types": "^1.1.0", @@ -8044,8 +6869,7 @@ }, "node_modules/@smithy/middleware-endpoint": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-1.0.2.tgz", - "integrity": "sha512-F3CyXgjtDI4quGFkDmVNytt6KMwlzzeMxtopk6Edue4uKdKcMC1vUmoRS5xTbFzKDDp4XwpnEV7FshPaL3eCPw==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-serde": "^1.0.1", "@smithy/types": "^1.1.0", @@ -8059,8 +6883,7 @@ }, "node_modules/@smithy/middleware-retry": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-1.0.3.tgz", - "integrity": "sha512-ZRsjG8adtxQ456FULPqPFmWtrW44Fq8IgdQvQB+rC2RSho3OUzS+TiEIwb5Zs6rf2IoewITKtfdtsUZcxXO0ng==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^1.1.0", "@smithy/service-error-classification": "^1.0.2", @@ -8076,16 +6899,14 @@ }, "node_modules/@smithy/middleware-retry/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/@smithy/middleware-serde": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-1.0.1.tgz", - "integrity": "sha512-bn5lWk8UUeXFCQfkrNErz5SbeNd+2hgYegHMLsOLPt4URDIsyREar6wMsdsR+8UCdgR5s8udG3Zalgc7puizIQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -8096,8 +6917,7 @@ }, "node_modules/@smithy/middleware-stack": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-1.0.1.tgz", - "integrity": "sha512-T6+gsAO1JYamOJqmORCrByDeQ/NB+ggjHb33UDOgdX4xIjXz/FB/3UqHgQu6PL1cSFrK+i4oteDIwqARDs/Szw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -8107,8 +6927,7 @@ }, "node_modules/@smithy/node-config-provider": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-1.0.1.tgz", - "integrity": "sha512-FRxifH/J2SgOaVLihIqBFuGhiHR/NfzbZYp5nYO7BGgT/gc/f9nAuuRJcEy/hwO3aI6ThyG5apH4tGec6A2sCw==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^1.0.1", "@smithy/shared-ini-file-loader": "^1.0.1", @@ -8121,8 +6940,7 @@ }, "node_modules/@smithy/node-http-handler": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-1.0.2.tgz", - "integrity": "sha512-PzPrGRSt3kNuruLCeR4ffJp57ZLVnIukMXVL3Ppr65ZoxiE+HBsOVAa/Z/T+4HzjCM6RaXnnmB8YKfsDjlb0iA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^1.0.1", "@smithy/protocol-http": "^1.1.0", @@ -8136,8 +6954,7 @@ }, "node_modules/@smithy/property-provider": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-1.0.1.tgz", - "integrity": "sha512-3EG/61Ls1MrgEaafpltXBJHSqFPqmTzEX7QKO7lOEHuYGmGYzZ08t1SsTgd1vM74z0IihoZyGPynZ7WmXKvTeg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -8148,8 +6965,7 @@ }, "node_modules/@smithy/protocol-http": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-1.1.0.tgz", - "integrity": "sha512-H5y/kZOqfJSqRkwtcAoVbqONmhdXwSgYNJ1Glk5Ry8qlhVVy5qUzD9EklaCH8/XLnoCsLO/F/Giee8MIvaBRkg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -8160,8 +6976,7 @@ }, "node_modules/@smithy/querystring-builder": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-1.0.1.tgz", - "integrity": "sha512-J5Tzkw1PMtu01h6wl+tlN5vsyROmS6/z5lEfNlLo/L4ELHeVkQ4Q0PEIjDddPLfjVLCm8biQTESE5GCMixSRNQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "@smithy/util-uri-escape": "^1.0.1", @@ -8173,8 +6988,7 @@ }, "node_modules/@smithy/querystring-parser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-1.0.1.tgz", - "integrity": "sha512-zauxdMc3cwxoLitI5DZqH7xN6Fk0mwRxrUMAETbav2j6Se2U0UGak/55rZcDg2yGzOURaLYi5iOm1gHr98P+Bw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -8185,16 +6999,14 @@ }, "node_modules/@smithy/service-error-classification": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-1.0.2.tgz", - "integrity": "sha512-Q5CCuzYL5FGo6Rr/O+lZxXHm2hrRgbmMn8MgyjqZUWZg20COg20DuNtIbho2iht6CoB7jOpmpBqhWizLlzUZgg==", + "license": "Apache-2.0", "engines": { "node": ">=14.0.0" } }, "node_modules/@smithy/shared-ini-file-loader": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-1.0.1.tgz", - "integrity": "sha512-EztziuIPoNronENGqh+MWVKJErA4rJpaPzJCPukzBeEoG2USka0/q4B5Mr/1zszOnrb49fPNh4u3u5LfiH7QzA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -8205,8 +7017,7 @@ }, "node_modules/@smithy/signature-v4": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-1.0.1.tgz", - "integrity": "sha512-2D69je14ou1vBTnAQeysSK4QVMm0j3WHS3MDg/DnHnFFcXRCzVl/xAARO7POD8+fpi4tMFPs8Z4hzo1Zw40L0Q==", + "license": "Apache-2.0", "dependencies": { "@smithy/eventstream-codec": "^1.0.1", "@smithy/is-array-buffer": "^1.0.1", @@ -8223,8 +7034,7 @@ }, "node_modules/@smithy/smithy-client": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-1.0.3.tgz", - "integrity": "sha512-Wh1mNP/1yUZK0uYkgCQ6NMxpBT3Fmc45TMdUfOlH1xD2zGYL7U4yDHFOhEZdi/suyjaelFobXB2p9pPIw6LjRQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-stack": "^1.0.1", "@smithy/types": "^1.1.0", @@ -8237,8 +7047,7 @@ }, "node_modules/@smithy/types": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-1.1.0.tgz", - "integrity": "sha512-KzmvisMmuwD2jZXuC9e65JrgsZM97y5NpDU7g347oB+Q+xQLU6hQZ5zFNNbEfwwOJHoOvEVTna+dk1h/lW7alw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -8248,8 +7057,7 @@ }, "node_modules/@smithy/url-parser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-1.0.1.tgz", - "integrity": "sha512-33vWEtE6HzmwjEcEb4I58XMLRAchwPS93YhfDyXAXr1jwDCzfXmMayQwwpyW847rpWj0XJimxqia8q0z+k/ybw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^1.0.1", "@smithy/types": "^1.1.0", @@ -8258,8 +7066,7 @@ }, "node_modules/@smithy/util-base64": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-1.0.1.tgz", - "integrity": "sha512-rJcpRi/yUi6TyCEkjdTH86/ExBuKlfctEXhG9/4gMJ3/cnPcHJJnr0mQ9evSEO+3DbpT/Nxq90bcTBdTIAmCig==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^1.0.1", "tslib": "^2.5.0" @@ -8270,16 +7077,14 @@ }, "node_modules/@smithy/util-body-length-browser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-1.0.1.tgz", - "integrity": "sha512-Pdp744fmF7E1NWoSb7256Anhm8eYoCubvosdMwXzOnHuPRVbDa15pKUz2027K3+jrfGpXo1r+MnDerajME1Osw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" } }, "node_modules/@smithy/util-body-length-node": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-1.0.1.tgz", - "integrity": "sha512-4PIHjDFwG07SNensAiVq/CJmubEVuwclWSYOTNtzBNTvxOeGLznvygkGYgPzS3erByT8C4S9JvnLYgtrsVV3nQ==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -8289,8 +7094,7 @@ }, "node_modules/@smithy/util-buffer-from": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-1.0.1.tgz", - "integrity": "sha512-363N7Wq0ceUgE5lLe6kaR6GlJs2/m4r9V6bRMfIszb6P1FZbbRRM2FQYUWWPFSsRymm9mJL18b3fjiVsIvhDGg==", + "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^1.0.1", "tslib": "^2.5.0" @@ -8301,8 +7105,7 @@ }, "node_modules/@smithy/util-config-provider": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-1.0.1.tgz", - "integrity": "sha512-4Qy38Oy5/q43MpTwCLV1P+7NeaOp4W2etQDxMjgEeRlOyGGNlgttn0syi4g2rVSukFVqQ6FbeRs5xbnFmS6kaQ==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -8312,8 +7115,7 @@ }, "node_modules/@smithy/util-defaults-mode-browser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-1.0.1.tgz", - "integrity": "sha512-/9ObwNch4Z/NJYfkO4AvqBWku60Ju+c2Ck32toPOLmWe/V6eI9FLn8C1abri+GxDRCkLIqvkaWU1lgZ3nWZIIw==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^1.0.1", "@smithy/types": "^1.1.0", @@ -8326,8 +7128,7 @@ }, "node_modules/@smithy/util-defaults-mode-node": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-1.0.1.tgz", - "integrity": "sha512-XQM3KvqRLgv7bwAzVkXTITkOmcOINoG9icJiGT8FA0zV35lY5UvyIsg5kHw01xigQS8ufa/33AwG3ZoXip+V5g==", + "license": "Apache-2.0", "dependencies": { "@smithy/config-resolver": "^1.0.1", "@smithy/credential-provider-imds": "^1.0.1", @@ -8342,8 +7143,7 @@ }, "node_modules/@smithy/util-hex-encoding": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-1.0.1.tgz", - "integrity": "sha512-FPTtMz/t02/rbfq5Pdll/TWUYP+GVFLCQNr+DgifrLzVRU0g8rdRjyFpDh8nPTdkDDusTTo9P1bepAYj68s0eA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -8353,8 +7153,7 @@ }, "node_modules/@smithy/util-middleware": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-1.0.1.tgz", - "integrity": "sha512-u9akN3Zmbr0vZH4F+2iehG7cFg+3fvDfnvS/hhsXH4UHuhqiQ+ADefibnLzPoz1pooY7rvwaQ/TVHyJmZHdLdQ==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -8364,8 +7163,7 @@ }, "node_modules/@smithy/util-retry": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-1.0.3.tgz", - "integrity": "sha512-gYQnZDD8I2XJFspVwUISyukjPWVikTzKR0IdG8hCWYPTpeULFl1o6yzXlT5SL63TBkuEYl0R1/93cdNtMiNnoA==", + "license": "Apache-2.0", "dependencies": { "@smithy/service-error-classification": "^1.0.2", "tslib": "^2.5.0" @@ -8376,8 +7174,7 @@ }, "node_modules/@smithy/util-stream": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-1.0.1.tgz", - "integrity": "sha512-4aBCIz35aZAnt2Rbq341KrnUzGhWv2/Zu8HouJqYLvSWCzlrvsNCGlXP4e70Kjzcw8hSuuCNtdUICwQ5qUWLxg==", + "license": "Apache-2.0", "dependencies": { "@smithy/fetch-http-handler": "^1.0.1", "@smithy/node-http-handler": "^1.0.2", @@ -8394,8 +7191,7 @@ }, "node_modules/@smithy/util-uri-escape": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-1.0.1.tgz", - "integrity": "sha512-IJUrRnXKEIc+PKnU1XzTsIENVR+60jUDPBP3iWX/EvuuT3Xfob47x1FGUe2c3yMXNuU6ax8VDk27hL5LKNoehQ==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -8405,8 +7201,7 @@ }, "node_modules/@smithy/util-utf8": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-1.0.1.tgz", - "integrity": "sha512-iX6XHpjh4DFEUIBSKp2tjy3pYnLQMsJ62zYi1BVAC0kobE6p8AVpiZnxsU3ZkgQatAsUaEspFHUZ7CL7oSqaPQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^1.0.1", "tslib": "^2.5.0" @@ -8417,8 +7212,7 @@ }, "node_modules/@smithy/util-waiter": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-1.0.1.tgz", - "integrity": "sha512-dsn8O0s3pFIgxFzySLe1dv0w4tEQizEP6UqbgZ4r/Kar4n8pSdrPi6DJg8BzXwkwEIZpMtV4/nhSeGZ7HksDXA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^1.0.1", "@smithy/types": "^1.1.0", @@ -8430,41 +7224,35 @@ }, "node_modules/@tsconfig/node10": { "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@tsconfig/node12": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@tsconfig/node14": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@tsconfig/node16": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.3.tgz", - "integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/accepts": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@types/accepts/-/accepts-1.3.5.tgz", - "integrity": "sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==", + "license": "MIT", "dependencies": { "@types/node": "*" } }, "node_modules/@types/babel__core": { "version": "7.1.20", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.20.tgz", - "integrity": "sha512-PVb6Bg2QuscZ30FvOU7z4guG6c926D9YRvOxEaelzndpMsvP+YM74Q/dAFASpg2l6+XLalxSGxcq/lrgYWZtyQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0", @@ -8475,18 +7263,16 @@ }, "node_modules/@types/babel__generator": { "version": "7.6.4", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", - "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.0.0" } }, "node_modules/@types/babel__template": { "version": "7.4.1", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", - "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0" @@ -8494,17 +7280,15 @@ }, "node_modules/@types/babel__traverse": { "version": "7.18.3", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.3.tgz", - "integrity": "sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.3.0" } }, "node_modules/@types/body-parser": { "version": "1.19.2", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", - "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", + "license": "MIT", "dependencies": { "@types/connect": "*", "@types/node": "*" @@ -8512,21 +7296,18 @@ }, "node_modules/@types/connect": { "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", - "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "license": "MIT", "dependencies": { "@types/node": "*" } }, "node_modules/@types/content-disposition": { "version": "0.5.5", - "resolved": "https://registry.npmjs.org/@types/content-disposition/-/content-disposition-0.5.5.tgz", - "integrity": "sha512-v6LCdKfK6BwcqMo+wYW05rLS12S0ZO0Fl4w1h4aaZMD7bqT3gVUns6FvLJKGZHQmYn3SX55JWGpziwJRwVgutA==" + "license": "MIT" }, "node_modules/@types/cookies": { "version": "0.7.7", - "resolved": "https://registry.npmjs.org/@types/cookies/-/cookies-0.7.7.tgz", - "integrity": "sha512-h7BcvPUogWbKCzBR2lY4oqaZbO3jXZksexYJVFvkrFeLgbZjQkU4x8pRq6eg2MHXQhY0McQdqmmsxRWlVAHooA==", + "license": "MIT", "dependencies": { "@types/connect": "*", "@types/express": "*", @@ -8536,8 +7317,7 @@ }, "node_modules/@types/express": { "version": "4.17.17", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz", - "integrity": "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==", + "license": "MIT", "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^4.17.33", @@ -8547,8 +7327,7 @@ }, "node_modules/@types/express-serve-static-core": { "version": "4.17.35", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz", - "integrity": "sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==", + "license": "MIT", "dependencies": { "@types/node": "*", "@types/qs": "*", @@ -8558,52 +7337,45 @@ }, "node_modules/@types/graceful-fs": { "version": "4.1.6", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.6.tgz", - "integrity": "sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } }, "node_modules/@types/http-assert": { "version": "1.5.3", - "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.3.tgz", - "integrity": "sha512-FyAOrDuQmBi8/or3ns4rwPno7/9tJTijVW6aQQjK02+kOQ8zmoNg2XJtAuQhvQcy1ASJq38wirX5//9J1EqoUA==" + "license": "MIT" }, "node_modules/@types/http-errors": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.1.tgz", - "integrity": "sha512-/K3ds8TRAfBvi5vfjuz8y6+GiAYBZ0x4tXv1Av6CWBWn0IlADc+ZX9pMq7oU0fNQPnBwIZl3rmeLp6SBApbxSQ==" + "license": "MIT" }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", - "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/istanbul-lib-report": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", "dev": true, + "license": "MIT", "dependencies": { "@types/istanbul-lib-coverage": "*" } }, "node_modules/@types/istanbul-reports": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", - "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", "dev": true, + "license": "MIT", "dependencies": { "@types/istanbul-lib-report": "*" } }, "node_modules/@types/jest": { "version": "29.5.1", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.1.tgz", - "integrity": "sha512-tEuVcHrpaixS36w7hpsfLBLpjtMRJUE09/MHXn923LOVojDwyC14cWcfc0rDs0VEfUyYmt/+iX1kxxp+gZMcaQ==", "dev": true, + "license": "MIT", "dependencies": { "expect": "^29.0.0", "pretty-format": "^29.0.0" @@ -8611,25 +7383,21 @@ }, "node_modules/@types/json-schema": { "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/json5": { "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/keygrip": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/keygrip/-/keygrip-1.0.2.tgz", - "integrity": "sha512-GJhpTepz2udxGexqos8wgaBx4I/zWIDPh/KOGEwAqtuGDkOUJu5eFvwmdBX4AmB8Odsr+9pHCQqiAqDL/yKMKw==" + "license": "MIT" }, "node_modules/@types/koa": { "version": "2.13.6", - "resolved": "https://registry.npmjs.org/@types/koa/-/koa-2.13.6.tgz", - "integrity": "sha512-diYUfp/GqfWBAiwxHtYJ/FQYIXhlEhlyaU7lB/bWQrx4Il9lCET5UwpFy3StOAohfsxxvEQ11qIJgT1j2tfBvw==", + "license": "MIT", "dependencies": { "@types/accepts": "*", "@types/content-disposition": "*", @@ -8643,74 +7411,62 @@ }, "node_modules/@types/koa-bodyparser": { "version": "4.3.10", - "resolved": "https://registry.npmjs.org/@types/koa-bodyparser/-/koa-bodyparser-4.3.10.tgz", - "integrity": "sha512-6ae05pjhmrmGhUR8GYD5qr5p9LTEMEGfGXCsK8VaSL+totwigm8+H/7MHW7K4854CMeuwRAubT8qcc/EagaeIA==", "dev": true, + "license": "MIT", "dependencies": { "@types/koa": "*" } }, "node_modules/@types/koa-compose": { "version": "3.2.5", - "resolved": "https://registry.npmjs.org/@types/koa-compose/-/koa-compose-3.2.5.tgz", - "integrity": "sha512-B8nG/OoE1ORZqCkBVsup/AKcvjdgoHnfi4pZMn5UwAPCbhk/96xyv284eBYW8JlQbQ7zDmnpFr68I/40mFoIBQ==", + "license": "MIT", "dependencies": { "@types/koa": "*" } }, "node_modules/@types/lodash": { "version": "4.14.197", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.197.tgz", - "integrity": "sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/mime": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", - "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==" + "license": "MIT" }, "node_modules/@types/minimist": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/node": { "version": "20.2.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.2.5.tgz", - "integrity": "sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==" + "license": "MIT" }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" + "license": "MIT" }, "node_modules/@types/prettier": { "version": "2.7.3", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz", - "integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/qs": { "version": "6.9.7", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", - "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" + "license": "MIT" }, "node_modules/@types/range-parser": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", - "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==" + "license": "MIT" }, "node_modules/@types/semver": { "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/send": { "version": "0.17.1", - "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz", - "integrity": "sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==", + "license": "MIT", "dependencies": { "@types/mime": "^1", "@types/node": "*" @@ -8718,8 +7474,7 @@ }, "node_modules/@types/serve-static": { "version": "1.15.1", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.1.tgz", - "integrity": "sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==", + "license": "MIT", "dependencies": { "@types/mime": "*", "@types/node": "*" @@ -8727,30 +7482,26 @@ }, "node_modules/@types/stack-utils": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", - "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/yargs": { "version": "17.0.23", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.23.tgz", - "integrity": "sha512-yuogunc04OnzGQCrfHx+Kk883Q4X0aSwmYZhKjI21m+SVYzjIbrWl8dOOwSv5hf2Um2pdCOXWo9isteZTNXUZQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/yargs-parser": "*" } }, "node_modules/@types/yargs-parser": { "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.61.0.tgz", - "integrity": "sha512-A5l/eUAug103qtkwccSCxn8ZRwT+7RXWkFECdA4Cvl1dOlDUgTpAOfSEElZn2uSUxhdDpnCdetrf0jvU4qrL+g==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.4.0", "@typescript-eslint/scope-manager": "5.61.0", @@ -8782,9 +7533,8 @@ }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", - "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.61.0", "@typescript-eslint/visitor-keys": "5.61.0" @@ -8799,9 +7549,8 @@ }, "node_modules/@typescript-eslint/parser": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.2.tgz", - "integrity": "sha512-uq0sKyw6ao1iFOZZGk9F8Nro/8+gfB5ezl1cA06SrqbgJAt0SRoFhb9pXaHvkrxUpZaoLxt8KlovHNk8Gp6/HQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/scope-manager": "5.59.2", "@typescript-eslint/types": "5.59.2", @@ -8826,9 +7575,8 @@ }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.2.tgz", - "integrity": "sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -8839,9 +7587,8 @@ }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.2.tgz", - "integrity": "sha512-+j4SmbwVmZsQ9jEyBMgpuBD0rKwi9RxRpjX71Brr73RsYnEr3Lt5QZ624Bxphp8HUkSKfqGnPJp1kA5nl0Sh7Q==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/types": "5.59.2", "@typescript-eslint/visitor-keys": "5.59.2", @@ -8866,9 +7613,8 @@ }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.2.tgz", - "integrity": "sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.59.2", "eslint-visitor-keys": "^3.3.0" @@ -8883,9 +7629,8 @@ }, "node_modules/@typescript-eslint/scope-manager": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.2.tgz", - "integrity": "sha512-dB1v7ROySwQWKqQ8rEWcdbTsFjh2G0vn8KUyvTXdPoyzSL6lLGkiXEV5CvpJsEe9xIdKV+8Zqb7wif2issoOFA==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.59.2", "@typescript-eslint/visitor-keys": "5.59.2" @@ -8900,9 +7645,8 @@ }, "node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint/types": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.2.tgz", - "integrity": "sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -8913,9 +7657,8 @@ }, "node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint/visitor-keys": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.2.tgz", - "integrity": "sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.59.2", "eslint-visitor-keys": "^3.3.0" @@ -8930,9 +7673,8 @@ }, "node_modules/@typescript-eslint/type-utils": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.61.0.tgz", - "integrity": "sha512-kk8u//r+oVK2Aj3ph/26XdH0pbAkC2RiSjUYhKD+PExemG4XSjpGFeyZ/QM8lBOa7O8aGOU+/yEbMJgQv/DnCg==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/typescript-estree": "5.61.0", "@typescript-eslint/utils": "5.61.0", @@ -8957,9 +7699,8 @@ }, "node_modules/@typescript-eslint/types": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.61.0.tgz", - "integrity": "sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -8970,9 +7711,8 @@ }, "node_modules/@typescript-eslint/typescript-estree": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz", - "integrity": "sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/types": "5.61.0", "@typescript-eslint/visitor-keys": "5.61.0", @@ -8997,9 +7737,8 @@ }, "node_modules/@typescript-eslint/utils": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.61.0.tgz", - "integrity": "sha512-mV6O+6VgQmVE6+xzlA91xifndPW9ElFW8vbSF0xCT/czPXVhwDewKila1jOyRwa9AE19zKnrr7Cg5S3pJVrTWQ==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", @@ -9023,9 +7762,8 @@ }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", - "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.61.0", "@typescript-eslint/visitor-keys": "5.61.0" @@ -9040,9 +7778,8 @@ }, "node_modules/@typescript-eslint/utils/node_modules/eslint-scope": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" @@ -9053,18 +7790,16 @@ }, "node_modules/@typescript-eslint/utils/node_modules/estraverse": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } }, "node_modules/@typescript-eslint/visitor-keys": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz", - "integrity": "sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.61.0", "eslint-visitor-keys": "^3.3.0" @@ -9079,13 +7814,11 @@ }, "node_modules/abbrev": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + "license": "ISC" }, "node_modules/accepts": { "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" @@ -9096,9 +7829,8 @@ }, "node_modules/acorn": { "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -9108,23 +7840,20 @@ }, "node_modules/acorn-jsx": { "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "node_modules/add-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", - "integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/agent-base": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "license": "MIT", "dependencies": { "debug": "4" }, @@ -9134,9 +7863,8 @@ }, "node_modules/aggregate-error": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, + "license": "MIT", "dependencies": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" @@ -9147,8 +7875,7 @@ }, "node_modules/ajv": { "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -9162,8 +7889,7 @@ }, "node_modules/ajv-draft-04": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", - "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "license": "MIT", "peerDependencies": { "ajv": "^8.5.0" }, @@ -9175,8 +7901,7 @@ }, "node_modules/ajv-formats": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "license": "MIT", "dependencies": { "ajv": "^8.0.0" }, @@ -9191,18 +7916,16 @@ }, "node_modules/ansi-align": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", - "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.1.0" } }, "node_modules/ansi-escapes": { "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.21.3" }, @@ -9215,9 +7938,8 @@ }, "node_modules/ansi-escapes/node_modules/type-fest": { "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -9227,17 +7949,15 @@ }, "node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -9250,15 +7970,13 @@ }, "node_modules/any-promise": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/anymatch": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, + "license": "ISC", "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -9269,19 +7987,16 @@ }, "node_modules/app-module-path": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/app-module-path/-/app-module-path-2.2.0.tgz", - "integrity": "sha512-gkco+qxENJV+8vFcDiiFhuoSvRXb2a/QPqpSoWhVz829VNJfOTnELbBmPmNKFxf3xdNnw4DWCkzkDaavcX/1YQ==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/aproba": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", - "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==" + "license": "ISC" }, "node_modules/are-we-there-yet": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -9292,8 +8007,7 @@ }, "node_modules/are-we-there-yet/node_modules/readable-stream": { "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -9305,35 +8019,30 @@ }, "node_modules/arg": { "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/argparse": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "license": "Python-2.0" }, "node_modules/array-find-index": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/array-ify": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/array-includes": { "version": "3.1.6", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", - "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -9350,18 +8059,16 @@ }, "node_modules/array-union": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/array.prototype.flat": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", - "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -9377,9 +8084,8 @@ }, "node_modules/array.prototype.flatmap": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -9395,60 +8101,52 @@ }, "node_modules/arrify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/asap": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/ast-module-types": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-3.0.0.tgz", - "integrity": "sha512-CMxMCOCS+4D+DkOQfuZf+vLrSEmY/7xtORwdxs4wtcC1wVgvk2MqFFTwQCFhvWsI4KPU9lcWXPI8DgRiz+xetQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0" } }, "node_modules/astral-regex": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/async": { "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "license": "MIT" }, "node_modules/at-least-node": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", "dev": true, + "license": "ISC", "engines": { "node": ">= 4.0.0" } }, "node_modules/available-typed-arrays": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -9458,13 +8156,11 @@ }, "node_modules/await-handler": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/await-handler/-/await-handler-1.1.2.tgz", - "integrity": "sha512-dihteGhwbJpT89kVbacWiyKeAZr+En0YGK6pAKQJLR0En9ZxSH2H4TTvfG4bBjzFq9gDAma4y9BrpDns6j5UiQ==" + "license": "MIT" }, "node_modules/aws-sdk": { "version": "2.1462.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1462.0.tgz", - "integrity": "sha512-gEcp/YWUp0zrM/LujI3cTLbOTK6XLwGSHWQII57jjRvjsIMacLomnIcd7fGKSfREAIHr5saexISRsnXhfI+Vgw==", + "license": "Apache-2.0", "dependencies": { "buffer": "4.9.2", "events": "1.1.1", @@ -9483,8 +8179,7 @@ }, "node_modules/aws-sdk/node_modules/buffer": { "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4", @@ -9493,29 +8188,25 @@ }, "node_modules/aws-sdk/node_modules/events": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", + "license": "MIT", "engines": { "node": ">=0.4.x" } }, "node_modules/aws-sdk/node_modules/ieee754": { "version": "1.1.13", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + "license": "BSD-3-Clause" }, "node_modules/aws-sdk/node_modules/uuid": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", - "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/axios": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", - "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "license": "MIT", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -9524,9 +8215,8 @@ }, "node_modules/babel-jest": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.6.0.tgz", - "integrity": "sha512-Jj8Bq2yKsk11XLk06Nm8SdvYkAcecH+GuhxB8DnK5SncjHnJ88TQjSnGgE7jpajpnSvz9DZ6X8hXrDkD/6/TPQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/transform": "^29.6.0", "@types/babel__core": "^7.1.14", @@ -9545,9 +8235,8 @@ }, "node_modules/babel-plugin-istanbul": { "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@istanbuljs/load-nyc-config": "^1.0.0", @@ -9561,9 +8250,8 @@ }, "node_modules/babel-plugin-jest-hoist": { "version": "29.5.0", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.5.0.tgz", - "integrity": "sha512-zSuuuAlTMT4mzLj2nPnUm6fsE6270vdOfnpbJ+RmruU75UhLFvL0N2NgI7xpeS7NaB6hGqmd5pVpGTDYvi4Q3w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/template": "^7.3.3", "@babel/types": "^7.3.3", @@ -9576,9 +8264,8 @@ }, "node_modules/babel-preset-current-node-syntax": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-bigint": "^7.8.3", @@ -9599,9 +8286,8 @@ }, "node_modules/babel-preset-jest": { "version": "29.5.0", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.5.0.tgz", - "integrity": "sha512-JOMloxOqdiBSxMAzjRaH023/vvcaSaec49zvg+2LmNsktC7ei39LTJGw02J+9uUtTZUq6xbLyJ4dxe9sSmIuAg==", "dev": true, + "license": "MIT", "dependencies": { "babel-plugin-jest-hoist": "^29.5.0", "babel-preset-current-node-syntax": "^1.0.0" @@ -9615,13 +8301,10 @@ }, "node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "license": "MIT" }, "node_modules/base64-js": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "funding": [ { "type": "github", @@ -9635,13 +8318,13 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/benchmark-suite": { "version": "0.1.8", - "resolved": "https://registry.npmjs.org/benchmark-suite/-/benchmark-suite-0.1.8.tgz", - "integrity": "sha512-UDfWBQfeq/lXcsjuGAanOrX6AhP6HQSsutGS7CfStcbE1loLge7aQr5DT6n8r/4bUoiK+5RYwnogNu5UuTBMNg==", "dev": true, + "license": "MIT", "dependencies": { "eventemitter3": "^4.0.7", "expose-gc": "^1.0.0", @@ -9655,22 +8338,19 @@ }, "node_modules/bindings": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "license": "MIT", "dependencies": { "file-uri-to-path": "1.0.0" } }, "node_modules/bintrees": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" + "license": "MIT" }, "node_modules/bl": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dev": true, + "license": "MIT", "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", @@ -9679,9 +8359,8 @@ }, "node_modules/bl/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -9693,20 +8372,17 @@ }, "node_modules/boolean": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.2.0.tgz", - "integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/bowser": { "version": "2.11.0", - "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", - "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" + "license": "MIT" }, "node_modules/boxen": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", - "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-align": "^3.0.0", "camelcase": "^6.2.0", @@ -9726,9 +8402,8 @@ }, "node_modules/boxen/node_modules/camelcase": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -9738,9 +8413,8 @@ }, "node_modules/boxen/node_modules/type-fest": { "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -9750,8 +8424,7 @@ }, "node_modules/brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -9759,9 +8432,8 @@ }, "node_modules/braces": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, + "license": "MIT", "dependencies": { "fill-range": "^7.0.1" }, @@ -9771,8 +8443,6 @@ }, "node_modules/browserslist": { "version": "4.21.9", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", - "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", "dev": true, "funding": [ { @@ -9788,6 +8458,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "caniuse-lite": "^1.0.30001503", "electron-to-chromium": "^1.4.431", @@ -9803,9 +8474,8 @@ }, "node_modules/bs-logger": { "version": "0.2.6", - "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", - "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", "dev": true, + "license": "MIT", "dependencies": { "fast-json-stable-stringify": "2.x" }, @@ -9815,17 +8485,15 @@ }, "node_modules/bser": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "node-int64": "^0.4.0" } }, "node_modules/btoa": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "license": "(MIT OR Apache-2.0)", "bin": { "btoa": "bin/btoa.js" }, @@ -9835,8 +8503,7 @@ }, "node_modules/buffer": { "version": "5.6.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", - "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4" @@ -9844,15 +8511,13 @@ }, "node_modules/buffer-from": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/builtin-modules": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", - "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -9862,24 +8527,21 @@ }, "node_modules/byline": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", - "integrity": "sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/bytes": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/cache-content-type": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-content-type/-/cache-content-type-1.0.1.tgz", - "integrity": "sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==", + "license": "MIT", "dependencies": { "mime-types": "^2.1.18", "ylru": "^1.2.0" @@ -9890,9 +8552,8 @@ }, "node_modules/cacheable-request": { "version": "2.1.4", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-2.1.4.tgz", - "integrity": "sha512-vag0O2LKZ/najSoUwDbVlnlCFvhBE/7mGTY2B5FgCBDcRD+oVV1HYTOwM6JZfMg/hIcM6IwnTZ1uQQL5/X3xIQ==", "dev": true, + "license": "MIT", "dependencies": { "clone-response": "1.0.2", "get-stream": "3.0.0", @@ -9905,35 +8566,31 @@ }, "node_modules/cacheable-request/node_modules/get-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/cacheable-request/node_modules/lowercase-keys": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz", - "integrity": "sha512-RPlX0+PHuvxVDZ7xX+EBVAp4RsVxP/TdDSN2mJYdiq1Lc4Hz7EUSjUI7RZrKKlmrIzVhf6Jo2stj7++gVarS0A==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/cachedir": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.3.0.tgz", - "integrity": "sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/call-bind": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -9944,33 +8601,29 @@ }, "node_modules/call-me-maybe": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", - "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/callsites": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/camelcase": { "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/camelcase-keys": { "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^5.3.1", "map-obj": "^4.0.0", @@ -9985,8 +8638,6 @@ }, "node_modules/caniuse-lite": { "version": "1.0.30001512", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz", - "integrity": "sha512-2S9nK0G/mE+jasCUsMPlARhRCts1ebcp2Ji8Y8PWi4NDE1iRdLCnEPHkEfeBrGC45L4isBx5ur3IQ6yTE2mRZw==", "dev": true, "funding": [ { @@ -10001,13 +8652,13 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -10021,48 +8672,41 @@ }, "node_modules/char-regex": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/chardet": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/charenc": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", - "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==", + "license": "BSD-3-Clause", "engines": { "node": "*" } }, "node_modules/check-more-types": { "version": "2.24.0", - "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", - "integrity": "sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/chownr": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/ci-info": { "version": "3.7.1", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.7.1.tgz", - "integrity": "sha512-4jYS4MOAaCIStSRwiuxc4B8MYhIe676yO1sYGzARnjXkWpmzZMMYxY6zu8WYWDhSuth5zhrQ1rhNSibyyvv4/w==", "dev": true, "funding": [ { @@ -10070,21 +8714,20 @@ "url": "https://github.com/sponsors/sibiraj-s" } ], + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/cjs-module-lexer": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/clean-regexp": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clean-regexp/-/clean-regexp-1.0.0.tgz", - "integrity": "sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^1.0.5" }, @@ -10094,18 +8737,16 @@ }, "node_modules/clean-stack": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/cli-boxes": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -10115,9 +8756,8 @@ }, "node_modules/cli-cursor": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", "dev": true, + "license": "MIT", "dependencies": { "restore-cursor": "^3.1.0" }, @@ -10127,9 +8767,8 @@ }, "node_modules/cli-spinners": { "version": "2.7.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", - "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -10139,9 +8778,8 @@ }, "node_modules/cli-truncate": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz", - "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==", "dev": true, + "license": "MIT", "dependencies": { "slice-ansi": "^5.0.0", "string-width": "^5.0.0" @@ -10155,9 +8793,8 @@ }, "node_modules/cli-truncate/node_modules/ansi-regex": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -10167,9 +8804,8 @@ }, "node_modules/cli-truncate/node_modules/string-width": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, + "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -10184,9 +8820,8 @@ }, "node_modules/cli-truncate/node_modules/strip-ansi": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -10199,18 +8834,16 @@ }, "node_modules/cli-width": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", "dev": true, + "license": "ISC", "engines": { "node": ">= 10" } }, "node_modules/cliui": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", @@ -10222,33 +8855,29 @@ }, "node_modules/clone": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", - "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==", + "license": "MIT", "engines": { "node": ">=0.8" } }, "node_modules/clone-response": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==", "dev": true, + "license": "MIT", "dependencies": { "mimic-response": "^1.0.0" } }, "node_modules/cluster-key-slot": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", - "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "license": "Apache-2.0", "engines": { "node": ">=0.10.0" } }, "node_modules/co": { "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "license": "MIT", "engines": { "iojs": ">= 1.0.0", "node": ">= 0.12.0" @@ -10256,8 +8885,7 @@ }, "node_modules/co-body": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/co-body/-/co-body-6.1.0.tgz", - "integrity": "sha512-m7pOT6CdLN7FuXUcpuz/8lfQ/L77x8SchHCF4G0RBTJO20Wzmhn5Sp4/5WsKy8OSpifBSUrmg83qEqaDHdyFuQ==", + "license": "MIT", "dependencies": { "inflation": "^2.0.0", "qs": "^6.5.2", @@ -10267,14 +8895,12 @@ }, "node_modules/collect-v8-coverage": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", - "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/color": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", - "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "license": "MIT", "dependencies": { "color-convert": "^1.9.3", "color-string": "^1.6.0" @@ -10282,9 +8908,8 @@ }, "node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -10294,13 +8919,11 @@ }, "node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "license": "MIT" }, "node_modules/color-string": { "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", - "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "license": "MIT", "dependencies": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" @@ -10308,43 +8931,37 @@ }, "node_modules/color-support": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "license": "ISC", "bin": { "color-support": "bin.js" } }, "node_modules/color/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/color/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "license": "MIT" }, "node_modules/colorette": { "version": "2.0.19", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", - "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/colors": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "license": "MIT", "engines": { "node": ">=0.1.90" } }, "node_modules/colorspace": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", - "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "license": "MIT", "dependencies": { "color": "^3.1.3", "text-hex": "1.0.x" @@ -10352,8 +8969,7 @@ }, "node_modules/combined-stream": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -10363,18 +8979,16 @@ }, "node_modules/commander": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } }, "node_modules/commitizen": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.3.0.tgz", - "integrity": "sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw==", "dev": true, + "license": "MIT", "dependencies": { "cachedir": "2.3.0", "cz-conventional-changelog": "3.3.0", @@ -10402,9 +9016,8 @@ }, "node_modules/commitizen/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -10422,9 +9035,8 @@ }, "node_modules/commitizen/node_modules/inquirer": { "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -10448,18 +9060,16 @@ }, "node_modules/commitizen/node_modules/minimist": { "version": "1.2.7", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", - "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/commitlint": { "version": "17.6.6", - "resolved": "https://registry.npmjs.org/commitlint/-/commitlint-17.6.6.tgz", - "integrity": "sha512-Q5M+w1nqGQSEkEW43EtPNrU+uKL2pENrJl6QigFupZ0v4AfvI8k5Q6uFgWmxlEOrSkgCYaN436Q9c9pydqyJqg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/cli": "^17.6.6", "@commitlint/types": "^17.4.4" @@ -10473,15 +9083,13 @@ }, "node_modules/commondir": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/compare-func": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dev": true, + "license": "MIT", "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" @@ -10489,9 +9097,8 @@ }, "node_modules/compare-func/node_modules/dot-prop": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz", - "integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==", "dev": true, + "license": "MIT", "dependencies": { "is-obj": "^1.0.0" }, @@ -10501,17 +9108,14 @@ }, "node_modules/compare-func/node_modules/is-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/component-each": { "version": "0.2.6", - "resolved": "https://registry.npmjs.org/component-each/-/component-each-0.2.6.tgz", - "integrity": "sha512-IOXG+HZmbgaBS8Rqy+tAMrwsPdEY1BWcPcp0xI2ZOzKQhHvSVGrL7iCnoDU37TEKOCfaf4ywsR6GwAr0JivPjg==", "dependencies": { "component-type": "1.0.0", "to-function": "2.0.6" @@ -10519,40 +9123,31 @@ }, "node_modules/component-emitter": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/component-props": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/component-props/-/component-props-1.1.1.tgz", - "integrity": "sha512-69pIRJs9fCCHRqCz3390YF2LV1Lu6iEMZ5zuVqqUn+G20V9BNXlMs0cWawWeW9g4Ynmg29JmkG6R7/lUJoGd1Q==" + "version": "1.1.1" }, "node_modules/component-type": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/component-type/-/component-type-1.0.0.tgz", - "integrity": "sha512-qzUg4SGDH6KFYlcklmeZwucbtosh/XGwuIffqXAhC1dZyjO7Xu1UuaxwKRY29EncuBj/DH+h6Zot3AdZS6xdFw==" + "version": "1.0.0" }, "node_modules/concat-map": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "license": "MIT" }, "node_modules/confusing-browser-globals": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz", - "integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/console-control-strings": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" + "license": "ISC" }, "node_modules/content-disposition": { "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "license": "MIT", "dependencies": { "safe-buffer": "5.2.1" }, @@ -10562,17 +9157,15 @@ }, "node_modules/content-type": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/conventional-changelog": { "version": "3.1.25", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.25.tgz", - "integrity": "sha512-ryhi3fd1mKf3fSjbLXOfK2D06YwKNic1nC9mWqybBHdObPd8KJ2vjaXZfYj1U23t+V8T8n0d7gwnc9XbIdFbyQ==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog-angular": "^5.0.12", "conventional-changelog-atom": "^2.0.8", @@ -10592,9 +9185,8 @@ }, "node_modules/conventional-changelog-angular": { "version": "5.0.13", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", - "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0", "q": "^1.5.1" @@ -10605,9 +9197,8 @@ }, "node_modules/conventional-changelog-atom": { "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz", - "integrity": "sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -10617,9 +9208,8 @@ }, "node_modules/conventional-changelog-codemirror": { "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz", - "integrity": "sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -10629,15 +9219,13 @@ }, "node_modules/conventional-changelog-config-spec": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-config-spec/-/conventional-changelog-config-spec-2.1.0.tgz", - "integrity": "sha512-IpVePh16EbbB02V+UA+HQnnPIohgXvJRxHcS5+Uwk4AT5LjzCZJm5sp/yqs5C6KZJ1jMsV4paEV13BN1pvDuxQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/conventional-changelog-conventionalcommits": { "version": "4.6.3", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", - "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0", "lodash": "^4.17.15", @@ -10649,9 +9237,8 @@ }, "node_modules/conventional-changelog-core": { "version": "4.2.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", - "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", "dev": true, + "license": "MIT", "dependencies": { "add-stream": "^1.0.0", "conventional-changelog-writer": "^5.0.0", @@ -10674,9 +9261,8 @@ }, "node_modules/conventional-changelog-core/node_modules/find-up": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^2.0.0" }, @@ -10686,15 +9272,13 @@ }, "node_modules/conventional-changelog-core/node_modules/hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/conventional-changelog-core/node_modules/locate-path": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" @@ -10705,9 +9289,8 @@ }, "node_modules/conventional-changelog-core/node_modules/p-limit": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^1.0.0" }, @@ -10717,9 +9300,8 @@ }, "node_modules/conventional-changelog-core/node_modules/p-locate": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^1.1.0" }, @@ -10729,27 +9311,24 @@ }, "node_modules/conventional-changelog-core/node_modules/p-try": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-changelog-core/node_modules/path-exists": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-changelog-core/node_modules/path-type": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "dev": true, + "license": "MIT", "dependencies": { "pify": "^3.0.0" }, @@ -10759,18 +9338,16 @@ }, "node_modules/conventional-changelog-core/node_modules/pify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-changelog-core/node_modules/read-pkg": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", "dev": true, + "license": "MIT", "dependencies": { "load-json-file": "^4.0.0", "normalize-package-data": "^2.3.2", @@ -10782,9 +9359,8 @@ }, "node_modules/conventional-changelog-core/node_modules/read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" @@ -10795,9 +9371,8 @@ }, "node_modules/conventional-changelog-core/node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -10807,18 +9382,16 @@ }, "node_modules/conventional-changelog-core/node_modules/semver": { "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/conventional-changelog-ember": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz", - "integrity": "sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -10828,9 +9401,8 @@ }, "node_modules/conventional-changelog-eslint": { "version": "3.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.9.tgz", - "integrity": "sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -10840,9 +9412,8 @@ }, "node_modules/conventional-changelog-express": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-2.0.6.tgz", - "integrity": "sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -10852,9 +9423,8 @@ }, "node_modules/conventional-changelog-jquery": { "version": "3.0.11", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.11.tgz", - "integrity": "sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -10864,18 +9434,16 @@ }, "node_modules/conventional-changelog-jscs": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jscs/-/conventional-changelog-jscs-0.1.0.tgz", - "integrity": "sha512-V8sey4tE0nJUlWGi2PZKDMfawYLf/+F165xhhDjcIoTEJDxssVV5PMVzTQzjS6U/dEX85fWkur+bs6imOqkIng==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.4.1" } }, "node_modules/conventional-changelog-jshint": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.9.tgz", - "integrity": "sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0", "q": "^1.5.1" @@ -10886,18 +9454,16 @@ }, "node_modules/conventional-changelog-preset-loader": { "version": "2.3.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", - "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-writer": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", - "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", "dev": true, + "license": "MIT", "dependencies": { "conventional-commits-filter": "^2.0.7", "dateformat": "^3.0.0", @@ -10918,24 +9484,21 @@ }, "node_modules/conventional-changelog-writer/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/conventional-commit-types": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz", - "integrity": "sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/conventional-commits-filter": { "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", - "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", "dev": true, + "license": "MIT", "dependencies": { "lodash.ismatch": "^4.4.0", "modify-values": "^1.0.0" @@ -10946,9 +9509,8 @@ }, "node_modules/conventional-commits-parser": { "version": "3.2.4", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz", - "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", "dev": true, + "license": "MIT", "dependencies": { "is-text-path": "^1.0.1", "JSONStream": "^1.0.4", @@ -10966,9 +9528,8 @@ }, "node_modules/conventional-github-releaser": { "version": "3.1.5", - "resolved": "https://registry.npmjs.org/conventional-github-releaser/-/conventional-github-releaser-3.1.5.tgz", - "integrity": "sha512-VhPKbdN92b2ygnQLkuwHIfUaPAVrVfJVuQdxbmmVPkN927LDP98HthLWFVShh4pxqLK0nE66v78RERGJVeCzbg==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog": "^2.0.0", "dateformat": "^3.0.0", @@ -10992,9 +9553,8 @@ }, "node_modules/conventional-github-releaser/node_modules/compare-func": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.4.tgz", - "integrity": "sha512-sq2sWtrqKPkEXAC8tEJA1+BqAH9GbFkGBtUOqrUX57VSfwp8xyktctk+uLoRy5eccTdxzDcVIztlYDpKs3Jv1Q==", "dev": true, + "license": "MIT", "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^3.0.0" @@ -11002,9 +9562,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-2.0.3.tgz", - "integrity": "sha512-4bcII9cJHSKb2qi9e8qGF6aJHLf/AB0dokhyR+X6QILTMl77s4l163vK+reXhajvfOYbbHQvsrWybr5+PKZwNA==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog-angular": "^1.6.6", "conventional-changelog-atom": "^2.0.0", @@ -11024,9 +9583,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-angular": { "version": "1.6.6", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz", - "integrity": "sha512-suQnFSqCxRwyBxY68pYTsFkG0taIdinHLNEAX5ivtw8bCRnIgnpvcHmlR/yjUyZIrNPYAoXlY1WiEKWgSE4BNg==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^1.3.1", "q": "^1.5.1" @@ -11034,9 +9592,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-core": { "version": "3.2.3", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-3.2.3.tgz", - "integrity": "sha512-LMMX1JlxPIq/Ez5aYAYS5CpuwbOk6QFp8O4HLAcZxe3vxoCtABkhfjetk8IYdRB9CDQGwJFLR3Dr55Za6XKgUQ==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog-writer": "^4.0.6", "conventional-commits-parser": "^3.0.3", @@ -11058,9 +9615,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-core/node_modules/read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" @@ -11071,9 +9627,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-core/node_modules/through2": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.4", "readable-stream": "2 || 3" @@ -11081,18 +9636,16 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-jquery": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz", - "integrity": "sha512-wbz5vVcvu/SPZTDFB21fF/xo5zFq6NQR42jhtUfOrrP1N/ZjNshhGb3expCGqHYdnUHzPevHeUafsVrdxVD5Og==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.4.1" } }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.1.0.tgz", - "integrity": "sha512-WwKcUp7WyXYGQmkLsX4QmU42AZ1lqlvRW9mqoyiQzdD+rJWbTepdWoKJuwXTS+yq79XKnQNa93/roViPQrAQgw==", "dev": true, + "license": "MIT", "dependencies": { "compare-func": "^2.0.0", "conventional-commits-filter": "^2.0.7", @@ -11114,9 +9667,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/compare-func": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dev": true, + "license": "MIT", "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" @@ -11124,9 +9676,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/hosted-git-info": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -11136,9 +9687,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/meow": { "version": "8.1.2", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, + "license": "MIT", "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -11161,9 +9711,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/normalize-package-data": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", @@ -11176,9 +9725,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/normalize-package-data/node_modules/semver": { "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -11191,9 +9739,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/readable-stream": { "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -11205,27 +9752,24 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/through2": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "3" } }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/type-fest": { "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -11235,9 +9779,8 @@ }, "node_modules/conventional-github-releaser/node_modules/dargs": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz", - "integrity": "sha512-jyweV/k0rbv2WK4r9KLayuBrSh2Py0tNmV7LBoSMH4hMQyrG8OPyIOWB2VEx4DJKXWmK4lopYMVvORlDt2S8Aw==", "dev": true, + "license": "MIT", "dependencies": { "number-is-nan": "^1.0.0" }, @@ -11247,18 +9790,16 @@ }, "node_modules/conventional-github-releaser/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/conventional-github-releaser/node_modules/dot-prop": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz", - "integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==", "dev": true, + "license": "MIT", "dependencies": { "is-obj": "^1.0.0" }, @@ -11268,9 +9809,8 @@ }, "node_modules/conventional-github-releaser/node_modules/find-up": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^2.0.0" }, @@ -11280,9 +9820,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz", - "integrity": "sha512-xPCyvcEOxCJDxhBfXDNH+zA7mIRGb2aY1gIUJWsZkpJbp1BLHl+/Sycg26Dv+ZbZAJkO61tzbBtqHUi30NGBvg==", "dev": true, + "license": "MIT", "dependencies": { "hosted-git-info": "^2.1.4", "meow": "^3.3.0", @@ -11296,18 +9835,16 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/camelcase": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/camelcase-keys": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^2.0.0", "map-obj": "^1.0.0" @@ -11318,9 +9855,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/find-up": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==", "dev": true, + "license": "MIT", "dependencies": { "path-exists": "^2.0.0", "pinkie-promise": "^2.0.0" @@ -11331,9 +9867,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/load-json-file": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^2.2.0", @@ -11347,9 +9882,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/meow": { "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==", "dev": true, + "license": "MIT", "dependencies": { "camelcase-keys": "^2.0.0", "decamelize": "^1.1.2", @@ -11368,9 +9902,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/path-exists": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==", "dev": true, + "license": "MIT", "dependencies": { "pinkie-promise": "^2.0.0" }, @@ -11380,9 +9913,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/path-type": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "pify": "^2.0.0", @@ -11394,18 +9926,16 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/pify": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/read-pkg": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==", "dev": true, + "license": "MIT", "dependencies": { "load-json-file": "^1.0.0", "normalize-package-data": "^2.3.2", @@ -11417,9 +9947,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/read-pkg-up": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^1.0.0", "read-pkg": "^1.0.0" @@ -11430,9 +9959,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/redent": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g==", "dev": true, + "license": "MIT", "dependencies": { "indent-string": "^2.1.0", "strip-indent": "^1.0.1" @@ -11443,9 +9971,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.0.tgz", - "integrity": "sha512-w4jFEJFgKXMQJ0H0ikBk2S+4KP2VEjhCvLCNqbNRQC8BgGWgLKNCO7a9K9LI+TVT7Gfoloje502sEnctibffgg==", "dev": true, + "license": "MIT", "dependencies": { "dargs": "^4.0.1", "lodash.template": "^4.0.2", @@ -11462,18 +9989,16 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/camelcase": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha512-FxAv7HpHrXbh3aPo4o2qxHay2lkLY3x5Mw3KeE4KQE8ysVfziWeRZDwcjauvwBSGEC/nXUPzZy8zeh4HokqOnw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/camelcase-keys": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", - "integrity": "sha512-Ej37YKYbFUI8QiYlvj9YHb6/Z60dZyPJW0Cs8sFilMbd2lP0bw3ylAq9yJkK4lcTA2dID5fG8LjmJYbO7kWb7Q==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^4.1.0", "map-obj": "^2.0.0", @@ -11485,27 +10010,24 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/indent-string": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha512-BYqTHXTGUIvg7t1r4sJNKcbDZkL92nkXA8YtRpbjFHRHGDL/NtUeiBJMeE60kIFN/Mg8ESaWQvftaYMGJzQZCQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/map-obj": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", - "integrity": "sha512-TzQSV2DiMYgoF5RycneKVUzIa9bQsj/B3tTgsE3dOGqlzHnGIDaC7XBE7grnA+8kZPnfqSGFe95VHc2oc0VFUQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/meow": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz", - "integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==", "dev": true, + "license": "MIT", "dependencies": { "camelcase-keys": "^4.0.0", "decamelize-keys": "^1.0.0", @@ -11523,9 +10045,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/minimist-options": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", - "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", "dev": true, + "license": "MIT", "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0" @@ -11536,9 +10057,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" @@ -11549,9 +10069,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/redent": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", - "integrity": "sha512-XNwrTx77JQCEMXTeb8movBKuK75MgH0RZkujNuDKCezemx/voapl9i2gCSi8WWm8+ox5ycJi1gxF22fR7c0Ciw==", "dev": true, + "license": "MIT", "dependencies": { "indent-string": "^3.0.0", "strip-indent": "^2.0.0" @@ -11562,18 +10081,16 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/strip-indent": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", - "integrity": "sha512-RsSNPLpq6YUL7QYy44RnPVTn/lcVZtb48Uof3X5JLbF4zD/Gs7ZFDv2HWol+leoQN2mT86LAzSshGfkTlSOpsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-2.0.3.tgz", - "integrity": "sha512-tj4FD4ww2RX2ae//jSrXZzrocla9db5h0V7ikPl1P/WwoZar9epdUhwR7XHXSgc+ZkNq72BEEerqQuicoEQfzA==", "dev": true, + "license": "MIT", "dependencies": { "meow": "^4.0.0", "semver": "^6.0.0" @@ -11587,18 +10104,16 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/camelcase": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha512-FxAv7HpHrXbh3aPo4o2qxHay2lkLY3x5Mw3KeE4KQE8ysVfziWeRZDwcjauvwBSGEC/nXUPzZy8zeh4HokqOnw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/camelcase-keys": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", - "integrity": "sha512-Ej37YKYbFUI8QiYlvj9YHb6/Z60dZyPJW0Cs8sFilMbd2lP0bw3ylAq9yJkK4lcTA2dID5fG8LjmJYbO7kWb7Q==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^4.1.0", "map-obj": "^2.0.0", @@ -11610,27 +10125,24 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/indent-string": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha512-BYqTHXTGUIvg7t1r4sJNKcbDZkL92nkXA8YtRpbjFHRHGDL/NtUeiBJMeE60kIFN/Mg8ESaWQvftaYMGJzQZCQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/map-obj": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", - "integrity": "sha512-TzQSV2DiMYgoF5RycneKVUzIa9bQsj/B3tTgsE3dOGqlzHnGIDaC7XBE7grnA+8kZPnfqSGFe95VHc2oc0VFUQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/meow": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz", - "integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==", "dev": true, + "license": "MIT", "dependencies": { "camelcase-keys": "^4.0.0", "decamelize-keys": "^1.0.0", @@ -11648,9 +10160,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/minimist-options": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", - "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", "dev": true, + "license": "MIT", "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0" @@ -11661,9 +10172,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" @@ -11674,9 +10184,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/redent": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", - "integrity": "sha512-XNwrTx77JQCEMXTeb8movBKuK75MgH0RZkujNuDKCezemx/voapl9i2gCSi8WWm8+ox5ycJi1gxF22fR7c0Ciw==", "dev": true, + "license": "MIT", "dependencies": { "indent-string": "^3.0.0", "strip-indent": "^2.0.0" @@ -11687,33 +10196,29 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/strip-indent": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", - "integrity": "sha512-RsSNPLpq6YUL7QYy44RnPVTn/lcVZtb48Uof3X5JLbF4zD/Gs7ZFDv2HWol+leoQN2mT86LAzSshGfkTlSOpsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/conventional-github-releaser/node_modules/indent-string": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg==", "dev": true, + "license": "MIT", "dependencies": { "repeating": "^2.0.0" }, @@ -11723,18 +10228,16 @@ }, "node_modules/conventional-github-releaser/node_modules/is-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/conventional-github-releaser/node_modules/locate-path": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" @@ -11745,9 +10248,8 @@ }, "node_modules/conventional-github-releaser/node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -11757,18 +10259,16 @@ }, "node_modules/conventional-github-releaser/node_modules/map-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/conventional-github-releaser/node_modules/meow": { "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", "dev": true, + "license": "MIT", "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -11791,9 +10291,8 @@ }, "node_modules/conventional-github-releaser/node_modules/meow/node_modules/yargs-parser": { "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, + "license": "ISC", "dependencies": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" @@ -11804,9 +10303,8 @@ }, "node_modules/conventional-github-releaser/node_modules/normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -11816,9 +10314,8 @@ }, "node_modules/conventional-github-releaser/node_modules/p-limit": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^1.0.0" }, @@ -11828,9 +10325,8 @@ }, "node_modules/conventional-github-releaser/node_modules/p-locate": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^1.1.0" }, @@ -11840,18 +10336,16 @@ }, "node_modules/conventional-github-releaser/node_modules/p-try": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/parse-json": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==", "dev": true, + "license": "MIT", "dependencies": { "error-ex": "^1.2.0" }, @@ -11861,18 +10355,16 @@ }, "node_modules/conventional-github-releaser/node_modules/path-exists": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/path-type": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "dev": true, + "license": "MIT", "dependencies": { "pify": "^3.0.0" }, @@ -11882,27 +10374,24 @@ }, "node_modules/conventional-github-releaser/node_modules/pify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/quick-lru": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", - "integrity": "sha512-tRS7sTgyxMXtLum8L65daJnHUhfDUgboRdcWW2bR9vBfrj2+O5HSMbQOJfJJjIVSPFqbBCF37FpwWXGitDc5tA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/read-pkg": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", "dev": true, + "license": "MIT", "dependencies": { "load-json-file": "^4.0.0", "normalize-package-data": "^2.3.2", @@ -11914,27 +10403,24 @@ }, "node_modules/conventional-github-releaser/node_modules/semver": { "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/conventional-github-releaser/node_modules/split2": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/split2/-/split2-2.2.0.tgz", - "integrity": "sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==", "dev": true, + "license": "ISC", "dependencies": { "through2": "^2.0.2" } }, "node_modules/conventional-github-releaser/node_modules/strip-bom": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==", "dev": true, + "license": "MIT", "dependencies": { "is-utf8": "^0.2.0" }, @@ -11944,9 +10430,8 @@ }, "node_modules/conventional-github-releaser/node_modules/strip-indent": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==", "dev": true, + "license": "MIT", "dependencies": { "get-stdin": "^4.0.1" }, @@ -11959,9 +10444,8 @@ }, "node_modules/conventional-github-releaser/node_modules/through2": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "~2.3.6", "xtend": "~4.0.1" @@ -11969,9 +10453,8 @@ }, "node_modules/conventional-github-releaser/node_modules/type-fest": { "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -11981,15 +10464,13 @@ }, "node_modules/conventional-github-releaser/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/conventional-recommended-bump": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz", - "integrity": "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==", "dev": true, + "license": "MIT", "dependencies": { "concat-stream": "^2.0.0", "conventional-changelog-preset-loader": "^2.3.4", @@ -12009,12 +10490,11 @@ }, "node_modules/conventional-recommended-bump/node_modules/concat-stream": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", - "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", "dev": true, "engines": [ "node >= 6.0" ], + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "inherits": "^2.0.3", @@ -12024,9 +10504,8 @@ }, "node_modules/conventional-recommended-bump/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -12037,31 +10516,24 @@ } }, "node_modules/convert-hex": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/convert-hex/-/convert-hex-0.1.0.tgz", - "integrity": "sha512-w20BOb1PiR/sEJdS6wNrUjF5CSfscZFUp7R9NSlXH8h2wynzXVEPFPJECAnkNylZ+cvf3p7TyRUHggDmrwXT9A==" + "version": "0.1.0" }, "node_modules/convert-source-map": { "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/convert-string": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/convert-string/-/convert-string-0.1.0.tgz", - "integrity": "sha512-1KX9ESmtl8xpT2LN2tFnKSbV4NiarbVi8DVb39ZriijvtTklyrT+4dT1wsGMHKD3CJUjXgvJzstm9qL9ICojGA==" + "version": "0.1.0" }, "node_modules/cookiejar": { "version": "2.1.4", - "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz", - "integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cookies": { "version": "0.8.0", - "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.8.0.tgz", - "integrity": "sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==", + "license": "MIT", "dependencies": { "depd": "~2.0.0", "keygrip": "~1.1.0" @@ -12072,20 +10544,17 @@ }, "node_modules/copy-to": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/copy-to/-/copy-to-2.0.1.tgz", - "integrity": "sha512-3DdaFaU/Zf1AnpLiFDeNCD4TOWe3Zl2RZaTzUvWiIk5ERzcCodOE20Vqq4fzCbNoHURFHT4/us/Lfq+S2zyY4w==" + "license": "MIT" }, "node_modules/core-util-is": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cosmiconfig": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.0.0.tgz", - "integrity": "sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==", "dev": true, + "license": "MIT", "dependencies": { "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -12098,9 +10567,8 @@ }, "node_modules/cosmiconfig-typescript-loader": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.3.0.tgz", - "integrity": "sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=12", "npm": ">=6" @@ -12114,15 +10582,13 @@ }, "node_modules/create-require": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cross-spawn": { "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -12134,22 +10600,19 @@ }, "node_modules/crypt": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", - "integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==", + "license": "BSD-3-Clause", "engines": { "node": "*" } }, "node_modules/crypto-js": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", - "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==" + "license": "MIT" }, "node_modules/currently-unhandled": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==", "dev": true, + "license": "MIT", "dependencies": { "array-find-index": "^1.0.1" }, @@ -12159,9 +10622,8 @@ }, "node_modules/cz-conventional-changelog": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz", - "integrity": "sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^2.4.1", "commitizen": "^4.0.3", @@ -12179,9 +10641,8 @@ }, "node_modules/cz-conventional-changelog/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -12191,9 +10652,8 @@ }, "node_modules/cz-conventional-changelog/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -12205,33 +10665,29 @@ }, "node_modules/cz-conventional-changelog/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/cz-conventional-changelog/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cz-conventional-changelog/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/cz-conventional-changelog/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -12241,26 +10697,23 @@ }, "node_modules/dargs": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", - "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/dateformat": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", "dev": true, + "license": "MIT", "engines": { "node": "*" } }, "node_modules/debug": { "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -12275,18 +10728,16 @@ }, "node_modules/decamelize": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/decamelize-keys": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", "dev": true, + "license": "MIT", "dependencies": { "decamelize": "^1.1.0", "map-obj": "^1.0.0" @@ -12300,27 +10751,24 @@ }, "node_modules/decamelize-keys/node_modules/map-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/decode-uri-component": { "version": "0.2.2", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", - "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10" } }, "node_modules/decompress-response": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==", "dev": true, + "license": "MIT", "dependencies": { "mimic-response": "^1.0.0" }, @@ -12330,38 +10778,33 @@ }, "node_modules/dedent": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deep-extend": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4.0.0" } }, "node_modules/deep-is": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deepmerge": { "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/defaults": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "license": "MIT", "dependencies": { "clone": "^1.0.2" }, @@ -12371,17 +10814,15 @@ }, "node_modules/defaults/node_modules/clone": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "license": "MIT", "engines": { "node": ">=0.8" } }, "node_modules/define-properties": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", - "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", "dev": true, + "license": "MIT", "dependencies": { "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" @@ -12395,8 +10836,7 @@ }, "node_modules/delay": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", - "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -12406,38 +10846,33 @@ }, "node_modules/delayed-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/delegates": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==" + "license": "MIT" }, "node_modules/denque": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", - "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "license": "Apache-2.0", "engines": { "node": ">=0.10" } }, "node_modules/depd": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/dependency-tree": { "version": "9.0.0", - "resolved": "https://registry.npmjs.org/dependency-tree/-/dependency-tree-9.0.0.tgz", - "integrity": "sha512-osYHZJ1fBSon3lNLw70amAXsQ+RGzXsPvk9HbBgTLbp/bQBmpH5mOmsUvqXU+YEWVU0ZLewsmzOET/8jWswjDQ==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.20.3", "debug": "^4.3.1", @@ -12454,33 +10889,29 @@ }, "node_modules/dependency-tree/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/dependency-tree/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/dependency-tree/node_modules/detective-stylus": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-3.0.0.tgz", - "integrity": "sha512-1xYTzbrduExqMYmte7Qk99IRA3Aa6oV7PYzd+3yDcQXkmENvyGF/arripri6lxRDdNYEb4fZFuHtNRAXbz3iAA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" } }, "node_modules/dependency-tree/node_modules/module-definition": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/module-definition/-/module-definition-4.1.0.tgz", - "integrity": "sha512-rHXi/DpMcD2qcKbPCTklDbX9lBKJrUSl971TW5l6nMpqKCIlzJqmQ8cfEF5M923h2OOLHPDVlh5pJxNyV+AJlw==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^4.0.0", "node-source-walk": "^5.0.1" @@ -12494,9 +10925,8 @@ }, "node_modules/dependency-tree/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -12506,9 +10936,8 @@ }, "node_modules/dependency-tree/node_modules/precinct": { "version": "9.2.1", - "resolved": "https://registry.npmjs.org/precinct/-/precinct-9.2.1.tgz", - "integrity": "sha512-uzKHaTyiVejWW7VJtHInb9KBUq9yl9ojxXGujhjhDmPon2wgZPBKQIKR+6csGqSlUeGXAA4MEFnU6DesxZib+A==", "dev": true, + "license": "MIT", "dependencies": { "@dependents/detective-less": "^3.0.1", "commander": "^9.5.0", @@ -12532,18 +10961,16 @@ }, "node_modules/dependency-tree/node_modules/precinct/node_modules/commander": { "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || >=14" } }, "node_modules/dependency-tree/node_modules/typescript": { "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -12554,8 +10981,7 @@ }, "node_modules/destroy": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "license": "MIT", "engines": { "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" @@ -12563,44 +10989,39 @@ }, "node_modules/detect-file": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", - "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/detect-indent": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", - "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/detect-libc": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz", - "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==", + "license": "Apache-2.0", "engines": { "node": ">=8" } }, "node_modules/detect-newline": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/detective-amd": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-4.1.0.tgz", - "integrity": "sha512-XlQrGjGEnMFjKbep0/S/T7XICxf25LFMP6Ug+Iw/Ww/MHUBzfy8QETCzamO1JlAMYPmkChDh21/NS/csG0FwGg==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^4.0.0", "escodegen": "^2.0.0", @@ -12616,18 +11037,16 @@ }, "node_modules/detective-amd/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/detective-amd/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -12637,9 +11056,8 @@ }, "node_modules/detective-cjs": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/detective-cjs/-/detective-cjs-4.1.0.tgz", - "integrity": "sha512-QxzMwt5MfPLwS7mG30zvnmOvHLx5vyVvjsAV6gQOyuMoBR5G1DhS1eJZ4P10AlH+HSnk93mTcrg3l39+24XCtg==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^4.0.0", "node-source-walk": "^5.0.1" @@ -12650,18 +11068,16 @@ }, "node_modules/detective-cjs/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/detective-cjs/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -12671,9 +11087,8 @@ }, "node_modules/detective-es6": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/detective-es6/-/detective-es6-3.0.1.tgz", - "integrity": "sha512-evPeYIEdK1jK3Oji5p0hX4sPV/1vK+o4ihcWZkMQE6voypSW/cIBiynOLxQk5KOOQbdP8oOAsYqouMTYO5l1sw==", "dev": true, + "license": "MIT", "dependencies": { "node-source-walk": "^5.0.0" }, @@ -12683,9 +11098,8 @@ }, "node_modules/detective-es6/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -12695,9 +11109,8 @@ }, "node_modules/detective-less": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/detective-less/-/detective-less-1.0.2.tgz", - "integrity": "sha512-Rps1xDkEEBSq3kLdsdnHZL1x2S4NGDcbrjmd4q+PykK5aJwDdP5MBgrJw1Xo+kyUHuv3JEzPqxr+Dj9ryeDRTA==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^4.0.0", "gonzales-pe": "^4.2.3", @@ -12709,9 +11122,8 @@ }, "node_modules/detective-postcss": { "version": "6.1.1", - "resolved": "https://registry.npmjs.org/detective-postcss/-/detective-postcss-6.1.1.tgz", - "integrity": "sha512-mX62A6chiafyFW9AwGF6B/uVU+F3hGMZwXDqCHe+NjmU/M5jlDBazdXb1sMoDE+InTDsoPaX3bUUOH33Yxn5Sw==", "dev": true, + "license": "MIT", "dependencies": { "is-url": "^1.2.4", "postcss": "^8.4.21", @@ -12723,9 +11135,8 @@ }, "node_modules/detective-sass": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/detective-sass/-/detective-sass-4.1.1.tgz", - "integrity": "sha512-KSUoOdrLXxSZFnHpGyXufWUP6VkfSdSNC/uezbJkKIwy2i3px5NQPY5hWOR0k9OFlrBakucymD3Ap4d87zobUQ==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^5.0.0" @@ -12736,9 +11147,8 @@ }, "node_modules/detective-sass/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -12748,9 +11158,8 @@ }, "node_modules/detective-scss": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/detective-scss/-/detective-scss-3.0.1.tgz", - "integrity": "sha512-Bv/t1dEKHCPJ9+byha7wKg4zda8IFk7KZpEX+ZJs2k1HsWIE3+FBeVFLtD3y9GYGfi8l7Sim3pULPz4+yLwW9A==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^5.0.0" @@ -12761,9 +11170,8 @@ }, "node_modules/detective-scss/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -12773,18 +11181,16 @@ }, "node_modules/detective-stylus": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-2.0.1.tgz", - "integrity": "sha512-/Tvs1pWLg8eYwwV6kZQY5IslGaYqc/GACxjcaGudiNtN5nKCH6o2WnJK3j0gA3huCnoQcbv8X7oz/c1lnvE3zQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0" } }, "node_modules/detective-typescript": { "version": "9.1.1", - "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-9.1.1.tgz", - "integrity": "sha512-Uc1yVutTF0RRm1YJ3g//i1Cn2vx1kwHj15cnzQP6ff5koNzQ0idc1zAC73ryaWEulA0ElRXFTq6wOqe8vUQ3MA==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/typescript-estree": "^5.55.0", "ast-module-types": "^4.0.0", @@ -12797,18 +11203,16 @@ }, "node_modules/detective-typescript/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/detective-typescript/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -12818,9 +11222,8 @@ }, "node_modules/detective-typescript/node_modules/typescript": { "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -12831,9 +11234,8 @@ }, "node_modules/dezalgo": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", - "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", "dev": true, + "license": "ISC", "dependencies": { "asap": "^2.0.0", "wrappy": "1" @@ -12841,27 +11243,24 @@ }, "node_modules/diff": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } }, "node_modules/diff-sequences": { "version": "29.4.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.4.3.tgz", - "integrity": "sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/dir-glob": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dev": true, + "license": "MIT", "dependencies": { "path-type": "^4.0.0" }, @@ -12871,9 +11270,8 @@ }, "node_modules/doctrine": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -12883,17 +11281,15 @@ }, "node_modules/dotenv": { "version": "16.0.3", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", - "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==", + "license": "BSD-2-Clause", "engines": { "node": ">=12" } }, "node_modules/dotgitignore": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/dotgitignore/-/dotgitignore-2.1.0.tgz", - "integrity": "sha512-sCm11ak2oY6DglEPpCB8TixLjWAxd3kJTs6UIcSasNYxXdFPV+YKlye92c8H4kKFqV5qYMIh7d+cYecEg0dIkA==", "dev": true, + "license": "ISC", "dependencies": { "find-up": "^3.0.0", "minimatch": "^3.0.4" @@ -12904,9 +11300,8 @@ }, "node_modules/dotgitignore/node_modules/find-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^3.0.0" }, @@ -12916,9 +11311,8 @@ }, "node_modules/dotgitignore/node_modules/locate-path": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^3.0.0", "path-exists": "^3.0.0" @@ -12929,9 +11323,8 @@ }, "node_modules/dotgitignore/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -12944,9 +11337,8 @@ }, "node_modules/dotgitignore/node_modules/p-locate": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.0.0" }, @@ -12956,17 +11348,14 @@ }, "node_modules/dotgitignore/node_modules/path-exists": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/dreamopt": { "version": "0.8.0", - "resolved": "https://registry.npmjs.org/dreamopt/-/dreamopt-0.8.0.tgz", - "integrity": "sha512-vyJTp8+mC+G+5dfgsY+r3ckxlz+QMX40VjPQsZc5gxVAxLmi64TBoVkP54A/pRAXMXsbu2GMMBrZPxNv23waMg==", "dependencies": { "wordwrap": ">=0.0.2" }, @@ -12976,32 +11365,27 @@ }, "node_modules/duplexer3": { "version": "0.1.5", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.5.tgz", - "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/eastasianwidth": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/ee-first": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + "license": "MIT" }, "node_modules/electron-to-chromium": { "version": "1.4.450", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.450.tgz", - "integrity": "sha512-BLG5HxSELlrMx7dJ2s+8SFlsCtJp37Zpk2VAxyC6CZtbc+9AJeZHfYHbrlSgdXp6saQ8StMqOTEDaBKgA7u1sw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/emittery": { "version": "0.13.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", - "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -13011,44 +11395,38 @@ }, "node_modules/emoji-regex": { "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/empty-dir": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/empty-dir/-/empty-dir-1.0.0.tgz", - "integrity": "sha512-97qcDM6mUA1jAeX6cktw7akc5awIGA+VIkA5MygKOKA+c2Vseo/xwKN0JNJTUhZUtPwZboKVD2p1xu+sV/F4xA==", + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/enabled": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + "license": "MIT" }, "node_modules/encodeurl": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/end-of-stream": { "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "license": "MIT", "dependencies": { "once": "^1.4.0" } }, "node_modules/enhanced-resolve": { "version": "5.12.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz", - "integrity": "sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -13059,9 +11437,8 @@ }, "node_modules/entities": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.3.0.tgz", - "integrity": "sha512-/iP1rZrSEJ0DTlPiX+jbzlA3eVkY/e8L8SozroF395fIqE3TYF/Nz7YOMAawta+vLmyJ/hkGNNPcSbMADCCXbg==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.12" }, @@ -13071,25 +11448,22 @@ }, "node_modules/error-ex": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "license": "MIT", "dependencies": { "is-arrayish": "^0.2.1" } }, "node_modules/error-stack-parser": { "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } }, "node_modules/es-abstract": { "version": "1.21.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.0.tgz", - "integrity": "sha512-GUGtW7eXQay0c+PRq0sGIKSdaBorfVqsCMhGHo4elP7YVqZu9nCZS4UkK4gv71gOWNMra/PaSKD3ao1oWExO0g==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "es-set-tostringtag": "^2.0.0", @@ -13133,9 +11507,8 @@ }, "node_modules/es-set-tostringtag": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3", "has": "^1.0.3", @@ -13147,18 +11520,16 @@ }, "node_modules/es-shim-unscopables": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", "dev": true, + "license": "MIT", "dependencies": { "has": "^1.0.3" } }, "node_modules/es-to-primitive": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", "dev": true, + "license": "MIT", "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -13173,36 +11544,31 @@ }, "node_modules/es6-promise": { "version": "3.3.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", - "integrity": "sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==" + "license": "MIT" }, "node_modules/escalade": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/escape-html": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + "license": "MIT" }, "node_modules/escape-string-regexp": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "license": "MIT", "engines": { "node": ">=0.8.0" } }, "node_modules/escodegen": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", - "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esprima": "^4.0.1", "estraverse": "^5.2.0", @@ -13222,9 +11588,8 @@ }, "node_modules/escodegen/node_modules/levn": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "~1.1.2", "type-check": "~0.3.2" @@ -13235,9 +11600,8 @@ }, "node_modules/escodegen/node_modules/optionator": { "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", "dev": true, + "license": "MIT", "dependencies": { "deep-is": "~0.1.3", "fast-levenshtein": "~2.0.6", @@ -13252,8 +11616,6 @@ }, "node_modules/escodegen/node_modules/prelude-ls": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", "dev": true, "engines": { "node": ">= 0.8.0" @@ -13261,9 +11623,8 @@ }, "node_modules/escodegen/node_modules/type-check": { "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "~1.1.2" }, @@ -13273,9 +11634,8 @@ }, "node_modules/eslint": { "version": "8.41.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.41.0.tgz", - "integrity": "sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", @@ -13329,9 +11689,8 @@ }, "node_modules/eslint-config-airbnb-base": { "version": "15.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz", - "integrity": "sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==", "dev": true, + "license": "MIT", "dependencies": { "confusing-browser-globals": "^1.0.10", "object.assign": "^4.1.2", @@ -13348,18 +11707,16 @@ }, "node_modules/eslint-config-airbnb-base/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/eslint-config-airbnb-typescript": { "version": "17.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-17.0.0.tgz", - "integrity": "sha512-elNiuzD0kPAPTXjFWg+lE24nMdHMtuxgYoD30OyMD6yrW1AhFZPAg27VX7d3tzOErw+dgJTNWfRSDqEcXb4V0g==", "dev": true, + "license": "MIT", "dependencies": { "eslint-config-airbnb-base": "^15.0.0" }, @@ -13372,9 +11729,8 @@ }, "node_modules/eslint-config-prettier": { "version": "8.8.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", - "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", "dev": true, + "license": "MIT", "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -13384,9 +11740,8 @@ }, "node_modules/eslint-import-resolver-node": { "version": "0.3.7", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz", - "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7", "is-core-module": "^2.11.0", @@ -13395,18 +11750,16 @@ }, "node_modules/eslint-import-resolver-node/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/eslint-module-utils": { "version": "2.7.4", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz", - "integrity": "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7" }, @@ -13421,18 +11774,16 @@ }, "node_modules/eslint-module-utils/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/eslint-plugin-import": { "version": "2.27.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz", - "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==", "dev": true, + "license": "MIT", "dependencies": { "array-includes": "^3.1.6", "array.prototype.flat": "^1.3.1", @@ -13459,18 +11810,16 @@ }, "node_modules/eslint-plugin-import/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/eslint-plugin-import/node_modules/doctrine": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", "dev": true, + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -13480,18 +11829,16 @@ }, "node_modules/eslint-plugin-import/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/eslint-plugin-json": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-json/-/eslint-plugin-json-3.1.0.tgz", - "integrity": "sha512-MrlG2ynFEHe7wDGwbUuFPsaT2b1uhuEFhJ+W1f1u+1C2EkXmTYJp4B1aAdQQ8M+CC3t//N/oRKiIVw14L2HR1g==", "dev": true, + "license": "MIT", "dependencies": { "lodash": "^4.17.21", "vscode-json-languageservice": "^4.1.6" @@ -13502,9 +11849,8 @@ }, "node_modules/eslint-plugin-sonarjs": { "version": "0.19.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.19.0.tgz", - "integrity": "sha512-6+s5oNk5TFtVlbRxqZN7FIGmjdPCYQKaTzFPmqieCmsU1kBYDzndTeQav0xtQNwZJWu5awWfTGe8Srq9xFOGnw==", "dev": true, + "license": "LGPL-3.0", "engines": { "node": ">=14" }, @@ -13514,9 +11860,8 @@ }, "node_modules/eslint-plugin-unicorn": { "version": "46.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-46.0.1.tgz", - "integrity": "sha512-setGhMTiLAddg1asdwjZ3hekIN5zLznNa5zll7pBPwFOka6greCKDQydfqy4fqyUhndi74wpDzClSQMEcmOaew==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.19.1", "@eslint-community/eslint-utils": "^4.1.2", @@ -13547,9 +11892,8 @@ }, "node_modules/eslint-plugin-unicorn/node_modules/jsesc": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", "dev": true, + "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, @@ -13559,9 +11903,8 @@ }, "node_modules/eslint-scope": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -13575,9 +11918,8 @@ }, "node_modules/eslint-visitor-keys": { "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -13587,9 +11929,8 @@ }, "node_modules/eslint/node_modules/ajv": { "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -13603,9 +11944,8 @@ }, "node_modules/eslint/node_modules/escape-string-regexp": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -13615,15 +11955,13 @@ }, "node_modules/eslint/node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/espree": { "version": "9.5.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.8.0", "acorn-jsx": "^5.3.2", @@ -13638,9 +11976,8 @@ }, "node_modules/esprima": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, + "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -13651,9 +11988,8 @@ }, "node_modules/esquery": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -13663,9 +11999,8 @@ }, "node_modules/esrecurse": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -13675,41 +12010,36 @@ }, "node_modules/estraverse": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } }, "node_modules/esutils": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/eventemitter3": { "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/events": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "license": "MIT", "engines": { "node": ">=0.8.x" } }, "node_modules/execa": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", @@ -13730,8 +12060,6 @@ }, "node_modules/exit": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", "dev": true, "engines": { "node": ">= 0.8.0" @@ -13739,9 +12067,8 @@ }, "node_modules/expand-tilde": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", - "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==", "dev": true, + "license": "MIT", "dependencies": { "homedir-polyfill": "^1.0.1" }, @@ -13751,9 +12078,8 @@ }, "node_modules/expect": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.6.0.tgz", - "integrity": "sha512-AV+HaBtnDJ2YEUhPPo25HyUHBLaetM+y/Dq6pEC8VPQyt1dK+k8MfGkMy46djy2bddcqESc1kl4/K1uLWSfk9g==", "dev": true, + "license": "MIT", "dependencies": { "@jest/expect-utils": "^29.6.0", "@types/node": "*", @@ -13768,18 +12094,16 @@ }, "node_modules/expose-gc": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/expose-gc/-/expose-gc-1.0.0.tgz", - "integrity": "sha512-ecOHrdm+zyOCGIwX18/1RHkUWgxDqGGRiGhaNC+42jReTtudbm2ID/DMa/wpaHwqy5YQHPZvsDqRM2F2iZ0uVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/external-editor": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "dev": true, + "license": "MIT", "dependencies": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", @@ -13791,14 +12115,12 @@ }, "node_modules/fast-deep-equal": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "license": "MIT" }, "node_modules/fast-glob": { "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -13812,9 +12134,8 @@ }, "node_modules/fast-glob/node_modules/glob-parent": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -13824,15 +12145,13 @@ }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-json-stringify": { "version": "2.7.13", - "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-2.7.13.tgz", - "integrity": "sha512-ar+hQ4+OIurUGjSJD1anvYSDcUflywhKjfxnsW4TBTD7+u0tJufv6DKRWoQk3vI6YBOWMoz0TQtfbe7dxbQmvA==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^6.11.0", "deepmerge": "^4.2.2", @@ -13845,9 +12164,8 @@ }, "node_modules/fast-json-stringify/node_modules/ajv": { "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -13861,21 +12179,18 @@ }, "node_modules/fast-json-stringify/node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-printf": { "version": "1.6.9", - "resolved": "https://registry.npmjs.org/fast-printf/-/fast-printf-1.6.9.tgz", - "integrity": "sha512-FChq8hbz65WMj4rstcQsFB0O7Cy++nmbNfLYnD9cYv2cRn8EG6k/MGn9kO/tjO66t09DLDugj3yL+V2o6Qftrg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "boolean": "^3.1.4" }, @@ -13885,14 +12200,11 @@ }, "node_modules/fast-safe-stringify": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", - "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-xml-parser": { "version": "4.2.5", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz", - "integrity": "sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==", "funding": [ { "type": "paypal", @@ -13903,6 +12215,7 @@ "url": "https://github.com/sponsors/NaturalIntelligence" } ], + "license": "MIT", "dependencies": { "strnum": "^1.0.5" }, @@ -13912,32 +12225,28 @@ }, "node_modules/fastq": { "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", "dev": true, + "license": "ISC", "dependencies": { "reusify": "^1.0.4" } }, "node_modules/fb-watchman": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", - "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "bser": "2.1.1" } }, "node_modules/fecha": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", - "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==" + "license": "MIT" }, "node_modules/figures": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^1.0.5" }, @@ -13950,9 +12259,8 @@ }, "node_modules/file-entry-cache": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", "dev": true, + "license": "MIT", "dependencies": { "flat-cache": "^3.0.4" }, @@ -13962,14 +12270,12 @@ }, "node_modules/file-uri-to-path": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" + "license": "MIT" }, "node_modules/filing-cabinet": { "version": "3.3.1", - "resolved": "https://registry.npmjs.org/filing-cabinet/-/filing-cabinet-3.3.1.tgz", - "integrity": "sha512-renEK4Hh6DUl9Vl22Y3cxBq1yh8oNvbAdXnhih0wVpmea+uyKjC9K4QeRjUaybIiIewdzfum+Fg15ZqJ/GyCaA==", "dev": true, + "license": "MIT", "dependencies": { "app-module-path": "^2.2.0", "commander": "^2.20.3", @@ -13994,15 +12300,13 @@ }, "node_modules/filing-cabinet/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/filing-cabinet/node_modules/typescript": { "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -14013,9 +12317,8 @@ }, "node_modules/fill-range": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -14025,9 +12328,8 @@ }, "node_modules/find-node-modules": { "version": "2.1.3", - "resolved": "https://registry.npmjs.org/find-node-modules/-/find-node-modules-2.1.3.tgz", - "integrity": "sha512-UC2I2+nx1ZuOBclWVNdcnbDR5dlrOdVb7xNjmT/lHE+LsgztWks3dG7boJ37yTS/venXw84B/mAW9uHVoC5QRg==", "dev": true, + "license": "MIT", "dependencies": { "findup-sync": "^4.0.0", "merge": "^2.1.1" @@ -14035,15 +12337,13 @@ }, "node_modules/find-root": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/find-up": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" @@ -14057,17 +12357,15 @@ }, "node_modules/findit2": { "version": "2.2.3", - "resolved": "https://registry.npmjs.org/findit2/-/findit2-2.2.3.tgz", - "integrity": "sha512-lg/Moejf4qXovVutL0Lz4IsaPoNYMuxt4PA0nGqFxnJ1CTTGGlEO2wKgoDpwknhvZ8k4Q2F+eesgkLbG2Mxfog==", + "license": "MIT", "engines": { "node": ">=0.8.22" } }, "node_modules/findup-sync": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-4.0.0.tgz", - "integrity": "sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==", "dev": true, + "license": "MIT", "dependencies": { "detect-file": "^1.0.0", "is-glob": "^4.0.0", @@ -14080,17 +12378,15 @@ }, "node_modules/flat": { "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "license": "BSD-3-Clause", "bin": { "flat": "cli.js" } }, "node_modules/flat-cache": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", "dev": true, + "license": "MIT", "dependencies": { "flatted": "^3.1.0", "rimraf": "^3.0.2" @@ -14101,32 +12397,27 @@ }, "node_modules/flatted": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/flatten": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.3.tgz", - "integrity": "sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg==", - "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash.", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fn.name": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + "license": "MIT" }, "node_modules/follow-redirects": { "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/RubenVerborgh" } ], + "license": "MIT", "engines": { "node": ">=4.0" }, @@ -14138,17 +12429,15 @@ }, "node_modules/for-each": { "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/foreground-child": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", "dev": true, + "license": "ISC", "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -14162,9 +12451,8 @@ }, "node_modules/foreground-child/node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, + "license": "ISC", "engines": { "node": ">=14" }, @@ -14174,8 +12462,7 @@ }, "node_modules/form-data": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -14187,9 +12474,8 @@ }, "node_modules/formidable": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/formidable/-/formidable-2.1.2.tgz", - "integrity": "sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==", "dev": true, + "license": "MIT", "dependencies": { "dezalgo": "^1.0.4", "hexoid": "^1.0.0", @@ -14202,17 +12488,15 @@ }, "node_modules/fresh": { "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/from2": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.1", "readable-stream": "^2.0.0" @@ -14220,9 +12504,8 @@ }, "node_modules/fs-extra": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", "dev": true, + "license": "MIT", "dependencies": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", @@ -14235,8 +12518,7 @@ }, "node_modules/fs-minipass": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -14246,8 +12528,7 @@ }, "node_modules/fs-minipass/node_modules/minipass": { "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -14257,20 +12538,16 @@ }, "node_modules/fs-minipass/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "license": "ISC" }, "node_modules/fs.realpath": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + "license": "ISC" }, "node_modules/fsevents": { "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, - "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -14281,14 +12558,12 @@ }, "node_modules/function-bind": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "license": "MIT" }, "node_modules/function.prototype.name": { "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", @@ -14304,17 +12579,15 @@ }, "node_modules/functions-have-names": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/gauge": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.2", @@ -14332,18 +12605,16 @@ }, "node_modules/gensync": { "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/get-amd-module-type": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-amd-module-type/-/get-amd-module-type-4.1.0.tgz", - "integrity": "sha512-0e/eK6vTGCnSfQ6eYs3wtH05KotJYIP7ZIZEueP/KlA+0dIAEs8bYFvOd/U56w1vfjhJqBagUxVMyy9Tr/cViQ==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^4.0.0", "node-source-walk": "^5.0.1" @@ -14354,18 +12625,16 @@ }, "node_modules/get-amd-module-type/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/get-amd-module-type/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -14375,17 +12644,15 @@ }, "node_modules/get-caller-file": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, + "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" } }, "node_modules/get-intrinsic": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", - "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -14397,24 +12664,21 @@ }, "node_modules/get-own-enumerable-property-symbols": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", - "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/get-package-type": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.0.0" } }, "node_modules/get-pkg-repo": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", - "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", "dev": true, + "license": "MIT", "dependencies": { "@hutson/parse-repository-url": "^3.0.0", "hosted-git-info": "^4.0.0", @@ -14430,9 +12694,8 @@ }, "node_modules/get-pkg-repo/node_modules/cliui": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -14441,9 +12704,8 @@ }, "node_modules/get-pkg-repo/node_modules/through2": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "~2.3.6", "xtend": "~4.0.1" @@ -14451,9 +12713,8 @@ }, "node_modules/get-pkg-repo/node_modules/yargs": { "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -14469,18 +12730,16 @@ }, "node_modules/get-stdin": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/get-stream": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -14490,9 +12749,8 @@ }, "node_modules/get-symbol-description": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.1" @@ -14506,8 +12764,7 @@ }, "node_modules/get-value": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-3.0.1.tgz", - "integrity": "sha512-mKZj9JLQrwMBtj5wxi6MH8Z5eSKaERpAwjg43dPtlGI1ZVEgH/qC7T8/6R2OBSUA+zzHBZgICsVJaEIV2tKTDA==", + "license": "MIT", "dependencies": { "isobject": "^3.0.1" }, @@ -14517,9 +12774,8 @@ }, "node_modules/gh-got": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/gh-got/-/gh-got-7.1.0.tgz", - "integrity": "sha512-KeWkkhresa7sbpzQLYzITMgez5rMigUsijhmSAHcLDORIMUbdlkdoZyaN1wQvIjmUZnyb/wkAPaXb4MQKX0mdQ==", "dev": true, + "license": "MIT", "dependencies": { "got": "^8.0.0", "is-plain-obj": "^1.1.0" @@ -14530,9 +12786,8 @@ }, "node_modules/git-raw-commits": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz", - "integrity": "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==", "dev": true, + "license": "MIT", "dependencies": { "dargs": "^7.0.0", "lodash": "^4.17.15", @@ -14549,9 +12804,8 @@ }, "node_modules/git-remote-origin-url": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", - "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", "dev": true, + "license": "MIT", "dependencies": { "gitconfiglocal": "^1.0.0", "pify": "^2.3.0" @@ -14562,18 +12816,16 @@ }, "node_modules/git-remote-origin-url/node_modules/pify": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/git-semver-tags": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", - "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", "dev": true, + "license": "MIT", "dependencies": { "meow": "^8.0.0", "semver": "^6.0.0" @@ -14587,27 +12839,24 @@ }, "node_modules/git-semver-tags/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/gitconfiglocal": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", - "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", "dev": true, + "license": "BSD", "dependencies": { "ini": "^1.3.2" } }, "node_modules/glob": { "version": "10.3.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", - "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", "dev": true, + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", @@ -14627,9 +12876,8 @@ }, "node_modules/glob-parent": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -14639,18 +12887,16 @@ }, "node_modules/glob/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/glob/node_modules/minimatch": { "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -14663,9 +12909,8 @@ }, "node_modules/global-dirs": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", - "integrity": "sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==", "dev": true, + "license": "MIT", "dependencies": { "ini": "^1.3.4" }, @@ -14675,9 +12920,8 @@ }, "node_modules/global-modules": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", - "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", "dev": true, + "license": "MIT", "dependencies": { "global-prefix": "^1.0.1", "is-windows": "^1.0.1", @@ -14689,9 +12933,8 @@ }, "node_modules/global-prefix": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", - "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==", "dev": true, + "license": "MIT", "dependencies": { "expand-tilde": "^2.0.2", "homedir-polyfill": "^1.0.1", @@ -14705,9 +12948,8 @@ }, "node_modules/global-prefix/node_modules/which": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -14717,9 +12959,8 @@ }, "node_modules/globals": { "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -14732,9 +12973,8 @@ }, "node_modules/globals/node_modules/type-fest": { "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -14744,9 +12984,8 @@ }, "node_modules/globalthis": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", "dev": true, + "license": "MIT", "dependencies": { "define-properties": "^1.1.3" }, @@ -14759,9 +12998,8 @@ }, "node_modules/globby": { "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", "dev": true, + "license": "MIT", "dependencies": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -14779,9 +13017,8 @@ }, "node_modules/gonzales-pe": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gonzales-pe/-/gonzales-pe-4.3.0.tgz", - "integrity": "sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.5" }, @@ -14794,8 +13031,7 @@ }, "node_modules/gopd": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -14805,9 +13041,8 @@ }, "node_modules/got": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/got/-/got-8.3.2.tgz", - "integrity": "sha512-qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw==", "dev": true, + "license": "MIT", "dependencies": { "@sindresorhus/is": "^0.7.0", "cacheable-request": "^2.1.1", @@ -14833,44 +13068,38 @@ }, "node_modules/got/node_modules/get-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/got/node_modules/pify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/graceful-fs": { "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/graphemer": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/growly": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", - "integrity": "sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/handlebars": { "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "license": "MIT", "dependencies": { "minimist": "^1.2.5", "neo-async": "^2.6.0", @@ -14889,17 +13118,15 @@ }, "node_modules/hard-rejection": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/has": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.1" }, @@ -14909,27 +13136,24 @@ }, "node_modules/has-bigints": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/has-property-descriptors": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.1" }, @@ -14939,9 +13163,8 @@ }, "node_modules/has-proto": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -14951,17 +13174,15 @@ }, "node_modules/has-symbol-support-x": { "version": "1.4.2", - "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz", - "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==", "dev": true, + "license": "MIT", "engines": { "node": "*" } }, "node_modules/has-symbols": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -14971,9 +13192,8 @@ }, "node_modules/has-to-string-tag-x": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", - "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", "dev": true, + "license": "MIT", "dependencies": { "has-symbol-support-x": "^1.4.1" }, @@ -14983,8 +13203,7 @@ }, "node_modules/has-tostringtag": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" }, @@ -14997,13 +13216,11 @@ }, "node_modules/has-unicode": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" + "license": "ISC" }, "node_modules/has-value": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-2.0.2.tgz", - "integrity": "sha512-ybKOlcRsK2MqrM3Hmz/lQxXHZ6ejzSPzpNabKB45jb5qDgJvKPa3SdapTsTLwEb9WltgWpOmNax7i+DzNOk4TA==", + "license": "MIT", "dependencies": { "get-value": "^3.0.0", "has-values": "^2.0.1" @@ -15014,8 +13231,7 @@ }, "node_modules/has-values": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-2.0.1.tgz", - "integrity": "sha512-+QdH3jOmq9P8GfdjFg0eJudqx1FqU62NQJ4P16rOEHeRdl7ckgwn6uqQjzYE0ZoHVV/e5E2esuJ5Gl5+HUW19w==", + "license": "MIT", "dependencies": { "kind-of": "^6.0.2" }, @@ -15025,23 +13241,20 @@ }, "node_modules/heap": { "version": "0.2.7", - "resolved": "https://registry.npmjs.org/heap/-/heap-0.2.7.tgz", - "integrity": "sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==" + "license": "MIT" }, "node_modules/hexoid": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/hexoid/-/hexoid-1.0.0.tgz", - "integrity": "sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/homedir-polyfill": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", "dev": true, + "license": "MIT", "dependencies": { "parse-passwd": "^1.0.0" }, @@ -15051,9 +13264,8 @@ }, "node_modules/hosted-git-info": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -15063,9 +13275,8 @@ }, "node_modules/hosted-git-info/node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -15075,20 +13286,17 @@ }, "node_modules/hosted-git-info/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/html-escaper": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/http-assert": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/http-assert/-/http-assert-1.5.0.tgz", - "integrity": "sha512-uPpH7OKX4H25hBmU6G1jWNaqJGpTXxey+YOUizJUAgu0AjLUeC8D73hTrhvDS5D+GJN1DN1+hhc/eF/wpxtp0w==", + "license": "MIT", "dependencies": { "deep-equal": "~1.0.1", "http-errors": "~1.8.0" @@ -15099,19 +13307,16 @@ }, "node_modules/http-assert/node_modules/deep-equal": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", - "integrity": "sha512-bHtC0iYvWhyaTzvV3CZgPeZQqCOBGyGsVV7v4eevpdkLHfiSrXUdBG+qAuSz4RI70sszvjQ1QSZ98An1yNwpSw==" + "license": "MIT" }, "node_modules/http-cache-semantics": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/http-errors": { "version": "1.8.1", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", - "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "license": "MIT", "dependencies": { "depd": "~1.1.2", "inherits": "2.0.4", @@ -15125,16 +13330,14 @@ }, "node_modules/http-errors/node_modules/depd": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/http-graceful-shutdown": { "version": "3.1.13", - "resolved": "https://registry.npmjs.org/http-graceful-shutdown/-/http-graceful-shutdown-3.1.13.tgz", - "integrity": "sha512-Ci5LRufQ8AtrQ1U26AevS8QoMXDOhnAHCJI3eZu1com7mZGHxREmw3dNj85ftpQokQCvak8nI2pnFS8zyM1M+Q==", + "license": "MIT", "dependencies": { "debug": "^4.3.4" }, @@ -15144,9 +13347,8 @@ }, "node_modules/http-terminator": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/http-terminator/-/http-terminator-3.2.0.tgz", - "integrity": "sha512-JLjck1EzPaWjsmIf8bziM3p9fgR1Y3JoUKAkyYEbZmFrIvJM6I8vVJfBGWlEtV9IWOvzNnaTtjuwZeBY2kwB4g==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "delay": "^5.0.0", "p-wait-for": "^3.2.0", @@ -15159,9 +13361,8 @@ }, "node_modules/http-terminator/node_modules/type-fest": { "version": "2.19.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", - "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=12.20" }, @@ -15171,8 +13372,7 @@ }, "node_modules/https-proxy-agent": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "license": "MIT", "dependencies": { "agent-base": "6", "debug": "4" @@ -15183,27 +13383,24 @@ }, "node_modules/human-format": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/human-format/-/human-format-1.0.0.tgz", - "integrity": "sha512-ZfSxF/LHVDb5Un52AguYkZArbiuMbJQwpOpZ0MBuj3pYDmLt7pkCEws9L8xKbgnaKrfMgGd6qc+PHBbKO97AaA==", "dev": true, + "license": "ISC", "engines": { "node": ">=4" } }, "node_modules/human-signals": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=10.17.0" } }, "node_modules/husky": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "dev": true, + "license": "MIT", "bin": { "husky": "lib/bin.js" }, @@ -15216,8 +13413,7 @@ }, "node_modules/iconv-lite": { "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -15227,8 +13423,6 @@ }, "node_modules/ieee754": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "funding": [ { "type": "github", @@ -15242,22 +13436,21 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "BSD-3-Clause" }, "node_modules/ignore": { "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } }, "node_modules/import-fresh": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, + "license": "MIT", "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -15271,18 +13464,16 @@ }, "node_modules/import-fresh/node_modules/resolve-from": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/import-local": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", "dev": true, + "license": "MIT", "dependencies": { "pkg-dir": "^4.2.0", "resolve-cwd": "^3.0.0" @@ -15299,40 +13490,35 @@ }, "node_modules/imurmurhash": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8.19" } }, "node_modules/indent-string": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/indexes-of": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", - "integrity": "sha512-bup+4tap3Hympa+JBJUG7XuOsdNQ6fxt0MHyXMKuLBKn0OqsTfvUxkUrroEX1+B2VsSHvCjiIcZVxRtYa4nllA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/inflation": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/inflation/-/inflation-2.0.0.tgz", - "integrity": "sha512-m3xv4hJYR2oXw4o4Y5l6P5P16WYmazYof+el6Al3f+YlggGj6qT9kImBAnzDelRALnP5d3h4jGBPKzYCizjZZw==", + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/inflight": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -15340,20 +13526,17 @@ }, "node_modules/inherits": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "license": "ISC" }, "node_modules/ini": { "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/inquirer": { "version": "8.2.4", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.4.tgz", - "integrity": "sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==", "dev": true, + "license": "MIT", "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -15377,9 +13560,8 @@ }, "node_modules/internal-slot": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.4.tgz", - "integrity": "sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3", "has": "^1.0.3", @@ -15391,9 +13573,8 @@ }, "node_modules/into-stream": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz", - "integrity": "sha512-TcdjPibTksa1NQximqep2r17ISRiNE9fwlfbg3F8ANdvP5/yrFTew86VcO//jk4QTaMlbjypPBq76HN2zaKfZQ==", "dev": true, + "license": "MIT", "dependencies": { "from2": "^2.1.1", "p-is-promise": "^1.1.0" @@ -15404,8 +13585,7 @@ }, "node_modules/ioredis": { "version": "5.3.2", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.3.2.tgz", - "integrity": "sha512-1DKMMzlIHM02eBBVOFQ1+AolGjs6+xEcM4PDL7NqOS6szq7H9jSaEkIUH6/a5Hl241LzW6JLSiAbNvTQjUupUA==", + "license": "MIT", "dependencies": { "@ioredis/commands": "^1.1.1", "cluster-key-slot": "^1.1.0", @@ -15427,24 +13607,21 @@ }, "node_modules/ip-regex": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", - "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/is/-/is-3.3.0.tgz", - "integrity": "sha512-nW24QBoPcFGGHJGUwnfpI7Yc5CdqWNdsyHQszVE/z2pKHXzh7FZ5GWhJqSyaQ9wMkQnsTx+kAI8bHlCX4tKdbg==", + "license": "MIT", "engines": { "node": "*" } }, "node_modules/is-arguments": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -15458,9 +13635,8 @@ }, "node_modules/is-array-buffer": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.1.tgz", - "integrity": "sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -15472,14 +13648,12 @@ }, "node_modules/is-arrayish": { "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + "license": "MIT" }, "node_modules/is-bigint": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", "dev": true, + "license": "MIT", "dependencies": { "has-bigints": "^1.0.1" }, @@ -15489,9 +13663,8 @@ }, "node_modules/is-boolean-object": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -15505,14 +13678,12 @@ }, "node_modules/is-buffer": { "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + "license": "MIT" }, "node_modules/is-builtin-module": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", - "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", "dev": true, + "license": "MIT", "dependencies": { "builtin-modules": "^3.3.0" }, @@ -15525,8 +13696,7 @@ }, "node_modules/is-callable": { "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -15536,8 +13706,7 @@ }, "node_modules/is-core-module": { "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "license": "MIT", "dependencies": { "has": "^1.0.3" }, @@ -15547,9 +13716,8 @@ }, "node_modules/is-date-object": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -15562,9 +13730,8 @@ }, "node_modules/is-docker": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", "dev": true, + "license": "MIT", "bin": { "is-docker": "cli.js" }, @@ -15577,18 +13744,16 @@ }, "node_modules/is-extglob": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-finite": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", - "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" }, @@ -15598,9 +13763,8 @@ }, "node_modules/is-fullwidth-code-point": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -15610,17 +13774,15 @@ }, "node_modules/is-generator-fn": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/is-generator-function": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -15633,9 +13795,8 @@ }, "node_modules/is-glob": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -15645,17 +13806,15 @@ }, "node_modules/is-interactive": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is-ip": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-ip/-/is-ip-3.1.0.tgz", - "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==", + "license": "MIT", "dependencies": { "ip-regex": "^4.0.0" }, @@ -15665,9 +13824,8 @@ }, "node_modules/is-negative-zero": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -15677,18 +13835,16 @@ }, "node_modules/is-number": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } }, "node_modules/is-number-object": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -15701,35 +13857,31 @@ }, "node_modules/is-object": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz", - "integrity": "sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-path-inside": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is-plain-obj": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-plain-object": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "license": "MIT", "dependencies": { "isobject": "^3.0.1" }, @@ -15739,17 +13891,15 @@ }, "node_modules/is-primitive": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-3.0.1.tgz", - "integrity": "sha512-GljRxhWvlCNRfZyORiH77FwdFwGcMO620o37EOYC0ORWdq+WYNVqW0w2Juzew4M+L81l6/QS3t5gkkihyRqv9w==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-regex": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -15763,33 +13913,29 @@ }, "node_modules/is-regexp": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-relative-path": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-relative-path/-/is-relative-path-1.0.2.tgz", - "integrity": "sha512-i1h+y50g+0hRbBD+dbnInl3JlJ702aar58snAeX+MxBAPvzXGej7sYoPMhlnykabt0ZzCJNBEyzMlekuQZN7fA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-retry-allowed": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", - "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-shared-array-buffer": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2" }, @@ -15799,8 +13945,7 @@ }, "node_modules/is-stream": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "license": "MIT", "engines": { "node": ">=8" }, @@ -15810,9 +13955,8 @@ }, "node_modules/is-string": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -15825,9 +13969,8 @@ }, "node_modules/is-symbol": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", "dev": true, + "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" }, @@ -15840,9 +13983,8 @@ }, "node_modules/is-text-path": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", - "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", "dev": true, + "license": "MIT", "dependencies": { "text-extensions": "^1.0.0" }, @@ -15852,8 +13994,7 @@ }, "node_modules/is-typed-array": { "version": "1.1.10", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -15870,9 +14011,8 @@ }, "node_modules/is-unicode-supported": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -15882,15 +14022,13 @@ }, "node_modules/is-url": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", - "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-url-superb": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-url-superb/-/is-url-superb-4.0.0.tgz", - "integrity": "sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -15900,15 +14038,13 @@ }, "node_modules/is-utf8": { "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-weakref": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2" }, @@ -15918,18 +14054,16 @@ }, "node_modules/is-windows": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-wsl": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", "dev": true, + "license": "MIT", "dependencies": { "is-docker": "^2.0.0" }, @@ -15939,51 +14073,44 @@ }, "node_modules/isarray": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "license": "MIT" }, "node_modules/iserror": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/iserror/-/iserror-0.0.2.tgz", - "integrity": "sha512-oKGGrFVaWwETimP3SiWwjDeY27ovZoyZPHtxblC4hCq9fXxed/jasx+ATWFFjCVSRZng8VTMsN1nDnGo6zMBSw==" + "license": "MIT" }, "node_modules/isexe": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/isobject": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/isolated-vm": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/isolated-vm/-/isolated-vm-4.5.0.tgz", - "integrity": "sha512-Kse0m5t+B9wZQVeTDqzPoX1SIFNTNfyaUxhnCuFgpXL1+5GYJ9GUAN3mpD+ainixGmUXgeYaVBX+QPDjEBBu0w==", "hasInstallScript": true, + "license": "ISC", "engines": { "node": ">=10.4.0" } }, "node_modules/istanbul-lib-coverage": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-instrument": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@babel/core": "^7.12.3", "@babel/parser": "^7.14.7", @@ -15997,18 +14124,16 @@ }, "node_modules/istanbul-lib-instrument/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/istanbul-lib-report": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "istanbul-lib-coverage": "^3.0.0", "make-dir": "^3.0.0", @@ -16020,9 +14145,8 @@ }, "node_modules/istanbul-lib-source-maps": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "debug": "^4.1.1", "istanbul-lib-coverage": "^3.0.0", @@ -16034,9 +14158,8 @@ }, "node_modules/istanbul-reports": { "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "html-escaper": "^2.0.0", "istanbul-lib-report": "^3.0.0" @@ -16047,9 +14170,8 @@ }, "node_modules/isurl": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz", - "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==", "dev": true, + "license": "MIT", "dependencies": { "has-to-string-tag-x": "^1.2.0", "is-object": "^1.0.1" @@ -16060,9 +14182,8 @@ }, "node_modules/jackspeak": { "version": "2.2.2", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", - "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -16078,9 +14199,8 @@ }, "node_modules/jest": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.6.0.tgz", - "integrity": "sha512-do1J9gGrQ68E4UfMz/4OM71p9qCqQxu32N/9ZfeYFSSlx0uUOuxeyZxtJZNaUTW12ZA11ERhmBjBhy1Ho96R4g==", "dev": true, + "license": "MIT", "dependencies": { "@jest/core": "^29.6.0", "@jest/types": "^29.6.0", @@ -16104,9 +14224,8 @@ }, "node_modules/jest-changed-files": { "version": "29.5.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.5.0.tgz", - "integrity": "sha512-IFG34IUMUaNBIxjQXF/iu7g6EcdMrGRRxaUSw92I/2g2YC6vCdTltl4nHvt7Ci5nSJwXIkCu8Ka1DKF+X7Z1Ag==", "dev": true, + "license": "MIT", "dependencies": { "execa": "^5.0.0", "p-limit": "^3.1.0" @@ -16117,9 +14236,8 @@ }, "node_modules/jest-circus": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.6.0.tgz", - "integrity": "sha512-LtG45qEKhse2Ws5zNR4DnZATReLGQXzBZGZnJ0DU37p6d4wDhu41vvczCQ3Ou+llR6CRYDBshsubV7H4jZvIkw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.6.0", "@jest/expect": "^29.6.0", @@ -16148,9 +14266,8 @@ }, "node_modules/jest-cli": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.6.0.tgz", - "integrity": "sha512-WvZIaanK/abkw6s01924DQ2QLwM5Q4Y4iPbSDb9Zg6smyXGqqcPQ7ft9X8D7B0jICz312eSzM6UlQNxuZJBrMw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/core": "^29.6.0", "@jest/test-result": "^29.6.0", @@ -16182,9 +14299,8 @@ }, "node_modules/jest-config": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.6.0.tgz", - "integrity": "sha512-fKA4jM91PDqWVkMpb1FVKxIuhg3hC6hgaen57cr1rRZkR96dCatvJZsk3ik7/GNu9ERj9wgAspOmyvkFoGsZhA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", "@jest/test-sequencer": "^29.6.0", @@ -16227,9 +14343,8 @@ }, "node_modules/jest-config/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -16247,9 +14362,8 @@ }, "node_modules/jest-diff": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.6.0.tgz", - "integrity": "sha512-ZRm7cd2m9YyZ0N3iMyuo1iUiprxQ/MFpYWXzEEj7hjzL3WnDffKW8192XBDcrAI8j7hnrM1wed3bL/oEnYF/8w==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "diff-sequences": "^29.4.3", @@ -16262,9 +14376,8 @@ }, "node_modules/jest-docblock": { "version": "29.4.3", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.4.3.tgz", - "integrity": "sha512-fzdTftThczeSD9nZ3fzA/4KkHtnmllawWrXO69vtI+L9WjEIuXWs4AmyME7lN5hU7dB0sHhuPfcKofRsUb/2Fg==", "dev": true, + "license": "MIT", "dependencies": { "detect-newline": "^3.0.0" }, @@ -16274,9 +14387,8 @@ }, "node_modules/jest-each": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.6.0.tgz", - "integrity": "sha512-d0Jem4RBAlFUyV6JSXPSHVUpNo5RleSj+iJEy1G3+ZCrzHDjWs/1jUfrbnJKHdJdAx5BCEce/Ju379WqHhQk4w==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "chalk": "^4.0.0", @@ -16290,9 +14402,8 @@ }, "node_modules/jest-environment-node": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.6.0.tgz", - "integrity": "sha512-BOf5Q2/nFCdBOnyBM5c5/6DbdQYgc+0gyUQ8l8qhUAB8O7pM+4QJXIXJsRZJaxd5SHV6y5VArTVhOfogoqcP8Q==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.6.0", "@jest/fake-timers": "^29.6.0", @@ -16307,18 +14418,16 @@ }, "node_modules/jest-get-type": { "version": "29.4.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.4.3.tgz", - "integrity": "sha512-J5Xez4nRRMjk8emnTpWrlkyb9pfRQQanDrvWHhsR1+VUfbwxi30eVcZFlcdGInRibU4G5LwHXpI7IRHU0CY+gg==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-haste-map": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.6.0.tgz", - "integrity": "sha512-dY1DKufptj7hcJSuhpqlYPGcnN3XjlOy/g0jinpRTMsbb40ivZHiuIPzeminOZkrek8C+oDxC54ILGO3vMLojg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@types/graceful-fs": "^4.1.3", @@ -16341,9 +14450,8 @@ }, "node_modules/jest-leak-detector": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.6.0.tgz", - "integrity": "sha512-JdV6EZOPxHR1gd6ccxjNowuROkT2jtGU5G/g58RcJX1xe5mrtLj0g6/ZkyMoXF4cs+tTkHMFX6pcIrB1QPQwCw==", "dev": true, + "license": "MIT", "dependencies": { "jest-get-type": "^29.4.3", "pretty-format": "^29.6.0" @@ -16354,9 +14462,8 @@ }, "node_modules/jest-matcher-utils": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.6.0.tgz", - "integrity": "sha512-oSlqfGN+sbkB2Q5um/zL7z80w84FEAcLKzXBZIPyRk2F2Srg1ubhrHVKW68JCvb2+xKzAeGw35b+6gciS24PHw==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "jest-diff": "^29.6.0", @@ -16369,9 +14476,8 @@ }, "node_modules/jest-message-util": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.6.0.tgz", - "integrity": "sha512-mkCp56cETbpoNtsaeWVy6SKzk228mMi9FPHSObaRIhbR2Ujw9PqjW/yqVHD2tN1bHbC8ol6h3UEo7dOPmIYwIA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.12.13", "@jest/types": "^29.6.0", @@ -16389,9 +14495,8 @@ }, "node_modules/jest-mock": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.6.0.tgz", - "integrity": "sha512-2Pb7R2w24Q0aUVn+2/vdRDL6CqGqpheDZy7zrXav8FotOpSGw/4bS2hyVoKHMEx4xzOn6EyCAGwc5czWxXeN7w==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@types/node": "*", @@ -16403,9 +14508,8 @@ }, "node_modules/jest-pnp-resolver": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -16420,18 +14524,16 @@ }, "node_modules/jest-regex-util": { "version": "29.4.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.4.3.tgz", - "integrity": "sha512-O4FglZaMmWXbGHSQInfXewIsd1LMn9p3ZXB/6r4FOkyhX2/iP/soMG98jGvk/A3HAN78+5VWcBGO0BJAPRh4kg==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-resolve": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.6.0.tgz", - "integrity": "sha512-+hrpY4LzAONoZA/rvB6rnZLkOSA6UgJLpdCWrOZNSgGxWMumzRLu7dLUSCabAHzoHIDQ9qXfr3th1zYNJ0E8sQ==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "graceful-fs": "^4.2.9", @@ -16449,9 +14551,8 @@ }, "node_modules/jest-resolve-dependencies": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.6.0.tgz", - "integrity": "sha512-eOfPog9K3hJdJk/3i6O6bQhXS+3uXhMDkLJGX+xmMPp7T1d/zdcFofbDnHgNoEkhD/mSimC5IagLEP7lpLLu/A==", "dev": true, + "license": "MIT", "dependencies": { "jest-regex-util": "^29.4.3", "jest-snapshot": "^29.6.0" @@ -16462,9 +14563,8 @@ }, "node_modules/jest-runner": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.6.0.tgz", - "integrity": "sha512-4fZuGV2lOxS2BiqEG9/AI8E6O+jo+QZjMVcgi1x5E6aDql0Gd/EFIbUQ0pSS09y8cya1vJB/qC2xsE468jqtSg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/console": "^29.6.0", "@jest/environment": "^29.6.0", @@ -16494,9 +14594,8 @@ }, "node_modules/jest-runtime": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.6.0.tgz", - "integrity": "sha512-5FavYo3EeXLHIvnJf+r7Cj0buePAbe4mzRB9oeVxDS0uVmouSBjWeGgyRjZkw7ArxOoZI8gO6f8SGMJ2HFlwwg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.6.0", "@jest/fake-timers": "^29.6.0", @@ -16527,9 +14626,8 @@ }, "node_modules/jest-runtime/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -16547,9 +14645,8 @@ }, "node_modules/jest-snapshot": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.6.0.tgz", - "integrity": "sha512-H3kUE9NwWDEDoutcOSS921IqdlkdjgnMdj1oMyxAHNflscdLc9dB8OudZHV6kj4OHJxbMxL8CdI5DlwYrs4wQg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", "@babel/generator": "^7.7.2", @@ -16579,9 +14676,8 @@ }, "node_modules/jest-sonar": { "version": "0.2.16", - "resolved": "https://registry.npmjs.org/jest-sonar/-/jest-sonar-0.2.16.tgz", - "integrity": "sha512-ES6Z9BbIVDELtbz+/b6pv41B2qOfp38cQpoCLqei21FtlkG/GzhyQ0M3egEIM+erpJOkpRKM8Tc8/YQtHdiTXA==", "dev": true, + "license": "MIT", "dependencies": { "entities": "4.3.0", "strip-ansi": "6.0.1" @@ -16589,9 +14685,8 @@ }, "node_modules/jest-util": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.6.0.tgz", - "integrity": "sha512-S0USx9YwcvEm4pQ5suisVm/RVxBmi0GFR7ocJhIeaCuW5AXnAnffXbaVKvIFodyZNOc9ygzVtTxmBf40HsHXaA==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@types/node": "*", @@ -16606,9 +14701,8 @@ }, "node_modules/jest-validate": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.6.0.tgz", - "integrity": "sha512-MLTrAJsb1+W7svbeZ+A7pAnyXMaQrjvPDKCy7OlfsfB6TMVc69v7WjUWfiR6r3snULFWZASiKgvNVDuATta1dg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "camelcase": "^6.2.0", @@ -16623,9 +14717,8 @@ }, "node_modules/jest-validate/node_modules/camelcase": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -16635,9 +14728,8 @@ }, "node_modules/jest-watcher": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.6.0.tgz", - "integrity": "sha512-LdsQqFNX60mRdRRe+zsELnYRH1yX6KL+ukbh+u6WSQeTheZZe1TlLJNKRQiZ7e0VbvMkywmMWL/KV35noOJCcw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/test-result": "^29.6.0", "@jest/types": "^29.6.0", @@ -16654,18 +14746,16 @@ }, "node_modules/jest-when": { "version": "3.5.2", - "resolved": "https://registry.npmjs.org/jest-when/-/jest-when-3.5.2.tgz", - "integrity": "sha512-4rDvnhaWh08RcPsoEVXgxRnUIE9wVIbZtGqZ5x2Wm9Ziz9aQs89PipQFmOK0ycbEhVAgiV3MUeTXp3Ar4s2FcQ==", "dev": true, + "license": "MIT", "peerDependencies": { "jest": ">= 25" } }, "node_modules/jest-worker": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.6.0.tgz", - "integrity": "sha512-oiQHH1SnKmZIwwPnpOrXTq4kHBk3lKGY/07DpnH0sAu+x7J8rXlbLDROZsU6vy9GwB0hPiZeZpu6YlJ48QoKcA==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*", "jest-util": "^29.6.0", @@ -16678,9 +14768,8 @@ }, "node_modules/jest-worker/node_modules/supports-color": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -16693,16 +14782,14 @@ }, "node_modules/jmespath": { "version": "0.16.0", - "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", - "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "license": "Apache-2.0", "engines": { "node": ">= 0.6.0" } }, "node_modules/joi": { "version": "17.9.2", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.9.2.tgz", - "integrity": "sha512-Itk/r+V4Dx0V3c7RLFdRh12IOjySm2/WGPMubBT92cQvRfYZhPM2W0hZlctjj72iES8jsRCwp7S/cRmWBnJ4nw==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0", "@hapi/topo": "^5.0.0", @@ -16713,18 +14800,15 @@ }, "node_modules/js-sha1": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/js-sha1/-/js-sha1-0.6.0.tgz", - "integrity": "sha512-01gwBFreYydzmU9BmZxpVk6svJJHrVxEN3IOiGl6VO93bVKYETJ0sIth6DASI6mIFdt7NmfX9UiByRzsYHGU9w==" + "license": "MIT" }, "node_modules/js-tokens": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "license": "MIT" }, "node_modules/js-yaml": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -16734,9 +14818,8 @@ }, "node_modules/jsesc": { "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true, + "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, @@ -16746,14 +14829,12 @@ }, "node_modules/json-buffer": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-diff": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/json-diff/-/json-diff-1.0.3.tgz", - "integrity": "sha512-W0yk/xzjz7bag9v9eS4qthvPG4O07uxNeXwirhvcOqmX4w8HLtB/Pw76o5Z7Pblwvf4vpCi4+iHOlHDnmav/rA==", + "license": "MIT", "dependencies": { "@ewoudenberg/difflib": "0.1.0", "colors": "^1.4.0", @@ -16768,45 +14849,38 @@ }, "node_modules/json-parse-better-errors": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + "license": "MIT" }, "node_modules/json-size": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-size/-/json-size-1.0.0.tgz", - "integrity": "sha512-sh8Ff4sNVI3FU1LjFXiNpcG9Er9bsn8WbeR79mGj4Ljd+/NBmxqYCV1sPzndUTGsWXa3LVUx3aLlZxpq1DzCBA==", + "license": "MIT", "dependencies": { "utf8-length": "0.0.1" } }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-stringify-safe": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/json5": { "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, + "license": "MIT", "bin": { "json5": "lib/cli.js" }, @@ -16816,23 +14890,20 @@ }, "node_modules/jsonata": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/jsonata/-/jsonata-2.0.3.tgz", - "integrity": "sha512-Up2H81MUtjqI/dWwWX7p4+bUMfMrQJVMN/jW6clFMTiYP528fBOBNtRu944QhKTs3+IsVWbgMeUTny5fw2VMUA==", + "license": "MIT", "engines": { "node": ">= 8" } }, "node_modules/jsonc-parser": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jsonfile": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, + "license": "MIT", "dependencies": { "universalify": "^2.0.0" }, @@ -16842,18 +14913,16 @@ }, "node_modules/jsonparse": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "dev": true, "engines": [ "node >= 0.2.0" - ] + ], + "license": "MIT" }, "node_modules/JSONStream": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", "dev": true, + "license": "(MIT OR Apache-2.0)", "dependencies": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" @@ -16867,16 +14936,14 @@ }, "node_modules/jsontoxml": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/jsontoxml/-/jsontoxml-1.0.1.tgz", - "integrity": "sha512-dtKGq0K8EWQBRqcAaePSgKR4Hyjfsz/LkurHSV3Cxk4H+h2fWDeaN2jzABz+ZmOJylgXS7FGeWmbZ6jgYUMdJQ==", + "license": "MIT", "engines": { "node": ">=0.2.0" } }, "node_modules/keygrip": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz", - "integrity": "sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==", + "license": "MIT", "dependencies": { "tsscmp": "1.0.6" }, @@ -16886,34 +14953,30 @@ }, "node_modules/keyv": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.0.0.tgz", - "integrity": "sha512-eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA==", "dev": true, + "license": "MIT", "dependencies": { "json-buffer": "3.0.0" } }, "node_modules/kind-of": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/kleur": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/koa": { "version": "2.14.1", - "resolved": "https://registry.npmjs.org/koa/-/koa-2.14.1.tgz", - "integrity": "sha512-USJFyZgi2l0wDgqkfD27gL4YGno7TfUkcmOe6UOLFOVuN+J7FwnNu4Dydl4CUQzraM1lBAiGed0M9OVJoT0Kqw==", + "license": "MIT", "dependencies": { "accepts": "^1.3.5", "cache-content-type": "^1.0.0", @@ -16945,8 +15008,7 @@ }, "node_modules/koa-bodyparser": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/koa-bodyparser/-/koa-bodyparser-4.4.0.tgz", - "integrity": "sha512-AXPY7wwKZUmbgb8VkTEUFoRNOlx6aWRJwEnQD+zfNf33/7KSAkN4Oo9BqlIk80D+5TvuqlhpQT5dPVcyxl5Zsw==", + "license": "MIT", "dependencies": { "co-body": "^6.0.0", "copy-to": "^2.0.1" @@ -16957,13 +15019,11 @@ }, "node_modules/koa-compose": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/koa-compose/-/koa-compose-4.1.0.tgz", - "integrity": "sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw==" + "license": "MIT" }, "node_modules/koa-convert": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/koa-convert/-/koa-convert-2.0.0.tgz", - "integrity": "sha512-asOvN6bFlSnxewce2e/DK3p4tltyfC4VM7ZwuTuepI7dEQVcvpyFuBcEARu1+Hxg8DIwytce2n7jrZtRlPrARA==", + "license": "MIT", "dependencies": { "co": "^4.6.0", "koa-compose": "^4.1.0" @@ -16974,8 +15034,7 @@ }, "node_modules/koa2-swagger-ui": { "version": "5.8.0", - "resolved": "https://registry.npmjs.org/koa2-swagger-ui/-/koa2-swagger-ui-5.8.0.tgz", - "integrity": "sha512-uVHh2hajX5Q/6+BkRrK0Rrf84Duc6dB73WIU1mb3cLfellMR1klAIYEX1p1bOsNjB97uqCwyn/cz3Sfi1/IxcQ==", + "license": "MIT", "dependencies": { "@types/koa": "^2.13.6", "handlebars": "^4.7.7", @@ -16985,32 +15044,28 @@ }, "node_modules/kuler": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + "license": "MIT" }, "node_modules/lazy-ass": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz", - "integrity": "sha512-cc8oEVoctTvsFZ/Oje/kGnHbpWHYBe8IAJe4C0QNc3t8uM/0Y8+erSz/7Y1ALuXTEZTMvxXwO6YbX1ey3ujiZw==", "dev": true, + "license": "MIT", "engines": { "node": "> 0.8" } }, "node_modules/leven": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/levn": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" @@ -17021,23 +15076,20 @@ }, "node_modules/lilconfig": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", - "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/lines-and-columns": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + "license": "MIT" }, "node_modules/lint-staged": { "version": "13.2.2", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-13.2.2.tgz", - "integrity": "sha512-71gSwXKy649VrSU09s10uAT0rWCcY3aewhMaHyl2N84oBk4Xs9HgxvUp3AYu+bNsK4NrOYYxvSgg7FyGJ+jGcA==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "5.2.0", "cli-truncate": "^3.1.0", @@ -17065,9 +15117,8 @@ }, "node_modules/lint-staged/node_modules/chalk": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", - "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -17077,9 +15128,8 @@ }, "node_modules/lint-staged/node_modules/execa": { "version": "7.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", - "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.1", @@ -17100,18 +15150,16 @@ }, "node_modules/lint-staged/node_modules/human-signals": { "version": "4.3.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", - "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=14.18.0" } }, "node_modules/lint-staged/node_modules/is-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -17121,9 +15169,8 @@ }, "node_modules/lint-staged/node_modules/mimic-fn": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -17133,9 +15180,8 @@ }, "node_modules/lint-staged/node_modules/npm-run-path": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^4.0.0" }, @@ -17148,18 +15194,16 @@ }, "node_modules/lint-staged/node_modules/object-inspect": { "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/lint-staged/node_modules/onetime": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", "dev": true, + "license": "MIT", "dependencies": { "mimic-fn": "^4.0.0" }, @@ -17172,9 +15216,8 @@ }, "node_modules/lint-staged/node_modules/path-key": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -17184,9 +15227,8 @@ }, "node_modules/lint-staged/node_modules/strip-final-newline": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -17196,9 +15238,8 @@ }, "node_modules/listr2": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-5.0.8.tgz", - "integrity": "sha512-mC73LitKHj9w6v30nLNGPetZIlfpUniNSsxxrbaPcWOjDb92SHPzJPi/t+v1YC/lxKz/AJ9egOjww0qUuFxBpA==", "dev": true, + "license": "MIT", "dependencies": { "cli-truncate": "^2.1.0", "colorette": "^2.0.19", @@ -17223,9 +15264,8 @@ }, "node_modules/listr2/node_modules/cli-truncate": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", - "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", "dev": true, + "license": "MIT", "dependencies": { "slice-ansi": "^3.0.0", "string-width": "^4.2.0" @@ -17239,18 +15279,16 @@ }, "node_modules/listr2/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/listr2/node_modules/slice-ansi": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", - "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", @@ -17262,9 +15300,8 @@ }, "node_modules/load-json-file": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^4.0.0", @@ -17277,9 +15314,8 @@ }, "node_modules/load-json-file/node_modules/parse-json": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", "dev": true, + "license": "MIT", "dependencies": { "error-ex": "^1.3.1", "json-parse-better-errors": "^1.0.1" @@ -17290,27 +15326,24 @@ }, "node_modules/load-json-file/node_modules/pify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/load-json-file/node_modules/strip-bom": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/locate-path": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^5.0.0" }, @@ -17323,96 +15356,80 @@ }, "node_modules/lodash": { "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "license": "MIT" }, "node_modules/lodash._reinterpolate": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.camelcase": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.defaults": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + "license": "MIT" }, "node_modules/lodash.isarguments": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==" + "license": "MIT" }, "node_modules/lodash.isfunction": { "version": "3.0.9", - "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz", - "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.ismatch": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", - "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.isplainobject": { "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.kebabcase": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", - "integrity": "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.map": { "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", - "integrity": "sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.memoize": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.mergewith": { "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", - "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.snakecase": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", - "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.startcase": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.startcase/-/lodash.startcase-4.4.0.tgz", - "integrity": "sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.template": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", - "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==", "dev": true, + "license": "MIT", "dependencies": { "lodash._reinterpolate": "^3.0.0", "lodash.templatesettings": "^4.0.0" @@ -17420,29 +15437,25 @@ }, "node_modules/lodash.templatesettings": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz", - "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==", "dev": true, + "license": "MIT", "dependencies": { "lodash._reinterpolate": "^3.0.0" } }, "node_modules/lodash.uniq": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==" + "license": "MIT" }, "node_modules/lodash.upperfirst": { "version": "4.3.1", - "resolved": "https://registry.npmjs.org/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz", - "integrity": "sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/log-symbols": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" @@ -17456,9 +15469,8 @@ }, "node_modules/log-update": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", - "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", "dev": true, + "license": "MIT", "dependencies": { "ansi-escapes": "^4.3.0", "cli-cursor": "^3.1.0", @@ -17474,18 +15486,16 @@ }, "node_modules/log-update/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/log-update/node_modules/slice-ansi": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", @@ -17500,9 +15510,8 @@ }, "node_modules/log-update/node_modules/wrap-ansi": { "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -17514,8 +15523,7 @@ }, "node_modules/logform": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.2.tgz", - "integrity": "sha512-W4c9himeAwXEdZ05dQNerhFz2XG80P9Oj0loPUMV23VC2it0orMHQhJm4hdnnor3rd1HsGf6a2lPwBM1zeXHGw==", + "license": "MIT", "dependencies": { "@colors/colors": "1.5.0", "fecha": "^4.2.0", @@ -17526,23 +15534,20 @@ }, "node_modules/long": { "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + "license": "Apache-2.0" }, "node_modules/longest": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/longest/-/longest-2.0.1.tgz", - "integrity": "sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/loud-rejection": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ==", "dev": true, + "license": "MIT", "dependencies": { "currently-unhandled": "^0.4.1", "signal-exit": "^3.0.0" @@ -17553,27 +15558,24 @@ }, "node_modules/lowercase-keys": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/lru-cache": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^3.0.2" } }, "node_modules/madge": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/madge/-/madge-6.1.0.tgz", - "integrity": "sha512-irWhT5RpFOc6lkzGHKLihonCVgM0YtfNUh4IrFeW3EqHpnt/JHUG3z26j8PeJEktCGB4tmGOOOJi1Rl/ACWucQ==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.1", "commander": "^7.2.0", @@ -17619,17 +15621,15 @@ }, "node_modules/madge/node_modules/commander": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 10" } }, "node_modules/make-dir": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "license": "MIT", "dependencies": { "semver": "^6.0.0" }, @@ -17642,32 +15642,28 @@ }, "node_modules/make-dir/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/make-error": { "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/makeerror": { "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "tmpl": "1.0.5" } }, "node_modules/map-obj": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -17677,13 +15673,11 @@ }, "node_modules/match-json": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/match-json/-/match-json-1.3.5.tgz", - "integrity": "sha512-V5Jw1rIdjt37vfQRqvKtXW4dKbSTpvgwyEPKOBikY90xQ5Wr5yOmfpjcTm12d0Kqq+TfMqlXJkETf4yOF9JhUw==" + "license": "MIT" }, "node_modules/md5": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", - "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", + "license": "BSD-3-Clause", "dependencies": { "charenc": "0.0.2", "crypt": "0.0.2", @@ -17692,17 +15686,15 @@ }, "node_modules/media-typer": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/meow": { "version": "8.1.2", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, + "license": "MIT", "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -17725,9 +15717,8 @@ }, "node_modules/meow/node_modules/type-fest": { "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -17737,38 +15728,33 @@ }, "node_modules/merge": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/merge/-/merge-2.1.1.tgz", - "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/merge-stream": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/merge2": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 8" } }, "node_modules/methods": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/micromatch": { "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dev": true, + "license": "MIT", "dependencies": { "braces": "^3.0.2", "picomatch": "^2.3.1" @@ -17779,9 +15765,8 @@ }, "node_modules/mime": { "version": "2.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", - "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", "dev": true, + "license": "MIT", "bin": { "mime": "cli.js" }, @@ -17791,16 +15776,14 @@ }, "node_modules/mime-db": { "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -17810,35 +15793,31 @@ }, "node_modules/mimic-fn": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/mimic-response": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/min-indent": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -17848,14 +15827,12 @@ }, "node_modules/minimist": { "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "license": "MIT" }, "node_modules/minimist-options": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", "dev": true, + "license": "MIT", "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", @@ -17867,17 +15844,15 @@ }, "node_modules/minipass": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", - "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", "dev": true, + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } }, "node_modules/minizlib": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "license": "MIT", "dependencies": { "minipass": "^3.0.0", "yallist": "^4.0.0" @@ -17888,8 +15863,7 @@ }, "node_modules/minizlib/node_modules/minipass": { "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -17899,13 +15873,11 @@ }, "node_modules/minizlib/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "license": "ISC" }, "node_modules/mkdirp": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" }, @@ -17915,9 +15887,8 @@ }, "node_modules/mocked-env": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/mocked-env/-/mocked-env-1.3.5.tgz", - "integrity": "sha512-GyYY6ynVOdEoRlaGpaq8UYwdWkvrsU2xRme9B+WPSuJcNjh17+3QIxSYU6zwee0SbehhV6f06VZ4ahjG+9zdrA==", "dev": true, + "license": "MIT", "dependencies": { "check-more-types": "2.24.0", "debug": "4.3.2", @@ -17930,9 +15901,8 @@ }, "node_modules/mocked-env/node_modules/debug": { "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -17947,8 +15917,7 @@ }, "node_modules/modclean": { "version": "3.0.0-beta.1", - "resolved": "https://registry.npmjs.org/modclean/-/modclean-3.0.0-beta.1.tgz", - "integrity": "sha512-NyJpuqXMUI190sZePU+dBcwlGaqhfFC+UL5WyNSxmNLOHATg9cVSgRpbY+mUbwUj7t5trb4vYscgXArKevYsdA==", + "license": "MIT", "dependencies": { "await-handler": "^1.1.0", "chalk": "^2.4.1", @@ -17976,16 +15945,14 @@ }, "node_modules/modclean/node_modules/ansi-regex": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", - "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/modclean/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -17995,8 +15962,7 @@ }, "node_modules/modclean/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -18008,8 +15974,7 @@ }, "node_modules/modclean/node_modules/cli-cursor": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", + "license": "MIT", "dependencies": { "restore-cursor": "^2.0.0" }, @@ -18019,34 +15984,29 @@ }, "node_modules/modclean/node_modules/cli-spinners": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-1.3.1.tgz", - "integrity": "sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/modclean/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/modclean/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "license": "MIT" }, "node_modules/modclean/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + "license": "MIT" }, "node_modules/modclean/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -18064,16 +16024,14 @@ }, "node_modules/modclean/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/modclean/node_modules/log-symbols": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", - "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "license": "MIT", "dependencies": { "chalk": "^2.0.1" }, @@ -18083,16 +16041,14 @@ }, "node_modules/modclean/node_modules/mimic-fn": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/modclean/node_modules/onetime": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", + "license": "MIT", "dependencies": { "mimic-fn": "^1.0.0" }, @@ -18102,8 +16058,7 @@ }, "node_modules/modclean/node_modules/ora": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-2.1.0.tgz", - "integrity": "sha512-hNNlAd3gfv/iPmsNxYoAPLvxg7HuPozww7fFonMZvL84tP6Ox5igfk5j/+a9rtJJwqMgKK+JgWsAQik5o0HTLA==", + "license": "MIT", "dependencies": { "chalk": "^2.3.1", "cli-cursor": "^2.1.0", @@ -18118,8 +16073,7 @@ }, "node_modules/modclean/node_modules/restore-cursor": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", + "license": "MIT", "dependencies": { "onetime": "^2.0.0", "signal-exit": "^3.0.2" @@ -18130,8 +16084,7 @@ }, "node_modules/modclean/node_modules/rimraf": { "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -18141,8 +16094,7 @@ }, "node_modules/modclean/node_modules/strip-ansi": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", + "license": "MIT", "dependencies": { "ansi-regex": "^3.0.0" }, @@ -18152,8 +16104,7 @@ }, "node_modules/modclean/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -18163,18 +16114,16 @@ }, "node_modules/modify-values": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/module-definition": { "version": "3.4.0", - "resolved": "https://registry.npmjs.org/module-definition/-/module-definition-3.4.0.tgz", - "integrity": "sha512-XxJ88R1v458pifaSkPNLUTdSPNVGMP2SXVncVmApGO+gAfrLANiYe6JofymCzVceGOMwQE2xogxBSc8uB7XegA==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^3.0.0", "node-source-walk": "^4.0.0" @@ -18188,9 +16137,8 @@ }, "node_modules/module-lookup-amd": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/module-lookup-amd/-/module-lookup-amd-7.0.1.tgz", - "integrity": "sha512-w9mCNlj0S8qviuHzpakaLVc+/7q50jl9a/kmJ/n8bmXQZgDPkQHnPBb8MUOYh3WpAYkXuNc2c+khsozhIp/amQ==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.8.1", "debug": "^4.1.0", @@ -18207,15 +16155,13 @@ }, "node_modules/module-lookup-amd/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/module-lookup-amd/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -18233,16 +16179,14 @@ }, "node_modules/moment": { "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "license": "MIT", "engines": { "node": "*" } }, "node_modules/moment-timezone": { "version": "0.5.43", - "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.43.tgz", - "integrity": "sha512-72j3aNyuIsDxdF1i7CEgV2FfxM1r6aaqJyLB2vwb33mXYyoyLly+F1zbWqhA3/bVIoJ4szlUoMbUnVdid32NUQ==", + "license": "MIT", "dependencies": { "moment": "^2.29.4" }, @@ -18252,25 +16196,21 @@ }, "node_modules/ms": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "license": "MIT" }, "node_modules/mute-stream": { "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/nan": { "version": "2.17.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz", - "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==" + "license": "MIT" }, "node_modules/nanoid": { "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "dev": true, + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -18280,33 +16220,28 @@ }, "node_modules/natural-compare": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/natural-compare-lite": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/negotiator": { "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/neo-async": { "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + "license": "MIT" }, "node_modules/node-cache": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/node-cache/-/node-cache-5.1.2.tgz", - "integrity": "sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==", + "license": "MIT", "dependencies": { "clone": "2.x" }, @@ -18316,8 +16251,7 @@ }, "node_modules/node-fetch": { "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -18335,18 +16269,15 @@ }, "node_modules/node-fetch/node_modules/tr46": { "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "license": "MIT" }, "node_modules/node-fetch/node_modules/webidl-conversions": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "license": "BSD-2-Clause" }, "node_modules/node-fetch/node_modules/whatwg-url": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -18354,8 +16285,7 @@ }, "node_modules/node-gyp-build": { "version": "3.9.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.9.0.tgz", - "integrity": "sha512-zLcTg6P4AbcHPq465ZMFNXx7XpKKJh+7kkN699NiQWisR2uWYOWNWqRHAmbnmKiL4e9aLSlmy5U7rEMUXV59+A==", + "license": "MIT", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -18364,15 +16294,13 @@ }, "node_modules/node-int64": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/node-notifier": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-10.0.1.tgz", - "integrity": "sha512-YX7TSyDukOZ0g+gmzjB6abKu+hTGvO8+8+gIFDsRCU2t8fLV/P2unmt+LGFaIa4y64aX98Qksa97rgz4vMNeLQ==", "dev": true, + "license": "MIT", "dependencies": { "growly": "^1.3.0", "is-wsl": "^2.2.0", @@ -18384,24 +16312,21 @@ }, "node_modules/node-notifier/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "dev": true, + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/node-releases": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", - "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/node-source-walk": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-4.3.0.tgz", - "integrity": "sha512-8Q1hXew6ETzqKRAs3jjLioSxNfT1cx74ooiF8RlAONwVMcfq+UdzLC2eB5qcPldUxaE5w3ytLkrmV1TGddhZTA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -18411,8 +16336,7 @@ }, "node_modules/nopt": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "license": "ISC", "dependencies": { "abbrev": "1" }, @@ -18425,9 +16349,8 @@ }, "node_modules/normalize-package-data": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", @@ -18440,18 +16363,16 @@ }, "node_modules/normalize-path": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/normalize-url": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz", - "integrity": "sha512-D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw==", "dev": true, + "license": "MIT", "dependencies": { "prepend-http": "^2.0.0", "query-string": "^5.0.1", @@ -18463,9 +16384,8 @@ }, "node_modules/npm-run-path": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.0.0" }, @@ -18475,8 +16395,7 @@ }, "node_modules/npmlog": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", + "license": "ISC", "dependencies": { "are-we-there-yet": "^2.0.0", "console-control-strings": "^1.1.0", @@ -18486,63 +16405,54 @@ }, "node_modules/number-is-nan": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/oauth-1.0a": { "version": "2.2.6", - "resolved": "https://registry.npmjs.org/oauth-1.0a/-/oauth-1.0a-2.2.6.tgz", - "integrity": "sha512-6bkxv3N4Gu5lty4viIcIAnq5GbxECviMBeKR3WX/q87SPQ8E8aursPZUtsXDnxCs787af09WPRBLqYrf/lwoYQ==" + "license": "MIT" }, "node_modules/object-assign": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/object-hash": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "license": "MIT", "engines": { "node": ">= 6" } }, "node_modules/object-inspect": { "version": "1.12.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/object-keys": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" } }, "node_modules/object-sizeof": { "version": "2.6.3", - "resolved": "https://registry.npmjs.org/object-sizeof/-/object-sizeof-2.6.3.tgz", - "integrity": "sha512-GNkVRrLh11Qr5BGr73dwwPE200/78QG2rbx30cnXPnMvt7UuttH4Dup5t+LtcQhARkg8Hbr0c8Kiz52+CFxYmw==", + "license": "MIT", "dependencies": { "buffer": "^6.0.3" } }, "node_modules/object-sizeof/node_modules/buffer": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", "funding": [ { "type": "github", @@ -18557,6 +16467,7 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" @@ -18564,9 +16475,8 @@ }, "node_modules/object.assign": { "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -18582,9 +16492,8 @@ }, "node_modules/object.entries": { "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", - "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -18596,9 +16505,8 @@ }, "node_modules/object.values": { "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -18613,8 +16521,7 @@ }, "node_modules/on-finished": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", "dependencies": { "ee-first": "1.1.1" }, @@ -18624,25 +16531,22 @@ }, "node_modules/once": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", "dependencies": { "wrappy": "1" } }, "node_modules/one-time": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "license": "MIT", "dependencies": { "fn.name": "1.x.x" } }, "node_modules/onetime": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "dev": true, + "license": "MIT", "dependencies": { "mimic-fn": "^2.1.0" }, @@ -18654,22 +16558,18 @@ } }, "node_modules/only": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/only/-/only-0.0.2.tgz", - "integrity": "sha512-Fvw+Jemq5fjjyWz6CpKx6w9s7xxqo3+JCyM0WXWeCSOboZ8ABkyvP8ID4CZuChA/wxSx+XSJmdOm8rGVyJ1hdQ==" + "version": "0.0.2" }, "node_modules/openapi-types": { "version": "12.1.3", - "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", - "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==", "dev": true, + "license": "MIT", "peer": true }, "node_modules/optionator": { "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "dev": true, + "license": "MIT", "dependencies": { "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", @@ -18684,9 +16584,8 @@ }, "node_modules/ora": { "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", "dev": true, + "license": "MIT", "dependencies": { "bl": "^4.1.0", "chalk": "^4.1.0", @@ -18707,44 +16606,39 @@ }, "node_modules/os-tmpdir": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/p-cancelable": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.4.1.tgz", - "integrity": "sha512-HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/p-finally": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/p-is-promise": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz", - "integrity": "sha512-zL7VE4JVS2IFSkR2GQKDSPEVxkoH43/p7oEnwpdCndKYJO0HVeRB7fA8TJwuLOTBREtK0ea8eHaxdwcpob5dmg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/p-limit": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -18757,9 +16651,8 @@ }, "node_modules/p-locate": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^3.0.2" }, @@ -18772,9 +16665,8 @@ }, "node_modules/p-map": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, + "license": "MIT", "dependencies": { "aggregate-error": "^3.0.0" }, @@ -18787,9 +16679,8 @@ }, "node_modules/p-timeout": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-2.0.1.tgz", - "integrity": "sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA==", "dev": true, + "license": "MIT", "dependencies": { "p-finally": "^1.0.0" }, @@ -18799,17 +16690,15 @@ }, "node_modules/p-try": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/p-wait-for": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-wait-for/-/p-wait-for-3.2.0.tgz", - "integrity": "sha512-wpgERjNkLrBiFmkMEjuZJEWKKDrNfHCKA1OhyN1wg1FrLkULbviEy6py1AyJUgZ72YWFbZ38FIpnqvVqAlDUwA==", "dev": true, + "license": "MIT", "dependencies": { "p-timeout": "^3.0.0" }, @@ -18822,9 +16711,8 @@ }, "node_modules/p-wait-for/node_modules/p-timeout": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", "dev": true, + "license": "MIT", "dependencies": { "p-finally": "^1.0.0" }, @@ -18834,9 +16722,8 @@ }, "node_modules/parent-module": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, + "license": "MIT", "dependencies": { "callsites": "^3.0.0" }, @@ -18846,14 +16733,12 @@ }, "node_modules/parse-github-repo-url": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz", - "integrity": "sha512-bSWyzBKqcSL4RrncTpGsEKoJ7H8a4L3++ifTAbTFeMHyq2wRV+42DGmQcHIrJIvdcacjIOxEuKH/w4tthF17gg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/parse-json": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -18869,70 +16754,61 @@ }, "node_modules/parse-ms": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz", - "integrity": "sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/parse-passwd": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/parse-static-imports": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/parse-static-imports/-/parse-static-imports-1.1.0.tgz", - "integrity": "sha512-HlxrZcISCblEV0lzXmAHheH/8qEkKgmqkdxyHTPbSqsTUV8GzqmN1L+SSti+VbNPfbBO3bYLPHDiUs2avbAdbA==" + "license": "MIT" }, "node_modules/parseurl": { "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/path-exists": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/path-is-absolute": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/path-key": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/path-parse": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + "license": "MIT" }, "node_modules/path-scurry": { "version": "1.10.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", - "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^9.1.1 || ^10.0.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" @@ -18946,38 +16822,33 @@ }, "node_modules/path-scurry/node_modules/lru-cache": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", - "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==", "dev": true, + "license": "ISC", "engines": { "node": "14 || >=16.14" } }, "node_modules/path-to-regexp": { "version": "6.2.1", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", - "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==" + "license": "MIT" }, "node_modules/path-type": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/picocolors": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -18987,9 +16858,8 @@ }, "node_modules/pidtree": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", - "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", "dev": true, + "license": "MIT", "bin": { "pidtree": "bin/pidtree.js" }, @@ -18999,8 +16869,7 @@ }, "node_modules/pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -19010,18 +16879,16 @@ }, "node_modules/pinkie": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/pinkie-promise": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", "dev": true, + "license": "MIT", "dependencies": { "pinkie": "^2.0.0" }, @@ -19031,18 +16898,16 @@ }, "node_modules/pirates": { "version": "4.0.5", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", - "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 6" } }, "node_modules/pkg-dir": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^4.0.0" }, @@ -19052,9 +16917,8 @@ }, "node_modules/pkg-dir/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -19065,9 +16929,8 @@ }, "node_modules/pkg-dir/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -19077,9 +16940,8 @@ }, "node_modules/pkg-dir/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -19092,9 +16954,8 @@ }, "node_modules/pkg-dir/node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -19104,17 +16965,14 @@ }, "node_modules/pluralize": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", - "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/postcss": { "version": "8.4.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", - "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", "dev": true, "funding": [ { @@ -19126,6 +16984,7 @@ "url": "https://tidelift.com/funding/github/npm/postcss" } ], + "license": "MIT", "dependencies": { "nanoid": "^3.3.4", "picocolors": "^1.0.0", @@ -19137,9 +16996,8 @@ }, "node_modules/postcss-values-parser": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/postcss-values-parser/-/postcss-values-parser-6.0.2.tgz", - "integrity": "sha512-YLJpK0N1brcNJrs9WatuJFtHaV9q5aAOj+S4DI5S7jgHlRfm0PIbDCAFRYMQD5SHq7Fy6xsDhyutgS0QOAs0qw==", "dev": true, + "license": "MPL-2.0", "dependencies": { "color-name": "^1.1.4", "is-url-superb": "^4.0.0", @@ -19154,9 +17012,8 @@ }, "node_modules/pprof": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/pprof/-/pprof-3.2.1.tgz", - "integrity": "sha512-KnextTM3EHQ2zqN8fUjB0VpE+njcVR7cOfo7DjJSLKzIbKTPelDtokI04ScR/Vd8CLDj+M99tsaKV+K6FHzpzA==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "@mapbox/node-pre-gyp": "^1.0.0", "bindings": "^1.2.1", @@ -19175,22 +17032,19 @@ }, "node_modules/pprof-format": { "version": "2.0.7", - "resolved": "https://registry.npmjs.org/pprof-format/-/pprof-format-2.0.7.tgz", - "integrity": "sha512-1qWaGAzwMpaXJP9opRa23nPnt2Egi7RMNoNBptEE/XwHbcn4fC2b/4U4bKc5arkGkIh2ZabpF2bEb+c5GNHEKA==" + "license": "MIT" }, "node_modules/pprof/node_modules/source-map": { "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "license": "BSD-3-Clause", "engines": { "node": ">= 8" } }, "node_modules/precinct": { "version": "8.3.1", - "resolved": "https://registry.npmjs.org/precinct/-/precinct-8.3.1.tgz", - "integrity": "sha512-pVppfMWLp2wF68rwHqBIpPBYY8Kd12lDhk8LVQzOwqllifVR15qNFyod43YLyFpurKRZQKnE7E4pofAagDOm2Q==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.20.3", "debug": "^4.3.3", @@ -19215,9 +17069,8 @@ }, "node_modules/precinct/node_modules/@typescript-eslint/types": { "version": "4.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.33.0.tgz", - "integrity": "sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==", "dev": true, + "license": "MIT", "engines": { "node": "^8.10.0 || ^10.13.0 || >=11.10.1" }, @@ -19228,9 +17081,8 @@ }, "node_modules/precinct/node_modules/@typescript-eslint/typescript-estree": { "version": "4.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz", - "integrity": "sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/types": "4.33.0", "@typescript-eslint/visitor-keys": "4.33.0", @@ -19255,9 +17107,8 @@ }, "node_modules/precinct/node_modules/@typescript-eslint/visitor-keys": { "version": "4.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz", - "integrity": "sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "4.33.0", "eslint-visitor-keys": "^2.0.0" @@ -19272,15 +17123,13 @@ }, "node_modules/precinct/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/precinct/node_modules/detective-amd": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-3.1.2.tgz", - "integrity": "sha512-jffU26dyqJ37JHR/o44La6CxtrDf3Rt9tvd2IbImJYxWKTMdBjctp37qoZ6ZcY80RHg+kzWz4bXn39e4P7cctQ==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^3.0.0", "escodegen": "^2.0.0", @@ -19296,9 +17145,8 @@ }, "node_modules/precinct/node_modules/detective-cjs": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/detective-cjs/-/detective-cjs-3.1.3.tgz", - "integrity": "sha512-ljs7P0Yj9MK64B7G0eNl0ThWSYjhAaSYy+fQcpzaKalYl/UoQBOzOeLCSFEY1qEBhziZ3w7l46KG/nH+s+L7BQ==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^3.0.0", "node-source-walk": "^4.0.0" @@ -19309,9 +17157,8 @@ }, "node_modules/precinct/node_modules/detective-es6": { "version": "2.2.2", - "resolved": "https://registry.npmjs.org/detective-es6/-/detective-es6-2.2.2.tgz", - "integrity": "sha512-eZUKCUsbHm8xoeoCM0z6JFwvDfJ5Ww5HANo+jPR7AzkFpW9Mun3t/TqIF2jjeWa2TFbAiGaWESykf2OQp3oeMw==", "dev": true, + "license": "MIT", "dependencies": { "node-source-walk": "^4.0.0" }, @@ -19321,9 +17168,8 @@ }, "node_modules/precinct/node_modules/detective-postcss": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/detective-postcss/-/detective-postcss-4.0.0.tgz", - "integrity": "sha512-Fwc/g9VcrowODIAeKRWZfVA/EufxYL7XfuqJQFroBKGikKX83d2G7NFw6kDlSYGG3LNQIyVa+eWv1mqre+v4+A==", "dev": true, + "license": "Apache-2.0", "dependencies": { "debug": "^4.1.1", "is-url": "^1.2.4", @@ -19336,9 +17182,8 @@ }, "node_modules/precinct/node_modules/detective-sass": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/detective-sass/-/detective-sass-3.0.2.tgz", - "integrity": "sha512-DNVYbaSlmti/eztFGSfBw4nZvwsTaVXEQ4NsT/uFckxhJrNRFUh24d76KzoCC3aarvpZP9m8sC2L1XbLej4F7g==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^4.0.0" @@ -19349,9 +17194,8 @@ }, "node_modules/precinct/node_modules/detective-scss": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/detective-scss/-/detective-scss-2.0.2.tgz", - "integrity": "sha512-hDWnWh/l0tht/7JQltumpVea/inmkBaanJUcXRB9kEEXVwVUMuZd6z7eusQ6GcBFrfifu3pX/XPyD7StjbAiBg==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^4.0.0" @@ -19362,15 +17206,13 @@ }, "node_modules/precinct/node_modules/detective-stylus": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-1.0.3.tgz", - "integrity": "sha512-4/bfIU5kqjwugymoxLXXLltzQNeQfxGoLm2eIaqtnkWxqbhap9puDVpJPVDx96hnptdERzS5Cy6p9N8/08A69Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/precinct/node_modules/detective-typescript": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-7.0.2.tgz", - "integrity": "sha512-unqovnhxzvkCz3m1/W4QW4qGsvXCU06aU2BAm8tkza+xLnp9SOFnob2QsTxUv5PdnQKfDvWcv9YeOeFckWejwA==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/typescript-estree": "^4.33.0", "ast-module-types": "^2.7.1", @@ -19383,24 +17225,21 @@ }, "node_modules/precinct/node_modules/detective-typescript/node_modules/ast-module-types": { "version": "2.7.1", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-2.7.1.tgz", - "integrity": "sha512-Rnnx/4Dus6fn7fTqdeLEAn5vUll5w7/vts0RN608yFa6si/rDOUonlIIiwugHBFWjylHjxm9owoSZn71KwG4gw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/precinct/node_modules/eslint-visitor-keys": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=10" } }, "node_modules/precinct/node_modules/get-amd-module-type": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/get-amd-module-type/-/get-amd-module-type-3.0.2.tgz", - "integrity": "sha512-PcuKwB8ouJnKuAPn6Hk3UtdfKoUV3zXRqVEvj8XGIXqjWfgd1j7QGdXy5Z9OdQfzVt1Sk29HVe/P+X74ccOuqw==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^3.0.0", "node-source-walk": "^4.2.2" @@ -19411,9 +17250,8 @@ }, "node_modules/precinct/node_modules/postcss-values-parser": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/postcss-values-parser/-/postcss-values-parser-2.0.1.tgz", - "integrity": "sha512-2tLuBsA6P4rYTNKCXYG/71C7j1pU6pK503suYOmn4xYrQIzW+opD+7FAFNuGSdZC/3Qfy334QbeMu7MEb8gOxg==", "dev": true, + "license": "MIT", "dependencies": { "flatten": "^1.0.2", "indexes-of": "^1.0.1", @@ -19425,9 +17263,8 @@ }, "node_modules/precinct/node_modules/typescript": { "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -19438,27 +17275,24 @@ }, "node_modules/prelude-ls": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/prepend-http": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/prettier": { "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin-prettier.js" }, @@ -19471,9 +17305,8 @@ }, "node_modules/pretty-bytes": { "version": "5.6.0", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", - "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -19483,9 +17316,8 @@ }, "node_modules/pretty-format": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.6.0.tgz", - "integrity": "sha512-XH+D4n7Ey0iSR6PdAnBs99cWMZdGsdKrR33iUHQNr79w1szKTCIZDVdXuccAsHVwDBp0XeWPfNEoaxP9EZgRmQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.0", "ansi-styles": "^5.0.0", @@ -19497,9 +17329,8 @@ }, "node_modules/pretty-format/node_modules/ansi-styles": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -19509,15 +17340,13 @@ }, "node_modules/pretty-format/node_modules/react-is": { "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/pretty-ms": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-7.0.1.tgz", - "integrity": "sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==", "dev": true, + "license": "MIT", "dependencies": { "parse-ms": "^2.1.0" }, @@ -19530,22 +17359,19 @@ }, "node_modules/process-nextick-args": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/progress": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/prom-client": { "version": "14.2.0", - "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-14.2.0.tgz", - "integrity": "sha512-sF308EhTenb/pDRPakm+WgiN+VdM/T1RaHj1x+MvAuT8UiQP8JmOEbxVqtkbfR4LrvOg5n7ic01kRBDGXjYikA==", + "license": "Apache-2.0", "dependencies": { "tdigest": "^0.1.1" }, @@ -19555,9 +17381,8 @@ }, "node_modules/prompts": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", "dev": true, + "license": "MIT", "dependencies": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" @@ -19568,9 +17393,8 @@ }, "node_modules/protobufjs": { "version": "7.2.5", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz", - "integrity": "sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==", "hasInstallScript": true, + "license": "BSD-3-Clause", "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -19591,13 +17415,11 @@ }, "node_modules/proxy-from-env": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + "license": "MIT" }, "node_modules/pump": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -19605,16 +17427,13 @@ }, "node_modules/punycode": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/pure-rand": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.2.tgz", - "integrity": "sha512-6Yg0ekpKICSjPswYOuC5sku/TSWaRYlA0qsXqJgM/d/4pLPHPuTxK7Nbf7jFKzAeedUhR8C7K9Uv63FBsSo8xQ==", "dev": true, "funding": [ { @@ -19625,13 +17444,13 @@ "type": "opencollective", "url": "https://opencollective.com/fast-check" } - ] + ], + "license": "MIT" }, "node_modules/q": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.6.0", "teleport": ">=0.2.0" @@ -19639,8 +17458,7 @@ }, "node_modules/qs": { "version": "6.11.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.1.tgz", - "integrity": "sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==", + "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.0.4" }, @@ -19653,9 +17471,8 @@ }, "node_modules/query-string": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", - "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==", "dev": true, + "license": "MIT", "dependencies": { "decode-uri-component": "^0.2.0", "object-assign": "^4.1.0", @@ -19667,17 +17484,12 @@ }, "node_modules/querystring": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", "engines": { "node": ">=0.4.x" } }, "node_modules/queue-microtask": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dev": true, "funding": [ { @@ -19692,33 +17504,30 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/quick-lru": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/quote-unquote": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/quote-unquote/-/quote-unquote-1.0.0.tgz", - "integrity": "sha512-twwRO/ilhlG/FIgYeKGFqyHhoEhqgnKVkcmqMKi2r524gz3ZbDTcyFt38E9xjJI2vT+KbRNHVbnJ/e0I25Azwg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/ramda": { "version": "0.27.1", - "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.27.1.tgz", - "integrity": "sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/raw-body": { "version": "2.5.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", - "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "license": "MIT", "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", @@ -19731,8 +17540,7 @@ }, "node_modules/raw-body/node_modules/http-errors": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", @@ -19746,17 +17554,15 @@ }, "node_modules/raw-body/node_modules/statuses": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/rc": { "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "dev": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", "dependencies": { "deep-extend": "^0.6.0", "ini": "~1.3.0", @@ -19769,17 +17575,15 @@ }, "node_modules/rc/node_modules/strip-json-comments": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/read-pkg": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "license": "MIT", "dependencies": { "@types/normalize-package-data": "^2.4.0", "normalize-package-data": "^2.5.0", @@ -19792,8 +17596,7 @@ }, "node_modules/read-pkg-up": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "license": "MIT", "dependencies": { "find-up": "^4.1.0", "read-pkg": "^5.2.0", @@ -19808,8 +17611,7 @@ }, "node_modules/read-pkg-up/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -19820,8 +17622,7 @@ }, "node_modules/read-pkg-up/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -19831,8 +17632,7 @@ }, "node_modules/read-pkg-up/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -19845,8 +17645,7 @@ }, "node_modules/read-pkg-up/node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -19856,13 +17655,11 @@ }, "node_modules/read-pkg/node_modules/hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + "license": "ISC" }, "node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -19872,25 +17669,22 @@ }, "node_modules/read-pkg/node_modules/semver": { "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/read-pkg/node_modules/type-fest": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/readable-stream": { "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "dev": true, + "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -19903,15 +17697,13 @@ }, "node_modules/readable-stream/node_modules/safe-buffer": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/redent": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", "dev": true, + "license": "MIT", "dependencies": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" @@ -19922,16 +17714,14 @@ }, "node_modules/redis-errors": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/redis-parser": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "license": "MIT", "dependencies": { "redis-errors": "^1.0.0" }, @@ -19941,23 +17731,20 @@ }, "node_modules/regenerator-runtime": { "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + "license": "MIT" }, "node_modules/regexp-tree": { "version": "0.1.24", - "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.24.tgz", - "integrity": "sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==", "dev": true, + "license": "MIT", "bin": { "regexp-tree": "bin/regexp-tree" } }, "node_modules/regexp.prototype.flags": { "version": "1.4.3", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", - "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", @@ -19972,9 +17759,8 @@ }, "node_modules/regjsparser": { "version": "0.9.1", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", - "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "jsesc": "~0.5.0" }, @@ -19984,8 +17770,6 @@ }, "node_modules/regjsparser/node_modules/jsesc": { "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", "dev": true, "bin": { "jsesc": "bin/jsesc" @@ -19993,9 +17777,8 @@ }, "node_modules/repeating": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A==", "dev": true, + "license": "MIT", "dependencies": { "is-finite": "^1.0.0" }, @@ -20005,32 +17788,28 @@ }, "node_modules/require-directory": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/require-from-string": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/require-main-filename": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/requirejs": { "version": "2.3.6", - "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.6.tgz", - "integrity": "sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==", "dev": true, + "license": "MIT", "bin": { "r_js": "bin/r.js", "r.js": "bin/r.js" @@ -20041,9 +17820,8 @@ }, "node_modules/requirejs-config-file": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/requirejs-config-file/-/requirejs-config-file-4.0.0.tgz", - "integrity": "sha512-jnIre8cbWOyvr8a5F2KuqBnY+SDA4NXr/hzEZJG79Mxm2WiFQz2dzhC8ibtPJS7zkmBEl1mxSwp5HhC1W4qpxw==", "dev": true, + "license": "MIT", "dependencies": { "esprima": "^4.0.0", "stringify-object": "^3.2.1" @@ -20054,8 +17832,7 @@ }, "node_modules/resolve": { "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "license": "MIT", "dependencies": { "is-core-module": "^2.9.0", "path-parse": "^1.0.7", @@ -20070,9 +17847,8 @@ }, "node_modules/resolve-cwd": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, + "license": "MIT", "dependencies": { "resolve-from": "^5.0.0" }, @@ -20082,18 +17858,16 @@ }, "node_modules/resolve-dependency-path": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-dependency-path/-/resolve-dependency-path-2.0.0.tgz", - "integrity": "sha512-DIgu+0Dv+6v2XwRaNWnumKu7GPufBBOr5I1gRPJHkvghrfCGOooJODFvgFimX/KRxk9j0whD2MnKHzM1jYvk9w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/resolve-dir": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", - "integrity": "sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==", "dev": true, + "license": "MIT", "dependencies": { "expand-tilde": "^2.0.0", "global-modules": "^1.0.0" @@ -20104,18 +17878,16 @@ }, "node_modules/resolve-from": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/resolve-global": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-1.0.0.tgz", - "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==", "dev": true, + "license": "MIT", "dependencies": { "global-dirs": "^0.1.1" }, @@ -20125,27 +17897,24 @@ }, "node_modules/resolve.exports": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", - "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/responselike": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==", "dev": true, + "license": "MIT", "dependencies": { "lowercase-keys": "^1.0.0" } }, "node_modules/restore-cursor": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", "dev": true, + "license": "MIT", "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" @@ -20156,9 +17925,8 @@ }, "node_modules/reusify": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true, + "license": "MIT", "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" @@ -20166,23 +17934,20 @@ }, "node_modules/rfdc": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", - "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/right-pad": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz", - "integrity": "sha512-bYBjgxmkvTAfgIYy328fmkwhp39v8lwVgWhhrzxPV3yHtcSqyYKe9/XOhvW48UFjATg3VuJbpsp5822ACNvkmw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.10" } }, "node_modules/rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -20195,8 +17960,7 @@ }, "node_modules/rimraf/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -20214,9 +17978,8 @@ }, "node_modules/roarr": { "version": "7.15.0", - "resolved": "https://registry.npmjs.org/roarr/-/roarr-7.15.0.tgz", - "integrity": "sha512-CV9WefQfUXTX6wr8CrEMhfNef3sjIt9wNhE/5PNu4tNWsaoDNDXqq+OGn/RW9A1UPb0qc7FQlswXRaJJJsqn8A==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "boolean": "^3.1.4", "fast-json-stringify": "^2.7.10", @@ -20231,8 +17994,7 @@ }, "node_modules/rudder-transformer-cdk": { "version": "1.4.11", - "resolved": "https://registry.npmjs.org/rudder-transformer-cdk/-/rudder-transformer-cdk-1.4.11.tgz", - "integrity": "sha512-u2t/L47tNe9wyzSpQptLkiECT0/P5Xx8BLmZisfuXQx3lXco57oaDX/Ii1ZhEiHM2zht+NiyrGkvhBKMt1IAyA==", + "license": "ISC", "dependencies": { "get-value": "^3.0.1", "handlebars": "^4.7.7", @@ -20248,17 +18010,14 @@ }, "node_modules/run-async": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } }, "node_modules/run-parallel": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", "dev": true, "funding": [ { @@ -20274,23 +18033,21 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "dependencies": { "queue-microtask": "^1.2.2" } }, "node_modules/rxjs": { "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/safe-buffer": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "funding": [ { "type": "github", @@ -20304,22 +18061,21 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/safe-regex": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-2.1.1.tgz", - "integrity": "sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==", "dev": true, + "license": "MIT", "dependencies": { "regexp-tree": "~0.1.1" } }, "node_modules/safe-regex-test": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -20331,22 +18087,19 @@ }, "node_modules/safe-stable-stringify": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.2.tgz", - "integrity": "sha512-gMxvPJYhP0O9n2pvcfYfIuYgbledAOJFcqRThtPRmjscaipiwcwPPKLytpVzMkG2HAN87Qmo2d4PtGiri1dSLA==", + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/safer-buffer": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "license": "MIT" }, "node_modules/sass-lookup": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/sass-lookup/-/sass-lookup-3.0.0.tgz", - "integrity": "sha512-TTsus8CfFRn1N44bvdEai1no6PqdmDiQUiqW5DlpmtT+tYnIt1tXtDIph5KA1efC+LmioJXSnCtUVpcK9gaKIg==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.16.0" }, @@ -20359,19 +18112,16 @@ }, "node_modules/sass-lookup/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/sax": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + "license": "ISC" }, "node_modules/semver": { "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -20384,15 +18134,13 @@ }, "node_modules/semver-compare": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/semver-regex": { "version": "3.1.4", - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.4.tgz", - "integrity": "sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -20402,8 +18150,7 @@ }, "node_modules/semver/node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -20413,23 +18160,20 @@ }, "node_modules/semver/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "license": "ISC" }, "node_modules/set-blocking": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" + "license": "ISC" }, "node_modules/set-value": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-4.1.0.tgz", - "integrity": "sha512-zTEg4HL0RwVrqcWs3ztF+x1vkxfm0lP+MQQFPiMJTKVceBwEV0A569Ou8l9IYQG8jOZdMVI1hGsc0tmeD2o/Lw==", "funding": [ "https://github.com/sponsors/jonschlinkert", "https://paypal.me/jonathanschlinkert", "https://jonschlinkert.dev/sponsor" ], + "license": "MIT", "dependencies": { "is-plain-object": "^2.0.4", "is-primitive": "^3.0.1" @@ -20440,13 +18184,10 @@ }, "node_modules/setprototypeof": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + "license": "ISC" }, "node_modules/sha256": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/sha256/-/sha256-0.2.0.tgz", - "integrity": "sha512-kTWMJUaez5iiT9CcMv8jSq6kMhw3ST0uRdcIWl3D77s6AsLXNXRp3heeqqfu5+Dyfu4hwpQnMzhqHh8iNQxw0w==", "dependencies": { "convert-hex": "~0.1.0", "convert-string": "~0.1.0" @@ -20454,9 +18195,8 @@ }, "node_modules/shebang-command": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -20466,23 +18206,20 @@ }, "node_modules/shebang-regex": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/shellwords": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", - "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/side-channel": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -20494,42 +18231,36 @@ }, "node_modules/signal-exit": { "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + "license": "ISC" }, "node_modules/simple-swizzle": { "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", + "license": "MIT", "dependencies": { "is-arrayish": "^0.3.1" } }, "node_modules/simple-swizzle/node_modules/is-arrayish": { "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + "license": "MIT" }, "node_modules/sisteransi": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/slash": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/slice-ansi": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.0.0", "is-fullwidth-code-point": "^4.0.0" @@ -20543,9 +18274,8 @@ }, "node_modules/slice-ansi/node_modules/ansi-styles": { "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -20555,9 +18285,8 @@ }, "node_modules/sort-keys": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", - "integrity": "sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==", "dev": true, + "license": "MIT", "dependencies": { "is-plain-obj": "^1.0.0" }, @@ -20567,26 +18296,23 @@ }, "node_modules/source-map": { "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/source-map-js": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/source-map-support": { "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", "dev": true, + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -20594,8 +18320,7 @@ }, "node_modules/spdx-correct": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "license": "Apache-2.0", "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -20603,13 +18328,11 @@ }, "node_modules/spdx-exceptions": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" + "license": "CC-BY-3.0" }, "node_modules/spdx-expression-parse": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "license": "MIT", "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -20617,13 +18340,11 @@ }, "node_modules/spdx-license-ids": { "version": "3.0.12", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==" + "license": "CC0-1.0" }, "node_modules/split": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "license": "MIT", "dependencies": { "through": "2" }, @@ -20633,18 +18354,16 @@ }, "node_modules/split2": { "version": "3.2.2", - "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", - "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", "dev": true, + "license": "ISC", "dependencies": { "readable-stream": "^3.0.0" } }, "node_modules/split2/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -20656,31 +18375,27 @@ }, "node_modules/sprintf-js": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/stack-generator": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.10.tgz", - "integrity": "sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } }, "node_modules/stack-trace": { "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", + "license": "MIT", "engines": { "node": "*" } }, "node_modules/stack-utils": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^2.0.0" }, @@ -20690,22 +18405,19 @@ }, "node_modules/stack-utils/node_modules/escape-string-regexp": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/stackframe": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" + "license": "MIT" }, "node_modules/stacktrace-parser": { "version": "0.1.10", - "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz", - "integrity": "sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==", + "license": "MIT", "dependencies": { "type-fest": "^0.7.1" }, @@ -20715,22 +18427,19 @@ }, "node_modules/stacktrace-parser/node_modules/type-fest": { "version": "0.7.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz", - "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/standard-as-callback": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + "license": "MIT" }, "node_modules/standard-version": { "version": "9.5.0", - "resolved": "https://registry.npmjs.org/standard-version/-/standard-version-9.5.0.tgz", - "integrity": "sha512-3zWJ/mmZQsOaO+fOlsa0+QK90pwhNd042qEcw6hKFNoLFs7peGyvPffpEBbK/DSGPbyOvli0mUIFv5A4qTjh2Q==", "dev": true, + "license": "ISC", "dependencies": { "chalk": "^2.4.2", "conventional-changelog": "3.1.25", @@ -20756,9 +18465,8 @@ }, "node_modules/standard-version/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -20768,9 +18476,8 @@ }, "node_modules/standard-version/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -20782,9 +18489,8 @@ }, "node_modules/standard-version/node_modules/cliui": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -20793,33 +18499,29 @@ }, "node_modules/standard-version/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/standard-version/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/standard-version/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/standard-version/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -20829,9 +18531,8 @@ }, "node_modules/standard-version/node_modules/yargs": { "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -20847,31 +18548,26 @@ }, "node_modules/stats-accumulator": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/stats-accumulator/-/stats-accumulator-1.1.3.tgz", - "integrity": "sha512-ys8OR2RWx4Y9xC/fkFUKI3t2ElHpR4Xdp8rIWVCTl4DWmfS80gvxl0LwNKYUio/ibBUpsoMaUYbWldonVfPBFQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8" } }, "node_modules/statsd-client": { "version": "0.4.7", - "resolved": "https://registry.npmjs.org/statsd-client/-/statsd-client-0.4.7.tgz", - "integrity": "sha512-+sGCE6FednJ/vI7vywErOg/mhVqmf6Zlktz7cdGRnF/cQWXD9ifMgtqU1CIIXmhSwm11SCk4zDN+bwNCvIR/Kg==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info." + "license": "MIT" }, "node_modules/statuses": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/stream-browserify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", - "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", + "license": "MIT", "dependencies": { "inherits": "~2.0.4", "readable-stream": "^3.5.0" @@ -20879,8 +18575,7 @@ }, "node_modules/stream-browserify/node_modules/readable-stream": { "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -20892,49 +18587,43 @@ }, "node_modules/stream-to-array": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/stream-to-array/-/stream-to-array-2.3.0.tgz", - "integrity": "sha512-UsZtOYEn4tWU2RGLOXr/o/xjRBftZRlG3dEWoaHr8j4GuypJ3isitGbVyjQKAuMu+xbiop8q224TjiZWc4XTZA==", "dev": true, + "license": "MIT", "dependencies": { "any-promise": "^1.1.0" } }, "node_modules/strict-uri-encode": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "integrity": "sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" } }, "node_modules/string_decoder/node_modules/safe-buffer": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "license": "MIT" }, "node_modules/string-argv": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", - "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.6.19" } }, "node_modules/string-length": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", "dev": true, + "license": "MIT", "dependencies": { "char-regex": "^1.0.2", "strip-ansi": "^6.0.0" @@ -20945,15 +18634,12 @@ }, "node_modules/string-similarity": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/string-similarity/-/string-similarity-4.0.4.tgz", - "integrity": "sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -20966,9 +18652,8 @@ "node_modules/string-width-cjs": { "name": "string-width", "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -20980,37 +18665,32 @@ }, "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/string-width/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "license": "MIT" }, "node_modules/string-width/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/string.prototype.trimend": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", - "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -21022,9 +18702,8 @@ }, "node_modules/string.prototype.trimstart": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", - "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -21036,9 +18715,8 @@ }, "node_modules/stringify-object": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", - "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "get-own-enumerable-property-symbols": "^3.0.0", "is-obj": "^1.0.1", @@ -21050,24 +18728,20 @@ }, "node_modules/stringify-object/node_modules/is-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/stringify-package": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stringify-package/-/stringify-package-1.0.1.tgz", - "integrity": "sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg==", - "deprecated": "This module is not used anymore, and has been replaced by @npmcli/package-json", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -21078,9 +18752,8 @@ "node_modules/strip-ansi-cjs": { "name": "strip-ansi", "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -21090,27 +18763,24 @@ }, "node_modules/strip-bom": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/strip-final-newline": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/strip-indent": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", "dev": true, + "license": "MIT", "dependencies": { "min-indent": "^1.0.0" }, @@ -21120,9 +18790,8 @@ }, "node_modules/strip-json-comments": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -21132,14 +18801,12 @@ }, "node_modules/strnum": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", - "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + "license": "MIT" }, "node_modules/stylus-lookup": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/stylus-lookup/-/stylus-lookup-3.0.2.tgz", - "integrity": "sha512-oEQGHSjg/AMaWlKe7gqsnYzan8DLcGIHe0dUaFkucZZ14z4zjENRlQMCHT4FNsiWnJf17YN9OvrCfCoi7VvOyg==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.8.1", "debug": "^4.1.0" @@ -21153,23 +18820,20 @@ }, "node_modules/stylus-lookup/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/subdirs": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/subdirs/-/subdirs-1.0.1.tgz", - "integrity": "sha512-KSbUKpwQIRcb5Th+l4EzxEZYpCwV/g0pQ348EV7CIM5YEEgzz2L1KJD8FCeTckTiE/TKn2u09DCxpdAL6/iFbg==", + "license": "MIT", "dependencies": { "es6-promise": "^3.0.2" } }, "node_modules/superagent": { "version": "8.0.9", - "resolved": "https://registry.npmjs.org/superagent/-/superagent-8.0.9.tgz", - "integrity": "sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA==", "dev": true, + "license": "MIT", "dependencies": { "component-emitter": "^1.3.0", "cookiejar": "^2.1.4", @@ -21188,9 +18852,8 @@ }, "node_modules/supertest": { "version": "6.3.3", - "resolved": "https://registry.npmjs.org/supertest/-/supertest-6.3.3.tgz", - "integrity": "sha512-EMCG6G8gDu5qEqRQ3JjjPs6+FYT1a7Hv5ApHvtSghmOFJYtsU5S+pSb6Y2EUeCEY3CmEL3mmQ8YWlPOzQomabA==", "dev": true, + "license": "MIT", "dependencies": { "methods": "^1.1.2", "superagent": "^8.0.5" @@ -21201,9 +18864,8 @@ }, "node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -21213,8 +18875,7 @@ }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -21224,9 +18885,8 @@ }, "node_modules/swagger-cli": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/swagger-cli/-/swagger-cli-4.0.4.tgz", - "integrity": "sha512-Cp8YYuLny3RJFQ4CvOBTaqmOOgYsem52dPx1xM5S4EUWFblIh2Q8atppMZvXKUr1e9xH5RwipYpmdUzdPcxWcA==", "dev": true, + "license": "MIT", "dependencies": { "@apidevtools/swagger-cli": "4.0.4" }, @@ -21239,9 +18899,8 @@ }, "node_modules/swagger-cli/node_modules/@apidevtools/swagger-cli": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-cli/-/swagger-cli-4.0.4.tgz", - "integrity": "sha512-hdDT3B6GLVovCsRZYDi3+wMcB1HfetTU20l2DC8zD3iFRNMC6QNAZG5fo/6PYeHWBEv7ri4MvnlKodhNB0nt7g==", "dev": true, + "license": "MIT", "dependencies": { "@apidevtools/swagger-parser": "^10.0.1", "chalk": "^4.1.0", @@ -21257,18 +18916,16 @@ }, "node_modules/swagger-cli/node_modules/argparse": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } }, "node_modules/swagger-cli/node_modules/cliui": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -21277,9 +18934,8 @@ }, "node_modules/swagger-cli/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -21290,9 +18946,8 @@ }, "node_modules/swagger-cli/node_modules/js-yaml": { "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -21303,9 +18958,8 @@ }, "node_modules/swagger-cli/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -21315,9 +18969,8 @@ }, "node_modules/swagger-cli/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -21330,9 +18983,8 @@ }, "node_modules/swagger-cli/node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -21342,9 +18994,8 @@ }, "node_modules/swagger-cli/node_modules/wrap-ansi": { "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -21356,15 +19007,13 @@ }, "node_modules/swagger-cli/node_modules/y18n": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/swagger-cli/node_modules/yargs": { "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^6.0.0", "decamelize": "^1.2.0", @@ -21384,9 +19033,8 @@ }, "node_modules/swagger-cli/node_modules/yargs-parser": { "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, + "license": "ISC", "dependencies": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" @@ -21397,17 +19045,15 @@ }, "node_modules/tapable": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/tar": { "version": "6.1.15", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz", - "integrity": "sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A==", + "license": "ISC", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -21422,30 +19068,26 @@ }, "node_modules/tar/node_modules/minipass": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "license": "ISC", "engines": { "node": ">=8" } }, "node_modules/tar/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "license": "ISC" }, "node_modules/tdigest": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", - "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "license": "MIT", "dependencies": { "bintrees": "1.0.2" } }, "node_modules/test-exclude": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, + "license": "ISC", "dependencies": { "@istanbuljs/schema": "^0.1.2", "glob": "^7.1.4", @@ -21457,9 +19099,8 @@ }, "node_modules/test-exclude/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -21477,43 +19118,37 @@ }, "node_modules/text-extensions": { "version": "1.9.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", - "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10" } }, "node_modules/text-hex": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + "license": "MIT" }, "node_modules/text-table": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/through": { "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" + "license": "MIT" }, "node_modules/through2": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "3" } }, "node_modules/through2/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -21525,18 +19160,16 @@ }, "node_modules/timed-out": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", - "integrity": "sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/tmp": { "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, + "license": "MIT", "dependencies": { "os-tmpdir": "~1.0.2" }, @@ -21546,32 +19179,27 @@ }, "node_modules/tmpl": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/to-fast-properties": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/to-function": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/to-function/-/to-function-2.0.6.tgz", - "integrity": "sha512-LWfUmW851x5T8+78Nl82CA2j6w0trhoFj4rpS6pFUMgfUMUySDAKPgTvQkUqlWuH3Lihlk5sPyDHSVwmKDSc5Q==", "dependencies": { "component-props": "*" } }, "node_modules/to-regex-range": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, + "license": "MIT", "dependencies": { "is-number": "^7.0.0" }, @@ -21581,39 +19209,34 @@ }, "node_modules/toidentifier": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", "engines": { "node": ">=0.6" } }, "node_modules/trim-newlines": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/triple-beam": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + "license": "MIT" }, "node_modules/truncate-utf8-bytes": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz", - "integrity": "sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==", + "license": "WTFPL", "dependencies": { "utf8-byte-length": "^1.0.1" } }, "node_modules/ts-graphviz": { "version": "1.5.5", - "resolved": "https://registry.npmjs.org/ts-graphviz/-/ts-graphviz-1.5.5.tgz", - "integrity": "sha512-abon0Tlcgvxcqr8x+p8QH1fTbR2R4cEXKGZfT4OJONZWah2YfqkmERb6hrr82omAc1IHwk5PlF8g4BS/ECYvwQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -21624,9 +19247,8 @@ }, "node_modules/ts-jest": { "version": "29.1.1", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.1.tgz", - "integrity": "sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==", "dev": true, + "license": "MIT", "dependencies": { "bs-logger": "0.x", "fast-json-stable-stringify": "2.x", @@ -21667,18 +19289,16 @@ }, "node_modules/ts-jest/node_modules/yargs-parser": { "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/ts-node": { "version": "10.9.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", - "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", "dev": true, + "license": "MIT", "dependencies": { "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", @@ -21719,18 +19339,16 @@ }, "node_modules/ts-node/node_modules/acorn-walk": { "version": "8.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/tsconfig-paths": { "version": "3.14.2", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", - "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", "dev": true, + "license": "MIT", "dependencies": { "@types/json5": "^0.0.29", "json5": "^1.0.2", @@ -21740,9 +19358,8 @@ }, "node_modules/tsconfig-paths/node_modules/json5": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.0" }, @@ -21752,31 +19369,27 @@ }, "node_modules/tsconfig-paths/node_modules/strip-bom": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/tslib": { "version": "2.5.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", - "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==" + "license": "0BSD" }, "node_modules/tsscmp": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz", - "integrity": "sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==", + "license": "MIT", "engines": { "node": ">=0.6.x" } }, "node_modules/tsutils": { "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", "dev": true, + "license": "MIT", "dependencies": { "tslib": "^1.8.1" }, @@ -21789,15 +19402,13 @@ }, "node_modules/tsutils/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true + "dev": true, + "license": "0BSD" }, "node_modules/type-check": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -21807,25 +19418,22 @@ }, "node_modules/type-detect": { "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/type-fest": { "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/type-is": { "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "license": "MIT", "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" @@ -21836,9 +19444,8 @@ }, "node_modules/typed-array-length": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "for-each": "^0.3.3", @@ -21850,15 +19457,13 @@ }, "node_modules/typedarray": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/typescript": { "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -21869,8 +19474,6 @@ }, "node_modules/ua-parser-js": { "version": "1.0.35", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.35.tgz", - "integrity": "sha512-fKnGuqmTBnIE+/KXSzCn4db8RTigUzw1AN0DmdU6hJovUTbYJKyqj+8Mt1c4VfRDnOVJnENmfYkIPZ946UrSAA==", "funding": [ { "type": "opencollective", @@ -21881,14 +19484,14 @@ "url": "https://paypal.me/faisalman" } ], + "license": "MIT", "engines": { "node": "*" } }, "node_modules/uglify-js": { "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "license": "BSD-2-Clause", "optional": true, "bin": { "uglifyjs": "bin/uglifyjs" @@ -21899,9 +19502,8 @@ }, "node_modules/unbox-primitive": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -21914,31 +19516,27 @@ }, "node_modules/uniq": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", - "integrity": "sha512-Gw+zz50YNKPDKXs+9d+aKAjVwpjNwqzvNpLigIruT4HA9lMZNdMqs9x07kKHB/L9WRzqp4+DlTU5s4wG2esdoA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/universalify": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 10.0.0" } }, "node_modules/unpipe": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/unset-value": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-2.0.1.tgz", - "integrity": "sha512-2hvrBfjUE00PkqN+q0XP6yRAOGrR06uSiUoIQGZkc7GxvQ9H7v8quUPNtZjMg4uux69i8HWpIjLPUKwCuRGyNg==", + "license": "MIT", "dependencies": { "has-value": "^2.0.2", "isobject": "^4.0.0" @@ -21949,16 +19547,13 @@ }, "node_modules/unset-value/node_modules/isobject": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", - "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/update-browserslist-db": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", - "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", "dev": true, "funding": [ { @@ -21974,6 +19569,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "escalade": "^3.1.1", "picocolors": "^1.0.0" @@ -21987,16 +19583,14 @@ }, "node_modules/uri-js": { "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } }, "node_modules/url": { "version": "0.10.3", - "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", - "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", + "license": "MIT", "dependencies": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -22004,9 +19598,8 @@ }, "node_modules/url-parse-lax": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==", "dev": true, + "license": "MIT", "dependencies": { "prepend-http": "^2.0.0" }, @@ -22016,32 +19609,27 @@ }, "node_modules/url-to-options": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz", - "integrity": "sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } }, "node_modules/url/node_modules/punycode": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + "license": "MIT" }, "node_modules/utf8-byte-length": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz", - "integrity": "sha512-4+wkEYLBbWxqTahEsWrhxepcoVOJ+1z5PGIjPZxRkytcdSUaNjIjBM7Xn8E+pdSuV7SzvWovBFA54FO0JSoqhA==" + "license": "WTFPL" }, "node_modules/utf8-length": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/utf8-length/-/utf8-length-0.0.1.tgz", - "integrity": "sha512-j/XH2ftofBiobnyApxlN/J6j/ixwT89WEjDcjT66d2i0+GIn9RZfzt8lpEXXE4jUe4NsjBSUq70kS2euQ4nnMw==" + "license": "MIT" }, "node_modules/util": { "version": "0.12.5", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -22052,28 +19640,24 @@ }, "node_modules/util-deprecate": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + "license": "MIT" }, "node_modules/uuid": { "version": "9.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/v8-to-istanbul": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", - "integrity": "sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==", "dev": true, + "license": "ISC", "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", @@ -22084,14 +19668,11 @@ } }, "node_modules/valid-url": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz", - "integrity": "sha512-QQDsV8OnSf5Uc30CKSwG9lnhMPe6exHtTXLRYX8uMwKENy640pU+2BgBL0LRbDh/eYRahNCS7aewCx0wf3NYVA==" + "version": "1.0.9" }, "node_modules/validate-npm-package-license": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "license": "Apache-2.0", "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" @@ -22099,17 +19680,15 @@ }, "node_modules/vary": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/vscode-json-languageservice": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-4.2.1.tgz", - "integrity": "sha512-xGmv9QIWs2H8obGbWg+sIPI/3/pFgj/5OWBhNzs00BkYQ9UaB2F6JJaGB/2/YOZJ3BvLXQTC4Q7muqU25QgAhA==", "dev": true, + "license": "MIT", "dependencies": { "jsonc-parser": "^3.0.0", "vscode-languageserver-textdocument": "^1.0.3", @@ -22120,59 +19699,51 @@ }, "node_modules/vscode-languageserver-textdocument": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.8.tgz", - "integrity": "sha512-1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vscode-languageserver-types": { "version": "3.17.2", - "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.2.tgz", - "integrity": "sha512-zHhCWatviizPIq9B7Vh9uvrH6x3sK8itC84HkamnBWoDFJtzBf7SWlpLCZUit72b3os45h6RWQNC9xHRDF8dRA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vscode-nls": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-5.2.0.tgz", - "integrity": "sha512-RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vscode-uri": { "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.7.tgz", - "integrity": "sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/walkdir": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz", - "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/walker": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "makeerror": "1.0.12" } }, "node_modules/wcwidth": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "license": "MIT", "dependencies": { "defaults": "^1.0.3" } }, "node_modules/which": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -22185,9 +19756,8 @@ }, "node_modules/which-boxed-primitive": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", "dev": true, + "license": "MIT", "dependencies": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -22201,14 +19771,12 @@ }, "node_modules/which-module": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", - "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/which-typed-array": { "version": "1.1.9", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -22226,17 +19794,15 @@ }, "node_modules/wide-align": { "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "license": "ISC", "dependencies": { "string-width": "^1.0.2 || 2 || 3 || 4" } }, "node_modules/widest-line": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", "dev": true, + "license": "MIT", "dependencies": { "string-width": "^4.0.0" }, @@ -22246,8 +19812,7 @@ }, "node_modules/winston": { "version": "3.8.2", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.8.2.tgz", - "integrity": "sha512-MsE1gRx1m5jdTTO9Ld/vND4krP2To+lgDoMEHGGa4HIlAUyXJtfc7CxQcGXVyz2IBpw5hbFkj2b/AtUdQwyRew==", + "license": "MIT", "dependencies": { "@colors/colors": "1.5.0", "@dabh/diagnostics": "^2.0.2", @@ -22267,8 +19832,7 @@ }, "node_modules/winston-transport": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", - "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "license": "MIT", "dependencies": { "logform": "^2.3.2", "readable-stream": "^3.6.0", @@ -22280,8 +19844,7 @@ }, "node_modules/winston-transport/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -22293,8 +19856,7 @@ }, "node_modules/winston/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -22306,23 +19868,20 @@ }, "node_modules/word-wrap": { "version": "1.2.5", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", - "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/wordwrap": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" + "license": "MIT" }, "node_modules/wrap-ansi": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -22338,9 +19897,8 @@ "node_modules/wrap-ansi-cjs": { "name": "wrap-ansi", "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -22355,13 +19913,11 @@ }, "node_modules/wrappy": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "license": "ISC" }, "node_modules/xml2js": { "version": "0.5.0", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", - "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "license": "MIT", "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -22372,50 +19928,44 @@ }, "node_modules/xmlbuilder": { "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "license": "MIT", "engines": { "node": ">=4.0" } }, "node_modules/xtend": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.4" } }, "node_modules/y18n": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/yallist": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/yaml": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz", - "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==", "dev": true, + "license": "ISC", "engines": { "node": ">= 14" } }, "node_modules/yargs": { "version": "17.7.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", - "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", @@ -22431,43 +19981,38 @@ }, "node_modules/yargs-parser": { "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/yargs/node_modules/yargs-parser": { "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/ylru": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/ylru/-/ylru-1.3.2.tgz", - "integrity": "sha512-RXRJzMiK6U2ye0BlGGZnmpwJDPgakn6aNQ0A7gHRbD4I0uvK4TW6UqkK1V0pp9jskjJBAXd3dRrbzWkqJ+6cxA==", + "license": "MIT", "engines": { "node": ">= 4.0.0" } }, "node_modules/yn": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/yocto-queue": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "license": "MIT", "engines": { "node": ">=10" }, diff --git a/package.json b/package.json index 7613b9d42b..3668968e10 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", "@aws-sdk/client-personalize": "^3.391.0", - "@aws-sdk/client-lambda": "^3.276.0", "@aws-sdk/client-s3": "^3.370.0", "@aws-sdk/credential-providers": "^3.391.0", "@aws-sdk/lib-storage": "^3.391.0", @@ -99,7 +98,6 @@ "oauth-1.0a": "^2.2.6", "object-hash": "^3.0.0", "parse-static-imports": "^1.1.0", - "pprof": "^3.2.1", "prom-client": "^14.2.0", "qs": "^6.11.1", "rudder-transformer-cdk": "^1.4.11", From 08a3535257e5d84566c95cebc701613478f0e039 Mon Sep 17 00:00:00 2001 From: Sanjay <71065320+Sanjay-Veernala@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:12:58 +0530 Subject: [PATCH 004/104] fix(snyk): removed aws-sdk dependency --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 3668968e10..6d40c887ee 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,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", From a21ea3aaecfc3d10de3f4eaa34425dda388032ff Mon Sep 17 00:00:00 2001 From: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Date: Mon, 25 Sep 2023 17:35:58 +0530 Subject: [PATCH 005/104] feat: add circular reference check in flattern json (#2650) --- src/v0/util/index.js | 30 +++++++++++++++++++++++++ src/v0/util/index.test.js | 47 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/src/v0/util/index.js b/src/v0/util/index.js index 5ddd3cf5ff..00f98cafaf 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -246,9 +246,38 @@ const getValueFromPropertiesOrTraits = ({ message, key }) => { return !_.isNil(val) ? val : null; }; +/** + * Checks if an object contains a circular reference. + * + * @param {object} obj - The object to check for circular references. + * @param {array} [seen=[]] - An array that keeps track of objects already seen during the recursive traversal. Defaults to an empty array. + * @returns {boolean} - True if a circular reference is found, false otherwise. + */ +const hasCircularReference = (obj, seen = []) => { + if (typeof obj !== 'object' || obj === null) { + return false; + } + + if (seen.includes(obj)) { + return true; + } + + seen.push(obj); + for (const value of Object.values(obj)) { + if (hasCircularReference(value, seen)) { + return true; + } + } + seen.pop(); + return false; +}; + // function to flatten a json function flattenJson(data, separator = '.', mode = 'normal', flattenArrays = true) { const result = {}; + if (hasCircularReference(data)) { + throw new InstrumentationError("Event has circular reference. Can't flatten the event"); + } // a recursive function to loop through the array of the data function recurse(cur, prop) { @@ -2094,6 +2123,7 @@ module.exports = { getAccessToken, formatValues, groupEventsByType, + hasCircularReference, getAuthErrCategoryFromErrDetailsAndStCode, getAuthErrCategoryFromStCode, }; diff --git a/src/v0/util/index.test.js b/src/v0/util/index.test.js index 9c257d5fd3..ce341e8187 100644 --- a/src/v0/util/index.test.js +++ b/src/v0/util/index.test.js @@ -1,5 +1,6 @@ const utilities = require('.'); const { getFuncTestData } = require('../../../test/testHelper'); +const { hasCircularReference, flattenJson } = require('./index'); // Names of the utility functions to test const functionNames = [ @@ -68,3 +69,49 @@ describe('Utility Functions Tests', () => { }); //Test cases which can't be fit in above test suite, have individual function level test blocks + +describe('hasCircularReference', () => { + it('should return false when object has no circular reference', () => { + const obj = { a: 1, b: 2, c: 3 }; + expect(hasCircularReference(obj)).toBe(false); + }); + + it('should return true when object has circular reference', () => { + const obj = { a: 1, b: 2 }; + obj.c = obj; + expect(hasCircularReference(obj)).toBe(true); + }); + + it('should return true when object has nested objects containing circular reference', () => { + const obj1 = { a: 1 }; + const obj2 = { b: 2 }; + obj1.c = obj2; + obj2.d = obj1; + expect(hasCircularReference(obj1)).toBe(true); + }); + + it('should return false when input is null', () => { + expect(hasCircularReference(null)).toBe(false); + }); + + it('should return false when input is not an object', () => { + expect(hasCircularReference(123)).toBe(false); + }); + + it('should return true when object has self-reference', () => { + const obj = { a: 1 }; + obj.b = obj; + expect(hasCircularReference(obj)).toBe(true); + }); +}); + +// extra test cases for flattenJson +describe('flattenJson', () => { + it('should throw an error when flattening a json object with circular reference', () => { + const data = { name: 'John' }; + data.self = data; + expect(() => flattenJson(data)).toThrow( + "Event has circular reference. Can't flatten the event", + ); + }); +}); From 5c981e12c8e203c80229881a07704c6413c842a9 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Mon, 25 Sep 2023 19:10:55 +0530 Subject: [PATCH 006/104] feat: update google_cloud_function implementation as per custom destination (#2652) * feat: update google_cloud_function implementation as per custom destination flow * fix: remove old test suit --- .../google_cloud_function/config.js | 7 - .../google_cloud_function/transform.js | 16 +- .../google_cloud_function/util.js | 50 +- .../google_cloud_function_router_input.json | 170 ----- .../google_cloud_function_router_output.json | 55 -- test/__tests__/google_cloud_function.test.js | 27 - .../google_cloud_function/processor/data.ts | 185 +++++ .../google_cloud_function/router/data.ts | 652 ++++++++++++++++++ 8 files changed, 850 insertions(+), 312 deletions(-) delete mode 100644 src/v0/destinations/google_cloud_function/config.js delete mode 100644 test/__tests__/data/google_cloud_function_router_input.json delete mode 100644 test/__tests__/data/google_cloud_function_router_output.json delete mode 100644 test/__tests__/google_cloud_function.test.js create mode 100644 test/integrations/destinations/google_cloud_function/processor/data.ts create mode 100644 test/integrations/destinations/google_cloud_function/router/data.ts diff --git a/src/v0/destinations/google_cloud_function/config.js b/src/v0/destinations/google_cloud_function/config.js deleted file mode 100644 index 40efc2c04c..0000000000 --- a/src/v0/destinations/google_cloud_function/config.js +++ /dev/null @@ -1,7 +0,0 @@ -const TRIGGERTYPE = { - HTTP: 'http', - HTTPS: 'https', -}; -module.exports = { - TRIGGERTYPE, -}; diff --git a/src/v0/destinations/google_cloud_function/transform.js b/src/v0/destinations/google_cloud_function/transform.js index e2c01cd8bc..e74d539e3f 100644 --- a/src/v0/destinations/google_cloud_function/transform.js +++ b/src/v0/destinations/google_cloud_function/transform.js @@ -1,29 +1,19 @@ const _ = require('lodash'); const { - defaultRequestConfig, - defaultPostRequestConfig, getSuccessRespEvents, checkInvalidRtTfEvents, handleRtTfSingleEventError, } = require('../../util'); -const { generateBatchedPayload, validateDestinationConfig, addHeader } = require('./util'); +const { generateBatchedPayload, validateDestinationConfig } = require('./util'); // Main process Function to handle transformation function process(event) { const { message, destination } = event; - const { googleCloudFunctionUrl } = destination.Config; - // Config Validation validateDestinationConfig(destination); - const response = defaultRequestConfig(); - // adding header - addHeader(response, destination.Config); - response.method = defaultPostRequestConfig.requestMethod; - response.body.JSON = message; - response.endpoint = googleCloudFunctionUrl; - + const response = message; return response; } @@ -37,7 +27,7 @@ function batchEvents(successRespList, maxBatchSize = 10) { const batchEventResponse = generateBatchedPayload(chunk); batchedResponseList.push( getSuccessRespEvents( - batchEventResponse.batchedRequest, + batchEventResponse.message, batchEventResponse.metadata, batchEventResponse.destination, true, diff --git a/src/v0/destinations/google_cloud_function/util.js b/src/v0/destinations/google_cloud_function/util.js index 10c4365b77..0a4fb9f4de 100644 --- a/src/v0/destinations/google_cloud_function/util.js +++ b/src/v0/destinations/google_cloud_function/util.js @@ -1,77 +1,47 @@ -const { defaultBatchRequestConfig } = require('../../util'); -const { JSON_MIME_TYPE } = require('../../util/constant'); const { ConfigurationError } = require('../../util/errorTypes'); -const { TRIGGERTYPE } = require('./config'); - /** * validate destination config * @param {*} param0 */ const validateDestinationConfig = ({ Config }) => { - // throw error if google Cloud Function is not provided + // throw error if google Cloud Function URL is not provided if (!Config.googleCloudFunctionUrl) { throw new ConfigurationError('[GCF]:: Url not found. Aborting'); } - if ( - Config.triggerType === 'https' && // for triggerType https gcloud Authorization is mandatory - !Config.gcloudAuthorization - ) { - throw new ConfigurationError('[GCF]:: Access Token not found. Aborting'); + if (Config.requireAuthentication && !Config.credentials) { + throw new ConfigurationError( + '[GCF]:: Service Account credentials are required if your function required authentication. Aborting', + ); } }; -/** - * add headers in the payload that is provided in destination config - * @param {*} response - * @param {*} Config - */ -function addHeader(response, Config) { - const { triggerType, apiKeyId, gcloudAuthorization } = Config; - - response.headers = { 'content-type': JSON_MIME_TYPE }; - if (apiKeyId) { - const basicAuth = Buffer.from(`apiKey:${apiKeyId}`).toString('base64'); - response.headers.ApiKey = `Basic ${basicAuth}`; - } - if (TRIGGERTYPE.HTTPS === triggerType.toLowerCase()) { - response.headers.Authorization = `bearer ${gcloudAuthorization}`; - } -} - /** * Create GoogleCloudFunction Batch payload based on the passed events * @param {*} events * @returns */ + function generateBatchedPayload(events) { - const batchResponseList = []; const metadata = []; // extracting destination // from the first event in a batch const { destination } = events[0]; - const { googleCloudFunctionUrl } = destination.Config; - let batchEventResponse = defaultBatchRequestConfig(); + let batchEventResponse = events.map((event) => event.message); // Batch event into dest batch structure events.forEach((ev) => { - batchResponseList.push(ev.message.body.JSON); + // batchResponseList.push(ev.message.body.JSON); metadata.push(ev.metadata); }); - batchEventResponse.batchedRequest.body.JSON_ARRAY = { - batch: JSON.stringify(batchResponseList), - }; - batchEventResponse.batchedRequest.endpoint = googleCloudFunctionUrl; - addHeader(batchEventResponse.batchedRequest, destination.Config); batchEventResponse = { - ...batchEventResponse, - metadata, + message: batchEventResponse, destination, + metadata, }; return batchEventResponse; } module.exports = { validateDestinationConfig, - addHeader, generateBatchedPayload, }; diff --git a/test/__tests__/data/google_cloud_function_router_input.json b/test/__tests__/data/google_cloud_function_router_input.json deleted file mode 100644 index f3f829fdad..0000000000 --- a/test/__tests__/data/google_cloud_function_router_input.json +++ /dev/null @@ -1,170 +0,0 @@ -[ - { - "destination": { - "Config": { - "triggerType": "Http", - "apiKeyId": "randomAPI", - "enableBatchInput": true, - "googleCloudFunctionUrl": "https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1", - "maxBatchSize": "2" - } - }, - "metadata": { - "jobId": "1" - }, - "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": "cosmo@krammer.com", - "name": "Cosmo Krammer", - "linkedinUrl": "https://linkedin.com/cosmo-krammer", - "location": "New York", - "emailOptOut": true, - "masterAvatarTypeCode": 10 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - { - "destination": { - "Config": { - "triggerType": "Http", - "apiKeyId": "randomAPI", - "enableBatchInput": true, - "googleCloudFunctionUrl": "", - "maxBatchSize": "2" - } - }, - "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", - "type": "identify", - "traits": { - "email": "cosmo@krammer.com", - "name": "Cosmo Krammer", - "linkedinUrl": "https://linkedin.com/cosmo-krammer", - "location": "New York", - "emailOptOut": true, - "masterAvatarTypeCode": 10 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - }, - { - "destination": { - "Config": { - "triggerType": "Http", - "apiKeyId": "randomAPI", - "enableBatchInput": true, - "googleCloudFunctionUrl": "https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1", - "maxBatchSize": "2" - } - }, - "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": "cosmo@krammer.com", - "name": "Cosmo Krammer", - "linkedinUrl": "https://linkedin.com/cosmo-krammer", - "location": "New York", - "emailOptOut": true, - "masterAvatarTypeCode": 10 - }, - "integrations": { - "All": true - }, - "sentAt": "2019-10-14T09:03:22.563Z" - } - } -] diff --git a/test/__tests__/data/google_cloud_function_router_output.json b/test/__tests__/data/google_cloud_function_router_output.json deleted file mode 100644 index 890cca7180..0000000000 --- a/test/__tests__/data/google_cloud_function_router_output.json +++ /dev/null @@ -1,55 +0,0 @@ -[ - { - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1", - "headers": { - "content-type": "application/json", - "ApiKey": "Basic YXBpS2V5OnJhbmRvbUFQSQ==" - }, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"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\":\"cosmo@krammer.com\",\"name\":\"Cosmo Krammer\",\"linkedinUrl\":\"https://linkedin.com/cosmo-krammer\",\"location\":\"New York\",\"emailOptOut\":true,\"masterAvatarTypeCode\":10},\"integrations\":{\"All\":true},\"sentAt\":\"2019-10-14T09:03:22.563Z\"},{\"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\":\"cosmo@krammer.com\",\"name\":\"Cosmo Krammer\",\"linkedinUrl\":\"https://linkedin.com/cosmo-krammer\",\"location\":\"New York\",\"emailOptOut\":true,\"masterAvatarTypeCode\":10},\"integrations\":{\"All\":true},\"sentAt\":\"2019-10-14T09:03:22.563Z\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "metadata": [{ "jobId": "1" }, { "jobId": "3" }], - "batched": true, - "statusCode": 200, - "destination": { - "Config": { - "triggerType": "Http", - "apiKeyId": "randomAPI", - "enableBatchInput": true, - "googleCloudFunctionUrl": "https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1", - "maxBatchSize": "2" - } - } - }, - { - "destination": { - "Config": { - "triggerType": "Http", - "apiKeyId": "randomAPI", - "enableBatchInput": true, - "googleCloudFunctionUrl": "", - "maxBatchSize": "2" - } - }, - "metadata": [{ "jobId": "2" }], - "batched": false, - "statusCode": 400, - "error": "[GCF]:: Url not found. Aborting", - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - } - } -] diff --git a/test/__tests__/google_cloud_function.test.js b/test/__tests__/google_cloud_function.test.js deleted file mode 100644 index cec89300aa..0000000000 --- a/test/__tests__/google_cloud_function.test.js +++ /dev/null @@ -1,27 +0,0 @@ -const integration = "google_cloud_function"; -const name = "google_cloud_function"; - -const fs = require("fs"); -const path = require("path"); -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -// 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("Router Tests", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/integrations/destinations/google_cloud_function/processor/data.ts b/test/integrations/destinations/google_cloud_function/processor/data.ts new file mode 100644 index 0000000000..87a4c5b7ec --- /dev/null +++ b/test/integrations/destinations/google_cloud_function/processor/data.ts @@ -0,0 +1,185 @@ +export const data = [ + { + name: 'google_cloud_function', + description: 'Successful request', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + functionEnvironment: 'gen1', + requireAuthentication: false, + enableBatchInput: false, + googleCloudFunctionUrl: + 'https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1', + }, + }, + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { All: true }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { All: true }, + sentAt: '2019-10-14T09:03:22.563Z', + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'google_cloud_function', + description: + '[GCF]:: Service Account credentials are required if your function required authentication. Aborting', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: { + Config: { + functionEnvironment: 'gen1', + requireAuthentication: true, + enableBatchInput: false, + googleCloudFunctionUrl: + 'https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1', + }, + }, + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { All: true }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: + '[GCF]:: Service Account credentials are required if your function required authentication. Aborting', + statTags: { + destType: 'GOOGLE_CLOUD_FUNCTION', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/google_cloud_function/router/data.ts b/test/integrations/destinations/google_cloud_function/router/data.ts new file mode 100644 index 0000000000..0661d4cb15 --- /dev/null +++ b/test/integrations/destinations/google_cloud_function/router/data.ts @@ -0,0 +1,652 @@ +export const data = [ + { + name: 'google_cloud_function', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: + 'https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1', + maxBatchSize: '2', + }, + }, + metadata: { + jobId: '1', + }, + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + { + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: '', + maxBatchSize: '2', + }, + }, + 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', + type: 'identify', + traits: { + email: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + { + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: + 'https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1', + maxBatchSize: '2', + }, + }, + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + destType: 'google_cloud_function', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + { + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + ], + metadata: [{ jobId: '1' }, { jobId: '3' }], + batched: true, + statusCode: 200, + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: + 'https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1', + maxBatchSize: '2', + }, + }, + }, + { + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: '', + maxBatchSize: '2', + }, + }, + metadata: [{ jobId: '2' }], + batched: false, + statusCode: 400, + error: '[GCF]:: Url not found. Aborting', + statTags: { + destType: 'GOOGLE_CLOUD_FUNCTION', + errorCategory: 'dataValidation', + feature: 'router', + implementation: 'native', + module: 'destination', + errorType: 'configuration', + }, + }, + ], + }, + }, + }, + }, + { + name: 'google_cloud_function', + description: 'Test 0', + feature: 'router', + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: + 'https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1', + maxBatchSize: '2', + }, + }, + metadata: { + jobId: '1', + }, + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + { + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: '', + maxBatchSize: '2', + }, + }, + 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', + type: 'identify', + traits: { + email: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + { + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: + 'https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1', + maxBatchSize: '2', + }, + }, + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + }, + ], + destType: 'google_cloud_function', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batchedRequest: [ + { + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + { + 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: 'cosmo@krammer.com', + name: 'Cosmo Krammer', + linkedinUrl: 'https://linkedin.com/cosmo-krammer', + location: 'New York', + emailOptOut: true, + masterAvatarTypeCode: 10, + }, + integrations: { + All: true, + }, + sentAt: '2019-10-14T09:03:22.563Z', + }, + ], + metadata: [{ jobId: '1' }, { jobId: '3' }], + batched: true, + statusCode: 200, + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: + 'https://us-central1-big-query-integration-poc.cloudfunctions.net/rudderv1', + maxBatchSize: '2', + }, + }, + }, + { + destination: { + Config: { + triggerType: 'Http', + apiKeyId: 'randomAPI', + enableBatchInput: true, + googleCloudFunctionUrl: '', + maxBatchSize: '2', + }, + }, + metadata: [{ jobId: '2' }], + batched: false, + statusCode: 400, + error: '[GCF]:: Url not found. Aborting', + statTags: { + destType: 'GOOGLE_CLOUD_FUNCTION', + errorCategory: 'dataValidation', + feature: 'router', + implementation: 'native', + module: 'destination', + errorType: 'configuration', + }, + }, + ], + }, + }, + }, + }, +]; From 2778ed721df7a077d761d3d033bbd9ee02abace0 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 25 Sep 2023 13:43:44 +0000 Subject: [PATCH 007/104] chore(release): 1.43.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 e241590350..d98085db13 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.43.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.42.0...v1.43.0) (2023-09-25) + + +### Features + +* update google_cloud_function implementation as per custom destination ([#2652](https://github.com/rudderlabs/rudder-transformer/issues/2652)) ([5c981e1](https://github.com/rudderlabs/rudder-transformer/commit/5c981e12c8e203c80229881a07704c6413c842a9)) + ## [1.42.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.41.1...v1.42.0) (2023-09-18) diff --git a/package-lock.json b/package-lock.json index 67dc21b438..106a9a0c78 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.42.0", + "version": "1.43.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.42.0", + "version": "1.43.0", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index e69e9a73f7..e408d5633b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.42.0", + "version": "1.43.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From eb2724f135d2c3c2a1fb8a88051cfb0f2720b5ed Mon Sep 17 00:00:00 2001 From: Abhimanyu Babbar Date: Tue, 26 Sep 2023 10:44:22 +0530 Subject: [PATCH 008/104] fix(dm): updated the stats definition for the tracking plan service --- src/util/prometheus.js | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/util/prometheus.js b/src/util/prometheus.js index 2d781fb862..0899590cd5 100644 --- a/src/util/prometheus.js +++ b/src/util/prometheus.js @@ -229,7 +229,7 @@ class Prometheus { name: 'tp_errors', help: 'tp_errors', type: 'counter', - labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'transformationId'], + labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'trackingPlanId'], }, { name: 'tp_events_count', @@ -575,7 +575,7 @@ class Prometheus { name: 'tp_request_latency', help: 'tp_request_latency', type: 'histogram', - labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'transformationId'], + labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'trackingPlanId'], }, { name: 'cdk_events_latency', @@ -614,18 +614,6 @@ class Prometheus { 'k8_namespace', ], }, - { - name: 'user_transform_function_latency', - help: 'user_transform_function_latency', - type: 'histogram', - labelNames: [ - 'transformationVersionId', - 'processSessions', - 'sourceType', - 'destinationType', - 'k8_namespace', - ], - }, { name: 'source_transform_request_latency', help: 'source_transform_request_latency', From 6fcac7ae8aeb7c1d9ffabe36cea8a4dbe6fd9784 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:14:43 +0530 Subject: [PATCH 009/104] chore: update fb_error message for invalid type of property value (#2656) fix: fb_error message for invalid type of property value --- src/v0/destinations/fb/transform.js | 13 +++++++------ test/__tests__/data/fb_output.json | 6 +++--- test/__tests__/data/fb_router_output.json | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/v0/destinations/fb/transform.js b/src/v0/destinations/fb/transform.js index a6a8b71e8d..756c74ba83 100644 --- a/src/v0/destinations/fb/transform.js +++ b/src/v0/destinations/fb/transform.js @@ -161,7 +161,7 @@ function sanityCheckPayloadForTypesAndModifications(updatedEvent) { return clonedUpdatedEvent; } -function getCorrectedTypedValue(pathToKey, value, originalPath) { +function getCorrectedTypedValue(pathToKey, value) { const type = eventPropToTypeMapping[pathToKey]; // TODO: we should remove this eslint rule or comeup with a better way // eslint-disable-next-line valid-typeof @@ -169,10 +169,12 @@ function getCorrectedTypedValue(pathToKey, value, originalPath) { return value; } + const mappingKey = Object.keys(eventPropsMapping).find( + (key) => eventPropsMapping[key] === pathToKey, + ); + throw new InstrumentationError( - `${ - typeof originalPath === 'object' ? JSON.stringify(originalPath) : originalPath - } is not of valid type`, + `Value of ${mappingKey} is not of valid type. It should be of type ${type}`, ); } @@ -221,7 +223,6 @@ function processEventTypeGeneric(message, baseEvent, fbEventName) { updatedEvent.custom_events[0][fbEventPath][length] = getCorrectedTypedValue( fbEventPath, intendValue, - parentArray[length], ); length += 1; count -= 1; @@ -233,7 +234,7 @@ function processEventTypeGeneric(message, baseEvent, fbEventName) { set( updatedEvent.custom_events[0], fbEventPath, - getCorrectedTypedValue(fbEventPath, intendValue, rudderEventPath), + getCorrectedTypedValue(fbEventPath, intendValue), ); } } else { diff --git a/test/__tests__/data/fb_output.json b/test/__tests__/data/fb_output.json index a974fffe7e..2923e1720e 100644 --- a/test/__tests__/data/fb_output.json +++ b/test/__tests__/data/fb_output.json @@ -3,10 +3,10 @@ "message": "If properties.revenue is present, properties.currency is required." }, { - "message": "{\"product_id\":123} is not of valid type" + "message": "Value of properties.products.sub.product_id is not of valid type. It should be of type string" }, { - "message": "properties.revenue is not of valid type" + "message": "Value of properties.revenue is not of valid type. It should be of type number" }, { "body": { @@ -307,4 +307,4 @@ "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", "statusCode": 200 } -] \ No newline at end of file +] diff --git a/test/__tests__/data/fb_router_output.json b/test/__tests__/data/fb_router_output.json index 508d83cc60..5dd568cca5 100644 --- a/test/__tests__/data/fb_router_output.json +++ b/test/__tests__/data/fb_router_output.json @@ -35,6 +35,6 @@ }, "batched": false, "statusCode": 400, - "error": "{\"product_id\":123} is not of valid type" + "error": "Value of properties.products.sub.product_id is not of valid type. It should be of type string" } ] From 84083aa671312e3934414b5534489fba87d9b29f Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:24:29 +0530 Subject: [PATCH 010/104] fix(iterable): event id mapping (#2659) --- .../iterable/data/IterableTrackConfig.json | 7 +++++-- .../iterable/data/IterableTrackPurchaseConfig.json | 12 +++++------- test/__tests__/data/iterable.json | 1 - 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/v0/destinations/iterable/data/IterableTrackConfig.json b/src/v0/destinations/iterable/data/IterableTrackConfig.json index 28fdcaecc7..5de4856b33 100644 --- a/src/v0/destinations/iterable/data/IterableTrackConfig.json +++ b/src/v0/destinations/iterable/data/IterableTrackConfig.json @@ -23,8 +23,11 @@ }, { "destKey": "id", - "sourceKeys": ["properties.id", "properties.event_id"], - "required": false + "sourceKeys": "properties.event_id", + "required": false, + "metadata": { + "type": "toString" + } }, { "destKey": "eventName", diff --git a/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json b/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json index 00e83d0125..aa15d76a70 100644 --- a/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json +++ b/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json @@ -6,13 +6,11 @@ }, { "destKey": "id", - "sourceKeys": [ - "properties.order_id", - "properties.orderId", - "properties.id", - "properties.event_id" - ], - "required": false + "sourceKeys": ["properties.order_id", "properties.orderId", "properties.event_id"], + "required": false, + "metadata": { + "type": "toString" + } }, { "destKey": "createdAt", diff --git a/test/__tests__/data/iterable.json b/test/__tests__/data/iterable.json index 08e83a47a5..f8147c7402 100644 --- a/test/__tests__/data/iterable.json +++ b/test/__tests__/data/iterable.json @@ -3103,7 +3103,6 @@ "JSON_ARRAY": {}, "FORM": {}, "JSON": { - "id": "event1234", "userId": "abcdeeeeeeeexxxx102", "createdAt": 1598631966468, "dataFields": { From c0ab19a293a72ea0a7575b863356aea9a0e6762f Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:40:05 +0530 Subject: [PATCH 011/104] feat(iterable): user deletion support (#2621) * feat(iterable): user deletion support * feat(iterable): user deletion improvements * chore: added comments --- src/v0/destinations/iterable/deleteUsers.js | 80 ++++++++++ .../data/iterable/handler_input.json | 93 ++++++++++++ .../data/iterable/handler_output.json | 32 ++++ .../data/iterable/nw_client_data.json | 138 ++++++++++++++++++ 4 files changed, 343 insertions(+) create mode 100644 src/v0/destinations/iterable/deleteUsers.js create mode 100644 test/deleteUsers/data/iterable/handler_input.json create mode 100644 test/deleteUsers/data/iterable/handler_output.json create mode 100644 test/deleteUsers/data/iterable/nw_client_data.json diff --git a/src/v0/destinations/iterable/deleteUsers.js b/src/v0/destinations/iterable/deleteUsers.js new file mode 100644 index 0000000000..834cccd4cb --- /dev/null +++ b/src/v0/destinations/iterable/deleteUsers.js @@ -0,0 +1,80 @@ +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'); + +// Ref-> https://developers.intercom.com/intercom-api-reference/v1.3/reference/permanently-delete-a-user +const userDeletionHandler = async (userAttributes, config) => { + if (!config) { + throw new ConfigurationError('Config for deletion not present'); + } + const { apiKey } = config; + if (!apiKey) { + throw new ConfigurationError('api key for deletion not present'); + } + const validUserIds = []; + userAttributes.forEach((userAttribute) => { + // Dropping the user if userId is not present + if (userAttribute.userId) { + validUserIds.push(userAttribute.userId); + } + }); + const failedUserDeletions = []; + await Promise.all( + validUserIds.map(async (uId) => { + const url = `https://api.iterable.com/api/users/byUserId/${uId}`; + const requestOptions = { + headers: { + 'Content-Type': JSON_MIME_TYPE, + api_key: apiKey, + }, + }; + const resp = await httpDELETE(url, requestOptions, { + destType: 'iterable', + feature: 'deleteUsers', + }); + const handledDelResponse = processAxiosResponse(resp); + if (!isHttpStatusSuccess(handledDelResponse.status) && handledDelResponse.status !== 404) { + if (handledDelResponse.status !== 400) { + // Generic errors such as invalid api key + throw new NetworkError( + `User deletion request failed : ${handledDelResponse.response.msg}`, + handledDelResponse.status, + { + [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(handledDelResponse.status), + }, + handledDelResponse, + ); + } else { + // Specific errors such as user is not found + failedUserDeletions.push({ userId: uId, Reason: handledDelResponse.response.msg }); + } + } + }), + ); + + if (failedUserDeletions.length > 0) { + throw new NetworkError( + `User deletion request failed for userIds : ${JSON.stringify(failedUserDeletions)}`, + 400, + { + [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(400), + }, + failedUserDeletions, + ); + } + + return { statusCode: 200, status: 'successful' }; +}; +const processDeleteUsers = async (event) => { + const { userAttributes, config } = event; + executeCommonValidations(userAttributes); + const resp = await userDeletionHandler(userAttributes, config); + return resp; +}; + +module.exports = { processDeleteUsers }; diff --git a/test/deleteUsers/data/iterable/handler_input.json b/test/deleteUsers/data/iterable/handler_input.json new file mode 100644 index 0000000000..8ebc859089 --- /dev/null +++ b/test/deleteUsers/data/iterable/handler_input.json @@ -0,0 +1,93 @@ +[ + { + "request": { + "body": [ + { + "destType": "ITERABLE", + "userAttributes": [ + { + "userId": "rudder1" + } + ] + } + ] + } + }, + { + "request": { + "body": [ + { + "destType": "ITERABLE", + "userAttributes": [ + { + "userId": "rudder2" + } + ], + "config": { + "apiToken": "dummyApiKey" + } + } + ] + } + }, + { + "request": { + "body": [ + { + "destType": "ITERABLE", + "userAttributes": [ + { + "userId": "rudder1" + }, + { + "userId": "rudder2" + } + ], + "config": { + "apiKey": "dummyApiKey" + } + } + ] + } + }, + { + "request": { + "body": [ + { + "destType": "ITERABLE", + "userAttributes": [ + { + "userId": "rudder3" + }, + { + "userId": "rudder4" + } + ], + "config": { + "apiKey": "invalidKey" + } + } + ] + } + }, + { + "request": { + "body": [ + { + "destType": "ITERABLE", + "userAttributes": [ + { + "userId": "rudder5" + }, + { + "userId": "rudder6" + } + ], + "config": { + "apiKey": "dummyApiKey" + } + } + ] + } + } +] diff --git a/test/deleteUsers/data/iterable/handler_output.json b/test/deleteUsers/data/iterable/handler_output.json new file mode 100644 index 0000000000..b053d04df4 --- /dev/null +++ b/test/deleteUsers/data/iterable/handler_output.json @@ -0,0 +1,32 @@ +[ + [ + { + "statusCode": 400, + "error": "Config for deletion not present" + } + ], + [ + { + "statusCode": 400, + "error": "api key for deletion not present" + } + ], + [ + { + "statusCode": 400, + "error": "User deletion request failed for userIds : [{\"userId\":\"rudder2\",\"Reason\":\"User does not exist. Email: UserId: rudder2\"}]" + } + ], + [ + { + "error": "User deletion request failed : Invalid API key", + "statusCode": 401 + } + ], + [ + { + "statusCode": 200, + "status": "successful" + } + ] +] diff --git a/test/deleteUsers/data/iterable/nw_client_data.json b/test/deleteUsers/data/iterable/nw_client_data.json new file mode 100644 index 0000000000..159c301b11 --- /dev/null +++ b/test/deleteUsers/data/iterable/nw_client_data.json @@ -0,0 +1,138 @@ +[ + [ + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder1", + {}, + { + "Accept": "application/json", + "api_key": "dummyApiKey" + } + ], + "response": { + "response": { + "data": { + "msg": "All users associated with rudder1 were successfully deleted", + "code": "Success", + "params": null + }, + "status": 200 + } + } + }, + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder2", + {}, + { + "Accept": "application/json", + "api_key": "dummyApiKey" + } + ], + "response": { + "response": { + "data": { + "msg": "User does not exist. Email: UserId: rudder2", + "code": "BadParams", + "params": null + }, + "status": 400 + } + } + } + ], + [ + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder3", + {}, + { + "Accept": "application/json", + "api_key": "invalidKey" + } + ], + "response": { + "response": { + "data": { + "msg": "Invalid API key", + "code": "Success", + "params": { + "endpoint": "/api/users/byUserId/rudder3" + } + }, + "status": 401 + } + } + }, + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder4", + {}, + { + "Accept": "application/json", + "api_key": "invalidKey" + } + ], + "response": { + "response": { + "data": { + "msg": "Invalid API key", + "code": "Success", + "params": { + "endpoint": "/api/users/byUserId/rudder3" + } + }, + "status": 401 + } + } + } + ], + [ + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder5", + {}, + { + "Accept": "application/json", + "api_key": "dummyApiKey" + } + ], + "response": { + "response": { + "data": { + "msg": "All users associated with rudder5 were successfully deleted", + "code": "Success", + "params": null + }, + "status": 200 + } + } + }, + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder6", + {}, + { + "Accept": "application/json", + "api_key": "dummyApiKey" + } + ], + "response": { + "response": { + "data": { + "msg": "All users associated with rudder6 were successfully deleted", + "code": "Success", + "params": null + }, + "status": 200 + } + } + } + ] +] From 12d6f57e9608f4c777e870f02d6c61c55ad643cb Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 26 Sep 2023 07:14:18 +0000 Subject: [PATCH 012/104] chore(release): 1.43.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 d98085db13..509ddabe0a 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.43.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.43.0...v1.43.1) (2023-09-26) + + +### Bug Fixes + +* **dm:** updated the stats definition for the tracking plan service ([eb2724f](https://github.com/rudderlabs/rudder-transformer/commit/eb2724f135d2c3c2a1fb8a88051cfb0f2720b5ed)) +* **iterable:** event id mapping ([#2659](https://github.com/rudderlabs/rudder-transformer/issues/2659)) ([84083aa](https://github.com/rudderlabs/rudder-transformer/commit/84083aa671312e3934414b5534489fba87d9b29f)) + ## [1.43.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.42.0...v1.43.0) (2023-09-25) diff --git a/package-lock.json b/package-lock.json index 106a9a0c78..86a661cb82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.43.0", + "version": "1.43.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.43.0", + "version": "1.43.1", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index e408d5633b..66d00600ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.43.0", + "version": "1.43.1", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From 6edd4a96dccfaa3e453238f24b3247fe8b122964 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:32:15 +0530 Subject: [PATCH 013/104] chore: update release owners (#2661) chore: update release stakeholder --- .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 db6f4118e4..aa928b4646 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.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507') + 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') 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 5df37bd6cb..044885316d 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.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507') + 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') steps: - name: Checkout uses: actions/checkout@v3.5.3 From 0008277fe43d20ced4066f8f1f1b0f1d12345f01 Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Tue, 26 Sep 2023 15:09:02 +0530 Subject: [PATCH 014/104] feat(gaec): partial failures handling (#2631) * chore: partial failure handling * chore: code review changes --- .../networkHandler.js | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js index e79c568238..9fa0e9a3a4 100644 --- a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js +++ b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js @@ -107,7 +107,23 @@ const responseHandler = (destinationResponse) => { const message = 'Request Processed Successfully'; const { status } = destinationResponse; if (isHttpStatusSuccess(status)) { - // Mostly any error will not have a status of 2xx + // for google ads enhance conversions the partialFailureError returns with status 200 + const { partialFailureError } = destinationResponse.response; + // non-zero code signifies partialFailure + // Ref - https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto + if (partialFailureError && partialFailureError.code !== 0) { + throw new NetworkError( + `[Google Ads Offline Conversions]:: partialFailureError - ${JSON.stringify( + partialFailureError, + )}`, + 400, + { + [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(400), + }, + partialFailureError, + ); + } + return { status, message, @@ -127,7 +143,7 @@ const responseHandler = (destinationResponse) => { getAuthErrCategoryFromErrDetailsAndStCode(status, response), ); }; -// eslint-disable-next-line func-names + class networkHandler { constructor() { this.proxy = ProxyRequest; @@ -136,4 +152,5 @@ class networkHandler { this.prepareProxy = prepareProxyRequest; } } + module.exports = { networkHandler }; From deddae1722259be6d5d4e4abca8366b6619cd909 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Tue, 26 Sep 2023 16:37:53 +0530 Subject: [PATCH 015/104] chore: move unit tests to correct place for mssql and postgres (#2657) * chore: move unit tests to correct place for mssql and postgres * chore: replace var to const * chore: replace var to const --- src/v0/destinations/mssql/transform.test.js | 48 ++++++++++++++++++ .../destinations/postgres/transform.test.js | 48 ++++++++++++++++++ test/__tests__/mssql.test.js | 50 ------------------- test/__tests__/postgres.test.js | 50 ------------------- 4 files changed, 96 insertions(+), 100 deletions(-) create mode 100644 src/v0/destinations/mssql/transform.test.js create mode 100644 src/v0/destinations/postgres/transform.test.js delete mode 100644 test/__tests__/mssql.test.js delete mode 100644 test/__tests__/postgres.test.js diff --git a/src/v0/destinations/mssql/transform.test.js b/src/v0/destinations/mssql/transform.test.js new file mode 100644 index 0000000000..0892651b21 --- /dev/null +++ b/src/v0/destinations/mssql/transform.test.js @@ -0,0 +1,48 @@ +const { getDataType } = require('../../../../src/warehouse/index'); +const { getDataTypeOverride } = require('./transform'); + +const testCases = [ + { + name: 'normalInt', + data: 1, + type: 'int', + }, + { + name: 'normalFloat', + data: 2.01, + type: 'float', + }, + { + name: 'normalBoolean', + data: true, + type: 'boolean', + }, + { + name: 'normalString', + data: 'mssql transformation[*007}', + type: 'string', + }, + { + name: 'violationErrors', + data: [ + { + message: + 'no schema for eventName : Product Purchased new, eventType : track in trackingPlanID : tp_20dfXJDpotQWHe7hMxfQfgWMZDv::1', + meta: {}, + type: 'Unplanned-Event', + }, + ], + type: 'string', + }, +]; + +describe('MSSQL data types testing', () => { + const options = {}; + options.getDataTypeOverride = getDataTypeOverride; + testCases.forEach((testCase) => { + it(`should return data type ${testCase.type} for this input data ${testCase.data} everytime`, () => { + const dataType = getDataType(testCase.name, testCase.data, options); + expect(dataType).toEqual(testCase.type); + }); + }); +}); diff --git a/src/v0/destinations/postgres/transform.test.js b/src/v0/destinations/postgres/transform.test.js new file mode 100644 index 0000000000..9256d5bcde --- /dev/null +++ b/src/v0/destinations/postgres/transform.test.js @@ -0,0 +1,48 @@ +const { getDataType } = require('../../../../src/warehouse/index'); +const { getDataTypeOverride } = require('./transform'); + +const testCases = [ + { + name: 'normalInt', + data: 1, + type: 'int', + }, + { + name: 'normalFloat', + data: 2.01, + type: 'float', + }, + { + name: 'normalBoolean', + data: true, + type: 'boolean', + }, + { + name: 'normalString', + data: 'postgres transformation[*007}', + type: 'string', + }, + { + name: 'violationErrors', + data: [ + { + message: + 'no schema for eventName : Product Purchased new, eventType : track in trackingPlanID : tp_20dfXJDpotQWHe7hMxfQfgWMZDv::1', + meta: {}, + type: 'Unplanned-Event', + }, + ], + type: 'json', + }, +]; + +describe('Postgres data types testing', () => { + const options = {}; + options.getDataTypeOverride = getDataTypeOverride; + testCases.forEach((testCase) => { + it(`should return data type ${testCase.type} for this input data ${testCase.data} everytime`, () => { + const dataType = getDataType(testCase.name, testCase.data, options); + expect(dataType).toEqual(testCase.type); + }); + }); +}); diff --git a/test/__tests__/mssql.test.js b/test/__tests__/mssql.test.js deleted file mode 100644 index 7e883d2c30..0000000000 --- a/test/__tests__/mssql.test.js +++ /dev/null @@ -1,50 +0,0 @@ -const { getDataType } = require("../../src/warehouse/index"); -const { - getDataTypeOverride -} = require("../../src/v0/destinations/mssql/transform"); - -var testCases = [ - { - name: "normalInt", - data: 1, - type: "int" - }, - { - name: "normalFloat", - data: 2.01, - type: "float" - }, - { - name: "normalBoolean", - data: true, - type: "boolean" - }, - { - name: "normalString", - data: "mssql transformation[*007}", - type: "string" - }, - { - name: "violationErrors", - data: [ - { - message: - "no schema for eventName : Product Purchased new, eventType : track in trackingPlanID : tp_20dfXJDpotQWHe7hMxfQfgWMZDv::1", - meta: {}, - type: "Unplanned-Event" - } - ], - type: "string" - } -]; - -describe("MSSQL data types testing", () => { - let options = {}; - options.getDataTypeOverride = getDataTypeOverride; - testCases.forEach(testCase => { - it(`should return data type ${testCase.type} for this input data ${testCase.data} everytime`, () => { - var dataType = getDataType(testCase.name, testCase.data, options); - expect(dataType).toEqual(testCase.type); - }); - }); -}); diff --git a/test/__tests__/postgres.test.js b/test/__tests__/postgres.test.js deleted file mode 100644 index 354fedba09..0000000000 --- a/test/__tests__/postgres.test.js +++ /dev/null @@ -1,50 +0,0 @@ -const { getDataType } = require("../../src/warehouse/index"); -const { - getDataTypeOverride -} = require("../../src/v0/destinations/postgres/transform"); - -var testCases = [ - { - name: "normalInt", - data: 1, - type: "int" - }, - { - name: "normalFloat", - data: 2.01, - type: "float" - }, - { - name: "normalBoolean", - data: true, - type: "boolean" - }, - { - name: "normalString", - data: "postgres transformation[*007}", - type: "string" - }, - { - name: "violationErrors", - data: [ - { - message: - "no schema for eventName : Product Purchased new, eventType : track in trackingPlanID : tp_20dfXJDpotQWHe7hMxfQfgWMZDv::1", - meta: {}, - type: "Unplanned-Event" - } - ], - type: "json" - } -]; - -describe("Postgres data types testing", () => { - let options = {}; - options.getDataTypeOverride = getDataTypeOverride; - testCases.forEach(testCase => { - it(`should return data type ${testCase.type} for this input data ${testCase.data} everytime`, () => { - var dataType = getDataType(testCase.name, testCase.data, options); - expect(dataType).toEqual(testCase.type); - }); - }); -}); From 100c80881eb99716198231deb9ec0e69dc3fa2a0 Mon Sep 17 00:00:00 2001 From: Sankeerth Date: Thu, 28 Sep 2023 10:32:35 +0530 Subject: [PATCH 016/104] feat: add axios mocking to component test-suite (#2638) --- jest.config.typescript.js | 258 +- package-lock.json | 48 + package.json | 3 + src/adapters/network.js | 11 + src/v0/destinations/canny/util.js | 15 +- src/v0/destinations/yahoo_dsp/util.js | 6 +- test/__mocks__/axios.js | 2 - .../data/optimizely_fullstack/response.json | 180 - .../__mocks__/data/pardot/proxy_response.json | 352 - test/__mocks__/optimizely_fullstack.mock.js | 19 - test/__tests__/data/optimizely_fullstack.json | 1641 ----- .../data/optimizely_fullstack_router.json | 494 -- test/__tests__/data/pardot_proxy_input.json | 106 - test/__tests__/data/pardot_proxy_output.json | 378 - .../optimizely_fullstack-cdk.test.ts | 60 - test/__tests__/pardot.test.js | 28 - test/__tests__/proxy.test.ts | 22 +- test/deleteUsers/README.md | 35 - test/deleteUsers/data/af/handler_input.json | 177 - test/deleteUsers/data/af/handler_output.json | 44 - test/deleteUsers/data/af/nw_client_data.json | 58 - test/deleteUsers/data/am/handler_input.json | 380 - test/deleteUsers/data/am/handler_output.json | 26 - test/deleteUsers/data/am/nw_client_data.json | 91 - .../deleteUsers/data/braze/handler_input.json | 393 -- .../data/braze/handler_output.json | 32 - .../data/braze/nw_client_data.json | 97 - .../data/clevertap/handler_input.json | 441 -- .../data/clevertap/handler_output.json | 20 - .../data/clevertap/nw_client_data.json | 177 - .../data/engage/handler_input.json | 133 - .../data/engage/handler_output.json | 39 - .../data/engage/nw_client_data.json | 197 - test/deleteUsers/data/ga/handler_input.json | 83 - test/deleteUsers/data/ga/handler_output.json | 21 - test/deleteUsers/data/ga/nw_client_data.json | 316 - .../data/intercom/handler_input.json | 90 - .../data/intercom/handler_output.json | 32 - .../data/intercom/nw_client_data.json | 96 - test/deleteUsers/data/mp/handler_input.json | 3155 --------- test/deleteUsers/data/mp/handler_output.json | 44 - test/deleteUsers/data/mp/nw_client_data.json | 6159 ----------------- .../data/sendgrid/handler_input.json | 921 --- .../data/sendgrid/handler_output.json | 26 - .../data/sendgrid/nw_client_data.json | 117 - test/deleteUsers/deleteUsers.test.ts | 67 - test/integrations/component.test.ts | 75 +- .../destinations/active_campaign/network.ts | 1966 ++++++ .../destinations/af/deleteUsers/data.ts | 302 + test/integrations/destinations/af/network.ts | 67 + .../destinations/am/deleteUsers/data.ts | 396 ++ test/integrations/destinations/am/network.ts | 209 + .../destinations/braze/deleteUsers/data.ts | 483 ++ .../destinations/braze/network.ts | 191 + test/integrations/destinations/canny/data.ts | 3 + .../destinations/canny/network.ts | 83 + .../clevertap/deleteUsers/data.ts | 495 ++ .../destinations/clevertap/network.ts | 175 + .../destinations/engage/deleteUsers/data.ts | 241 + .../destinations/engage/network.ts | 141 + .../destinations/ga/deleteUsers/data.ts | 139 + test/integrations/destinations/ga/network.ts | 293 + .../destinations/intercom/deleteUsers/data.ts | 180 + .../destinations/intercom/network.ts | 93 + .../marketo_static_list/network.ts | 22 + .../destinations/mautic/network.ts | 3232 +++++++++ .../destinations/mp/deleteUsers/data.ts | 3281 +++++++++ test/integrations/destinations/mp/network.ts | 1150 +++ .../optimizely_fullstack/network.ts | 206 + .../optimizely_fullstack/processor/data.ts | 2170 ++++++ .../optimizely_fullstack/router/data.ts | 563 ++ .../destinations/pardot/network.ts | 440 ++ .../destinations/pardot/router/data.ts | 553 ++ .../destinations/sendgrid/deleteUsers/data.ts | 1275 ++++ .../destinations/sendgrid/network.ts | 110 + .../destinations/trengo/network.ts | 1326 ++++ .../integrations/destinations/user/network.ts | 441 ++ .../destinations/yahoo_dsp/network.ts | 22 + .../destinations/yahoo_dsp/processor/data.ts | 12 +- .../destinations/yahoo_dsp/router/data.ts | 3 + .../destinations/zendesk/network.ts | 1825 +++++ test/integrations/testTypes.ts | 9 + test/integrations/testUtils.ts | 53 +- test/testHelper.js | 13 + 84 files changed, 22453 insertions(+), 16875 deletions(-) delete mode 100644 test/__mocks__/data/optimizely_fullstack/response.json delete mode 100644 test/__mocks__/data/pardot/proxy_response.json delete mode 100644 test/__mocks__/optimizely_fullstack.mock.js delete mode 100644 test/__tests__/data/optimizely_fullstack.json delete mode 100644 test/__tests__/data/optimizely_fullstack_router.json delete mode 100644 test/__tests__/data/pardot_proxy_input.json delete mode 100644 test/__tests__/data/pardot_proxy_output.json delete mode 100644 test/__tests__/optimizely_fullstack-cdk.test.ts delete mode 100644 test/__tests__/pardot.test.js delete mode 100644 test/deleteUsers/README.md delete mode 100644 test/deleteUsers/data/af/handler_input.json delete mode 100644 test/deleteUsers/data/af/handler_output.json delete mode 100644 test/deleteUsers/data/af/nw_client_data.json delete mode 100644 test/deleteUsers/data/am/handler_input.json delete mode 100644 test/deleteUsers/data/am/handler_output.json delete mode 100644 test/deleteUsers/data/am/nw_client_data.json delete mode 100644 test/deleteUsers/data/braze/handler_input.json delete mode 100644 test/deleteUsers/data/braze/handler_output.json delete mode 100644 test/deleteUsers/data/braze/nw_client_data.json delete mode 100644 test/deleteUsers/data/clevertap/handler_input.json delete mode 100644 test/deleteUsers/data/clevertap/handler_output.json delete mode 100644 test/deleteUsers/data/clevertap/nw_client_data.json delete mode 100644 test/deleteUsers/data/engage/handler_input.json delete mode 100644 test/deleteUsers/data/engage/handler_output.json delete mode 100644 test/deleteUsers/data/engage/nw_client_data.json delete mode 100644 test/deleteUsers/data/ga/handler_input.json delete mode 100644 test/deleteUsers/data/ga/handler_output.json delete mode 100644 test/deleteUsers/data/ga/nw_client_data.json delete mode 100644 test/deleteUsers/data/intercom/handler_input.json delete mode 100644 test/deleteUsers/data/intercom/handler_output.json delete mode 100644 test/deleteUsers/data/intercom/nw_client_data.json delete mode 100644 test/deleteUsers/data/mp/handler_input.json delete mode 100644 test/deleteUsers/data/mp/handler_output.json delete mode 100644 test/deleteUsers/data/mp/nw_client_data.json delete mode 100644 test/deleteUsers/data/sendgrid/handler_input.json delete mode 100644 test/deleteUsers/data/sendgrid/handler_output.json delete mode 100644 test/deleteUsers/data/sendgrid/nw_client_data.json delete mode 100644 test/deleteUsers/deleteUsers.test.ts create mode 100644 test/integrations/destinations/active_campaign/network.ts create mode 100644 test/integrations/destinations/af/deleteUsers/data.ts create mode 100644 test/integrations/destinations/af/network.ts create mode 100644 test/integrations/destinations/am/deleteUsers/data.ts create mode 100644 test/integrations/destinations/am/network.ts create mode 100644 test/integrations/destinations/braze/deleteUsers/data.ts create mode 100644 test/integrations/destinations/braze/network.ts create mode 100644 test/integrations/destinations/canny/network.ts create mode 100644 test/integrations/destinations/clevertap/deleteUsers/data.ts create mode 100644 test/integrations/destinations/clevertap/network.ts create mode 100644 test/integrations/destinations/engage/deleteUsers/data.ts create mode 100644 test/integrations/destinations/engage/network.ts create mode 100644 test/integrations/destinations/ga/deleteUsers/data.ts create mode 100644 test/integrations/destinations/ga/network.ts create mode 100644 test/integrations/destinations/intercom/deleteUsers/data.ts create mode 100644 test/integrations/destinations/intercom/network.ts create mode 100644 test/integrations/destinations/marketo_static_list/network.ts create mode 100644 test/integrations/destinations/mautic/network.ts create mode 100644 test/integrations/destinations/mp/deleteUsers/data.ts create mode 100644 test/integrations/destinations/mp/network.ts create mode 100644 test/integrations/destinations/optimizely_fullstack/network.ts create mode 100644 test/integrations/destinations/optimizely_fullstack/processor/data.ts create mode 100644 test/integrations/destinations/optimizely_fullstack/router/data.ts create mode 100644 test/integrations/destinations/pardot/network.ts create mode 100644 test/integrations/destinations/sendgrid/deleteUsers/data.ts create mode 100644 test/integrations/destinations/sendgrid/network.ts create mode 100644 test/integrations/destinations/trengo/network.ts create mode 100644 test/integrations/destinations/user/network.ts create mode 100644 test/integrations/destinations/yahoo_dsp/network.ts create mode 100644 test/integrations/destinations/zendesk/network.ts diff --git a/jest.config.typescript.js b/jest.config.typescript.js index 66f4236e7e..fde50e3d5e 100644 --- a/jest.config.typescript.js +++ b/jest.config.typescript.js @@ -2,186 +2,186 @@ // https://jestjs.io/docs/en/configuration.html module.exports = { - // All imported modules in your tests should be mocked automatically - // automock: false, + // All imported modules in your tests should be mocked automatically + // automock: false, - // Stop running tests after `n` failures - bail: 1, + // Stop running tests after `n` failures + bail: 1, - // Respect "browser" field in package.json when resolving modules - // browser: false, + // 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", + // 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, + // 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, + // 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, + // 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/ts-coverage', + // The directory where Jest should output its coverage files + coverageDirectory: 'reports/ts-coverage', - // An array of regexp pattern strings used to skip coverage collection - coveragePathIgnorePatterns: ['/node_modules/', '__tests__'], + // An array of regexp pattern strings used to skip coverage collection + coveragePathIgnorePatterns: ['/node_modules/', '__tests__'], - // A list of reporter names that Jest uses when writing coverage reports - coverageReporters: ['json', 'text', 'lcov', 'clover'], + // 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: 30, - functions: 40, - lines: 50, - statements: 50, - }, + // An object that configures minimum threshold enforcement for coverage results + coverageThreshold: { + global: { + branches: 30, + functions: 40, + lines: 50, + statements: 50, }, + }, - // A path to a custom dependency extractor - // dependencyExtractor: null, + // A path to a custom dependency extractor + // dependencyExtractor: null, - // Make calling deprecated APIs throw helpful error messages - errorOnDeprecated: true, + // Make calling deprecated APIs throw helpful error messages + errorOnDeprecated: true, - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], + // 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 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 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: true - // }, - // }, + // A set of global variables that need to be available in all test environments + // globals: { + // 'ts-jest': { + // tsConfigFile: 'tsconfig.json', + // diagnostics: true + // }, + // }, - // 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%", + // 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 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'], + // 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: {}, + // 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: [], + // 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, + // Activates notifications for test results + notify: true, - // An enum that specifies notification mode. Requires { notify: true } - notifyMode: 'failure-change', + // 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: 'ts-jest', + // A preset that is used as a base for Jest's configuration + preset: 'ts-jest', - // Run tests from one or more projects - // projects: null, + // Run tests from one or more projects + // projects: null, - // Use this configuration option to add custom reporters to Jest - // reporters: undefined, + // Use this configuration option to add custom reporters to Jest + // reporters: undefined, - // Automatically reset mock state between every test - // resetMocks: false, + // Automatically reset mock state between every test + // resetMocks: false, - // Reset the module registry before running each individual test - // resetModules: false, + // Reset the module registry before running each individual test + // resetModules: false, - // A path to a custom resolver - // resolver: null, + // A path to a custom resolver + // resolver: null, - // Automatically restore mock state between every test - // restoreMocks: false, + // Automatically restore mock state between every test + // restoreMocks: false, - // The root directory that Jest should scan for tests and modules within - // rootDir: null, + // 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: [ - // "" - // ], + // 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", + // 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: [], + // 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 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: [], + // 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', + // The test environment that will be used for testing + testEnvironment: 'node', - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, + // Options that will be passed to the testEnvironment + // testEnvironmentOptions: {}, - // Adds a location field to test results - // testLocationInResults: false, + // Adds a location field to test results + // testLocationInResults: false, - // The glob patterns Jest uses to detect test files - testMatch: ['**/*.(test).ts?(x)'], + // The glob patterns Jest uses to detect test files + testMatch: ['**/*.(test).ts?(x)'], - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - testPathIgnorePatterns: ['/node_modules/'], + // 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: [], + // 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 the use of a custom results processor + // testResultsProcessor: null, - // This option allows use of a custom test runner - // testRunner: "jasmine2", + // 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", + // 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", + // 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: { - '^.+\\.tsx?$': [ - 'ts-jest', - { - tsconfig: 'tsconfig.json', - diagnostics: true, - }, - ], - }, + // A map from regular expressions to paths to transformers + transform: { + '^.+\\.tsx?$': [ + '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 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, + // 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, + // 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: [], + // 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, + // Whether to use watchman for file crawling + // watchman: true, }; diff --git a/package-lock.json b/package-lock.json index d1334cb0f6..0ebcb14c71 100644 --- a/package-lock.json +++ b/package-lock.json @@ -73,6 +73,7 @@ "devDependencies": { "@commitlint/config-conventional": "^17.6.3", "@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1", + "@types/fast-json-stable-stringify": "^2.1.0", "@types/jest": "^29.5.1", "@types/koa": "^2.13.6", "@types/koa-bodyparser": "^4.3.10", @@ -80,6 +81,7 @@ "@types/node": "^20.2.5", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.59.2", + "axios-mock-adapter": "^1.22.0", "benchmark-suite": "^0.1.8", "commander": "^10.0.1", "commitizen": "^4.3.0", @@ -7335,6 +7337,16 @@ "@types/send": "*" } }, + "node_modules/@types/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-IyNhGHu71jH1jCXTHmafuoAAdsbBON3kDh7u/UUhLmjYgN5TYB54e1R8ckTCiIevl2UuZaCsi9XRxineY5yUjw==", + "deprecated": "This is a stub types definition. fast-json-stable-stringify provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "fast-json-stable-stringify": "*" + } + }, "node_modules/@types/graceful-fs": { "version": "4.1.6", "dev": true, @@ -8213,6 +8225,42 @@ "proxy-from-env": "^1.1.0" } }, + "node_modules/axios-mock-adapter": { + "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" + }, + "peerDependencies": { + "axios": ">= 0.17.0" + } + }, + "node_modules/axios-mock-adapter/node_modules/is-buffer": { + "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", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "engines": { + "node": ">=4" + } + }, "node_modules/babel-jest": { "version": "29.6.0", "dev": true, diff --git a/package.json b/package.json index 37db654c9b..ed08c7a7cd 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "test:js:silent": "npm run test:js -- --silent", "test:js:ci": "npm run test:js -- --coverage --expand --maxWorkers=50%", "test:ts": "jest -c jest.config.typescript.js --detectOpenHandles", + "test:ts:component:generateNwMocks": "npm run test:ts -- component --generate=true", "test:ts:silent": "npm run test:ts -- --silent", "test:ts:ci": "npm run test:ts -- --coverage --expand --maxWorkers=50%", "test:ut:integration": "jest \"user_transformation.integration.test.js\" --detectOpenHandles --notify", @@ -113,6 +114,7 @@ "devDependencies": { "@commitlint/config-conventional": "^17.6.3", "@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1", + "@types/fast-json-stable-stringify": "^2.1.0", "@types/jest": "^29.5.1", "@types/koa": "^2.13.6", "@types/koa-bodyparser": "^4.3.10", @@ -120,6 +122,7 @@ "@types/node": "^20.2.5", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.59.2", + "axios-mock-adapter": "^1.22.0", "benchmark-suite": "^0.1.8", "commander": "^10.0.1", "commitizen": "^4.3.0", diff --git a/src/adapters/network.js b/src/adapters/network.js index 78552048f0..5ee62029a3 100644 --- a/src/adapters/network.js +++ b/src/adapters/network.js @@ -9,6 +9,8 @@ const log = require('../logger'); const stats = require('../util/stats'); const { removeUndefinedValues } = require('../v0/util'); const { processAxiosResponse } = require('./utils/networkUtils'); +// Only for tests +const { setResponsesForMockAxiosAdapter } = require('../../test/testHelper'); const MAX_CONTENT_LENGTH = parseInt(process.env.MAX_CONTENT_LENGTH, 10) || 100000000; const MAX_BODY_LENGTH = parseInt(process.env.MAX_BODY_LENGTH, 10) || 100000000; @@ -84,6 +86,7 @@ const httpSend = async (options, statTags = {}) => { const requestOptions = enhanceRequestOptions(options); const startTime = new Date(); + const { url, data, method } = requestOptions; try { const response = await axios(requestOptions); clientResponse = { success: true, response }; @@ -92,6 +95,8 @@ const httpSend = async (options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + + setResponsesForMockAxiosAdapter({ url, data, method, options }, clientResponse); return clientResponse; }; @@ -117,6 +122,7 @@ const httpGET = async (url, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, options, method: 'GET' }, clientResponse); return clientResponse; }; @@ -142,6 +148,7 @@ const httpDELETE = async (url, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, options, method: 'DELETE' }, clientResponse); return clientResponse; }; @@ -168,6 +175,7 @@ const httpPOST = async (url, data, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, data, options, method: 'POST' }, clientResponse); return clientResponse; }; @@ -194,6 +202,7 @@ const httpPUT = async (url, data, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, data, options, method: 'PUT' }, clientResponse); return clientResponse; }; @@ -220,6 +229,7 @@ const httpPATCH = async (url, data, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, data, options, method: 'PATCH' }, clientResponse); return clientResponse; }; @@ -388,4 +398,5 @@ module.exports = { getPayloadData, getFormData, handleHttpRequest, + enhanceRequestOptions, }; diff --git a/src/v0/destinations/canny/util.js b/src/v0/destinations/canny/util.js index 9666f143df..002d9aa69f 100644 --- a/src/v0/destinations/canny/util.js +++ b/src/v0/destinations/canny/util.js @@ -25,7 +25,7 @@ const retrieveUserId = async (apiKey, message) => { message.traits?.email || message.context?.traits?.email || message.properties?.email; const { userId } = message; - const header = { + const headers = { 'Content-Type': 'application/x-www-form-urlencoded', Accept: JSON_MIME_TYPE, }; @@ -38,10 +38,15 @@ const retrieveUserId = async (apiKey, message) => { } else { requestBody.userID = `${userId}`; } - const response = await httpPOST(url, qs.stringify(requestBody), header, { - destType: 'canny', - feature: 'transformation', - }); + const response = await httpPOST( + url, + qs.stringify(requestBody), + { headers }, + { + destType: 'canny', + feature: 'transformation', + }, + ); logger.debug(response); // If the request fails, throwing error. if (response.success === false) { diff --git a/src/v0/destinations/yahoo_dsp/util.js b/src/v0/destinations/yahoo_dsp/util.js index f47717df51..a069660bde 100644 --- a/src/v0/destinations/yahoo_dsp/util.js +++ b/src/v0/destinations/yahoo_dsp/util.js @@ -1,7 +1,7 @@ const qs = require('qs'); const sha256 = require('sha256'); const { generateJWTToken } = require('../../../util/jwtTokenGenerator'); -const { httpPOST } = require('../../../adapters/network'); +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'); @@ -119,7 +119,7 @@ const getAccessToken = async (destination) => { }; const request = { - header: { + headers: { 'Content-Type': 'application/x-www-form-urlencoded', Accept: JSON_MIME_TYPE, }, @@ -134,7 +134,7 @@ const getAccessToken = async (destination) => { }), method: 'POST', }; - const dspAuthorisationData = await httpPOST(request.url, request.data, request.header, { + const dspAuthorisationData = await httpSend(request, { destType: 'yahoo_dsp', feature: 'transformation', }); diff --git a/test/__mocks__/axios.js b/test/__mocks__/axios.js index dc3005d909..6a3139c4e9 100644 --- a/test/__mocks__/axios.js +++ b/test/__mocks__/axios.js @@ -40,7 +40,6 @@ const { sendgridGetRequestHandler } = require("./sendgrid.mock"); const { sendinblueGetRequestHandler } = require("./sendinblue.mock"); const { courierGetRequestHandler } = require("./courier.mock"); const { brazePostRequestHandler } = require("./braze.mock"); -const {optimizelyFullStackGetRequestHandler} = require("./optimizely_fullstack.mock"); const urlDirectoryMap = { "api.hubapi.com": "hs", @@ -55,7 +54,6 @@ const urlDirectoryMap = { "api.sendinblue.com": "sendinblue", "api.criteo.com": "criteo_audience", "api.courier.com": "courier", - "cdn.optimizely.com": "optimizely_fullstack", }; const fs = require("fs"); diff --git a/test/__mocks__/data/optimizely_fullstack/response.json b/test/__mocks__/data/optimizely_fullstack/response.json deleted file mode 100644 index e83dd8197f..0000000000 --- a/test/__mocks__/data/optimizely_fullstack/response.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "https://cdn.optimizely.com/datafiles/abc.json": { - "accountId": "test_account_id", - "projectId": "test_project_id", - "revision": "45", - "attributes": [ - { - "id": "test_attribute_id_1", - "key": "gender" - }, - { - "id": "test_attribute_id_2", - "key": "name" - }, - { - "id": "test_attribute_id_3", - "key": "userId" - }, - { - "id": "test_attribute_id_4", - "key": "anonymousId" - }, - { - "id": "test_attribute_id_5", - "key": "company" - } - ], - "audiences": [ - { - "id": "$opt_test_audience", - "name": "Optimizely-Generated Audience for Backwards Compatibility", - "conditions": "[\"or\", {\"match\": \"exact\", \"name\": \"$opt_test_attribute\", \"type\": \"custom_attribute\", \"value\": \"$opt_test_value\"}]" - } - ], - "version": "4", - "events": [ - { - "id": "test_event_id_1", - "experimentIds": ["test_experiment_id"], - "key": "Product Added" - }, - { - "id": "test_event_id_2", - "experimentIds": ["test_experiment_id"], - "key": "Product Removed" - }, - { - "id": "test_event_id_3", - "experimentIds": ["test_experiment_id"], - "key": "Order Placed" - }, - { - "id": "test_event_id_4", - "experimentIds": ["test_experiment_id"], - "key": "Viewed Meal page" - }, - { - "id": "test_event_id_5", - "experimentIds": ["test_experiment_id"], - "key": "Viewed food page" - }, - { - "id": "test_event_id_6", - "experimentIds": ["test_experiment_id"], - "key": "Viewed Main screen" - }, - { - "id": "test_event_id_7", - "experimentIds": ["test_experiment_id"], - "key": "Home" - }, - { - "id": "test_event_id_8", - "experimentIds": ["test_experiment_id"], - "key": "Index" - } - ], - "anonymizeIP": true, - "botFiltering": false, - "typedAudiences": [], - "variables": [], - "environmentKey": "production", - "sdkKey": "test_sdk_key", - "featureFlags": [ - { - "id": "test_feature_flag_id", - "key": "testfeature", - "experimentIds": ["test_experiment_id"], - "rolloutId": "test_rollout_id", - "variables": [ - { - "id": "test_variable_id", - "key": "sort_method", - "type": "string", - "defaultValue": "alphabetical" - } - ] - } - ], - "rollouts": [ - { - "id": "test_rollout_id", - "experiments": [ - { - "forcedVariations": {}, - "id": "test_experiment_id", - "key": "test_experiment_key", - "status": "Running", - "trafficAllocation": [ - { - "entityId": "test_variation_id", - "endOfRange": 10000 - } - ], - "variations": [ - { - "id": "test_variation_id", - "key": "test_variation_key", - "variables": [ - { - "id": "test_variable_id", - "value": "alphabetical" - } - ], - "featureEnabled": true - } - ], - "layerId": "test_layer_id", - "audienceIds": [] - } - ] - } - ], - "experiments": [ - { - "forcedVariations": {}, - "id": "test_experiment_id", - "key": "test_experiment_key", - "status": "Running", - "trafficAllocation": [ - { - "entityId": "test_variation_id_1", - "endOfRange": 5000 - }, - { - "entityId": "test_variation_id_2", - "endOfRange": 10000 - } - ], - "variations": [ - { - "id": "test_variation_id_1", - "key": "variation_1", - "variables": [ - { - "id": "test_variable_id", - "value": "popular_first" - } - ], - "featureEnabled": true - }, - { - "id": "test_variation_id_2", - "key": "variation_2", - "variables": [ - { - "id": "test_variable_id", - "value": "popular_first" - } - ], - "featureEnabled": true - } - ], - "layerId": "test_layer_id", - "audienceIds": [] - } - ], - "groups": [] - } -} diff --git a/test/__mocks__/data/pardot/proxy_response.json b/test/__mocks__/data/pardot/proxy_response.json deleted file mode 100644 index 53cf0d1255..0000000000 --- a/test/__mocks__/data/pardot/proxy_response.json +++ /dev/null @@ -1,352 +0,0 @@ -{ - "https://pi.pardot.com/api/prospect/version/4/do/upsert/id/123435": { - "data": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger12", - "last_name": "Federer12", - "email": "Roger12@waltair.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": null, - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": null, - "crm_last_sync": null, - "crm_url": null, - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 200, - "statusText": "OK" - }, - "https://pi.pardot.com/api/prospect/version/4/do/upsert/email/Roger_12@waltair.io": { - "data": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger_12", - "last_name": "Federer_12", - "email": "Roger_12@waltair.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": null, - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": null, - "crm_last_sync": null, - "crm_url": null, - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 201, - "statusText": "Created" - }, - "https://pi.pardot.com/api/prospect/version/4/do/upsert/fid/00Q6r000002LKhTPVR": { - "data": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger_12", - "last_name": "Federer_12", - "email": "Roger_12@federer.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": "00Q6r000002LKhTPVR", - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": "00Q6r000002LKhTPVR", - "crm_last_sync": "2022-01-21 18:47:37", - "crm_url": "https://testcompany.my.salesforce.com/00Q6r000002LKhTPVR", - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 200, - "statusText": "OK" - }, - "https://pi.pardot.com/api/prospect/version/4/do/upsert/email/rolex_waltair@mywebsite.io": { - "response": { - "data": { - "@attributes": { - "stat": "fail", - "version": 1, - "err_code": 184 - }, - "err": "access_token is invalid, unknown, or malformed: Inactive token" - } - }, - "status": 401, - "statusText": "Unauthorized" - } -} diff --git a/test/__mocks__/optimizely_fullstack.mock.js b/test/__mocks__/optimizely_fullstack.mock.js deleted file mode 100644 index f2eb3deb8c..0000000000 --- a/test/__mocks__/optimizely_fullstack.mock.js +++ /dev/null @@ -1,19 +0,0 @@ -const optimizelyFullStackGetRequestHandler = (url, mockData) => { - if (url === 'https://cdn.optimizely.com/datafiles/abc.json') { - return { data: mockData, status: 200 }; - } - - return Promise.reject({ - response: { - data: { - code: 'document_not_found', - message: 'document_not_found', - }, - status: 404, - }, - }); -}; - -module.exports = { - optimizelyFullStackGetRequestHandler, -}; diff --git a/test/__tests__/data/optimizely_fullstack.json b/test/__tests__/data/optimizely_fullstack.json deleted file mode 100644 index 1331d38033..0000000000 --- a/test/__tests__/data/optimizely_fullstack.json +++ /dev/null @@ -1,1641 +0,0 @@ -[ - { - "description": "Missing Data File URL", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Data File Url is not present. Aborting" - } - }, - { - "description": "Identify call: Missing Variation ID in integration object", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Variation ID is not present in the integrations object" - } - }, - { - "description": "Missing Account ID", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Account ID is not present. Aborting" - } - }, - { - "description": "Missing Campaign ID", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Campaign ID is not present. Aborting" - } - }, - { - "description": "Missing Experiment ID", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id" - } - } - }, - "output": { - "error": "Experiment ID is not present. Aborting" - } - }, - { - "description": "Page: Track Categorized Page and Track Named Pages toggle are disabled", - "input": { - "message": { - "type": "page", - "channel": "web", - "name": "Home", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id", - "trackCategorizedPages": false, - "trackNamedPages": false - } - } - }, - "output": { - "error": "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." - } - }, - { - "description": "Invalid Configuration (Track known users toggle is on and userId is missing in request)", - "input": { - "message": { - "type": "track", - "channel": "web", - "event": "Product Added", - "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", - "optimizely_fullstack": { - "variationId": "123" - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id", - "trackCategorizedPages": false, - "trackNamedPages": false, - "trackKnownUsers": true - } - } - }, - "output": { - "error": "UserId is required for event tracking when the 'Track Known Users' setting is enabled. Please include a 'userId' in your event payload" - } - }, - { - "description": "Invalid Configuration (Track known users toggle is off and anonymousId is missing in request)", - "input": { - "message": { - "type": "track", - "channel": "web", - "event": "Product Added", - "properties": { - "price": 999, - "quantity": 1 - }, - "context": { - "traits": { - "firstName": "John", - "age": 27 - } - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "AnonymousId is required when 'Track Known Users' setting is disabled" - } - }, - { - "description": "Track call without event", - "input": { - "message": { - "type": "track", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Event is not present. Aborting." - } - }, - { - "description": "Invalid data file url", - "input": { - "message": { - "type": "track", - "event": "Product Added", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/wrong_cdn.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Data File Lookup Failed due to {\"code\":\"document_not_found\",\"message\":\"document_not_found\"}" - } - }, - { - "description": "Invalid data file url", - "input": { - "message": { - "type": "track", - "event": "Product Added", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id", - "eventMapping": [ - { - "from": "Product Added", - "to": "product_added" - } - ] - } - } - }, - "output": { - "error": "Event 'product_added' is not present in data file. Make sure event exists in Optimizely." - } - }, - { - "description": "Identify call (Decision Event) with userId", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe", - "country": "US" - }, - "sessionId": 1685626914716 - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "userId": "userId123", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [ - { - "campaign_id": "test_campaign_id", - "experiment_id": "test_experiment_id", - "variation_id": "test_variation_id_1" - } - ], - "events": [ - { - "entity_id": "test_campaign_id", - "type": "campaign_activated", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff" - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Identify call (Decision Event) with anonymousId", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe", - "country": "US" - }, - "sessionId": 1685626914716 - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "userId": "userId123", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": false - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "97c46c81-3140-456d-b2a9-690d70aaca35", - "snapshots": [ - { - "decisions": [ - { - "campaign_id": "test_campaign_id", - "experiment_id": "test_experiment_id", - "variation_id": "test_variation_id_1" - } - ], - "events": [ - { - "entity_id": "test_campaign_id", - "type": "campaign_activated", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff" - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Identify call (Decision Event) with projectId is empty", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe", - "country": "US" - }, - "sessionId": 1685626914716 - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "userId": "userId123", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "projectId": "", - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [ - { - "campaign_id": "test_campaign_id", - "experiment_id": "test_experiment_id", - "variation_id": "test_variation_id_1" - } - ], - "events": [ - { - "entity_id": "test_campaign_id", - "type": "campaign_activated", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff" - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call (Conversion event) with userId", - "input": { - "message": { - "type": "track", - "event": "product_added", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "revenue": 123, - "quantity": 2 - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_2" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "eventMapping": [ - { - "from": "Product Searched", - "to": "Searched" - }, - { - "from": "product_added", - "to": "Product Added" - } - ], - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "quantity": 2, - "revenue": 12300, - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call (Conversion event) without event mapping configured in webapp", - "input": { - "message": { - "type": "track", - "event": "Product Added", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "97c46c81-3140-456d-b2a9-690d70aaca35", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": {} - } - ] - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call: Missing Variation ID in integration object ", - "input": { - "message": { - "type": "track", - "event": "product_added", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "revenue": 123, - "quantity": 2 - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "eventMapping": [ - { - "from": "Product Searched", - "to": "Searched" - }, - { - "from": "product_added", - "to": "Product Added" - } - ], - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "quantity": 2, - "revenue": 12300, - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Categorized and Named Page", - "input": { - "message": { - "type": "page", - "name": "Meal", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "food" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "food" - } - }, - { - "entity_id": "test_event_id_4", - "key": "Viewed Meal page", - "timestamp": 1676031367251, - "uuid": "generated_uuid", - "tags": { - "foo": "bar", - "category": "food" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Categorized and Named Page without event mapping configured in webapp", - "input": { - "message": { - "type": "page", - "name": "home", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "index" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "", - "to": "" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_8", - "key": "Index", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "index" - } - }, - { - "entity_id": "test_event_id_7", - "key": "Home", - "timestamp": 1676031367251, - "uuid": "generated_uuid", - "tags": { - "foo": "bar", - "category": "index" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Categorized Page: trackCategorizedPages,trackNamedPages toggle are enabled and name is not provided", - "input": { - "message": { - "type": "page", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "food" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "food" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Named Page: trackCategorizedPages,trackNamedPages toggle are enabled and category is not provided", - "input": { - "message": { - "type": "page", - "userId": "userId123", - "name": "Meal", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_4", - "key": "Viewed Meal page", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Named Page: trackCategorizedPages,trackNamedPages toggle are enabled and category mapping is wrong", - "input": { - "message": { - "type": "page", - "userId": "userId123", - "name": "Meal", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "ABC" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_4", - "key": "Viewed Meal page", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Named Page: mapping is not provided for page name in webapp", - "input": { - "message": { - "type": "page", - "userId": "userId123", - "name": "Meal", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": false, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "Home", - "to": "Viewed Home Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "error": "Events [meal] are not present in the data file. Make sure events exist in Optimizely." - } - }, - { - "description": "Track Categorized and Named Screen", - "input": { - "message": { - "type": "screen", - "name": "Home", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "food" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "home", - "to": "Viewed Main Screen" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "food" - } - }, - { - "entity_id": "test_event_id_6", - "key": "Viewed Main screen", - "timestamp": 1676031367251, - "uuid": "generated_uuid", - "tags": { - "foo": "bar", - "category": "food" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } -] diff --git a/test/__tests__/data/optimizely_fullstack_router.json b/test/__tests__/data/optimizely_fullstack_router.json deleted file mode 100644 index 6be928afc9..0000000000 --- a/test/__tests__/data/optimizely_fullstack_router.json +++ /dev/null @@ -1,494 +0,0 @@ -[ - { - "input": [ - { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe", - "country": "US" - }, - "sessionId": 1685626914716 - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "userId": "userId123", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - }, - "metadata": { - "jobId": 1 - } - }, - { - "message": { - "type": "track", - "event": "product_added", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "revenue": 123, - "quantity": 2 - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_2" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "eventMapping": [ - { - "from": "Product Searched", - "to": "Searched" - }, - { - "from": "product_added", - "to": "Product Added" - } - ], - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - }, - "metadata": { - "jobId": 2 - } - }, - { - "message": { - "type": "page", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "food" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": false, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - }, - "metadata": { - "jobId": 3 - } - }, - { - "message": { - "type": "page", - "channel": "web", - "name": "Home", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id", - "trackCategorizedPages": false, - "trackNamedPages": false - } - }, - "metadata": { - "jobId": 4 - } - } - ], - "output": [ - { - "batched": false, - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [ - { - "campaign_id": "test_campaign_id", - "experiment_id": "test_experiment_id", - "variation_id": "test_variation_id_1" - } - ], - "events": [ - { - "entity_id": "test_campaign_id", - "type": "campaign_activated", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff" - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - }, - "metadata": [ - { - "jobId": 1 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "quantity": 2, - "revenue": 12300, - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "eventMapping": [ - { - "from": "Product Searched", - "to": "Searched" - }, - { - "from": "product_added", - "to": "Product Added" - } - ], - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - }, - "metadata": [ - { - "jobId": 2 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "food" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": false, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - }, - "metadata": [ - { - "jobId": 3 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "destination": { - "Config": { - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "experimentId": "test_experiment_id", - "trackCategorizedPages": false, - "trackNamedPages": false - } - }, - "error": "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.", - "metadata": [ - { - "jobId": 4 - } - ], - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - }, - "statusCode": 400 - } - ] - } -] diff --git a/test/__tests__/data/pardot_proxy_input.json b/test/__tests__/data/pardot_proxy_input.json deleted file mode 100644 index f5f62dea72..0000000000 --- a/test/__tests__/data/pardot_proxy_input.json +++ /dev/null @@ -1,106 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://pi.pardot.com/api/prospect/version/4/do/upsert/id/123435", - "headers": { - "Authorization": "Bearer myToken", - "Pardot-Business-Unit-Id": "0Uv2v000000k9tHCAQ" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "first_name": "Roger12", - "last_name": "Federer12", - "website": "https://rudderstack.com", - "score": 14, - "campaign_id": 42213 - } - }, - "files": {}, - "params": { - "destination": "pardot" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://pi.pardot.com/api/prospect/version/4/do/upsert/email/Roger_12@waltair.io", - "headers": { - "Authorization": "Bearer myToken", - "Pardot-Business-Unit-Id": "0Uv2v000000k9tHCAQ" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "first_name": "Roger_12", - "last_name": "Federer_12", - "website": "https://rudderstack.com", - "score": 14, - "campaign_id": 42213 - } - }, - "files": {}, - "params": { - "destination": "pardot" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://pi.pardot.com/api/prospect/version/4/do/upsert/fid/00Q6r000002LKhTPVR", - "headers": { - "Authorization": "Bearer myToken", - "Pardot-Business-Unit-Id": "0Uv2v000000k9tHCAQ" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "first_name": "Nick", - "last_name": "Kyrgios", - "website": "https://rudderstack.com", - "score": 12, - "campaign_id": 42213 - } - }, - "files": {}, - "params": { - "destination": "pardot" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://pi.pardot.com/api/prospect/version/4/do/upsert/email/rolex_waltair@mywebsite.io", - "headers": { - "Authorization": "Bearer myExpiredToken", - "Pardot-Business-Unit-Id": "0Uv2v000000k9tHCAQ" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "first_name": "Rolex", - "last_name": "Waltair", - "website": "https://rudderstack.com", - "score": 15, - "campaign_id": 42213 - } - }, - "files": {}, - "params": { - "destination": "pardot" - } - } -] \ No newline at end of file diff --git a/test/__tests__/data/pardot_proxy_output.json b/test/__tests__/data/pardot_proxy_output.json deleted file mode 100644 index 46783b3d69..0000000000 --- a/test/__tests__/data/pardot_proxy_output.json +++ /dev/null @@ -1,378 +0,0 @@ -[ - { - "output": { - "message": "Request Processed Successfully", - "status": 200, - "destinationResponse": { - "response": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger12", - "last_name": "Federer12", - "email": "Roger12@waltair.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": null, - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": null, - "crm_last_sync": null, - "crm_url": null, - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 200 - } - } - }, - { - "output": { - "message": "Request Processed Successfully", - "status": 201, - "destinationResponse": { - "response": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger_12", - "last_name": "Federer_12", - "email": "Roger_12@waltair.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": null, - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": null, - "crm_last_sync": null, - "crm_url": null, - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 201 - } - } - }, - { - "output": { - "message": "Request Processed Successfully", - "status": 200, - "destinationResponse": { - "response": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger_12", - "last_name": "Federer_12", - "email": "Roger_12@federer.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": "00Q6r000002LKhTPVR", - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": "00Q6r000002LKhTPVR", - "crm_last_sync": "2022-01-21 18:47:37", - "crm_url": "https://testcompany.my.salesforce.com/00Q6r000002LKhTPVR", - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 200 - } - } - }, - { - "output": { - "message": "access_token is invalid, unknown, or malformed: Inactive token during Pardot response transformation", - "status": 500, - "authErrorCategory": "REFRESH_TOKEN", - "destinationResponse": { - "@attributes": { - "stat": "fail", - "version": 1, - "err_code": 184 - }, - "err": "access_token is invalid, unknown, or malformed: Inactive token" - }, - "statTags": { - "destType": "PARDOT", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - } -] diff --git a/test/__tests__/optimizely_fullstack-cdk.test.ts b/test/__tests__/optimizely_fullstack-cdk.test.ts deleted file mode 100644 index b51cd18b11..0000000000 --- a/test/__tests__/optimizely_fullstack-cdk.test.ts +++ /dev/null @@ -1,60 +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 = 'optimizely_fullstack'; -const destName = 'Optimizely Fullstack'; - -jest.mock('../../src/v0/util/index', () => { - const originalModule = jest.requireActual('../../src/v0/util/index'); - return { - ...originalModule, - generateUUID: jest.fn(() => 'generated_uuid'), - }; -}); - -// Processor Test files -const testDataFile = fs.readFileSync(path.resolve(__dirname, `./data/${integration}.json`), { - encoding: 'utf8', -}); -const testData = JSON.parse(testDataFile); - -// Router Test files -const routerTestDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router.json`), - { encoding: 'utf8' }, -); -const routerTestData = JSON.parse(routerTestDataFile); - -describe(`${destName} Tests`, () => { - describe('Processor Tests', () => { - testData.forEach((dataPoint, index) => { - it(`${destName} - payload: ${index}`, async () => { - try { - const output = await processCdkV2Workflow( - integration, - dataPoint.input, - tags.FEATURES.PROCESSOR, - ); - expect(output).toEqual(dataPoint.output); - } catch (error: any) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); - - describe('Router Tests', () => { - routerTestData.forEach((dataPoint) => { - it('Optimizely fullstack router test case', async () => { - const output = await processCdkV2Workflow( - integration, - dataPoint.input, - tags.FEATURES.ROUTER, - ); - expect(output).toEqual(dataPoint.output); - }); - }); - }); -}); diff --git a/test/__tests__/pardot.test.js b/test/__tests__/pardot.test.js deleted file mode 100644 index d766d3b856..0000000000 --- a/test/__tests__/pardot.test.js +++ /dev/null @@ -1,28 +0,0 @@ -const fs = require("fs"); -const path = require("path"); - -const integration = "pardot"; -const name = "pardot"; - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -//for router test -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} Router Tests`, () => { - describe("Router Tests", () => { - it(`${name} Payload`, async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/proxy.test.ts b/test/__tests__/proxy.test.ts index 9f13c198fc..15769fc8dc 100644 --- a/test/__tests__/proxy.test.ts +++ b/test/__tests__/proxy.test.ts @@ -1,12 +1,13 @@ const name = 'Proxy'; -import fs from 'fs'; -import path from 'path'; +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; @@ -37,7 +38,6 @@ const version = '1'; const destinations = [ 'marketo', 'braze', - 'pardot', 'google_adwords_remarketing_lists', 'google_adwords_enhanced_conversions', 'facebook_pixel', @@ -48,7 +48,7 @@ const destinations = [ 'marketo_static_list', 'criteo_audience', 'tiktok_ads', - 'intercom' + 'intercom', ]; // start of generic tests @@ -89,6 +89,20 @@ destinations.forEach((destination) => { 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/deleteUsers/README.md b/test/deleteUsers/README.md deleted file mode 100644 index c3170f3a8c..0000000000 --- a/test/deleteUsers/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# DeleteUsers Tests - -All the tests data for deleteUsers are to be present in **tests**/data/deleteUsers/${destination}/ - -### Files and their significance - -- **`handler_input.json`** - Input data for `handleDeletionOfUsers` function in `versionedRouter.js`(alias for `_deleteUsers_proxy_input.json`) -- **`handler_output.json`** - Output of `handleDeletionOfUsers` function in `versionedRouter.js`(alias for `_deleteUsers_proxy_output.json`) -- **`nw_client_data.json`** - the mock http responses(An example can be seen in the case of `ga`) - -### Fields in new files - -#### nw_client_data.json - -- Type: Array> -- The array of object is how many responses have to be sent back -- Each of the object contains below mentioned fields - - type: - - Indicates what type of http client invocation it is - - Recommended to be sent - - Supported values: - - post - - get - - delete - - constructor - - if nothing is mentioned, `post` is considered by default - - reqParams: - - Type: Array - - Optional - - Indicates the expected arguments that are to be sent to the http client instance - - We would `recommend` to also add this as part of your `nw_client_data.json` - - response: - - Type: object - - Required - - The response that needs to be returned from the http client diff --git a/test/deleteUsers/data/af/handler_input.json b/test/deleteUsers/data/af/handler_input.json deleted file mode 100644 index 7685ec7a73..0000000000 --- a/test/deleteUsers/data/af/handler_input.json +++ /dev/null @@ -1,177 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "userId": "test_user_id", - "android_advertising_id": "1665148898336-5539842602053895577" - } - ], - "config": { - "devKey": "ef1d42390426e3f7c90ac78272e74344", - "appleAppId": "123456789", - "androidAppId": "AnAID", - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "userId": "test_user_id", - "ios_advertising_id": "1665148898336-5539842602053895577" - } - ], - "config": { - "devKey": "ef1d42390426e3f7c90ac78272e74344", - "appleAppId": "123456789", - "androidAppId": "AnAID", - "apiToken": "dummyApiToken", - "statusCallbackUrls": "https://examplecontroller.com/opengdpr_callbacks" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "userId": "test_user_id", - "appsflyer_id": "jklhajksfh" - }, - { - "userId": "user_sdk2", - "appsflyer_id": "jklhajksfh" - } - ], - "config": { - "devKey": "ef1d42390426e3f7c90ac78272e74344", - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "userId": "test_user_id", - "appsflyer_id": "jklhajksfh" - }, - { - "userId": "user_sdk2", - "appsflyer_id": "jklhajksfh" - } - ], - "config": { - "devKey": "ef1d42390426e3f7c90ac78272e74344", - "appleAppId": "123456789", - "statusCallbackUrls": "https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks", - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "email": "testUser@testMail.com", - "android_advertising_id": "1234" - }, - { - "userId": "user_sdk2", - "android_advertising_id": "1234" - } - ], - "config": { - "devKey": "abcde", - "appleAppId": "asdfasdf", - "groupTypeTrait": "email", - "groupValueTrait": "age", - "trackProductsOnce": false, - "trackRevenuePerProduct": false, - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "email": "testUser@testMail.com", - "ios_advertising_id": "1234" - }, - { - "userId": "user_sdk2", - "ios_advertising_id": "1234" - } - ], - "config": { - "devKey": "abcde", - "androidAppId": "com.rudder.rs", - "groupTypeTrait": "email", - "groupValueTrait": "age", - "trackProductsOnce": false, - "trackRevenuePerProduct": false, - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "email": "testUser@testMail.com", - "userId": "user1234" - }, - { - "userId": "user_sdk2", - "ios_advertising_id": "1234" - } - ], - "config": { - "devKey": "abcde", - "androidAppId": "com.rudder.rs", - "groupTypeTrait": "email", - "groupValueTrait": "age", - "trackProductsOnce": false, - "trackRevenuePerProduct": false, - "apiToken": "dummyApiToken" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/af/handler_output.json b/test/deleteUsers/data/af/handler_output.json deleted file mode 100644 index 33363c69d3..0000000000 --- a/test/deleteUsers/data/af/handler_output.json +++ /dev/null @@ -1,44 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "API Token and one of Apple ID or Android App Id are required fields for user deletion" - } - ], - [ - { - "statusCode": 400, - "error": "You can send utmost 3 callBackUrls" - } - ], - [ - { - "statusCode": 400, - "error": "androidAppId is required for android_advertising_id type identifier" - } - ], - [ - { - "statusCode": 400, - "error": "appleAppId is required for ios_advertising_id type identifier" - } - ], - [ - { - "statusCode": 400, - "error": "none of the possible identityTypes i.e.(ios_advertising_id, android_advertising_id, appsflyer_id) is provided for deletion" - } - ] -] diff --git a/test/deleteUsers/data/af/nw_client_data.json b/test/deleteUsers/data/af/nw_client_data.json deleted file mode 100644 index b7ecfc1596..0000000000 --- a/test/deleteUsers/data/af/nw_client_data.json +++ /dev/null @@ -1,58 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://hq1.appsflyer.com/gdpr/opengdpr_requests?api_token=dummyApiToken", - { - "subject_request_type": "erasure", - "subject_identities": { - "identity_format": "raw", - "identity_type": "android_advertising_id", - "identity_value": "1665148898336-5539842602053895577" - }, - "property_id": "AnAID", - "subject_request_id": "f31a16f4-2357-47b5-aba0-d83742f2fd66", - "submitted_time": "2022-12-26T12:51:27.570Z" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "error": { - "code": 400, - "af_gdpr_code": "e411", - "message": "AppID given in 'property_id' is incorrect or does not belong to your account" - } - }, - "status": 400 - } - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://hq1.appsflyer.com/gdpr/opengdpr_requests?api_token=dummyApiToken", - { - "subject_request_type": "erasure", - "subject_identities": { - "identity_format": "raw", - "identity_type": "ios_advertising_id", - "identity_value": "1665148898336-5539842602053895577" - }, - "property_id": "123456789", - "subject_request_id": "f31a16f4-2357-47b5-aba0-d83742f2fd66", - "submitted_time": "2022-12-26T12:51:27.570Z" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ] -] diff --git a/test/deleteUsers/data/am/handler_input.json b/test/deleteUsers/data/am/handler_input.json deleted file mode 100644 index 66b97d4a4d..0000000000 --- a/test/deleteUsers/data/am/handler_input.json +++ /dev/null @@ -1,380 +0,0 @@ -[ - { - "request": { - "body": [ - { - "jobId": "423451324652346", - "destType": "AM", - "userAttributes": [ - { - "userIderror": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - } - ], - "config": { - "apiKey": "1234", - "apiSecret": "abcd" - } - } - ] - } - } -] - - diff --git a/test/deleteUsers/data/am/handler_output.json b/test/deleteUsers/data/am/handler_output.json deleted file mode 100644 index c453a831d9..0000000000 --- a/test/deleteUsers/data/am/handler_output.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "Config for deletion not present" - } - ], - [ - { - "statusCode": 400, - "error": "api key/secret for deletion not present" - } - ] -] diff --git a/test/deleteUsers/data/am/nw_client_data.json b/test/deleteUsers/data/am/nw_client_data.json deleted file mode 100644 index 3abf39691a..0000000000 --- a/test/deleteUsers/data/am/nw_client_data.json +++ /dev/null @@ -1,91 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://amplitude.com/api/2/deletions/users", - { - "userIds": ["Batch1"] - }, - { - "Content-Type": "application/json", - "Authorization": "Basic MTIzNDphYmNk" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 403, - "message": "HTTP 403: Forbidden (Invalid API Key)", - "status": "Forbidden" - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://amplitude.com/api/2/deletions/users", - { - "userIds": ["Batch2"] - }, - { - "Content-Type": "application/json", - "Authorization": "Basic MTIzNDphYmNk" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "Nothing scheduled due to invalid amplitude/user ids for app XXXXX" - } - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://amplitude.com/api/2/deletions/users", - { - "userIds": ["Batch1"] - }, - { - "Content-Type": "application/json", - "Authorization": "Basic MTIzNDphYmNk" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "Mocking" - } - } - }, - { - "type": "post", - "reqParams": [ - "https://amplitude.com/api/2/deletions/users", - { - "userIds": ["Batch2"] - }, - { - "Content-Type": "application/json", - "Authorization": "Basic MTIzNDphYmNk" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "Mocking" - } - } - } - ] -] diff --git a/test/deleteUsers/data/braze/handler_input.json b/test/deleteUsers/data/braze/handler_input.json deleted file mode 100644 index 6a8ad60f4d..0000000000 --- a/test/deleteUsers/data/braze/handler_input.json +++ /dev/null @@ -1,393 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - } - ], - "config": { - "dataCenter": "US-03", - "restApiKey": "1234" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - } - ], - "config": { - "dataCenter": "US-03", - "restApiKey": "1234" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ] - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "dataCenter": "US-03" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "name": "a" - } - ], - "config": { - "restApiKey": "b1bd90e2-d203-480a-962c-f7bb03ea0afe", - "dataCenter": "US-03" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/braze/handler_output.json b/test/deleteUsers/data/braze/handler_output.json deleted file mode 100644 index 7df562646a..0000000000 --- a/test/deleteUsers/data/braze/handler_output.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "Config for deletion not present" - } - ], - [ - { - "statusCode": 400, - "error": "data center / api key for deletion not present" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ] -] diff --git a/test/deleteUsers/data/braze/nw_client_data.json b/test/deleteUsers/data/braze/nw_client_data.json deleted file mode 100644 index 34b2d488da..0000000000 --- a/test/deleteUsers/data/braze/nw_client_data.json +++ /dev/null @@ -1,97 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://rest.iad-03.braze.com/users/delete", - { - "externalIds": ["Batch1"] - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer ${restApiKey}" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail Case" - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://rest.iad-03.braze.com/users/delete", - { - "externalIds": ["Batch2"] - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer ${restApiKey}" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://rest.iad-03.braze.com/users/delete", - { - "externalIds": ["Batch4"] - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer ${restApiKey}" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "deleted": 50, - "message": "success" - } - } - } - }, - { - "type": "post", - "reqParams": [ - "https://rest.iad-03.braze.com/users/delete", - { - "externalIds": ["Batch"] - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer ${restApiKey}" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "deleted": 50, - "message": "success" - } - } - } - } - ] -] diff --git a/test/deleteUsers/data/clevertap/handler_input.json b/test/deleteUsers/data/clevertap/handler_input.json deleted file mode 100644 index 61c9446cf7..0000000000 --- a/test/deleteUsers/data/clevertap/handler_input.json +++ /dev/null @@ -1,441 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "CLEVERTAP", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "accountId": "476550467", - "trackAnonymous": true, - "enableObjectIdMapping": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "CLEVERTAP", - "userAttributes": [ - { - "email": "testUser@testMail.com" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", - "trackAnonymous": true, - "enableObjectIdMapping": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "CLEVERTAP", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "accountId": "testFail", - "passcode": "tofail", - "trackAnonymous": true, - "enableObjectIdMapping": false - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/clevertap/handler_output.json b/test/deleteUsers/data/clevertap/handler_output.json deleted file mode 100644 index cff9494cef..0000000000 --- a/test/deleteUsers/data/clevertap/handler_output.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "Project ID and Passcode is required for delete user" - } - ], - [ - { - "statusCode": 400, - "error": "Project ID and Passcode is required for delete user" - } - ], - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ] -] diff --git a/test/deleteUsers/data/clevertap/nw_client_data.json b/test/deleteUsers/data/clevertap/nw_client_data.json deleted file mode 100644 index 75a4f4550f..0000000000 --- a/test/deleteUsers/data/clevertap/nw_client_data.json +++ /dev/null @@ -1,177 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://api.clevertap.com/1/delete/profiles.json", - { - "identity": [ - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2" - ] - }, - { - "X-CleverTap-Account-Id": "testFail", - "X-CleverTap-Passcode": "tofail" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail Case" - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://api.clevertap.com/1/delete/profiles.json", - { - "identity": [ - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2" - ] - }, - { - "X-CleverTap-Account-Id": "testFail", - "X-CleverTap-Passcode": "tofail" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "rpoxy" - } - } - } - ] -] diff --git a/test/deleteUsers/data/engage/handler_input.json b/test/deleteUsers/data/engage/handler_input.json deleted file mode 100644 index c999787e60..0000000000 --- a/test/deleteUsers/data/engage/handler_input.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "1" - }, - { - "userId": "2" - }, - { - "userId": "3" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "4" - }, - { - "userId": "5" - }, - { - "userId": "6" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "7" - }, - { - "userId": "8" - }, - { - "userId": "9" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "1" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "userid1" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "privateKey": "abcd" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "email": "testUser@testMail.com" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/engage/handler_output.json b/test/deleteUsers/data/engage/handler_output.json deleted file mode 100644 index 1c3f854391..0000000000 --- a/test/deleteUsers/data/engage/handler_output.json +++ /dev/null @@ -1,39 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - - [ - { - "statusCode": 400, - "error": "Public key is a required field for user deletion" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ] -] diff --git a/test/deleteUsers/data/engage/nw_client_data.json b/test/deleteUsers/data/engage/nw_client_data.json deleted file mode 100644 index 833b440766..0000000000 --- a/test/deleteUsers/data/engage/nw_client_data.json +++ /dev/null @@ -1,197 +0,0 @@ -[ - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/1", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail first" - }, - "status": 400 - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/2", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/3", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/4", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/5", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/6", - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "fail 6 " - }, - "status": 400 - } - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/7", - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/8", - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "fail mid case 8" - }, - "status": 400 - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/9", - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/1", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/user_sdk2", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ] -] diff --git a/test/deleteUsers/data/ga/handler_input.json b/test/deleteUsers/data/ga/handler_input.json deleted file mode 100644 index 7470e3cc29..0000000000 --- a/test/deleteUsers/data/ga/handler_input.json +++ /dev/null @@ -1,83 +0,0 @@ -[ - { - "getValue": { - "x-rudder-dest-info": "{\"secret\": { \"access_token\": \"valid_token\" }}" - }, - "request": { - "body": [ - { - "destType": "GA", - "userAttributes": [ - { - "userId": "test_user_1" - }, - { - "userId": "test_user_2" - } - ], - "config": { - "trackingID": "UA-123456789-5", - "useNativeSDK": false - } - } - ] - } - }, - { - "getValue": { - "x-rudder-dest-info": "{\"secret\": { \"access_token\": \"expired_token\" }}" - }, - "request": { - "body": [ - { - "destType": "GA", - "userAttributes": [ - { - "userId": "test_user_3" - }, - { - "userId": "test_user_4" - } - ], - "config": { - "trackingID": "UA-123456789-6", - "useNativeSDK": false - } - } - ] - } - }, - { - "getValue": { - "x-rudder-dest-info": "{\"secret\": { \"access_token\": \"valid_token_1\" }}" - }, - "request": { - "body": [ - { - "destType": "GA", - "userAttributes": [ - { - "userId": "test_user_5" - }, - { - "userId": "test_user_6" - }, - { - "userId": "test_user_7" - }, - { - "userId": "test_user_8" - }, - { - "userId": "test_user_9" - } - ], - "config": { - "trackingID": "UA-123456789-7", - "useNativeSDK": false - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/ga/handler_output.json b/test/deleteUsers/data/ga/handler_output.json deleted file mode 100644 index db31670781..0000000000 --- a/test/deleteUsers/data/ga/handler_output.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 500, - "authErrorCategory": "REFRESH_TOKEN", - "error": "invalid credentials" - } - ], - [ - { - "statusCode": 403, - "error": "Error occurred while completing deletion request: [dummy response] The parameter used to query is not correct" - } - ] -] diff --git a/test/deleteUsers/data/ga/nw_client_data.json b/test/deleteUsers/data/ga/nw_client_data.json deleted file mode 100644 index 7cbeaf726c..0000000000 --- a/test/deleteUsers/data/ga/nw_client_data.json +++ /dev/null @@ -1,316 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_1" - }, - "webPropertyId": "UA-123456789-5" - }, - { - "headers": { - "Authorization": "Bearer valid_token", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_1" - }, - "webPropertyId": "UA-123456789-5", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_1" - }, - "webPropertyId": "UA-123456789-5" - }, - { - "headers": { - "Authorization": "Bearer valid_token", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_2" - }, - "webPropertyId": "UA-123456789-5", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_3" - }, - "webPropertyId": "UA-123456789-6" - }, - { - "headers": { - "Authorization": "Bearer expired_token", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "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": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_4" - }, - "webPropertyId": "UA-123456789-6" - }, - { - "headers": { - "Authorization": "Bearer expired_token", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "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": 200, - "statusText": "OK" - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_5" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_5" - }, - "webPropertyId": "UA-123456789-7", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_6" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_6" - }, - "webPropertyId": "UA-123456789-7", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_7" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "response": { - "data": { - "error": { - "errors": [ - { - "domain": "global", - "reason": "invalidParameter", - "message": "[dummy response] The parameter used to query is not correct" - } - ], - "code": 403, - "message": "[dummy response] The parameter used to query is not correct" - } - }, - "status": 403, - "statusText": "Bad Request" - } - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_8" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_8" - }, - "webPropertyId": "UA-123456789-7", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_9" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_9" - }, - "webPropertyId": "UA-123456789-7", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - } - ] -] diff --git a/test/deleteUsers/data/intercom/handler_input.json b/test/deleteUsers/data/intercom/handler_input.json deleted file mode 100644 index d843db83bc..0000000000 --- a/test/deleteUsers/data/intercom/handler_input.json +++ /dev/null @@ -1,90 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "INTERCOM", - "userAttributes": [ - { - "userId": "1" - }, - { - "userId": "12" - } - ], - "config": { - "apiKey": "API_KEY" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "INTERCOM", - "userAttributes": [ - { - "userId": "7" - }, - { - "userId": "9" - } - ], - "config": { - "apiKey": "API_KEY" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "INTERCOM", - "userAttributes": [ - { - "userId": "6188c2c5f47e464b4abf3235" - }, - { - "userId": "user_sdk2" - } - ] - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "INTERCOM", - "userAttributes": [ - { - "userId": "6188c2c5f47e464b4abf3235" - }, - { - "userId": "user_sdk2" - } - ], - "config": {} - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "INTERCOM", - "userAttributes": [{}], - "config": { - "apiKey": "a=" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/intercom/handler_output.json b/test/deleteUsers/data/intercom/handler_output.json deleted file mode 100644 index 156c6ec114..0000000000 --- a/test/deleteUsers/data/intercom/handler_output.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "Config for deletion not present" - } - ], - [ - { - "statusCode": 400, - "error": "api key for deletion not present" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ] -] diff --git a/test/deleteUsers/data/intercom/nw_client_data.json b/test/deleteUsers/data/intercom/nw_client_data.json deleted file mode 100644 index 462a68cbfd..0000000000 --- a/test/deleteUsers/data/intercom/nw_client_data.json +++ /dev/null @@ -1,96 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://api.intercom.io/users/1", - { - "intercom_user_id": 1 - }, - { - "Accept": "application/json", - "Authorization": "Bearer API_KEY" - } - ], - "response": { - "code": 401, - "statusText": "Unauthorized", - "response": { - "data": { - "type": "error.list", - "request_id": "0022e6v5qc7m04jeu5pg", - "errors": [ - { - "code": "unauthorized", - "message": "Access Token Invalid" - } - ] - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://api.intercom.io/user_delete_requests", - { - "intercom_user_id": 12 - }, - { - "Accept": "application/json", - "Authorization": "Bearer API_KEY" - } - ], - "response": { - "status": 200, - "statusText": "ok", - "data": { - "id": 12 - } - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://api.intercom.io/user_delete_requests", - { - "intercom_user_id": 7 - }, - { - "Accept": "application/json", - "Authorization": "Bearer API_KEY" - } - ], - "response": { - "status": 200, - "statusText": "ok", - "data": { - "id": 7 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://api.intercom.io/user_delete_requests", - { - "intercom_user_id": 9 - }, - { - "Accept": "application/json", - "Authorization": "Bearer API_KEY" - } - ], - "response": { - "status": 200, - "statusText": "ok", - "data": { - "id": 9 - } - } - } - ] -] diff --git a/test/deleteUsers/data/mp/handler_input.json b/test/deleteUsers/data/mp/handler_input.json deleted file mode 100644 index 17bf5818c2..0000000000 --- a/test/deleteUsers/data/mp/handler_input.json +++ /dev/null @@ -1,3155 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - } - ], - "config": { - "token": "testToken", - "prefixProperties": true, - "useNativeSDK": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - } - ], - "config": { - "token": "testToken", - "prefixProperties": true, - "useNativeSDK": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "name": "test1" - } - ], - "config": { - "token": "testToken", - "prefixProperties": true, - "useNativeSDK": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - }, - { - "userId": "rudder2" - }, - { - "userId": "rudder3" - } - ], - "config": { - "token": "test_token", - "prefixProperties": true, - "useNativeSDK": false, - "userDeletionApi": "task", - "gdprApiToken": "test_gdpr_token" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - } - ], - "config": { - "token": "test_token", - "prefixProperties": true, - "useNativeSDK": false, - "userDeletionApi": "task", - "dataResidency": "eu" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - } - ], - "config": { - "token": "test_token", - "prefixProperties": true, - "useNativeSDK": false, - "dataResidency": "eu" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/mp/handler_output.json b/test/deleteUsers/data/mp/handler_output.json deleted file mode 100644 index ddf8387375..0000000000 --- a/test/deleteUsers/data/mp/handler_output.json +++ /dev/null @@ -1,44 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed for `delete profile` api" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "API Token is a required field for user deletion" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "GDPR API Token is a required field for creating deletion task in mixpanel" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ] -] diff --git a/test/deleteUsers/data/mp/nw_client_data.json b/test/deleteUsers/data/mp/nw_client_data.json deleted file mode 100644 index 7a045d9065..0000000000 --- a/test/deleteUsers/data/mp/nw_client_data.json +++ /dev/null @@ -1,6159 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://api.mixpanel.com/engage", - [ - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - } - ], - { - "Content-Type": "application/json", - "Accept": "text/plain" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail Case" - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://api.mixpanel.com/engage", - [ - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - } - ], - { - "Content-Type": "application/json", - "Accept": "text/plain" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - } - ], - { - "type": "post", - "reqParams": [ - "https://api.mixpanel.com/engage", - [ - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - } - ], - { - "Content-Type": "application/json", - "Accept": "text/plain" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - }, - [ - { - "type": "post", - "reqParams": [ - "https://mixpanel.com/api/app/data-deletions/v3.0/?token=test_token", - { - "distinct_ids": ["rudder1", "rudder3"], - "compliance_type": "CCPA" - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer test_gdpr_token" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - }, - { - "type": "post", - "reqParams": [ - "https://mixpanel.com/api/app/data-deletions/v3.0/?token=test_token", - { - "distinct_ids": ["rudder2"], - "compliance_type": "GDPR" - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer test_gdpr_token" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - } - ], - { - "type": "post", - "reqParams": [ - "https://api-eu.mixpanel.com/engage", - [ - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - } - ], - { - "Content-Type": "application/json", - "Accept": "text/plain" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - } -] diff --git a/test/deleteUsers/data/sendgrid/handler_input.json b/test/deleteUsers/data/sendgrid/handler_input.json deleted file mode 100644 index 253657dbde..0000000000 --- a/test/deleteUsers/data/sendgrid/handler_input.json +++ /dev/null @@ -1,921 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "SENDGRID", - "userAttributes": [ - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - } - ], - "config": { - "apiKey": "1234" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "SENDGRID", - "userAttributes": [ - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - } - ], - "config": { - "apiKey": "1234" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "SENDGRID", - "userAttributes": [ - { - "userId": "eab57ccf-6322-498e-9338-7761c6dc0656" - }, - { - "userId": "47983ca9-7cc6-4942-8ff0-ac443g95658d" - } - ], - "config": {} - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "SENDGRID", - "userAttributes": { - "userId": "eab57ccf-6322-498e-9338-7761c6dc0656" - }, - "config": { - "apiKey": "1234" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/sendgrid/handler_output.json b/test/deleteUsers/data/sendgrid/handler_output.json deleted file mode 100644 index 201821f50a..0000000000 --- a/test/deleteUsers/data/sendgrid/handler_output.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "apiKey is required for deleting user" - } - ], - [ - { - "statusCode": 400, - "error": "userAttributes is not an array" - } - ] -] diff --git a/test/deleteUsers/data/sendgrid/nw_client_data.json b/test/deleteUsers/data/sendgrid/nw_client_data.json deleted file mode 100644 index e6bc96bb7f..0000000000 --- a/test/deleteUsers/data/sendgrid/nw_client_data.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - [ - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch1]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - "message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch2]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail Case" - }, - "status": 400 - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch3]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch1]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - "message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch2]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch3]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - } - ] -] diff --git a/test/deleteUsers/deleteUsers.test.ts b/test/deleteUsers/deleteUsers.test.ts deleted file mode 100644 index 18cebc7085..0000000000 --- a/test/deleteUsers/deleteUsers.test.ts +++ /dev/null @@ -1,67 +0,0 @@ -const name = 'DeleteUsers'; -import logger from '../../src/logger'; -import { formAxiosMock, validateMockAxiosClientReqParams } from '../__mocks__/gen-axios.mock'; -const deleteUserDestinations = [ - 'am', - 'braze', - 'intercom', - 'mp', - 'af', - 'clevertap', - 'engage', - 'ga', - 'sendgrid', -]; -// Note: Useful for troubleshooting not to be used in production -const exclusionDestList: string[] = []; -import RegulationController from '../../src/controllers/regulation'; - -// delete user tests -deleteUserDestinations - .filter((d) => !exclusionDestList.includes(d)) - .forEach((destination) => { - const inputData = require(`./data/${destination}/handler_input.json`); - const expectedData = require(`./data/${destination}/handler_output.json`); - - let axiosResponses; - describe(`${name} Tests: ${destination}`, () => { - jest.unmock('axios'); - beforeAll(() => { - try { - axiosResponses = require(`./data/${destination}/nw_client_data.json`); - } catch (error) { - // Do nothing - logger.error(`Error while reading /${destination}/nw_client_data.json: ${error}`); - } - if (Array.isArray(axiosResponses)) { - formAxiosMock(axiosResponses); - } else { - // backward compatibility - jest.mock('axios'); - } - }); - - inputData.forEach((input, index) => { - it(`Payload - ${index}`, async () => { - try { - input.get = jest.fn((destInfoKey) => { - return input.getValue && input.getValue[destInfoKey]; - }); - - const output = await RegulationController.deleteUsers(input); - // validate the axios arguments - if (Array.isArray(axiosResponses) && Array.isArray(axiosResponses[index])) { - axiosResponses[index].forEach((axsRsp) => { - validateMockAxiosClientReqParams({ - resp: axsRsp, - }); - }); - } - expect(output.body).toEqual(expectedData[index]); - } catch (error: any) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - }); diff --git a/test/integrations/component.test.ts b/test/integrations/component.test.ts index 374649dfad..5e011e4115 100644 --- a/test/integrations/component.test.ts +++ b/test/integrations/component.test.ts @@ -1,21 +1,51 @@ import { join } from 'path'; import Koa from 'koa'; import request from 'supertest'; +// Mocking of axios calls +import axios from 'axios'; +// new-library we are using import bodyParser from 'koa-bodyparser'; import { Command } from 'commander'; import { createHttpTerminator } from 'http-terminator'; -import { TestCaseData } from './testTypes'; +import { MockHttpCallsData, TestCaseData } from './testTypes'; import { applicationRoutes } from '../../src/routes/index'; -import { getTestDataFilePaths, getTestData } from './testUtils'; -import tags from '../../src/v0/util/tags'; +import MockAxiosAdapter from 'axios-mock-adapter'; +import { + getTestDataFilePaths, + getTestData, + getMockHttpCallsData, + getAllTestMockDataFilePaths, + addMock, +} from './testUtils'; +import tags, { FEATURES } 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 + +// Use below command to generate mocks +// 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('-g, --generate ', 'Enter "true" If you want to generate network file') + .parse(); const opts = command.opts(); +if (opts.generate === 'true' && !opts.destination) { + throw new Error('Invalid option, generate should be true for a destination'); +} + +if (opts.generate === 'true') { + process.env.GEN_AXIOS_FOR_TESTS = 'true'; +} let server: Server; @@ -31,9 +61,38 @@ beforeAll(async () => { }); afterAll(async () => { + if (opts.generate === 'true') { + const callsDataStr = responses.join('\n'); + const calls = ` + export const networkCallsData = [ + ${callsDataStr} + ] + `; + appendFileSync(join(__dirname, 'destinations', opts.destination, 'network.ts'), calls); + } await createHttpTerminator({ server }).terminate(); }); +let mock; +if (!opts.generate || opts.generate === 'false') { + // unmock already existing axios-mocking + mock = new MockAxiosAdapter(axios, { onNoMatch: 'passthrough' }); + const registerAxiosMocks = (axiosMocks: MockHttpCallsData[]) => { + axiosMocks.forEach((axiosMock) => addMock(mock, 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; + }) + .flat(); + registerAxiosMocks(allAxiosRequests); +} + +// END const rootDir = __dirname; const allTestDataFilePaths = getTestDataFilePaths(rootDir, opts.destination); const DEFAULT_VERSION = 'v0'; @@ -65,7 +124,7 @@ const testRoute = async (route, tcData: TestCaseData) => { const outputResp = tcData.output.response || ({} as any); expect(response.status).toEqual(outputResp.status); - if (outputResp && outputResp.body) { + if (outputResp?.body) { expect(response.body).toEqual(outputResp.body); } @@ -87,7 +146,7 @@ const destinationTestHandler = async (tcData: TestCaseData) => { route = `/${join(tcData.version || DEFAULT_VERSION, 'destinations', tcData.name, 'proxy')}`; break; case tags.FEATURES.USER_DELETION: - route = 'deleteUsers'; + route = '/deleteUsers'; break; case tags.FEATURES.PROCESSOR: // Processor transformation @@ -114,8 +173,14 @@ const sourceTestHandler = async (tcData) => { // Trigger the test suites describe.each(allTestDataFilePaths)('%s Tests', (testDataPath) => { + beforeEach(() => { + jest.clearAllMocks(); + }); + // 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); diff --git a/test/integrations/destinations/active_campaign/network.ts b/test/integrations/destinations/active_campaign/network.ts new file mode 100644 index 0000000000..34834096b1 --- /dev/null +++ b/test/integrations/destinations/active_campaign/network.ts @@ -0,0 +1,1966 @@ +export const networkCallsData = [ + { + httpReq: { + data: { + contact: { + email: 'jamesDoe@gmail.com', + firstName: 'James', + lastName: 'Doe', + phone: '92374162212', + }, + }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contact/sync', + }, + httpRes: { + data: { + contact: { + cdate: '2018-09-28T13:50:41-05:00', + email: 'jamesDoe@gmail.com', + id: '2', + links: { + bounceLogs: 'https://:account.api-us1.com/api/:version/contacts/113/bounceLogs', + contactAutomations: + 'https://:account.api-us1.com/api/:version/contacts/113/contactAutomations', + contactData: 'https://:account.api-us1.com/api/:version/contacts/113/contactData', + contactDeals: 'https://:account.api-us1.com/api/:version/contacts/113/contactDeals', + contactGoals: 'https://:account.api-us1.com/api/:version/contacts/113/contactGoals', + contactLists: 'https://:account.api-us1.com/api/:version/contacts/113/contactLists', + contactLogs: 'https://:account.api-us1.com/api/:version/contacts/113/contactLogs', + contactTags: 'https://:account.api-us1.com/api/:version/contacts/113/contactTags', + deals: 'https://:account.api-us1.com/api/:version/contacts/113/deals', + fieldValues: 'https://:account.api-us1.com/api/:version/contacts/113/fieldValues', + geoIps: 'https://:account.api-us1.com/api/:version/contacts/113/geoIps', + notes: 'https://:account.api-us1.com/api/:version/contacts/113/notes', + organization: 'https://:account.api-us1.com/api/:version/contacts/113/organization', + plusAppend: 'https://:account.api-us1.com/api/:version/contacts/113/plusAppend', + scoreValues: 'https://:account.api-us1.com/api/:version/contacts/113/scoreValues', + trackingLogs: 'https://:account.api-us1.com/api/:version/contacts/113/trackingLogs', + }, + organization: '', + orgid: '', + udate: '2018-09-28T13:50:41-05:00', + }, + fieldValues: [ + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '1', + id: '11797', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11797/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11797/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: 'The Value for First Field', + }, + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '6', + id: '11798', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11798/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11798/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: '2008-01-20', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/tags?limit=100', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Test_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 1, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Test_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Interested_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 2, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Interested_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: '5' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 3, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: '5', + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 1 } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 4, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 1, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 2 } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 5, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 2, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 2, status: '1' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 2, status: '1' } }, status: 200 }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 3, status: '2' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 3, status: '2' } }, status: 200 }, + }, + { + httpReq: { + headers: { Accept: 'application/json, text/plain, */*', 'Api-Token': 'dummyApiToken' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/fields?limit=100', + }, + httpRes: { + data: { + fieldOptions: [], + fieldRels: [], + fields: [ + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Random description', + id: '4', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Random', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Likes description', + id: '3', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Likes', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:43:38-06:00', + cols: '0', + defval: null, + descript: null, + id: '2', + isrequired: '0', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/2/options', + relations: 'https://:account.api-us1.com/api/:version/fields/2/relations', + }, + options: [], + ordernum: '2', + perstag: 'ANOTHER_TEST_TITLE', + relations: [], + rows: '0', + service: '', + show_in_list: '0', + title: 'Another Test Title', + type: '', + udate: '2018-11-15T21:43:38-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Country description', + id: '1', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Country', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Office description', + id: '0', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Office', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + ], + meta: { total: '4' }, + }, + status: 200, + }, + }, + { + httpReq: { + data: { + contact: { + email: 'jamesDoe@gmail.com', + firstName: 'James', + lastName: 'Doe', + phone: '92374162212', + }, + }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contact/sync', + }, + httpRes: { + data: { + contact: { + cdate: '2018-09-28T13:50:41-05:00', + email: 'jamesDoe@gmail.com', + id: '2', + links: { + bounceLogs: 'https://:account.api-us1.com/api/:version/contacts/113/bounceLogs', + contactAutomations: + 'https://:account.api-us1.com/api/:version/contacts/113/contactAutomations', + contactData: 'https://:account.api-us1.com/api/:version/contacts/113/contactData', + contactDeals: 'https://:account.api-us1.com/api/:version/contacts/113/contactDeals', + contactGoals: 'https://:account.api-us1.com/api/:version/contacts/113/contactGoals', + contactLists: 'https://:account.api-us1.com/api/:version/contacts/113/contactLists', + contactLogs: 'https://:account.api-us1.com/api/:version/contacts/113/contactLogs', + contactTags: 'https://:account.api-us1.com/api/:version/contacts/113/contactTags', + deals: 'https://:account.api-us1.com/api/:version/contacts/113/deals', + fieldValues: 'https://:account.api-us1.com/api/:version/contacts/113/fieldValues', + geoIps: 'https://:account.api-us1.com/api/:version/contacts/113/geoIps', + notes: 'https://:account.api-us1.com/api/:version/contacts/113/notes', + organization: 'https://:account.api-us1.com/api/:version/contacts/113/organization', + plusAppend: 'https://:account.api-us1.com/api/:version/contacts/113/plusAppend', + scoreValues: 'https://:account.api-us1.com/api/:version/contacts/113/scoreValues', + trackingLogs: 'https://:account.api-us1.com/api/:version/contacts/113/trackingLogs', + }, + organization: '', + orgid: '', + udate: '2018-09-28T13:50:41-05:00', + }, + fieldValues: [ + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '1', + id: '11797', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11797/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11797/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: 'The Value for First Field', + }, + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '6', + id: '11798', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11798/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11798/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: '2008-01-20', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 2, status: '1' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 2, status: '1' } }, status: 200 }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 3, status: '2' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 3, status: '2' } }, status: 200 }, + }, + { + httpReq: { + headers: { Accept: 'application/json, text/plain, */*', 'Api-Token': 'dummyApiKey' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/fields?limit=100', + }, + httpRes: { + data: { + fieldOptions: [], + fieldRels: [], + fields: [ + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Random description', + id: '4', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Random', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Likes description', + id: '3', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Likes', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:43:38-06:00', + cols: '0', + defval: null, + descript: null, + id: '2', + isrequired: '0', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/2/options', + relations: 'https://:account.api-us1.com/api/:version/fields/2/relations', + }, + options: [], + ordernum: '2', + perstag: 'ANOTHER_TEST_TITLE', + relations: [], + rows: '0', + service: '', + show_in_list: '0', + title: 'Another Test Title', + type: '', + udate: '2018-11-15T21:43:38-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Country description', + id: '1', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Country', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Office description', + id: '0', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Office', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + ], + meta: { total: '4' }, + }, + status: 200, + }, + }, + { + httpReq: { + data: { + contact: { + email: 'jamesDoe@gmail.com', + firstName: 'James', + lastName: 'Doe', + phone: '92374162212', + }, + }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contact/sync', + }, + httpRes: { + data: { + contact: { + cdate: '2018-09-28T13:50:41-05:00', + email: 'jamesDoe@gmail.com', + id: '2', + links: { + bounceLogs: 'https://:account.api-us1.com/api/:version/contacts/113/bounceLogs', + contactAutomations: + 'https://:account.api-us1.com/api/:version/contacts/113/contactAutomations', + contactData: 'https://:account.api-us1.com/api/:version/contacts/113/contactData', + contactDeals: 'https://:account.api-us1.com/api/:version/contacts/113/contactDeals', + contactGoals: 'https://:account.api-us1.com/api/:version/contacts/113/contactGoals', + contactLists: 'https://:account.api-us1.com/api/:version/contacts/113/contactLists', + contactLogs: 'https://:account.api-us1.com/api/:version/contacts/113/contactLogs', + contactTags: 'https://:account.api-us1.com/api/:version/contacts/113/contactTags', + deals: 'https://:account.api-us1.com/api/:version/contacts/113/deals', + fieldValues: 'https://:account.api-us1.com/api/:version/contacts/113/fieldValues', + geoIps: 'https://:account.api-us1.com/api/:version/contacts/113/geoIps', + notes: 'https://:account.api-us1.com/api/:version/contacts/113/notes', + organization: 'https://:account.api-us1.com/api/:version/contacts/113/organization', + plusAppend: 'https://:account.api-us1.com/api/:version/contacts/113/plusAppend', + scoreValues: 'https://:account.api-us1.com/api/:version/contacts/113/scoreValues', + trackingLogs: 'https://:account.api-us1.com/api/:version/contacts/113/trackingLogs', + }, + organization: '', + orgid: '', + udate: '2018-09-28T13:50:41-05:00', + }, + fieldValues: [ + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '1', + id: '11797', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11797/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11797/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: 'The Value for First Field', + }, + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '6', + id: '11798', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11798/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11798/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: '2008-01-20', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/tags?limit=100', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Test_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 6, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Test_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Interested_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 7, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Interested_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: '5' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 8, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: '5', + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 6 } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 9, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 6, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 7 } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 10, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 7, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 2, status: '1' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 2, status: '1' } }, status: 200 }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 3, status: '2' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 3, status: '2' } }, status: 200 }, + }, + { + httpReq: { + headers: { Accept: 'application/json, text/plain, */*', 'Api-Token': 'dummyApiKey' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/fields?limit=100', + }, + httpRes: { + data: { + fieldOptions: [], + fieldRels: [], + fields: [ + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Random description', + id: '4', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Random', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Likes description', + id: '3', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Likes', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:43:38-06:00', + cols: '0', + defval: null, + descript: null, + id: '2', + isrequired: '0', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/2/options', + relations: 'https://:account.api-us1.com/api/:version/fields/2/relations', + }, + options: [], + ordernum: '2', + perstag: 'ANOTHER_TEST_TITLE', + relations: [], + rows: '0', + service: '', + show_in_list: '0', + title: 'Another Test Title', + type: '', + udate: '2018-11-15T21:43:38-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Country description', + id: '1', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Country', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Office description', + id: '0', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Office', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + ], + meta: { total: '4' }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + 'Api-Token': 'dummyApiKey', + + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/eventTrackingEvents', + }, + httpRes: { + data: { + eventTrackingEvents: [{ name: '__pagevisit' }, { name: '__redir' }], + meta: { total: 2 }, + }, + status: 200, + }, + }, + { + httpReq: { + data: { eventTrackingEvent: { name: 'ScreenViewed' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/eventTrackingEvents', + }, + httpRes: { data: { eventTrackingEvent: { name: 'ScreenViewed' } }, status: 201 }, + }, + { + httpReq: { + headers: { 'Api-Token': 'dummyApiKey', Accept: 'application/json, text/plain, */*' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/eventTrackingEvents', + }, + httpRes: { + data: { + eventTrackingEvents: [{ name: '__pagevisit' }, { name: '__redir' }], + meta: { total: 2 }, + }, + status: 200, + }, + }, + { + httpReq: { + data: { eventTrackingEvent: { name: 'Tracking Action' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/eventTrackingEvents', + }, + httpRes: { data: { eventTrackingEvent: { name: 'Tracking Action' } }, status: 201 }, + }, + { + httpReq: { + data: { contact: { email: 'jamesDoe@gmail.com', phone: '92374162212' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contact/sync', + }, + httpRes: { + data: { + contact: { + cdate: '2018-09-28T13:50:41-05:00', + email: 'jamesDoe@gmail.com', + id: '2', + links: { + bounceLogs: 'https://:account.api-us1.com/api/:version/contacts/113/bounceLogs', + contactAutomations: + 'https://:account.api-us1.com/api/:version/contacts/113/contactAutomations', + contactData: 'https://:account.api-us1.com/api/:version/contacts/113/contactData', + contactDeals: 'https://:account.api-us1.com/api/:version/contacts/113/contactDeals', + contactGoals: 'https://:account.api-us1.com/api/:version/contacts/113/contactGoals', + contactLists: 'https://:account.api-us1.com/api/:version/contacts/113/contactLists', + contactLogs: 'https://:account.api-us1.com/api/:version/contacts/113/contactLogs', + contactTags: 'https://:account.api-us1.com/api/:version/contacts/113/contactTags', + deals: 'https://:account.api-us1.com/api/:version/contacts/113/deals', + fieldValues: 'https://:account.api-us1.com/api/:version/contacts/113/fieldValues', + geoIps: 'https://:account.api-us1.com/api/:version/contacts/113/geoIps', + notes: 'https://:account.api-us1.com/api/:version/contacts/113/notes', + organization: 'https://:account.api-us1.com/api/:version/contacts/113/organization', + plusAppend: 'https://:account.api-us1.com/api/:version/contacts/113/plusAppend', + scoreValues: 'https://:account.api-us1.com/api/:version/contacts/113/scoreValues', + trackingLogs: 'https://:account.api-us1.com/api/:version/contacts/113/trackingLogs', + }, + organization: '', + orgid: '', + udate: '2018-09-28T13:50:41-05:00', + }, + fieldValues: [ + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '1', + id: '11797', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11797/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11797/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: 'The Value for First Field', + }, + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '6', + id: '11798', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11798/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11798/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: '2008-01-20', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/tags?limit=100', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Test_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 11, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Test_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Interested_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 12, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Interested_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: '5' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 13, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: '5', + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 11 } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 14, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 11, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 12 } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 15, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 12, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 2, status: '1' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 2, status: '1' } }, status: 200 }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 3, status: '2' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 3, status: '2' } }, status: 200 }, + }, + { + httpReq: { + headers: { Accept: 'application/json, text/plain, */*', 'Api-Token': 'dummyApiKey' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/fields?limit=100', + }, + httpRes: { + data: { + fieldOptions: [], + fieldRels: [], + fields: [ + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Random description', + id: '4', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Random', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Likes description', + id: '3', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Likes', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:43:38-06:00', + cols: '0', + defval: null, + descript: null, + id: '2', + isrequired: '0', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/2/options', + relations: 'https://:account.api-us1.com/api/:version/fields/2/relations', + }, + options: [], + ordernum: '2', + perstag: 'ANOTHER_TEST_TITLE', + relations: [], + rows: '0', + service: '', + show_in_list: '0', + title: 'Another Test Title', + type: '', + udate: '2018-11-15T21:43:38-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Country description', + id: '1', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Country', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Office description', + id: '0', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Office', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + ], + meta: { total: '4' }, + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/af/deleteUsers/data.ts b/test/integrations/destinations/af/deleteUsers/data.ts new file mode 100644 index 0000000000..c552b79f67 --- /dev/null +++ b/test/integrations/destinations/af/deleteUsers/data.ts @@ -0,0 +1,302 @@ +import { cloneDeep } from 'lodash'; +import { FEATURES } from '../../../../../src/v0/util/tags'; +import { networkCallsData } from '../network'; +import { addMock } from '../../../testUtils'; +import MockAdapter from 'axios-mock-adapter'; +import utils from '../../../../../src/v0/util'; + +const defaultMockFns = () => { + jest.spyOn(Date.prototype, 'toISOString').mockReturnValue('2023-09-24T11:22:24.018Z'); + jest.spyOn(utils, 'generateUUID').mockReturnValue('97fcd7b2-cc24-47d7-b776-057b7b199513'); +}; + +const requests = [ + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + userId: 'test_user_id', + appsflyer_id: 'jklhajksfh', + }, + { + userId: 'user_sdk2', + appsflyer_id: 'jklhajksfh', + }, + ], + config: { + devKey: 'ef1d42390426e3f7c90ac78272e74344', + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + userId: 'test_user_id', + appsflyer_id: 'jklhajksfh', + }, + { + userId: 'user_sdk2', + appsflyer_id: 'jklhajksfh', + }, + ], + config: { + devKey: 'ef1d42390426e3f7c90ac78272e74344', + appleAppId: '123456789', + statusCallbackUrls: + 'https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks', + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + email: 'testUser@testMail.com', + android_advertising_id: '1234', + }, + { + userId: 'user_sdk2', + android_advertising_id: '1234', + }, + ], + config: { + devKey: 'abcde', + appleAppId: 'asdfasdf', + groupTypeTrait: 'email', + groupValueTrait: 'age', + trackProductsOnce: false, + trackRevenuePerProduct: false, + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + email: 'testUser@testMail.com', + ios_advertising_id: '1234', + }, + { + userId: 'user_sdk2', + ios_advertising_id: '1234', + }, + ], + config: { + devKey: 'abcde', + androidAppId: 'com.rudder.rs', + groupTypeTrait: 'email', + groupValueTrait: 'age', + trackProductsOnce: false, + trackRevenuePerProduct: false, + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + email: 'testUser@testMail.com', + userId: 'user1234', + }, + { + userId: 'user_sdk2', + ios_advertising_id: '1234', + }, + ], + config: { + devKey: 'abcde', + androidAppId: 'com.rudder.rs', + groupTypeTrait: 'email', + groupValueTrait: 'age', + trackProductsOnce: false, + trackRevenuePerProduct: false, + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, +]; +const resultBodies = [ + [ + { + statusCode: 400, + error: + 'API Token and one of Apple ID or Android App Id are required fields for user deletion', + }, + ], + [ + { + statusCode: 400, + error: 'You can send utmost 3 callBackUrls', + }, + ], + [ + { + statusCode: 400, + error: 'androidAppId is required for android_advertising_id type identifier', + }, + ], + [ + { + statusCode: 400, + error: 'appleAppId is required for ios_advertising_id type identifier', + }, + ], + [ + { + statusCode: 400, + error: + 'none of the possible identityTypes i.e.(ios_advertising_id, android_advertising_id, appsflyer_id) is provided for deletion', + }, + ], +]; +const parentCaseVars = { + name: 'af', + description: 'Test ', + feature: FEATURES.USER_DELETION, + module: 'destination', + version: 'v0', + input: {}, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, +}; +const nonNetworkCases = requests.map((req, index) => { + const testCase = cloneDeep(parentCaseVars); + testCase.description = `Test ${2 + index}`; + testCase.input = req; + testCase.output.response.status = resultBodies[index][0].statusCode; + //@ts-ignore + testCase.output.response.body = resultBodies[index]; + return testCase; +}); + +export const data = [ + { + name: 'af', + description: 'Test 0', + feature: FEATURES.USER_DELETION, + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + userId: 'test_user_id', + android_advertising_id: '1665148898336-5539842602053895577', + }, + ], + config: { + devKey: 'ef1d42390426e3f7c90ac78272e74344', + appleAppId: '123456789', + androidAppId: 'AnAID', + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + mockFns: (mockAdapter: MockAdapter) => { + const nwData = networkCallsData[0]; + addMock(mockAdapter, nwData); + defaultMockFns(); + }, + }, + { + name: 'af', + description: 'Test 1', + feature: FEATURES.USER_DELETION, + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + userId: 'test_user_id', + ios_advertising_id: '1665148898336-5539842602053895577', + }, + ], + config: { + devKey: 'ef1d42390426e3f7c90ac78272e74344', + appleAppId: '123456789', + androidAppId: 'AnAID', + apiToken: 'dummyApiToken', + statusCallbackUrls: 'https://examplecontroller.com/opengdpr_callbacks', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + mockFns: (mockAdapter: MockAdapter) => { + const nwData = networkCallsData[1]; + addMock(mockAdapter, nwData); + defaultMockFns(); + }, + }, + ...nonNetworkCases, +]; diff --git a/test/integrations/destinations/af/network.ts b/test/integrations/destinations/af/network.ts new file mode 100644 index 0000000000..2e9557539e --- /dev/null +++ b/test/integrations/destinations/af/network.ts @@ -0,0 +1,67 @@ +import { JSON_MIME_TYPE } from '../../../../src/v0/util/constant'; + +export const networkCallsData = [ + { + httpReq: { + method: 'post', + url: 'https://hq1.appsflyer.com/api/gdpr/v1/opendsr_request', + headers: { + 'Content-Type': JSON_MIME_TYPE, + + Authorization: 'Bearer dummyApiToken', + }, + data: { + subject_request_type: 'erasure', + subject_identities: [ + { + identity_format: 'raw', + identity_type: 'android_advertising_id', + identity_value: '1665148898336-5539842602053895577', + }, + ], + property_id: 'AnAID', + subject_request_id: '97fcd7b2-cc24-47d7-b776-057b7b199513', + submitted_time: '2023-09-24T11:22:24.018Z', + }, + }, + httpRes: { + data: { + error: { + code: 400, + af_gdpr_code: 'e411', + message: "AppID given in 'property_id' is incorrect or does not belong to your account", + }, + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://hq1.appsflyer.com/api/gdpr/v1/opendsr_request', + data: { + subject_request_type: 'erasure', + subject_identities: [ + { + identity_format: 'raw', + identity_type: 'ios_advertising_id', + identity_value: '1665148898336-5539842602053895577', + }, + ], + status_callback_urls: ['https://examplecontroller.com/opengdpr_callbacks'], + property_id: '123456789', + subject_request_id: '97fcd7b2-cc24-47d7-b776-057b7b199513', + submitted_time: '2023-09-24T11:22:24.018Z', + }, + headers: { + 'Content-Type': JSON_MIME_TYPE, + + Authorization: 'Bearer dummyApiToken', + }, + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, +]; diff --git a/test/integrations/destinations/am/deleteUsers/data.ts b/test/integrations/destinations/am/deleteUsers/data.ts new file mode 100644 index 0000000000..bd10a4d7e0 --- /dev/null +++ b/test/integrations/destinations/am/deleteUsers/data.ts @@ -0,0 +1,396 @@ +export const data = [ + { + name: 'am', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + jobId: '423451324652346', + destType: 'AM', + userAttributes: [ + { + userIderror: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + ], + config: { + apiKey: '1234', + apiSecret: 'abcd', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/am/network.ts b/test/integrations/destinations/am/network.ts new file mode 100644 index 0000000000..81daa29621 --- /dev/null +++ b/test/integrations/destinations/am/network.ts @@ -0,0 +1,209 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://amplitude.com/api/2/deletions/users', + data: { + user_ids: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + ], + requester: 'RudderStack', + ignore_invalid_id: 'true', + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic MTIzNDphYmNk', + }, + }, + httpRes: { + data: { + code: 403, + message: 'HTTP 403: Forbidden (Invalid API Key)', + status: 'Forbidden', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://amplitude.com/api/2/deletions/users', + data: { + user_ids: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + ], + requester: 'RudderStack', + ignore_invalid_id: 'true', + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic MTIzNDphYmNk', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': 'Nothing scheduled due to invalid amplitude/user ids for app XXXXX', + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://amplitude.com/api/2/deletions/users', + data: { + userIds: ['Batch1'], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic MTIzNDphYmNk', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': 'Mocking', + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://amplitude.com/api/2/deletions/users', + data: { + userIds: ['Batch2'], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic MTIzNDphYmNk', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': 'Mocking', + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/braze/deleteUsers/data.ts b/test/integrations/destinations/braze/deleteUsers/data.ts new file mode 100644 index 0000000000..cad61fd12d --- /dev/null +++ b/test/integrations/destinations/braze/deleteUsers/data.ts @@ -0,0 +1,483 @@ +export const data = [ + { + name: 'braze', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + ], + config: { + dataCenter: 'US-03', + restApiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'braze', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + userId: 'test_user_id10', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id18', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id51', + }, + ], + config: { + dataCenter: 'US-03', + restApiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'braze', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Config for deletion not present', + }, + ], + }, + }, + }, + { + name: 'braze', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + dataCenter: 'US-03', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'data center / api key for deletion not present', + }, + ], + }, + }, + }, + { + name: 'braze', + description: 'Test 4', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + name: 'a', + }, + ], + config: { + restApiKey: 'b1bd90e2-d203-480a-962c-f7bb03ea0afe', + dataCenter: 'US-03', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/braze/network.ts b/test/integrations/destinations/braze/network.ts new file mode 100644 index 0000000000..4dfd5fa2a5 --- /dev/null +++ b/test/integrations/destinations/braze/network.ts @@ -0,0 +1,191 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://rest.iad-03.braze.com/users/delete', + data: { + external_ids: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + ], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail Case', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://rest.iad-03.braze.com/users/delete', + data: { + external_ids: [ + 'test_user_id10', + 'user_sdk2', + 'test_user_id18', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + ], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + deleted: 50, + message: 'success', + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://rest.iad-03.braze.com/users/delete', + data: { external_ids: ['test_user_id51'] }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + deleted: '1', + message: 'success', + }, + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://rest.iad-03.braze.com/users/delete', + data: { + externalIds: ['test_user_id'], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + deleted: 1, + message: 'success', + }, + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/canny/data.ts b/test/integrations/destinations/canny/data.ts index dfd6028908..3c6823ca1b 100644 --- a/test/integrations/destinations/canny/data.ts +++ b/test/integrations/destinations/canny/data.ts @@ -1,3 +1,6 @@ +import { enhanceRequestOptions } from '../../../../src/adapters/network'; +import qs from 'qs'; + export const data = [ { name: 'canny', diff --git a/test/integrations/destinations/canny/network.ts b/test/integrations/destinations/canny/network.ts new file mode 100644 index 0000000000..db1b639632 --- /dev/null +++ b/test/integrations/destinations/canny/network.ts @@ -0,0 +1,83 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Accept: 'application/json', + 'Content-Type': 'application/x-www-form-urlencoded', + }, + data: 'apiKey=apikey123&email=test%40rudderstack.com', + method: 'POST', + url: 'https://canny.io/api/v1/users/retrieve', + }, + httpRes: { + data: { + data: { + avatarURL: 'https://canny.io/images/cddfd145056cd4bc04132ee0e7de04ee.png', + created: '2022-07-15T11:16:32.648Z', + email: 'test@rudderstack.com', + id: '52d14c90fff7c80abcd12345', + isAdmin: true, + lastActivity: '2022-07-18T14:24:43.632Z', + name: 'Rudder Test', + url: 'https://ruderstack.canny.io/admin/users/dummyUser', + userID: null, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Accept: 'application/json', + 'Content-Type': 'application/x-www-form-urlencoded', + }, + data: 'apiKey=apikey123&email=test%40rudderstack.com', + method: 'POST', + url: 'https://canny.io/api/v1/users/retrieve', + }, + httpRes: { + data: { + data: { + avatarURL: 'https://canny.io/images/cddfd145056cd4bc04132ee0e7de04ee.png', + created: '2022-07-15T11:16:32.648Z', + email: 'test@rudderstack.com', + id: '52d14c90fff7c80abcd12345', + isAdmin: true, + lastActivity: '2022-07-18T14:24:43.632Z', + name: 'Rudder Test', + url: 'https://ruderstack.canny.io/admin/users/dummyUser', + userID: null, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Accept: 'application/json', + 'Content-Type': 'application/x-www-form-urlencoded', + }, + data: 'apiKey=apikey123&email=test%40rudderstack.com', + method: 'POST', + url: 'https://canny.io/api/v1/users/retrieve', + }, + httpRes: { + data: { + data: { + avatarURL: 'https://canny.io/images/cddfd145056cd4bc04132ee0e7de04ee.png', + created: '2022-07-15T11:16:32.648Z', + email: 'test@rudderstack.com', + id: '52d14c90fff7c80abcd12345', + isAdmin: true, + lastActivity: '2022-07-18T14:24:43.632Z', + name: 'Rudder Test', + url: 'https://ruderstack.canny.io/admin/users/dummyUser', + userID: null, + }, + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/clevertap/deleteUsers/data.ts b/test/integrations/destinations/clevertap/deleteUsers/data.ts new file mode 100644 index 0000000000..c0eb447a53 --- /dev/null +++ b/test/integrations/destinations/clevertap/deleteUsers/data.ts @@ -0,0 +1,495 @@ +export const data = [ + { + name: 'clevertap', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'CLEVERTAP', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + accountId: '476550467', + trackAnonymous: true, + enableObjectIdMapping: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Project ID and Passcode is required for delete user', + }, + ], + }, + }, + }, + { + name: 'clevertap', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'CLEVERTAP', + userAttributes: [ + { + email: 'testUser@testMail.com', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + passcode: 'fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1', + trackAnonymous: true, + enableObjectIdMapping: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Project ID and Passcode is required for delete user', + }, + ], + }, + }, + }, + { + name: 'clevertap', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'CLEVERTAP', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + accountId: 'testFail', + passcode: 'tofail', + trackAnonymous: true, + enableObjectIdMapping: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/clevertap/network.ts b/test/integrations/destinations/clevertap/network.ts new file mode 100644 index 0000000000..458d6faba0 --- /dev/null +++ b/test/integrations/destinations/clevertap/network.ts @@ -0,0 +1,175 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://api.clevertap.com/1/delete/profiles.json', + data: { + identity: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + ], + }, + headers: { + 'Content-Type': 'application/json', + 'X-CleverTap-Account-Id': 'testFail', + 'X-CleverTap-Passcode': 'tofail', + }, + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail Case', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://api.clevertap.com/1/delete/profiles.json', + data: { + identity: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + ], + }, + headers: { + 'Content-Type': 'application/json', + 'X-CleverTap-Account-Id': 'testFail', + 'X-CleverTap-Passcode': 'tofail', + }, + maxContentLength: 100000000, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': 'rpoxy', + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/engage/deleteUsers/data.ts b/test/integrations/destinations/engage/deleteUsers/data.ts new file mode 100644 index 0000000000..5a6ea9d268 --- /dev/null +++ b/test/integrations/destinations/engage/deleteUsers/data.ts @@ -0,0 +1,241 @@ +export const data = [ + { + name: 'engage', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: '1', + }, + { + userId: '2', + }, + { + userId: '3', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: '4', + }, + { + userId: '5', + }, + { + userId: '6', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: '7', + }, + { + userId: '8', + }, + { + userId: '9', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: '12', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 4', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: 'userid1', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + privateKey: 'abcd', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Public key is a required field for user deletion', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 5', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + email: 'testUser@testMail.com', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/engage/network.ts b/test/integrations/destinations/engage/network.ts new file mode 100644 index 0000000000..a675603d4e --- /dev/null +++ b/test/integrations/destinations/engage/network.ts @@ -0,0 +1,141 @@ +const deleteNwData = [ + { + httpReq: { + method: 'delete', + url: 'https://api.engage.so/v1/users/1', + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail first', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.engage.so/v1/users/2', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.engage.so/v1/users/3', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/4', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/5', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/6', + 'Content-Type': 'application/json', + Authorization: 'Basic YWJjZDplZmdo', + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'fail 6 ', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/7', + 'Content-Type': 'application/json', + Authorization: 'Basic YWJjZDplZmdo', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/8', + 'Content-Type': 'application/json', + Authorization: 'Basic YWJjZDplZmdo', + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'fail mid case 8', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/9', + 'Content-Type': 'application/json', + Authorization: 'Basic YWJjZDplZmdo', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/12', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/user_sdk2', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/ga/deleteUsers/data.ts b/test/integrations/destinations/ga/deleteUsers/data.ts new file mode 100644 index 0000000000..d11881e8fe --- /dev/null +++ b/test/integrations/destinations/ga/deleteUsers/data.ts @@ -0,0 +1,139 @@ +export const data = [ + { + name: 'ga', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + headers: { + 'x-rudder-dest-info': '{"secret": { "access_token": "valid_token" }}', + }, + body: [ + { + destType: 'GA', + userAttributes: [ + { + userId: 'test_user_1', + }, + { + userId: 'test_user_2', + }, + ], + config: { + trackingID: 'UA-123456789-5', + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'ga', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + headers: { + 'x-rudder-dest-info': '{"secret": { "access_token": "expired_token" }}', + }, + body: [ + { + destType: 'GA', + userAttributes: [ + { + userId: 'test_user_3', + }, + { + userId: 'test_user_4', + }, + ], + config: { + trackingID: 'UA-123456789-6', + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 500, + body: [ + { + statusCode: 500, + authErrorCategory: 'REFRESH_TOKEN', + error: 'invalid credentials', + }, + ], + }, + }, + }, + { + name: 'ga', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + headers: { + 'x-rudder-dest-info': '{"secret": { "access_token": "valid_token_1" }}', + }, + body: [ + { + destType: 'GA', + userAttributes: [ + { + userId: 'test_user_5', + }, + { + userId: 'test_user_6', + }, + { + userId: 'test_user_7', + }, + { + userId: 'test_user_8', + }, + { + userId: 'test_user_9', + }, + ], + config: { + trackingID: 'UA-123456789-7', + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 403, + body: [ + { + statusCode: 403, + error: + 'Error occurred while completing deletion request: [dummy response] The parameter used to query is not correct', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/ga/network.ts b/test/integrations/destinations/ga/network.ts new file mode 100644 index 0000000000..bef0b7a047 --- /dev/null +++ b/test/integrations/destinations/ga/network.ts @@ -0,0 +1,293 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_1', + }, + webPropertyId: 'UA-123456789-5', + }, + headers: { + Authorization: 'Bearer valid_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_1', + }, + webPropertyId: 'UA-123456789-5', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_2', + }, + webPropertyId: 'UA-123456789-5', + }, + headers: { + Authorization: 'Bearer valid_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_2', + }, + webPropertyId: 'UA-123456789-5', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_3', + }, + webPropertyId: 'UA-123456789-6', + }, + headers: { + Authorization: 'Bearer expired_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + 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: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_4', + }, + webPropertyId: 'UA-123456789-6', + }, + headers: { + Authorization: 'Bearer expired_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + 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: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_5', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_5', + }, + webPropertyId: 'UA-123456789-7', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_6', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_6', + }, + webPropertyId: 'UA-123456789-7', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_7', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + error: { + errors: [ + { + domain: 'global', + reason: 'invalidParameter', + message: '[dummy response] The parameter used to query is not correct', + }, + ], + code: 403, + message: '[dummy response] The parameter used to query is not correct', + }, + }, + status: 403, + statusText: 'Bad Request', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_8', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_8', + }, + webPropertyId: 'UA-123456789-7', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_9', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_9', + }, + webPropertyId: 'UA-123456789-7', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/intercom/deleteUsers/data.ts b/test/integrations/destinations/intercom/deleteUsers/data.ts new file mode 100644 index 0000000000..a45af0a98f --- /dev/null +++ b/test/integrations/destinations/intercom/deleteUsers/data.ts @@ -0,0 +1,180 @@ +export const data = [ + { + name: 'intercom', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [ + { + userId: '1', + }, + { + userId: '12', + }, + ], + config: { + apiKey: 'API_KEY', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'intercom', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [ + { + userId: '7', + }, + { + userId: '9', + }, + ], + config: { + apiKey: 'API_KEY', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'intercom', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [ + { + userId: '6188c2c5f47e464b4abf3235', + }, + { + userId: 'user_sdk2', + }, + ], + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Config for deletion not present', + }, + ], + }, + }, + }, + { + name: 'intercom', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [ + { + userId: '6188c2c5f47e464b4abf3235', + }, + { + userId: 'user_sdk2', + }, + ], + config: {}, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'api key for deletion not present', + }, + ], + }, + }, + }, + { + name: 'intercom', + description: 'Test 4', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [{}], + config: { + apiKey: 'a=', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/intercom/network.ts b/test/integrations/destinations/intercom/network.ts new file mode 100644 index 0000000000..9f064d63ea --- /dev/null +++ b/test/integrations/destinations/intercom/network.ts @@ -0,0 +1,93 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://api.intercom.io/user_delete_requests', + data: { + intercom_user_id: '1', + }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer API_KEY', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + type: 'error.list', + request_id: '0022e6v5qc7m04jeu5pg', + errors: [ + { + code: 'unauthorized', + message: 'Access Token Invalid', + }, + ], + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://api.intercom.io/user_delete_requests', + data: { + intercom_user_id: '12', + }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer API_KEY', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + status: 200, + statusText: 'ok', + data: { + id: 12, + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://api.intercom.io/user_delete_requests', + data: { + intercom_user_id: '7', + }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer API_KEY', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + status: 200, + statusText: 'ok', + data: { + id: 7, + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://api.intercom.io/user_delete_requests', + data: { + intercom_user_id: '9', + }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer API_KEY', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + status: 200, + statusText: 'ok', + data: { + id: 9, + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/marketo_static_list/network.ts b/test/integrations/destinations/marketo_static_list/network.ts new file mode 100644 index 0000000000..c369e1af26 --- /dev/null +++ b/test/integrations/destinations/marketo_static_list/network.ts @@ -0,0 +1,22 @@ +export const networkCallsData = [ + { + httpReq: { + method: 'GET', + params: { + client_id: 'marketo_client_id_success', + client_secret: 'marketo_client_secret_success', + grant_type: 'client_credentials', + }, + url: 'https://marketo_acct_id_success.mktorest.com/identity/oauth/token', + }, + httpRes: { + data: { + access_token: 'access_token_success', + expires_in: 3599, + scope: 'integrations@rudderstack.com', + token_type: 'bearer', + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/mautic/network.ts b/test/integrations/destinations/mautic/network.ts new file mode 100644 index 0000000000..593a630641 --- /dev/null +++ b/test/integrations/destinations/mautic/network.ts @@ -0,0 +1,3232 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdFJ1ZGRlcmxhYnM0NTgyM0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=email&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=abc@xyz.com', + }, + httpRes: { data: { contacts: {}, total: 0 }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdFJ1ZGRlcmxhYnM0NTgyM0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=email&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=abc@xyz.com', + }, + httpRes: { data: { contacts: {}, total: 0 }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdFJ1ZGRlcmxhYnM0NTgyM0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=email&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=hijibi@gmail.com', + }, + httpRes: { + data: { + contacts: { + '247': { + color: null, + createdBy: 1, + createdByUser: 'shruti rudderlabs', + dateAdded: '2022-08-21T16:30:21+00:00', + dateIdentified: '2022-08-21T16:30:21+00:00', + dateModified: '2022-08-21T18:08:06+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: 'Full', + city: 'kolkata', + company: null, + company_size: null, + country: 'India', + crm_id: null, + datetime: null, + email: 'hijibi@gmail.com', + facebook: null, + fax: null, + firstname: 'hijibiji', + foursquare: null, + haspurchased: '0', + id: '247', + instagram: null, + last_active: null, + lastname: 'Test', + linkedin: null, + mobile: null, + nps__recommend: 9, + phone: '123456789', + points: 123, + position: 'lead', + preferred_locale: null, + products: null, + prospect_or_customer: 'Customer', + role: 'Individual Contributor', + sandbox: '0', + skype: null, + state: null, + subscription_status: 'New', + timezone: null, + title: 'abcd', + twitter: null, + website: 'https://test.com', + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: 'Full', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: 'Full', + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: 'kolkata', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'kolkata', + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: 'India', + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: 'India', + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: 'hijibi@gmail.com', + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: 'hijibi@gmail.com', + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: 'hijibiji', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'hijibiji', + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: 'No', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '0', + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'Test', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'Test', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: 9, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: 9, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: '123456789', + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: '123456789', + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 123, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 123, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: 'lead', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'lead', + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: 'Customer', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: 'Customer', + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: 'Individual Contributor', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: 'Individual Contributor', + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: 'No', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '0', + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: null, + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: 'New', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: 'New', + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: 'abcd', + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: 'abcd', + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: 'https://test.com', + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: 'https://test.com', + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 247, + ipAddresses: [ + { + id: 1, + ipAddress: '127.0.0.1', + ipDetails: { + city: '', + country: '', + extra: '', + isp: '', + latitude: '', + longitude: '', + organization: '', + region: '', + timezone: '', + zipcode: '', + }, + }, + ], + isPublished: true, + lastActive: null, + modifiedBy: 1, + modifiedByUser: 'shruti rudderlabs', + owner: null, + points: 123, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + }, + total: 1, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdDQ1ODIzUnVkZGVybGFic0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=email&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=hijibi@gmail.com', + }, + httpRes: { + data: { + contacts: { + '247': { + color: null, + createdBy: 1, + createdByUser: 'shruti rudderlabs', + dateAdded: '2022-08-21T16:30:21+00:00', + dateIdentified: '2022-08-21T16:30:21+00:00', + dateModified: '2022-08-21T18:08:06+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: 'Full', + city: 'kolkata', + company: null, + company_size: null, + country: 'India', + crm_id: null, + datetime: null, + email: 'hijibi@gmail.com', + facebook: null, + fax: null, + firstname: 'hijibiji', + foursquare: null, + haspurchased: '0', + id: '247', + instagram: null, + last_active: null, + lastname: 'Test', + linkedin: null, + mobile: null, + nps__recommend: 9, + phone: '123456789', + points: 123, + position: 'lead', + preferred_locale: null, + products: null, + prospect_or_customer: 'Customer', + role: 'Individual Contributor', + sandbox: '0', + skype: null, + state: null, + subscription_status: 'New', + timezone: null, + title: 'abcd', + twitter: null, + website: 'https://test.com', + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: 'Full', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: 'Full', + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: 'kolkata', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'kolkata', + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: 'India', + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: 'India', + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: 'hijibi@gmail.com', + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: 'hijibi@gmail.com', + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: 'hijibiji', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'hijibiji', + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: 'No', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '0', + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'Test', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'Test', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: 9, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: 9, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: '123456789', + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: '123456789', + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 123, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 123, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: 'lead', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'lead', + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: 'Customer', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: 'Customer', + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: 'Individual Contributor', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: 'Individual Contributor', + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: 'No', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '0', + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: null, + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: 'New', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: 'New', + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: 'abcd', + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: 'abcd', + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: 'https://test.com', + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: 'https://test.com', + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 247, + ipAddresses: [ + { + id: 1, + ipAddress: '127.0.0.1', + ipDetails: { + city: '', + country: '', + extra: '', + isp: '', + latitude: '', + longitude: '', + organization: '', + region: '', + timezone: '', + zipcode: '', + }, + }, + ], + isPublished: true, + lastActive: null, + modifiedBy: 1, + modifiedByUser: 'shruti rudderlabs', + owner: null, + points: 123, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + }, + total: 1, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdDQ1ODIzUnVkZGVybGFic0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=lastname&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=kumar', + }, + httpRes: { + data: { + contacts: { + '248': { + color: null, + createdBy: 1, + createdByUser: 'test rudderlabs', + dateAdded: '2022-08-18T12:19:27+00:00', + dateIdentified: '2022-08-18T12:19:27+00:00', + dateModified: '2022-08-23T11:46:30+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: null, + city: null, + company: null, + company_size: null, + country: null, + crm_id: null, + datetime: null, + email: 'xyz@abc.com', + facebook: null, + fax: null, + firstname: 'rudderstack', + foursquare: null, + haspurchased: '1', + id: '248', + instagram: null, + last_active: '2022-08-23 11:46:27', + lastname: 'kumar', + linkedin: null, + mobile: null, + nps__recommend: null, + phone: null, + points: 0, + position: null, + preferred_locale: null, + products: null, + prospect_or_customer: null, + role: null, + sandbox: null, + skype: null, + state: 'Uttar Pradesh', + subscription_status: null, + timezone: null, + title: null, + twitter: null, + website: null, + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: null, + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: null, + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: 'xyz@abc.com', + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: 'xyz@abc.com', + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: 'rudderstack', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'rudderstack', + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: 'Yes', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '1', + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: '2022-08-23 11:46:27', + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: '2022-08-23 11:46:27', + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'kumar', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'kumar', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: null, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 0, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 0, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: null, + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: null, + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: null, + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: 'Uttar Pradesh', + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: 'Uttar Pradesh', + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: null, + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: null, + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: null, + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: null, + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 248, + ipAddresses: [ + { + id: 1, + ipAddress: '130.0.1.21', + ipDetails: { + city: null, + country: 'United Kingdom', + extra: '', + isp: '', + latitude: 51.4964, + longitude: -0.1224, + organization: '', + region: '', + timezone: 'Europe/London', + zipcode: null, + }, + }, + ], + isPublished: true, + lastActive: '2022-08-23T11:46:27+00:00', + modifiedBy: 1, + modifiedByUser: 'test rudderlabs', + owner: null, + points: 0, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + '249': { + color: null, + createdBy: 1, + createdByUser: 'test rudderlabs', + dateAdded: '2022-08-18T12:20:05+00:00', + dateIdentified: '2022-08-18T12:20:05+00:00', + dateModified: '2022-08-24T09:19:10+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: null, + city: null, + company: 'test', + company_size: null, + country: null, + crm_id: null, + datetime: null, + email: 'x1yz@abc.com', + facebook: null, + fax: null, + firstname: 'Kamlesh', + foursquare: null, + haspurchased: null, + id: '249', + instagram: null, + last_active: '2022-08-18 12:20:05', + lastname: 'kumar', + linkedin: null, + mobile: null, + nps__recommend: null, + phone: null, + points: 0, + position: null, + preferred_locale: null, + products: null, + prospect_or_customer: null, + role: null, + sandbox: null, + skype: null, + state: 'Uttar Pradesh', + subscription_status: null, + timezone: null, + title: null, + twitter: null, + website: null, + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: null, + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: 'test', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'test', + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: null, + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: 'x1yz@abc.com', + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: 'x1yz@abc.com', + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: 'Kamlesh', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'Kamlesh', + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: null, + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: '2022-08-18 12:20:05', + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: '2022-08-18 12:20:05', + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'kumar', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'kumar', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: null, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 0, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 0, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: null, + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: null, + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: null, + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: 'Uttar Pradesh', + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: 'Uttar Pradesh', + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: null, + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: null, + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: null, + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: null, + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 249, + ipAddresses: [ + { + id: 1, + ipAddress: '130.0.1.21', + ipDetails: { + city: null, + country: 'United Kingdom', + extra: '', + isp: '', + latitude: 51.4964, + longitude: -0.1224, + organization: '', + region: '', + timezone: 'Europe/London', + zipcode: null, + }, + }, + ], + isPublished: true, + lastActive: '2022-08-18T12:20:05+00:00', + modifiedBy: 1, + modifiedByUser: 'test rudderlabs', + owner: null, + points: 0, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + '254': { + color: null, + createdBy: 1, + createdByUser: 'test rudderlabs', + dateAdded: '2022-08-18T13:20:27+00:00', + dateIdentified: '2022-08-18T13:20:27+00:00', + dateModified: '2022-08-18T13:20:27+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: null, + city: null, + company: null, + company_size: null, + country: null, + crm_id: null, + datetime: null, + email: null, + facebook: null, + fax: null, + firstname: null, + foursquare: null, + haspurchased: '1', + id: '254', + instagram: null, + last_active: '2020-02-02 00:23:09', + lastname: 'Kumar', + linkedin: null, + mobile: null, + nps__recommend: null, + phone: null, + points: 0, + position: null, + preferred_locale: null, + products: null, + prospect_or_customer: null, + role: null, + sandbox: null, + skype: null, + state: null, + subscription_status: null, + timezone: null, + title: null, + twitter: null, + website: null, + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: null, + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: null, + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: null, + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: 'Yes', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '1', + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: '2020-02-02 00:23:09', + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: '2020-02-02 00:23:09', + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'Kumar', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'Kumar', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: null, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 0, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 0, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: null, + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: null, + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: null, + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: null, + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: null, + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: null, + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: null, + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: null, + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 254, + ipAddresses: [], + isPublished: true, + lastActive: '2020-02-02T00:23:09+00:00', + modifiedBy: 1, + modifiedByUser: 'test rudderlabs', + owner: null, + points: 0, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + }, + total: '3', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdDQ1ODIzUnVkZGVybGFic0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=lastname&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=Singh', + }, + httpRes: { data: { Conatcts: {}, Total: 0 }, status: 200 }, + }, +]; diff --git a/test/integrations/destinations/mp/deleteUsers/data.ts b/test/integrations/destinations/mp/deleteUsers/data.ts new file mode 100644 index 0000000000..0f469b508f --- /dev/null +++ b/test/integrations/destinations/mp/deleteUsers/data.ts @@ -0,0 +1,3281 @@ +export const data = [ + { + name: 'mp', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + ], + config: { + token: 'testToken', + prefixProperties: true, + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed for `delete profile` api', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + ], + config: { + token: 'testToken', + prefixProperties: true, + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + apiKey: 'dummyApiKey', + prefixProperties: true, + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'API Token is a required field for user deletion', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + name: 'test1', + }, + ], + config: { + token: 'testToken', + prefixProperties: true, + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 4', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + { + userId: 'rudder2', + }, + { + userId: 'rudder3', + }, + ], + config: { + token: 'test_token', + prefixProperties: true, + useNativeSDK: false, + userDeletionApi: 'task', + gdprApiToken: 'test_gdpr_token', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 5', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + ], + config: { + token: 'test_token', + prefixProperties: true, + useNativeSDK: false, + userDeletionApi: 'task', + dataResidency: 'eu', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'GDPR API Token is a required field for creating deletion task in mixpanel', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 6', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + ], + config: { + token: 'test_token', + prefixProperties: true, + useNativeSDK: false, + dataResidency: 'eu', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/mp/network.ts b/test/integrations/destinations/mp/network.ts new file mode 100644 index 0000000000..a386451a21 --- /dev/null +++ b/test/integrations/destinations/mp/network.ts @@ -0,0 +1,1150 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + + url: 'https://api.mixpanel.com/engage', + data: [ + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + ], + headers: { + 'Content-Type': 'application/json', + Accept: 'text/plain', + }, + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail Case', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://api.mixpanel.com/engage', + data: [ + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + ], + headers: { + 'Content-Type': 'application/json', + Accept: 'text/plain', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': '1', + }, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://api.mixpanel.com/engage', + data: [ + { + $distinct_id: 'rudder1', + $token: 'dummyAccessToken', + $delete: null, + $ignore_alias: true, + }, + { + $distinct_id: 'rudder1', + $token: 'dummyAccessToken', + $delete: null, + $ignore_alias: true, + }, + ], + headers: { + 'Content-Type': 'application/json', + Accept: 'text/plain', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': '1', + }, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://mixpanel.com/api/app/data-deletions/v3.0/?token=test_token', + data: { + distinct_ids: ['rudder1', 'rudder2', 'rudder3'], + compliance_type: 'CCPA', + }, + headers: { + 'Content-Type': 'application/json', + + Authorization: 'Bearer test_gdpr_token', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': '1', + }, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://mixpanel.com/api/app/data-deletions/v3.0/?token=test_token', + data: { + distinct_ids: ['rudder2'], + compliance_type: 'GDPR', + }, + headers: { + 'Content-Type': 'application/json', + Accept: 'text/plain', + Authorization: 'Bearer test_gdpr_token', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': '1', + }, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://api-eu.mixpanel.com/engage', + data: [ + { + $distinct_id: 'rudder1', + $token: 'dummyAccessToken', + $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/optimizely_fullstack/network.ts b/test/integrations/destinations/optimizely_fullstack/network.ts new file mode 100644 index 0000000000..e6a1101ab9 --- /dev/null +++ b/test/integrations/destinations/optimizely_fullstack/network.ts @@ -0,0 +1,206 @@ +const deleteNwData = [ + { + httpReq: { + method: 'get', + url: 'https://cdn.optimizely.com/datafiles/abc.json', + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + accountId: 'test_account_id', + projectId: 'test_project_id', + revision: '45', + attributes: [ + { + id: 'test_attribute_id_1', + key: 'gender', + }, + { + id: 'test_attribute_id_2', + key: 'name', + }, + { + id: 'test_attribute_id_3', + key: 'userId', + }, + { + id: 'test_attribute_id_4', + key: 'anonymousId', + }, + { + id: 'test_attribute_id_5', + key: 'company', + }, + ], + audiences: [ + { + id: '$opt_test_audience', + name: 'Optimizely-Generated Audience for Backwards Compatibility', + conditions: + '["or", {"match": "exact", "name": "$opt_test_attribute", "type": "custom_attribute", "value": "$opt_test_value"}]', + }, + ], + version: '4', + events: [ + { + id: 'test_event_id_1', + experimentIds: ['test_experiment_id'], + key: 'Product Added', + }, + { + id: 'test_event_id_2', + experimentIds: ['test_experiment_id'], + key: 'Product Removed', + }, + { + id: 'test_event_id_3', + experimentIds: ['test_experiment_id'], + key: 'Order Placed', + }, + { + id: 'test_event_id_4', + experimentIds: ['test_experiment_id'], + key: 'Viewed Meal page', + }, + { + id: 'test_event_id_5', + experimentIds: ['test_experiment_id'], + key: 'Viewed food page', + }, + { + id: 'test_event_id_6', + experimentIds: ['test_experiment_id'], + key: 'Viewed Main screen', + }, + { + id: 'test_event_id_7', + experimentIds: ['test_experiment_id'], + key: 'Home', + }, + { + id: 'test_event_id_8', + experimentIds: ['test_experiment_id'], + key: 'Index', + }, + ], + anonymizeIP: true, + botFiltering: false, + typedAudiences: [], + variables: [], + environmentKey: 'production', + sdkKey: 'test_sdk_key', + featureFlags: [ + { + id: 'test_feature_flag_id', + key: 'testfeature', + experimentIds: ['test_experiment_id'], + rolloutId: 'test_rollout_id', + variables: [ + { + id: 'test_variable_id', + key: 'sort_method', + type: 'string', + defaultValue: 'alphabetical', + }, + ], + }, + ], + rollouts: [ + { + id: 'test_rollout_id', + experiments: [ + { + forcedVariations: {}, + id: 'test_experiment_id', + key: 'test_experiment_key', + status: 'Running', + trafficAllocation: [ + { + entityId: 'test_variation_id', + endOfRange: 10000, + }, + ], + variations: [ + { + id: 'test_variation_id', + key: 'test_variation_key', + variables: [ + { + id: 'test_variable_id', + value: 'alphabetical', + }, + ], + featureEnabled: true, + }, + ], + layerId: 'test_layer_id', + audienceIds: [], + }, + ], + }, + ], + experiments: [ + { + forcedVariations: {}, + id: 'test_experiment_id', + key: 'test_experiment_key', + status: 'Running', + trafficAllocation: [ + { + entityId: 'test_variation_id_1', + endOfRange: 5000, + }, + { + entityId: 'test_variation_id_2', + endOfRange: 10000, + }, + ], + variations: [ + { + id: 'test_variation_id_1', + key: 'variation_1', + variables: [ + { + id: 'test_variable_id', + value: 'popular_first', + }, + ], + featureEnabled: true, + }, + { + id: 'test_variation_id_2', + key: 'variation_2', + variables: [ + { + id: 'test_variable_id', + value: 'popular_first', + }, + ], + featureEnabled: true, + }, + ], + layerId: 'test_layer_id', + audienceIds: [], + }, + ], + groups: [], + }, + }, + }, + { + httpReq: { + method: 'get', + url: 'https://cdn.optimizely.com/datafiles/wrong_cdn.json', + }, + httpRes: { + status: 404, + statusText: 'Not Found', + data: { + code: 'document_not_found', + message: 'document_not_found', + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/optimizely_fullstack/processor/data.ts b/test/integrations/destinations/optimizely_fullstack/processor/data.ts new file mode 100644 index 0000000000..47ce3314fd --- /dev/null +++ b/test/integrations/destinations/optimizely_fullstack/processor/data.ts @@ -0,0 +1,2170 @@ +import utils from '../../../../../src/v0/util'; +export const mockFns = (_) => { + // @ts-ignore + jest.spyOn(utils, 'generateUUID').mockImplementation(() => 'generated_uuid'); +}; +export const data = [ + { + name: 'optimizely_fullstack', + description: 'Missing Data File URL', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 1, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 1, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Identify call: Missing Variation ID in integration object', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 2, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 2, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Missing Account ID', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 3, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 3, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Missing Campaign ID', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 4, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 4, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Missing Experiment ID', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + }, + }, + metadata: { + jobId: 5, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 5, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Page: Track Categorized Page and Track Named Pages toggle are disabled', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + channel: 'web', + name: 'Home', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + optimizely_fullstack: { + variationId: '123', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + trackCategorizedPages: false, + trackNamedPages: false, + }, + }, + metadata: { + jobId: 6, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + "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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 6, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: + 'Invalid Configuration (Track known users toggle is on and userId is missing in request)', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + channel: 'web', + event: 'Product Added', + 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', + optimizely_fullstack: { + variationId: '123', + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + trackCategorizedPages: false, + trackNamedPages: false, + trackKnownUsers: true, + }, + }, + metadata: { + jobId: 7, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + "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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 7, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track call without event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 9, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'Event is not present. Aborting.: Workflow: procWorkflow, Step: validateInputForTrack, ChildStep: undefined, OriginalError: Event is not present. Aborting.', + statTags: { + destType: 'OPTIMIZELY_FULLSTACK', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 9, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Invalid data file url', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Product Added', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/wrong_cdn.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 10, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + 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"}', + statTags: { + destType: 'OPTIMIZELY_FULLSTACK', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 10, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Event not present in data-file', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Product Added', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + optimizely_fullstack: { + variationId: '123', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + eventMapping: [ + { + from: 'Product Added', + to: 'product_added', + }, + ], + }, + }, + metadata: { + jobId: 11, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + "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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 11, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Identify call (Decision Event) with userId', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + country: 'US', + }, + sessionId: 1685626914716, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + userId: 'userId123', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: { + jobId: 12, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 12 }, + output: { + body: { + FORM: {}, + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + client_name: 'RudderStack', + client_version: '1.0.0', + enrich_decisions: true, + visitors: [ + { + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + session_id: '1685626914716', + snapshots: [ + { + decisions: [ + { + campaign_id: 'test_campaign_id', + experiment_id: 'test_experiment_id', + variation_id: 'test_variation_id_1', + }, + ], + events: [ + { + entity_id: 'test_campaign_id', + timestamp: 1676031367251, + type: 'campaign_activated', + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + }, + ], + }, + ], + visitor_id: 'userId123', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://logx.optimizely.com/v1/events', + files: {}, + headers: { 'Content-Type': 'application/json' }, + method: 'POST', + params: {}, + type: 'REST', + userId: '', + version: '1', + }, + statusCode: 200, + }, + ], + }, + }, + }, + + { + name: 'optimizely_fullstack', + description: 'Identify call (Decision Event) with anonymousId', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + country: 'US', + }, + sessionId: 1685626914716, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + userId: 'userId123', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: false, + }, + }, + metadata: { + jobId: 13, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 13 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: '97c46c81-3140-456d-b2a9-690d70aaca35', + snapshots: [ + { + decisions: [ + { + campaign_id: 'test_campaign_id', + experiment_id: 'test_experiment_id', + variation_id: 'test_variation_id_1', + }, + ], + events: [ + { + entity_id: 'test_campaign_id', + type: 'campaign_activated', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + userId: '', + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Identify call (Decision Event) with projectId is empty"', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + country: 'US', + }, + sessionId: 1685626914716, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + userId: 'userId123', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + projectId: '', + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: { + jobId: 14, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 14 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + userId: '', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [ + { + campaign_id: 'test_campaign_id', + experiment_id: 'test_experiment_id', + variation_id: 'test_variation_id_1', + }, + ], + events: [ + { + entity_id: 'test_campaign_id', + type: 'campaign_activated', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track Named Page: mapping is not provided for page name in webapp', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + userId: 'userId123', + name: 'Meal', + channel: 'web', + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { + foo: 'bar', + }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: false, + trackNamedPages: true, + pageMapping: [ + { + from: 'Home', + to: 'Viewed Home Page', + }, + { + from: 'food', + to: 'Product Added', + }, + ], + }, + }, + metadata: { + jobId: 15, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 15 }, + statTags: { + destType: 'OPTIMIZELY_FULLSTACK', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + error: + 'Events [meal] are not present in the data file. Make sure events exist in Optimizely.: Workflow: procWorkflow, Step: preparePageOrScreenPayload, ChildStep: optimizelyEvents, OriginalError: Events [meal] are not present in the data file. Make sure events exist in Optimizely.', + }, + ], + }, + }, + }, + + { + name: 'optimizely_fullstack', + description: 'Track call (Conversion event) with userId', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'product_added', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', revenue: 123, quantity: 2 }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_2' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + eventMapping: [ + { from: 'Product Searched', to: 'Searched' }, + { from: 'product_added', to: 'Product Added' }, + ], + attributeMapping: [ + { from: 'organization', to: 'company' }, + { from: 'fullName', to: 'name' }, + ], + }, + }, + metadata: { jobId: 20 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 20 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + quantity: 2, + revenue: 12300, + tags: { foo: 'bar' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track call (Conversion event) without event mapping configured in webapp', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Product Added', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + integrations: { All: true, optimizely_fullstack: { variationId: '123' } }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { jobId: 21 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 21 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: '97c46c81-3140-456d-b2a9-690d70aaca35', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: {}, + }, + ], + }, + ], + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track call: Missing Variation ID in integration object ', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'product_added', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', revenue: 123, quantity: 2 }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { All: true }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + eventMapping: [ + { from: 'Product Searched', to: 'Searched' }, + { from: 'product_added', to: 'Product Added' }, + ], + attributeMapping: [ + { from: 'organization', to: 'company' }, + { from: 'fullName', to: 'name' }, + ], + }, + }, + metadata: { jobId: 22 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 22 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + quantity: 2, + revenue: 12300, + tags: { foo: 'bar' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track Categorized and Named Page', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + name: 'Meal', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', category: 'food' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'meal', to: 'Viewed Meal Page' }, + { from: 'food', to: 'Product Added' }, + ], + }, + }, + metadata: { jobId: 23 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 23 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar', category: 'food' }, + }, + { + entity_id: 'test_event_id_4', + key: 'Viewed Meal page', + timestamp: 1676031367251, + uuid: 'generated_uuid', + tags: { foo: 'bar', category: 'food' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track Categorized and Named Page without event mapping configured in webapp', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + name: 'home', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', category: 'index' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [{ from: '', to: '' }], + }, + }, + metadata: { jobId: 24 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 24 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_8', + key: 'Index', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar', category: 'index' }, + }, + { + entity_id: 'test_event_id_7', + key: 'Home', + timestamp: 1676031367251, + uuid: 'generated_uuid', + tags: { foo: 'bar', category: 'index' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: + 'Track Categorized Page: trackCategorizedPages,trackNamedPages toggle are enabled and name is not provided', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', category: 'food' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'meal', to: 'Viewed Meal Page' }, + { from: 'food', to: 'Product Added' }, + ], + }, + }, + metadata: { jobId: 25 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 25 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar', category: 'food' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: + 'Track Named Page: trackCategorizedPages,trackNamedPages toggle are enabled and category is not provided', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + userId: 'userId123', + name: 'Meal', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'meal', to: 'Viewed Meal Page' }, + { from: 'food', to: 'Product Added' }, + ], + }, + }, + metadata: { jobId: 26 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 26 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_4', + key: 'Viewed Meal page', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: + 'Track Named Page: trackCategorizedPages,trackNamedPages toggle are enabled and category mapping is wrong', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + userId: 'userId123', + name: 'Meal', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'meal', to: 'Viewed Meal Page' }, + { from: 'food', to: 'ABC' }, + ], + }, + }, + metadata: { jobId: 27 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 27 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_4', + key: 'Viewed Meal page', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track Categorized and Named Screen', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'screen', + name: 'Home', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', category: 'food' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'home', to: 'Viewed Main Screen' }, + { from: 'food', to: 'Product Added' }, + ], + }, + }, + metadata: { jobId: 28 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 28 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar', category: 'food' }, + }, + { + entity_id: 'test_event_id_6', + key: 'Viewed Main screen', + timestamp: 1676031367251, + uuid: 'generated_uuid', + tags: { foo: 'bar', category: 'food' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +].map((d) => ({ ...d, mockFns })); diff --git a/test/integrations/destinations/optimizely_fullstack/router/data.ts b/test/integrations/destinations/optimizely_fullstack/router/data.ts new file mode 100644 index 0000000000..1803881f30 --- /dev/null +++ b/test/integrations/destinations/optimizely_fullstack/router/data.ts @@ -0,0 +1,563 @@ +import { FEATURES } from '../../../../../src/v0/util/tags'; +import { mockFns } from '../processor/data'; + +export const data = [ + { + name: 'optimizely_fullstack', + description: 'Test 0', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + country: 'US', + }, + sessionId: 1685626914716, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + userId: 'userId123', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: { + jobId: 1, + }, + }, + { + message: { + type: 'track', + event: 'product_added', + userId: 'userId123', + channel: 'web', + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { + foo: 'bar', + revenue: 123, + quantity: 2, + }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_2', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + eventMapping: [ + { + from: 'Product Searched', + to: 'Searched', + }, + { + from: 'product_added', + to: 'Product Added', + }, + ], + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: { + jobId: 2, + }, + }, + { + message: { + type: 'page', + userId: 'userId123', + channel: 'web', + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { + foo: 'bar', + category: 'food', + }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: false, + pageMapping: [ + { + from: 'meal', + to: 'Viewed Meal Page', + }, + { + from: 'food', + to: 'Product Added', + }, + ], + }, + }, + metadata: { + jobId: 3, + }, + }, + { + message: { + type: 'page', + channel: 'web', + name: 'Home', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + optimizely_fullstack: { + variationId: '123', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + trackCategorizedPages: false, + trackNamedPages: false, + }, + }, + metadata: { + jobId: 4, + }, + }, + ], + destType: 'optimizely_fullstack', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [ + { + campaign_id: 'test_campaign_id', + experiment_id: 'test_experiment_id', + variation_id: 'test_variation_id_1', + }, + ], + events: [ + { + entity_id: 'test_campaign_id', + type: 'campaign_activated', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: [ + { + jobId: 1, + }, + ], + statusCode: 200, + }, + { + batched: false, + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + quantity: 2, + revenue: 12300, + tags: { + foo: 'bar', + }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + eventMapping: [ + { + from: 'Product Searched', + to: 'Searched', + }, + { + from: 'product_added', + to: 'Product Added', + }, + ], + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: [ + { + jobId: 2, + }, + ], + statusCode: 200, + }, + { + batched: false, + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { + foo: 'bar', + category: 'food', + }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: false, + pageMapping: [ + { + from: 'meal', + to: 'Viewed Meal Page', + }, + { + from: 'food', + to: 'Product Added', + }, + ], + }, + }, + metadata: [ + { + jobId: 3, + }, + ], + statusCode: 200, + }, + { + batched: false, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + experimentId: 'test_experiment_id', + trackCategorizedPages: false, + trackNamedPages: false, + }, + }, + error: + "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.", + metadata: [ + { + jobId: 4, + }, + ], + statTags: { + destType: 'OPTIMIZELY_FULLSTACK', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'router', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + mockFns, + }, +]; diff --git a/test/integrations/destinations/pardot/network.ts b/test/integrations/destinations/pardot/network.ts new file mode 100644 index 0000000000..bbbe0d70f9 --- /dev/null +++ b/test/integrations/destinations/pardot/network.ts @@ -0,0 +1,440 @@ +import { enhanceRequestOptions, getFormData } from '../../../../src/adapters/network'; + +export const networkCallsData = [ + // 2nd proxy test-case + { + httpReq: { + url: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/email/Roger_12@waltair.io', + data: getFormData({ + first_name: 'Roger_12', + last_name: 'Federer_12', + website: 'https://rudderstack.com', + score: 14, + campaign_id: 42213, + format: 'json', + }).toString(), + params: { destination: 'pardot' }, + headers: { + Authorization: 'Bearer myToken', + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger_12', + last_name: 'Federer_12', + email: 'Roger_12@waltair.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: null, + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: null, + crm_last_sync: null, + crm_url: null, + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 201, + statusText: 'Created', + }, + }, + // 4th proxy test-case + { + httpReq: { + url: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/email/rolex_waltair@mywebsite.io', + data: getFormData({ + first_name: 'Rolex', + last_name: 'Waltair', + website: 'https://rudderstack.com', + score: 15, + campaign_id: 42213, + format: 'json', + }).toString(), + params: { destination: 'pardot' }, + headers: { + Authorization: 'Bearer myExpiredToken', + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + '@attributes': { + stat: 'fail', + version: 1, + err_code: 184, + }, + err: 'access_token is invalid, unknown, or malformed: Inactive token', + }, + status: 401, + statusText: 'Unauthorized', + }, + }, + // 1st proxy test-case + { + httpReq: { + url: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/id/123435', + data: getFormData({ + first_name: 'Roger12', + last_name: 'Federer12', + website: 'https://rudderstack.com', + score: 14, + campaign_id: 42213, + format: 'json', + }).toString(), + params: { destination: 'pardot' }, + headers: { + Authorization: 'Bearer myToken', + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger12', + last_name: 'Federer12', + email: 'Roger12@waltair.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: null, + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: null, + crm_last_sync: null, + crm_url: null, + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 200, + statusText: 'OK', + }, + }, + // 3rd proxy test-case + { + httpReq: { + url: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/fid/00Q6r000002LKhTPVR', + data: getFormData({ + first_name: 'Nick', + last_name: 'Kyrgios', + website: 'https://rudderstack.com', + score: 12, + campaign_id: 42213, + format: 'json', + }).toString(), + params: { destination: 'pardot' }, + headers: { + Authorization: 'Bearer myToken', + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger_12', + last_name: 'Federer_12', + email: 'Roger_12@federer.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: '00Q6r000002LKhTPVR', + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: '00Q6r000002LKhTPVR', + crm_last_sync: '2022-01-21 18:47:37', + crm_url: 'https://testcompany.my.salesforce.com/00Q6r000002LKhTPVR', + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 200, + statusText: 'OK', + }, + }, +]; diff --git a/test/integrations/destinations/pardot/router/data.ts b/test/integrations/destinations/pardot/router/data.ts index 28680deafc..7c2a2a11e3 100644 --- a/test/integrations/destinations/pardot/router/data.ts +++ b/test/integrations/destinations/pardot/router/data.ts @@ -1,3 +1,5 @@ +import { FEATURES, MODULES } from '../../../../../src/v0/util/tags'; + export const data = [ { name: 'pardot', @@ -1014,4 +1016,555 @@ export const data = [ }, }, }, + { + name: 'pardot', + description: 'Test proxy - 0', + feature: FEATURES.DATA_DELIVERY, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/id/123435', + headers: { + Authorization: 'Bearer myToken', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + first_name: 'Roger12', + last_name: 'Federer12', + website: 'https://rudderstack.com', + score: 14, + campaign_id: 42213, + }, + }, + files: {}, + params: { + destination: 'pardot', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + message: 'Request Processed Successfully', + status: 200, + destinationResponse: { + response: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger12', + last_name: 'Federer12', + email: 'Roger12@waltair.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: null, + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: null, + crm_last_sync: null, + crm_url: null, + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 200, + }, + }, + }, + }, + }, + }, + { + name: 'pardot', + description: 'Test proxy - 1', + feature: FEATURES.DATA_DELIVERY, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://pi.pardot.com/api/prospect/version/4/do/upsert/email/Roger_12@waltair.io', + headers: { + Authorization: 'Bearer myToken', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + first_name: 'Roger_12', + last_name: 'Federer_12', + website: 'https://rudderstack.com', + score: 14, + campaign_id: 42213, + }, + }, + files: {}, + params: { + destination: 'pardot', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + message: 'Request Processed Successfully', + status: 201, + destinationResponse: { + response: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger_12', + last_name: 'Federer_12', + email: 'Roger_12@waltair.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: null, + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: null, + crm_last_sync: null, + crm_url: null, + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 201, + }, + }, + }, + }, + }, + }, + { + name: 'pardot', + description: 'Test proxy - 2', + feature: FEATURES.DATA_DELIVERY, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/fid/00Q6r000002LKhTPVR', + headers: { + Authorization: 'Bearer myToken', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + first_name: 'Nick', + last_name: 'Kyrgios', + website: 'https://rudderstack.com', + score: 12, + campaign_id: 42213, + }, + }, + files: {}, + params: { + destination: 'pardot', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + message: 'Request Processed Successfully', + status: 200, + destinationResponse: { + response: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger_12', + last_name: 'Federer_12', + email: 'Roger_12@federer.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: '00Q6r000002LKhTPVR', + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: '00Q6r000002LKhTPVR', + crm_last_sync: '2022-01-21 18:47:37', + crm_url: 'https://testcompany.my.salesforce.com/00Q6r000002LKhTPVR', + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 200, + }, + }, + }, + }, + }, + }, + { + name: 'pardot', + description: 'Test proxy - 3', + feature: FEATURES.DATA_DELIVERY, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://pi.pardot.com/api/prospect/version/4/do/upsert/email/rolex_waltair@mywebsite.io', + headers: { + Authorization: 'Bearer myExpiredToken', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + first_name: 'Rolex', + last_name: 'Waltair', + website: 'https://rudderstack.com', + score: 15, + campaign_id: 42213, + }, + }, + files: {}, + params: { + destination: 'pardot', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + message: + 'access_token is invalid, unknown, or malformed: Inactive token during Pardot response transformation', + status: 500, + authErrorCategory: 'REFRESH_TOKEN', + destinationResponse: { + '@attributes': { + stat: 'fail', + version: 1, + err_code: 184, + }, + err: 'access_token is invalid, unknown, or malformed: Inactive token', + }, + statTags: { + destType: 'PARDOT', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, ]; diff --git a/test/integrations/destinations/sendgrid/deleteUsers/data.ts b/test/integrations/destinations/sendgrid/deleteUsers/data.ts new file mode 100644 index 0000000000..85c6e1275f --- /dev/null +++ b/test/integrations/destinations/sendgrid/deleteUsers/data.ts @@ -0,0 +1,1275 @@ +export const data = [ + { + name: 'sendgrid', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'SENDGRID', + userAttributes: [ + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + ], + config: { + apiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'sendgrid', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'SENDGRID', + userAttributes: [ + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + ], + config: { + apiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'sendgrid', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'SENDGRID', + userAttributes: [ + { + userId: 'eab57ccf-6322-498e-9338-7761c6dc0656', + }, + { + userId: '47983ca9-7cc6-4942-8ff0-ac443g95658d', + }, + ], + config: {}, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'apiKey is required for deleting user', + }, + ], + }, + }, + }, + { + name: 'sendgrid', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'SENDGRID', + userAttributes: { + userId: 'eab57ccf-6322-498e-9338-7761c6dc0656', + }, + config: { + apiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'userAttributes is not an array', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/sendgrid/network.ts b/test/integrations/destinations/sendgrid/network.ts new file mode 100644 index 0000000000..18a8a8d34d --- /dev/null +++ b/test/integrations/destinations/sendgrid/network.ts @@ -0,0 +1,110 @@ +const deleteNwData = [ + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + message: { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail Case', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=[user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2]', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=[user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2]', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + message: { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/trengo/network.ts b/test/integrations/destinations/trengo/network.ts new file mode 100644 index 0000000000..e409489b8f --- /dev/null +++ b/test/integrations/destinations/trengo/network.ts @@ -0,0 +1,1326 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=9830311521', + }, + httpRes: { + data: { + data: [ + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Haz matsumi phone 2 (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 30311521', + full_name: 'Thalmor Bretz', + id: 90002431001, + identifier: '+98 30311521', + is_phone: true, + is_private: false, + name: 'Thalmor Bretz', + phone: '+98 30311521', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=j@d.com', + }, + httpRes: { + data: { + data: [], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=j@d.com', + }, + httpRes: { + data: { + data: [], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=null', + }, + httpRes: { data: { error: 'Request failed', status: 404 }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=12345678910', + }, + httpRes: { + data: { + data: [], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=99999666661', + }, + httpRes: { data: { error: 'Request failed', status: 404 }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=98765432100', + }, + httpRes: { + data: { + data: [ + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Michael Scott (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 765432100', + full_name: 'Michael Scott', + id: 90002431001, + identifier: '+98 765432100', + is_phone: true, + is_private: false, + name: 'Michael Scott', + phone: '+98 765432100', + pivot: null, + profile: [], + profile_image: null, + }, + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Michael G Scott (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 765432100', + full_name: 'Michael G Scott', + id: 90002431003, + identifier: '+98 765432100', + is_phone: true, + is_private: false, + name: 'Michael G Scott', + phone: '+98 765432100', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=98765432100', + }, + httpRes: { + data: { + data: [ + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Michael Scott (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 765432100', + full_name: 'Michael Scott', + id: 90002431001, + identifier: '+98 765432100', + is_phone: true, + is_private: false, + name: 'Michael Scott', + phone: '+98 765432100', + pivot: null, + profile: [], + profile_image: null, + }, + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Michael G Scott (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 765432100', + full_name: 'Michael G Scott', + id: 90002431003, + identifier: '+98 765432100', + is_phone: true, + is_private: false, + name: 'Michael G Scott', + phone: '+98 765432100', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=9830311521', + }, + httpRes: { + data: { + data: [ + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Haz matsumi phone 2 (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 30311521', + full_name: 'Thalmor Bretz', + id: 90002431001, + identifier: '+98 30311521', + is_phone: true, + is_private: false, + name: 'Thalmor Bretz', + phone: '+98 30311521', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/user/network.ts b/test/integrations/destinations/user/network.ts new file mode 100644 index 0000000000..dff2e0726d --- /dev/null +++ b/test/integrations/destinations/user/network.ts @@ -0,0 +1,441 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users-by-id/user@123/', + }, + httpRes: { + data: { + browser_language: null, + companies: [ + { id: 21, member_since: '2022-09-12T12:40:30.548068Z', name: 'parkings group' }, + { id: 19, member_since: '2022-09-12T12:37:58.522773Z', name: 'rudder constructors' }, + ], + created_at: '2022-09-06T11:52:48.828444Z', + custom_id: 'user@123', + email: null, + first_seen: '2022-09-06T11:52:48.812722Z', + gender: 'unknown', + gravatar_url: null, + id: 52, + last_seen: '2022-09-06T12:35:17.230000Z', + lists: [], + name: null, + notifications: true, + page_views: 2, + phone_number: '2345678901', + score: 0, + status: 'visitor', + tags: [], + unsubscribed: false, + updated_at: '2022-09-12T03:19:33.356280Z', + user_key: 'ngze13ffndcv', + web_push_subscription: false, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/companies-by-id/group@795/', + }, + httpRes: { + data: { + address: '6th floor,california,usa', + category: null, + city: null, + companyowner: 'secret', + country: 'usa', + created_at: '2022-09-12T12:40:30.548068Z', + custom_id: 'group@795', + description: null, + email: 'business@rudderstack.com', + employees: [52], + founded: '15 aug, 1947', + id: 21, + isprivatefunded: 'no', + isprofitable: 'no', + name: 'rudder ventures', + phone_numbers: null, + postal_code: null, + region: null, + size: null, + tags: [], + updated_at: '2022-09-13T11:23:09.481891Z', + user_custom_id: 'user@123', + }, + status: 200, + }, + }, + { + httpReq: { + data: { + address: '6th StSan FranciscoCA94103USAtestuser', + city: 'San Francisco', + custom_id: 'group@795', + email: 'business@rudderstack.com', + name: 'rudder ventures', + postal_code: '94103', + user_custom_id: 'user@123', + }, + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'PUT', + + url: 'https://commander.user.com/api/public/companies/21/', + }, + httpRes: { + data: { + address: 'San FranciscoUSA94103CA6th St', + city: 'San Francisco', + companyowner: 'secret', + country: 'usa', + created_at: '2022-09-12T12:40:30.548068Z', + custom_id: 'group@795', + description: null, + email: 'business@rudderstack.com', + employees: [52], + founded: '15 aug, 1947', + id: 21, + isprivatefunded: 'no', + isprofitable: 'no', + name: 'rudder ventures', + phone_numbers: null, + postal_code: null, + region: null, + size: null, + tags: [], + updated_at: '2022-09-13T11:47:31.748497Z', + user_custom_id: 'user@123', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users/search/?email=test@rudderstack.com', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + country: 'india', + created_at: '2022-09-13T06:16:25.576355Z', + custom_id: 'test@12', + email: 'test@rudderstack.com', + gender: 'male', + google_url: 'www.google.com', + id: 59, + lists: [], + name: 'test rudderstack', + notifications: true, + phone_number: '9225467887', + score: 0, + status: 'user', + tags: [{ id: 5, name: 'productuser' }], + unsubscribed: false, + updated_at: '2022-09-13T06:16:25.576376Z', + user_key: 'ctlfkj37dbag', + web_push_subscription: false, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users/search/?key=lel1c5u1wuk8', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + created_at: '2022-09-05T07:21:39.171977Z', + email: 'rahulverma@test.com', + gender: 'unknown', + gravatar_url: null, + id: 27, + lists: [], + name: 'rahul verma', + notifications: true, + phone_number: '+919432239876', + score: 0, + status: 'visitor', + tags: [ + { id: 1, name: 'updated' }, + { id: 2, name: 'verified' }, + ], + unsubscribed: false, + updated_at: '2022-09-05T07:21:39.171990Z', + user_key: 'lel1c5u1wuk8', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users/search/?email=test@rudderstack.com', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + country: 'india', + created_at: '2022-09-13T06:16:25.576355Z', + custom_id: 'test@12', + email: 'test@rudderstack.com', + gender: 'male', + google_url: 'www.google.com', + id: 59, + lists: [], + name: 'test rudderstack', + notifications: true, + phone_number: '9225467887', + score: 0, + status: 'user', + tags: [{ id: 5, name: 'productuser' }], + unsubscribed: false, + updated_at: '2022-09-13T06:16:25.576376Z', + user_key: 'ctlfkj37dbag', + web_push_subscription: false, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users-by-id/43/', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + created_at: '2022-09-05T11:04:45.547861Z', + custom_id: '43', + email: null, + first_seen: '2022-09-05T11:04:45.535122Z', + gender: 'unknown', + gravatar_url: null, + id: 44, + last_seen: null, + lists: [], + name: null, + page_views: 0, + score: 0, + status: 'visitor', + tags: [], + unsubscribed: false, + updated_at: '2022-09-05T11:04:45.547876Z', + user_key: 'rpl0vjwysmc0', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users-by-id/43/', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + created_at: '2022-09-05T11:04:45.547861Z', + custom_id: '43', + email: null, + first_seen: '2022-09-05T11:04:45.535122Z', + gender: 'unknown', + gravatar_url: null, + id: 44, + last_seen: null, + lists: [], + name: null, + page_views: 0, + score: 0, + status: 'visitor', + tags: [], + unsubscribed: false, + updated_at: '2022-09-05T11:04:45.547876Z', + user_key: 'rpl0vjwysmc0', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users-by-id/user@123/', + }, + httpRes: { + data: { + browser_language: null, + companies: [ + { id: 21, member_since: '2022-09-12T12:40:30.548068Z', name: 'parkings group' }, + { id: 19, member_since: '2022-09-12T12:37:58.522773Z', name: 'rudder constructors' }, + ], + created_at: '2022-09-06T11:52:48.828444Z', + custom_id: 'user@123', + email: null, + first_seen: '2022-09-06T11:52:48.812722Z', + gender: 'unknown', + gravatar_url: null, + id: 52, + last_seen: '2022-09-06T12:35:17.230000Z', + lists: [], + name: null, + notifications: true, + page_views: 2, + phone_number: '2345678901', + score: 0, + status: 'visitor', + tags: [], + unsubscribed: false, + updated_at: '2022-09-12T03:19:33.356280Z', + user_key: 'ngze13ffndcv', + web_push_subscription: false, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/companies-by-id/group@795/', + }, + httpRes: { + data: { + address: '6th floor,california,usa', + category: null, + city: null, + companyowner: 'secret', + country: 'usa', + created_at: '2022-09-12T12:40:30.548068Z', + custom_id: 'group@795', + description: null, + email: 'business@rudderstack.com', + employees: [52], + founded: '15 aug, 1947', + id: 21, + isprivatefunded: 'no', + isprofitable: 'no', + name: 'rudder ventures', + phone_numbers: null, + postal_code: null, + region: null, + size: null, + tags: [], + updated_at: '2022-09-13T11:23:09.481891Z', + user_custom_id: 'user@123', + }, + status: 200, + }, + }, + { + httpReq: { + data: { + address: '6th StSan FranciscoCA94103USAtestuser', + city: 'San Francisco', + custom_id: 'group@795', + email: 'business@rudderstack.com', + name: 'rudder ventures', + postal_code: '94103', + user_custom_id: 'user@123', + }, + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'PUT', + + url: 'https://commander.user.com/api/public/companies/21/', + }, + httpRes: { + data: { + address: 'San FranciscoUSA94103CA6th St', + city: 'San Francisco', + companyowner: 'secret', + country: 'usa', + created_at: '2022-09-12T12:40:30.548068Z', + custom_id: 'group@795', + description: null, + email: 'business@rudderstack.com', + employees: [52], + founded: '15 aug, 1947', + id: 21, + isprivatefunded: 'no', + isprofitable: 'no', + name: 'rudder ventures', + phone_numbers: null, + postal_code: null, + region: null, + size: null, + tags: [], + updated_at: '2022-09-13T11:47:31.748497Z', + user_custom_id: 'user@123', + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/yahoo_dsp/network.ts b/test/integrations/destinations/yahoo_dsp/network.ts new file mode 100644 index 0000000000..2dcd0d2a9f --- /dev/null +++ b/test/integrations/destinations/yahoo_dsp/network.ts @@ -0,0 +1,22 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Accept: 'application/json', + 'Content-Type': 'application/x-www-form-urlencoded', + }, + data: 'grant_type=client_credentials&scope=dsp-api-access&realm=dsp&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&client_assertion=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJodHRwczovL2lkLmIyYi55YWhvb2luYy5jb20vaWRlbnRpdHkvb2F1dGgyL2FjY2Vzc190b2tlbj9yZWFsbT1kc3AiLCJzdWIiOiJhYmNkZWY4LWY0OS00Y2Q2LWI0YzUtOTU4YjNkNjZkNDMxIiwiaXNzIjoiYWJjZGVmOC1mNDktNGNkNi1iNGM1LTk1OGIzZDY2ZDQzMSIsImV4cCI6MTY5NTMwODk5MCwiaWF0IjoxNjk1MzA1MzkwfQ.HdBZJ0PoI8L0LRRdfbYtbJbmtrOAQmfu2APbuIQguIA', + method: 'POST', + url: 'https://id.b2b.yahooinc.com/identity/oauth2/access_token', + }, + httpRes: { + data: { + access_token: 'testAuthToken', + expires_in: 3599, + scope: 'dsp-api-access', + token_type: 'Bearer', + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/yahoo_dsp/processor/data.ts b/test/integrations/destinations/yahoo_dsp/processor/data.ts index cb5145ed3a..eb607d60fb 100644 --- a/test/integrations/destinations/yahoo_dsp/processor/data.ts +++ b/test/integrations/destinations/yahoo_dsp/processor/data.ts @@ -1,3 +1,11 @@ +import { addMock } from '../../../testUtils'; +import { networkCallsData } from '../network'; + +export const mockFns = (mockAdapter) => { + addMock(mockAdapter, networkCallsData[0]); + // 21 September 2023 19:39:50 GMT+05:30 + Date.now = jest.fn(() => 1695305390000); +}; export const data = [ { name: 'yahoo_dsp', @@ -1107,4 +1115,6 @@ export const data = [ }, }, }, -]; +].map((d) => { + return { ...d, mockFns }; +}); diff --git a/test/integrations/destinations/yahoo_dsp/router/data.ts b/test/integrations/destinations/yahoo_dsp/router/data.ts index ea340fb6be..59c71b300c 100644 --- a/test/integrations/destinations/yahoo_dsp/router/data.ts +++ b/test/integrations/destinations/yahoo_dsp/router/data.ts @@ -1,3 +1,5 @@ +import { mockFns } from '../processor/data'; + export const data = [ { name: 'yahoo_dsp', @@ -144,5 +146,6 @@ export const data = [ }, }, }, + mockFns, }, ]; diff --git a/test/integrations/destinations/zendesk/network.ts b/test/integrations/destinations/zendesk/network.ts new file mode 100644 index 0000000000..bc80f0cd0a --- /dev/null +++ b/test/integrations/destinations/zendesk/network.ts @@ -0,0 +1,1825 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_fields.json', + }, + httpRes: { + data: { + count: 1, + next_page: null, + organization_fields: [ + { + active: true, + created_at: '2020-03-23T18:14:35Z', + description: 'email', + id: 900000015126, + key: 'email', + position: 0, + raw_description: 'email', + raw_title: 'email', + regexp_for_validation: null, + system: false, + title: 'email', + type: 'text', + updated_at: '2020-03-23T18:14:35Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_fields/900000015126.json', + }, + ], + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + data: { + organization: { + domain_names: 'cw124.com', + external_id: 'group-124', + name: 'test-org124', + organization_fields: { email: 'group_email_124@xyz.com', id: 'group-124' }, + }, + }, + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organizations/create_or_update.json', + }, + httpRes: { + data: { + organization: { + created_at: '2020-03-17T10:21:14Z', + details: null, + domain_names: ['cw124.com'], + external_id: 'group-124', + group_id: null, + id: 900001329943, + name: 'test-org124', + notes: null, + organization_fields: { email: 'group_email_124@xyz.com' }, + shared_comments: false, + shared_tickets: false, + tags: [], + updated_at: '2020-03-23T19:33:08Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organizations/900001329943.json', + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2//users/900113780483/organization_memberships.json', + }, + httpRes: { error: 'Request failed' }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDJAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabtest2.zendesk.com/api/v2/users/search.json?query=testemail2@email', + }, + httpRes: { data: { count: 0, next_page: null, previous_page: null, users: [] }, status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'testemail2@email', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDJAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabtest2.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { data: { user: {} }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_fields.json', + }, + httpRes: { + data: { + count: 1, + next_page: null, + organization_fields: [ + { + active: true, + created_at: '2020-03-23T18:14:35Z', + description: 'email', + id: 900000015126, + key: 'email', + position: 0, + raw_description: 'email', + raw_title: 'email', + regexp_for_validation: null, + system: false, + title: 'email', + type: 'text', + updated_at: '2020-03-23T18:14:35Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_fields/900000015126.json', + }, + ], + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + data: { + organization: { + domain_names: 'cw124.com', + external_id: 'group-124', + name: 'test-org124', + organization_fields: { email: 'group_email_124@xyz.com', id: 'group-124' }, + }, + }, + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organizations/create_or_update.json', + }, + httpRes: { + data: { + organization: { + created_at: '2020-03-17T10:21:14Z', + details: null, + domain_names: ['cw124.com'], + external_id: 'group-124', + group_id: null, + id: 900001329943, + name: 'test-org124', + notes: null, + organization_fields: { email: 'group_email_124@xyz.com' }, + shared_comments: false, + shared_tickets: false, + tags: [], + updated_at: '2020-03-23T19:33:08Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organizations/900001329943.json', + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2//users/900113780483/organization_memberships.json', + }, + httpRes: { error: 'Request failed' }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483/organization_memberships.json', + }, + httpRes: { + data: { + count: 1, + next_page: null, + organization_memberships: [ + { + created_at: '2020-03-23T15:56:56Z', + default: true, + id: 900004877903, + organization_id: 900001329943, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_memberships/900004877903.json', + user_id: 900113780483, + }, + ], + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483/organization_memberships.json', + }, + httpRes: { + data: { + count: 1, + next_page: null, + organization_memberships: [ + { + created_at: '2020-03-23T15:56:56Z', + default: true, + id: 900004877903, + organization_id: 900001329943, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_memberships/900004877903.json', + user_id: 900113780483, + }, + ], + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { + user_field: { active: true, description: 'country', key: 'country', title: 'country' }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { + user_field: { active: true, description: 'country', key: 'country', title: 'country' }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { + user_field: { active: true, description: 'country', key: 'country', title: 'country' }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=johnwick@example.com', + }, + httpRes: { error: 'Request failed', status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'johnwick@example.com', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjM=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { + data: { + user: { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: 900001329943, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjM=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=johnwick@example.com', + }, + httpRes: { error: 'Request failed', status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'johnwick@example.com', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjM=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { + data: { + user: { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: 900001329943, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMi90b2tlbjpteUR1bW15QXBpVG9rZW4y', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://blendohelp.zendesk.com/api/v2/organization_fields.json', + }, + httpRes: { error: 'Request failed', status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=abcd-144', + }, + httpRes: { + data: { + count: 1, + facets: null, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + created_at: '2022-11-24T09:03:54Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'test1000@email.com', + external_id: 'abcd-144', + iana_time_zone: 'Asia/Kolkata', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'name-1000 user', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + result_type: 'user', + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Asia/Kolkata', + two_factor_auth_enabled: false, + updated_at: '2022-11-24T09:03:54Z', + url: 'https://rudderstack6787.zendesk.com/api/v2/users/10865192864273.json', + user_fields: {}, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483/identities', + }, + httpRes: { + data: { + count: 2, + identities: [ + { + created_at: '2022-11-02T08:03:28Z', + deliverable_state: 'deliverable', + id: 7535981118877, + primary: true, + type: 'email', + undeliverable_count: 0, + updated_at: '2022-11-02T10:23:28Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/7533979645597/identities/7535981118877.json', + user_id: 900113780483, + value: 'example119@email.com', + verified: false, + }, + { + created_at: '2022-11-02T04:23:46Z', + deliverable_state: 'deliverable', + id: 7534173321117, + primary: false, + type: 'email', + undeliverable_count: 0, + updated_at: '2022-11-02T10:23:28Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/7533979645597/identities/7534173321117.json', + user_id: 900113780483, + value: 'example115@email.com', + verified: true, + }, + ], + next_page: null, + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDFAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabtest1.zendesk.com/api/v2/users/search.json?query=testemail1@email', + }, + httpRes: { data: { count: 0, next_page: null, previous_page: null, users: [] }, status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'testemail1@email', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDFAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabtest1.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { + data: { + user: { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'testemail1@email', + external_id: 'exId-123', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'John Wick', + notes: null, + only_private_comments: false, + organization_id: 900001329943, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabtest1.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDJAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabtest2.zendesk.com/api/v2/users/search.json?query=testemail2@email', + }, + httpRes: { data: { count: 0, next_page: null, previous_page: null, users: [] }, status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'testemail2@email', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDJAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabtest2.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { data: { user: {} }, status: 200 }, + }, +]; diff --git a/test/integrations/testTypes.ts b/test/integrations/testTypes.ts index 57d9c812e9..51667e8044 100644 --- a/test/integrations/testTypes.ts +++ b/test/integrations/testTypes.ts @@ -1,3 +1,6 @@ +import { AxiosResponse } from 'axios'; +import MockAdapter from 'axios-mock-adapter'; + export interface requestType { method: string; body?: any; @@ -34,4 +37,10 @@ export interface TestCaseData { input: inputType; output: outputType; mock?: mockType[]; + mockFns?: (mockAdapter: MockAdapter) => {}; } + +export type MockHttpCallsData = { + httpReq: Record; + httpRes: Partial; +}; diff --git a/test/integrations/testUtils.ts b/test/integrations/testUtils.ts index 815b211d20..8511ac41f4 100644 --- a/test/integrations/testUtils.ts +++ b/test/integrations/testUtils.ts @@ -1,6 +1,8 @@ import { globSync } from 'glob'; import { join } from 'path'; -import { TestCaseData } from './testTypes'; +import { MockHttpCallsData, TestCaseData } from './testTypes'; +import MockAdapter from 'axios-mock-adapter'; +import isMatch from 'lodash/isMatch'; export const getTestDataFilePaths = (dirPath: string, destination: string = ''): string[] => { const globPattern = join(dirPath, '**', 'data.ts'); @@ -14,3 +16,52 @@ export const getTestDataFilePaths = (dirPath: string, destination: string = ''): export const getTestData = (filePath): TestCaseData[] => { return require(filePath).data as TestCaseData[]; }; + +export const getMockHttpCallsData = (filePath): MockHttpCallsData[] => { + return require(filePath).networkCallsData as MockHttpCallsData[]; +}; + +export const getAllTestMockDataFilePaths = (dirPath: string, destination: string): string[] => { + const globPattern = join(dirPath, '**', 'network.ts'); + let testFilePaths = globSync(globPattern); + if (destination) { + testFilePaths = testFilePaths.filter((testFile) => testFile.includes(destination)); + } + return testFilePaths; +}; + +export const addMock = (mock: MockAdapter, axiosMock: MockHttpCallsData) => { + const { url, method, data: reqData, ...opts } = axiosMock.httpReq; + const { data, headers, status } = axiosMock.httpRes; + + const headersAsymMatch = { + asymmetricMatch: function (actual) { + return isMatch(actual, opts.headers); + }, + }; + + switch (method.toLowerCase()) { + case 'get': + // @ts-ignore + mock.onGet(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + case 'delete': + // @ts-ignore + mock.onDelete(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + case 'post': + // @ts-ignore + mock.onPost(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + case 'patch': + // @ts-ignore + mock.onPatch(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + case 'put': + // @ts-ignore + mock.onPut(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + default: + break; + } +}; diff --git a/test/testHelper.js b/test/testHelper.js index 649f8cab13..5fe97fed67 100644 --- a/test/testHelper.js +++ b/test/testHelper.js @@ -7,6 +7,19 @@ const getFuncTestData = (dirPath, filePath) => { return testData; }; +const responses = []; + +const setResponsesForMockAxiosAdapter = ({url, method, data, options}, {response}) => { + if (process.env.GEN_AXIOS_FOR_TESTS === 'true') { + const reqObj = {url, ...options, method} + if (data) { + reqObj.data = data + } + responses.push(`{httpReq: ${JSON.stringify(reqObj)},httpRes: ${JSON.stringify(response)}},`) + } +} module.exports = { getFuncTestData, + responses, + setResponsesForMockAxiosAdapter }; From 4d6c4b834de005484dc1099a52c69ab6212273e8 Mon Sep 17 00:00:00 2001 From: AASHISH MALIK Date: Fri, 29 Sep 2023 10:16:46 +0530 Subject: [PATCH 017/104] feat: tslint rules enable (#2604) * feat: remove eslint issues * fix: fixed es-lint tests * fix: merge conflicts --- .eslintrc.json | 40 +- src/adapters/network.js | 4 +- src/adapters/utils/networkUtils.js | 4 +- src/cdk/v1/dcm_floodlight/transform.js | 4 +- src/cdk/v1/new_relic/transform.js | 1 + .../v2/destinations/dcm_floodlight/utils.js | 4 +- src/cdk/v2/destinations/eloqua/utils.js | 9 +- .../launchdarkly_audience/utils.js | 4 +- src/cdk/v2/handler.ts | 15 +- src/cdk/v2/utils.ts | 11 +- src/controllers/bulkUpload.ts | 69 ++- src/controllers/delivery.ts | 3 +- src/controllers/destination.ts | 8 +- src/controllers/eventTest.ts | 6 +- src/controllers/profile.ts | 2 - src/controllers/regulation.ts | 7 +- src/controllers/source.ts | 2 +- src/controllers/userTransform.ts | 3 - src/controllers/util/index.ts | 4 +- src/helpers/serviceSelector.ts | 20 +- src/interfaces/DestinationService.ts | 8 +- src/interfaces/SourceService.ts | 4 +- src/legacy/router.js | 23 +- src/middlewares/routeActivation.ts | 1 + src/routes/bulkUpload.ts | 4 +- src/routes/delivery.ts | 3 +- src/routes/destination.ts | 3 +- src/routes/index.ts | 21 +- src/routes/misc.ts | 3 +- src/routes/source.ts | 3 +- src/routes/testEvents.ts | 3 +- src/routes/userTransform.ts | 3 +- src/services/comparator.ts | 15 +- src/services/delivertTest/deliveryTest.ts | 1 + src/services/destination/cdkV1Integration.ts | 12 +- src/services/destination/cdkV2Integration.ts | 17 +- src/services/destination/nativeIntegration.ts | 15 +- .../destination/postTransformation.ts | 11 +- src/services/destination/preTransformation.ts | 6 +- src/services/errorReporting.ts | 2 +- src/services/eventTest/eventTester.ts | 46 +- src/services/misc.ts | 6 +- src/services/profile.ts | 11 +- src/services/source/nativeIntegration.ts | 10 +- src/services/source/postTransformation.ts | 3 +- src/services/userTransform.ts | 31 +- src/testRouter.js | 4 +- src/types/index.ts | 57 +-- src/util/dynamicConfigParser.ts | 7 +- src/util/fetch.js | 5 +- src/util/types.ts | 25 ++ src/util/utils.js | 3 +- .../destinations/active_campaign/transform.js | 11 +- .../destinations/adobe_analytics/transform.js | 22 +- src/v0/destinations/bqstream/transform.js | 4 +- src/v0/destinations/bqstream/util.js | 1 + src/v0/destinations/bqstream/util.test.js | 146 ++++--- src/v0/destinations/branch/transform.js | 7 +- src/v0/destinations/braze/networkHandler.js | 1 + src/v0/destinations/braze/transform.js | 9 +- src/v0/destinations/braze/util.js | 2 +- .../destinations/clevertap/networkHandler.js | 1 + .../criteo_audience/networkHandler.js | 1 + src/v0/destinations/criteo_audience/util.js | 4 +- src/v0/destinations/customerio/util.js | 14 +- src/v0/destinations/fb/networkHandler.js | 1 + .../fb_custom_audience/transform.js | 4 +- .../destinations/fb_custom_audience/util.js | 4 +- src/v0/destinations/ga/transform.js | 4 +- src/v0/destinations/ga360/transform.js | 4 +- src/v0/destinations/ga4/utils.js | 6 +- .../networkHandler.js | 9 +- .../transform.js | 5 +- .../transform.js | 3 +- .../utils.js | 6 +- .../google_cloud_function/transform.js | 4 +- src/v0/destinations/hs/HSTransform-v1.js | 8 +- src/v0/destinations/hs/HSTransform-v2.js | 12 +- .../destinations/intercom/networkHandler.js | 1 + src/v0/destinations/intercom/transform.js | 17 +- src/v0/destinations/iterable/transform.js | 14 +- src/v0/destinations/iterable/util.js | 27 +- src/v0/destinations/klaviyo/transform.js | 7 +- src/v0/destinations/klaviyo/util.js | 14 +- src/v0/destinations/kustomer/util.js | 8 +- src/v0/destinations/mailchimp/transform.js | 6 +- src/v0/destinations/mailjet/transform.js | 6 +- src/v0/destinations/mailmodo/transform.js | 4 +- src/v0/destinations/marketo/networkHandler.js | 1 - .../destinations/marketo_bulk_upload/util.js | 5 +- .../marketo_static_list/networkHandler.js | 2 +- .../marketo_static_list/transform.js | 4 +- src/v0/destinations/mp/deleteUsers.js | 8 +- src/v0/destinations/mp/transform.js | 10 +- src/v0/destinations/mp/util.js | 6 +- src/v0/destinations/ometria/transform.js | 2 +- src/v0/destinations/pardot/transform.js | 5 +- .../personalize/scripts/create-trackingid.js | 9 +- src/v0/destinations/personalize/transform.js | 22 +- src/v0/destinations/redis/transform.js | 6 +- src/v0/destinations/sendgrid/transform.js | 6 +- src/v0/destinations/sendinblue/transform.js | 1 + src/v0/destinations/singular/util.js | 4 +- src/v0/destinations/slack/transform.js | 3 +- .../networkHandler.js | 4 +- .../destinations/tiktok_ads/networkHandler.js | 1 + src/v0/destinations/tiktok_ads/transform.js | 1 + src/v0/destinations/tiktok_ads/util.js | 1 + .../tiktok_ads_offline_events/transform.js | 4 +- src/v0/sources/auth0/transform.js | 1 + src/v0/sources/shopify/transform.js | 5 +- src/v0/sources/shopify/util.js | 43 +- src/v0/util/deleteUserUtils.js | 4 +- src/v0/util/index.js | 53 +-- .../marketo_static_list/proxy_response.json | 2 +- test/__tests__/data/customerio_input.json | 394 +++--------------- ...ords_enhanced_conversions_proxy_input.json | 2 +- .../google_adwords_offline_conversions.json | 2 +- ...adwords_remarketing_lists_proxy_input.json | 2 +- .../marketo_static_list_proxy_output.json | 2 +- test/__tests__/data/slack_input.json | 2 +- test/__tests__/data/slack_output.json | 2 +- .../destinations/bqstream/router/data.ts | 24 +- 123 files changed, 723 insertions(+), 903 deletions(-) create mode 100644 src/util/types.ts diff --git a/.eslintrc.json b/.eslintrc.json index 805e5e7efe..c2614ac5ef 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,7 +28,7 @@ ], "unicorn/no-instanceof-array": "error", "unicorn/no-static-only-class": "error", - "unicorn/consistent-destructuring": "off", + "unicorn/consistent-destructuring": "error", "unicorn/better-regex": "error", "unicorn/no-for-loop": "error", "unicorn/prefer-array-some": "error", @@ -40,29 +40,31 @@ "unicorn/no-useless-spread": "error", "unicorn/no-useless-length-check": "error", "unicorn/prefer-export-from": "error", - "import/no-dynamic-require": "warn", - "no-param-reassign": "warn", + "import/no-dynamic-require": "error", + "no-param-reassign": "error", "sonarjs/prefer-immediate-return": "off", "sonarjs/no-nested-template-literals": "off", - "sonarjs/max-switch-cases": "off", - "sonarjs/no-small-switch": "warn", + "sonarjs/max-switch-cases": "error", + "sonarjs/no-small-switch": "error", "sonarjs/cognitive-complexity": ["error", 60], "@typescript-eslint/no-var-requires": "off", - "global-require": "off", - "@typescript-eslint/naming-convention": "off", - "@typescript-eslint/ban-types": "off", + "global-require": "error", + "@typescript-eslint/naming-convention": "error", + "@typescript-eslint/ban-types": "error", + "@typescript-eslint/no-explicit-any": "off", "class-methods-use-this": "off", - "@typescript-eslint/return-await": "off", - "import/prefer-default-export": "off", - "sonarjs/no-ignored-return": "off", - "no-new": "off", - "@typescript-eslint/no-shadow": "off", - "@typescript-eslint/no-loop-func": "off", - "sonarjs/no-same-line-conditional": "off", - "no-restricted-syntax": "off", - "sonarjs/no-duplicate-string": "off", - "sonarjs/no-identical-functions": "off", + "@typescript-eslint/return-await": "error", + "import/prefer-default-export": "error", + "sonarjs/no-ignored-return": "error", + "no-new": "error", + "@typescript-eslint/no-shadow": "error", + "@typescript-eslint/no-loop-func": "error", + "sonarjs/no-same-line-conditional": "error", + "no-restricted-syntax": "error", + "sonarjs/no-duplicate-string": "error", + "sonarjs/no-identical-functions": "error", "no-prototype-builtins": "off", - "@typescript-eslint/dot-notation": "off" + "@typescript-eslint/dot-notation": "error", + "@typescript-eslint/no-unused-vars": "error" } } diff --git a/src/adapters/network.js b/src/adapters/network.js index 5ee62029a3..375d9dc908 100644 --- a/src/adapters/network.js +++ b/src/adapters/network.js @@ -1,7 +1,7 @@ /* eslint-disable no-restricted-syntax */ /* eslint-disable no-undef */ -const _ = require('lodash'); +const lodash = require('lodash'); const http = require('http'); const https = require('https'); const axios = require('axios'); @@ -237,7 +237,7 @@ const getPayloadData = (body) => { let payload; let payloadFormat; Object.entries(body).forEach(([key, value]) => { - if (!_.isEmpty(value)) { + if (!lodash.isEmpty(value)) { payload = value; payloadFormat = key; } diff --git a/src/adapters/utils/networkUtils.js b/src/adapters/utils/networkUtils.js index 39b0e0504a..a88d803fac 100644 --- a/src/adapters/utils/networkUtils.js +++ b/src/adapters/utils/networkUtils.js @@ -1,5 +1,5 @@ /* eslint-disable eqeqeq */ -const _ = require('lodash'); +const lodash = require('lodash'); const { isEmpty } = require('lodash'); const { isHttpStatusRetryable, @@ -100,7 +100,7 @@ const parseDestResponse = (destResponse, destination = '') => { if ( !isDefinedAndNotNull(responseBody) || !isDefinedAndNotNull(status) || - !_.isNumber(status) || + !lodash.isNumber(status) || status === 0 ) { throw new AbortedError( diff --git a/src/cdk/v1/dcm_floodlight/transform.js b/src/cdk/v1/dcm_floodlight/transform.js index 4025c3cc01..d5835d3e2b 100644 --- a/src/cdk/v1/dcm_floodlight/transform.js +++ b/src/cdk/v1/dcm_floodlight/transform.js @@ -1,6 +1,6 @@ /* eslint-disable no-param-reassign */ const get = require('get-value'); -const _ = require('lodash'); +const lodash = require('lodash'); const { removeUndefinedAndNullValues, isDefinedAndNotNull, @@ -44,7 +44,7 @@ const transformCustomVariable = (customFloodlightVariable, message) => { if ( // the value is not null - !_.isNil(itemValue) && + !lodash.isNil(itemValue) && // the value is string and doesn't have any blacklisted characters !( typeof itemValue === 'string' && BLACKLISTED_CHARACTERS.some((k) => itemValue.includes(k)) diff --git a/src/cdk/v1/new_relic/transform.js b/src/cdk/v1/new_relic/transform.js index 67858910ad..43cebd548f 100644 --- a/src/cdk/v1/new_relic/transform.js +++ b/src/cdk/v1/new_relic/transform.js @@ -1,3 +1,4 @@ +/* eslint-disable no-param-reassign */ const { isBoolean } = require('lodash'); const { Utils } = require('rudder-transformer-cdk'); diff --git a/src/cdk/v2/destinations/dcm_floodlight/utils.js b/src/cdk/v2/destinations/dcm_floodlight/utils.js index e50f4f3b40..bee45bdea3 100644 --- a/src/cdk/v2/destinations/dcm_floodlight/utils.js +++ b/src/cdk/v2/destinations/dcm_floodlight/utils.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { getValueFromPropertiesOrTraits, getHashFromArray } = require('../../../../v0/util'); const { GENERIC_TRUE_VALUES, GENERIC_FALSE_VALUES } = require('../../../../constants'); const { InstrumentationError } = require('../../../../v0/util/errorTypes'); @@ -35,7 +35,7 @@ const transformCustomVariable = (customFloodlightVariable, message) => { if ( // the value is not null - !_.isNil(itemValue) && + !lodash.isNil(itemValue) && // the value is string and doesn't have any blacklisted characters !( typeof itemValue === 'string' && BLACKLISTED_CHARACTERS.some((k) => itemValue.includes(k)) diff --git a/src/cdk/v2/destinations/eloqua/utils.js b/src/cdk/v2/destinations/eloqua/utils.js index baecffc6dc..a8e2afb3f8 100644 --- a/src/cdk/v2/destinations/eloqua/utils.js +++ b/src/cdk/v2/destinations/eloqua/utils.js @@ -1,10 +1,11 @@ const stringifyValues = (data) => { - Object.keys(data).forEach((key) => { - if (typeof data[key] !== 'string') { - data[key] = JSON.stringify(data[key]); + const output = data; + Object.keys(output).forEach((key) => { + if (typeof output[key] !== 'string') { + output[key] = JSON.stringify(output[key]); } }); - return data; + return output; }; module.exports = { stringifyValues, diff --git a/src/cdk/v2/destinations/launchdarkly_audience/utils.js b/src/cdk/v2/destinations/launchdarkly_audience/utils.js index 5bbcdfb6a3..6128fdfbfc 100644 --- a/src/cdk/v2/destinations/launchdarkly_audience/utils.js +++ b/src/cdk/v2/destinations/launchdarkly_audience/utils.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { ACTION_TYPES, IDENTIFIER_KEY, MAX_IDENTIFIERS } = require('./config'); /** @@ -61,7 +61,7 @@ const batchIdentifiersList = (listData) => { ...audienceList.remove.map((item) => ({ ...item, type: 'remove' })), ]; - const chunkedData = _.chunk(combinedList, MAX_IDENTIFIERS); + const chunkedData = lodash.chunk(combinedList, MAX_IDENTIFIERS); // Group the chunks by action type (add/remove) const groupedData = chunkedData.map((chunk) => { diff --git a/src/cdk/v2/handler.ts b/src/cdk/v2/handler.ts index 898e83f7b8..4b3868b85b 100644 --- a/src/cdk/v2/handler.ts +++ b/src/cdk/v2/handler.ts @@ -5,6 +5,7 @@ import { ExecutionBindings, StepOutput, } from '@rudderstack/workflow-engine'; +import { FixMe } from '../../util/types'; import tags from '../../v0/util/tags'; @@ -25,7 +26,7 @@ export function getEmptyExecutionBindings() { return { outputs: {}, context, - setContext: (key: string, value: any) => { + setContext: (key: string, value: FixMe) => { context[key] = value; }, }; @@ -34,7 +35,7 @@ export function getEmptyExecutionBindings() { export async function getWorkflowEngine( destName: string, feature: string, - bindings: Record = {}, + bindings: Record = {}, ) { const destRootDir = getRootPathForDestination(destName); const workflowPath = await getWorkflowPath(destRootDir, feature); @@ -52,7 +53,7 @@ const workflowEnginePromiseMap = new Map(); export function getCachedWorkflowEngine( destName: string, feature: string, - bindings: Record = {}, + bindings: Record = {}, ): WorkflowEngine { // Create a new instance of the engine for the destination if needed // TODO: Use cache to avoid long living engine objects @@ -63,7 +64,7 @@ export function getCachedWorkflowEngine( return workflowEnginePromiseMap[destName][feature]; } -export async function executeWorkflow(workflowEngine: WorkflowEngine, parsedEvent: any) { +export async function executeWorkflow(workflowEngine: WorkflowEngine, parsedEvent: FixMe) { try { const result = await workflowEngine.execute(parsedEvent); // TODO: Handle remaining output scenarios @@ -75,9 +76,9 @@ export async function executeWorkflow(workflowEngine: WorkflowEngine, parsedEven export async function processCdkV2Workflow( destType: string, - parsedEvent: any, + parsedEvent: FixMe, feature: string, - bindings: Record = {}, + bindings: Record = {}, ) { try { const workflowEngine = await getCachedWorkflowEngine(destType, feature, bindings); @@ -90,7 +91,7 @@ export async function processCdkV2Workflow( export function executeStep( workflowEngine: WorkflowEngine, stepName: string, - input: any, + input: FixMe, bindings?: ExecutionBindings, ): Promise { return workflowEngine diff --git a/src/cdk/v2/utils.ts b/src/cdk/v2/utils.ts index 9d46f3dace..3fb26c07e0 100644 --- a/src/cdk/v2/utils.ts +++ b/src/cdk/v2/utils.ts @@ -1,14 +1,11 @@ import path from 'path'; import fs from 'fs/promises'; -import { - WorkflowExecutionError, - WorkflowCreationError, - StatusError, -} from '@rudderstack/workflow-engine'; +import { WorkflowExecutionError, WorkflowCreationError } from '@rudderstack/workflow-engine'; 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'; const CDK_V2_ROOT_DIR = __dirname; @@ -83,7 +80,7 @@ export function getWorkflowEngineErrorMessage(err) { * @param {*} defTags default stat tags * @returns Error type object */ -export function getErrorInfo(err: any, isProd: boolean, defTags) { +export function getErrorInfo(err: CatchErr, isProd: boolean, defTags) { // Handle various CDK error types const message = isProd ? getWorkflowEngineErrorMessage(err) : err.message; @@ -91,7 +88,7 @@ export function getErrorInfo(err: any, isProd: boolean, defTags) { logger.error(`Error occurred during workflow step execution: ${message}`, err); // Determine the error instance - let errInstance: any = err; + let errInstance: CatchErr = err; if (err.originalError) { errInstance = err.originalError; errInstance.message = message; diff --git a/src/controllers/bulkUpload.ts b/src/controllers/bulkUpload.ts index e4d60b2021..85c4fe6b4f 100644 --- a/src/controllers/bulkUpload.ts +++ b/src/controllers/bulkUpload.ts @@ -1,5 +1,7 @@ +/* eslint-disable global-require, import/no-dynamic-require, @typescript-eslint/no-unused-vars */ import { client as errNotificationClient } from '../util/errorNotifier'; import logger from '../logger'; +import { CatchErr } from '../util/types'; // TODO: To be refactored and redisgned const getDestFileUploadHandler = (version, dest) => @@ -7,6 +9,7 @@ const getDestFileUploadHandler = (version, dest) => const getPollStatusHandler = (version, dest) => require(`../${version}/destinations/${dest}/poll`); const getJobStatusHandler = (version, dest) => require(`../${version}/destinations/${dest}/fetchJobStatus`); +const ERROR_MESSAGE_PROCESSOR_STRING = 'Error occurred while processing payload.'; const getCommonMetadata = (ctx) => // TODO: Parse information such as @@ -16,12 +19,23 @@ const getCommonMetadata = (ctx) => namespace: 'Unknown', cluster: 'Unknown', }); + +const getReqMetadata = (ctx) => { + try { + const reqBody = ctx.request.body; + return { destType: reqBody?.destType, importId: reqBody?.importId }; + } catch (error) { + // Do nothing + } + return {}; +}; + export const fileUpload = async (ctx) => { logger.debug( 'Native(Bulk-Upload): Request to transformer:: /fileUpload route', JSON.stringify(ctx.request.body), ); - const getReqMetadata = () => { + const getReqMetadataFileUpload = () => { try { const reqBody = ctx.request.body; return { destType: reqBody?.destType }; @@ -42,16 +56,16 @@ export const fileUpload = async (ctx) => { let response; try { response = await destFileUploadHandler.processFileData(ctx.request.body); - } catch (error: any) { + } catch (error: CatchErr) { response = { statusCode: error?.response?.status || error?.status || 400, - error: error.message || 'Error occurred while processing payload.', + error: error.message || ERROR_MESSAGE_PROCESSOR_STRING, metadata: error.response ? error.response.metadata : null, }; errNotificationClient.notify(error, 'File Upload', { ...response, ...getCommonMetadata(ctx), - ...getReqMetadata(), + ...getReqMetadata(ctx), }); } ctx.body = response; @@ -67,15 +81,6 @@ export const pollStatus = async (ctx) => { 'Native(Bulk-Upload): Request to transformer:: /pollStatus route', JSON.stringify(ctx.request.body), ); - const getReqMetadata = () => { - try { - const reqBody = ctx.request.body; - return { destType: reqBody?.destType, importId: reqBody?.importId }; - } catch (error) { - // Do nothing - } - return {}; - }; const { destType } = ctx.request.body; const destFileUploadHandler = getPollStatusHandler('v0', destType.toLowerCase()); @@ -87,15 +92,15 @@ export const pollStatus = async (ctx) => { } try { response = await destFileUploadHandler.processPolling(ctx.request.body); - } catch (error: any) { + } catch (error: CatchErr) { response = { - statusCode: error.response?.status || error?.status || 400, - error: error.message || 'Error occurred while processing payload.', + statusCode: error.response?.status || 400, + error: error.message || ERROR_MESSAGE_PROCESSOR_STRING, }; errNotificationClient.notify(error, 'Poll Status', { ...response, ...getCommonMetadata(ctx), - ...getReqMetadata(), + ...getReqMetadata(ctx), }); } ctx.body = response; @@ -111,15 +116,6 @@ export const getWarnJobStatus = async (ctx) => { 'Native(Bulk-Upload): Request to transformer:: /getWarningJobs route', JSON.stringify(ctx.request.body), ); - const getReqMetadata = () => { - try { - const reqBody = ctx.request.body; - return { destType: reqBody?.destType, importId: reqBody?.importId }; - } catch (error) { - // Do nothing - } - return {}; - }; const { destType } = ctx.request.body; const destFileUploadHandler = getJobStatusHandler('v0', destType.toLowerCase()); @@ -132,15 +128,15 @@ export const getWarnJobStatus = async (ctx) => { let response; try { response = await destFileUploadHandler.processJobStatus(ctx.request.body, 'warn'); - } catch (error: any) { + } catch (error: CatchErr) { response = { statusCode: error.response ? error.response.status : 400, - error: error.message || 'Error occurred while processing payload.', + error: error.message || ERROR_MESSAGE_PROCESSOR_STRING, }; errNotificationClient.notify(error, 'Job Status', { ...response, ...getCommonMetadata(ctx), - ...getReqMetadata(), + ...getReqMetadata(ctx), }); } ctx.body = response; @@ -156,15 +152,6 @@ export const getFailedJobStatus = async (ctx) => { 'Native(Bulk-Upload): Request to transformer:: /getFailedJobs route', JSON.stringify(ctx.request.body), ); - const getReqMetadata = () => { - try { - const reqBody = ctx.request.body; - return { destType: reqBody?.destType, importId: reqBody?.importId }; - } catch (error) { - // Do nothing - } - return {}; - }; const { destType } = ctx.request.body; const destFileUploadHandler = getJobStatusHandler('v0', destType.toLowerCase()); @@ -177,15 +164,15 @@ export const getFailedJobStatus = async (ctx) => { let response; try { response = await destFileUploadHandler.processJobStatus(ctx.request.body, 'fail'); - } catch (error: any) { + } catch (error: CatchErr) { response = { statusCode: error.response ? error.response.status : 400, - error: error.message || 'Error occurred while processing payload.', + error: error.message || ERROR_MESSAGE_PROCESSOR_STRING, }; errNotificationClient.notify(error, 'Job Status', { ...response, ...getCommonMetadata(ctx), - ...getReqMetadata(), + ...getReqMetadata(ctx), }); } ctx.body = response; diff --git a/src/controllers/delivery.ts b/src/controllers/delivery.ts index d9a514d961..5dee091c46 100644 --- a/src/controllers/delivery.ts +++ b/src/controllers/delivery.ts @@ -7,6 +7,7 @@ import ControllerUtility from './util'; import logger from '../logger'; import DestinationPostTransformationService from '../services/destination/postTransformation'; import tags from '../v0/util/tags'; +import { FixMe } from '../util/types'; export default class DeliveryController { public static async deliverToDestination(ctx: Context) { @@ -49,7 +50,7 @@ export default class DeliveryController { }: { deliveryPayload: ProcessorTransformationOutput; destinationRequestPayload: ProcessorTransformationOutput; - } = ctx.request.body as any; + } = ctx.request.body as FixMe; const response = await DeliveryTestService.doTestDelivery( destination, destinationRequestPayload, diff --git a/src/controllers/destination.ts b/src/controllers/destination.ts index a5137ba170..60eac8a56c 100644 --- a/src/controllers/destination.ts +++ b/src/controllers/destination.ts @@ -14,7 +14,7 @@ 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 { public static async destinationTransformAtProcessor(ctx: Context) { @@ -41,7 +41,9 @@ export default class DestinationController { ctx, ) as ProcessorTransformationRequest[]; const timestampCorrectEvents = ControllerUtility.handleTimestampInEvents(events); - events = DynamicConfigParser.process(timestampCorrectEvents) as ProcessorTransformationRequest[]; + events = DynamicConfigParser.process( + timestampCorrectEvents, + ) as ProcessorTransformationRequest[]; resplist = await integrationService.doProcessorTransformation( events, destination, @@ -194,7 +196,7 @@ export default class DestinationController { stats.timing('dest_transform_request_latency', startTime, { destination, feature: tags.FEATURES.BATCH, - version:"v0", + version: 'v0', }); return ctx; } diff --git a/src/controllers/eventTest.ts b/src/controllers/eventTest.ts index 6faf047d70..db6fc8cb6f 100644 --- a/src/controllers/eventTest.ts +++ b/src/controllers/eventTest.ts @@ -1,16 +1,18 @@ import { Context } from 'koa'; 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 { private static API_VERSION = '1'; public static async testEvent(ctx: Context) { const { version, destination }: { version: string; destination: string } = ctx.params as any; - const { events }: { events: any } = ctx.request.body as any; + const { events }: { events: FixMe } = ctx.request.body as FixMe; try { const respList = await EventTesterService.testEvent(events, version, destination); ctx.body = respList; - } catch (err: any) { + } catch (err: CatchErr) { // fail-safety error response ctx.body = { error: err.message || JSON.stringify(err), diff --git a/src/controllers/profile.ts b/src/controllers/profile.ts index 5f2dce4fe6..984f4ac645 100644 --- a/src/controllers/profile.ts +++ b/src/controllers/profile.ts @@ -1,5 +1,4 @@ import { Context } from 'koa'; -import MiscService from '../services/misc'; import ProfileService from '../services/profile'; import ControllerUtility from './util'; @@ -30,7 +29,6 @@ export default class ProfileController { }' */ public static async profile(ctx: Context) { - const requestMetadata = MiscService.getRequestMetadata(ctx); const format = ctx.request.query.format as string; const { credBucketDetails } = ctx.request.body as any; const response = await ProfileService.profile(credBucketDetails, format); diff --git a/src/controllers/regulation.ts b/src/controllers/regulation.ts index a36f1826b7..cefe1f748a 100644 --- a/src/controllers/regulation.ts +++ b/src/controllers/regulation.ts @@ -5,6 +5,8 @@ import ServiceSelector from '../helpers/serviceSelector'; import tags from '../v0/util/tags'; import stats from '../util/stats'; import PostTransformationDestinationService 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 { @@ -34,13 +36,14 @@ export default class RegulationController { ); ctx.body = resplist; ctx.status = resplist[0].statusCode; - } catch (error: any) { + } catch (error: CatchErr) { const metaTO = integrationService.getTags( userDeletionRequests[0].destType, 'unknown', 'unknown', tags.FEATURES.USER_DELETION, ); + // eslint-disable-next-line @typescript-eslint/no-unused-vars const errResp = PostTransformationDestinationService.handleUserDeletionFailureEvents( error, metaTO, @@ -50,7 +53,7 @@ export default class RegulationController { } stats.timing('dest_transform_request_latency', startTime, { feature: tags.FEATURES.USER_DELETION, - version:"v0", + version: 'v0', }); return ctx; } diff --git a/src/controllers/source.ts b/src/controllers/source.ts index a413426cc7..efb6dc746e 100644 --- a/src/controllers/source.ts +++ b/src/controllers/source.ts @@ -12,7 +12,7 @@ export default class SourceController { JSON.stringify(ctx.request.body), ); const requestMetadata = MiscService.getRequestMetadata(ctx); - const events = ctx.request.body as Object[]; + const events = ctx.request.body as object[]; const { version, source }: { version: string; source: string } = ctx.params; const integrationService = ServiceSelector.getNativeSourceService(); try { diff --git a/src/controllers/userTransform.ts b/src/controllers/userTransform.ts index cc64f5db1b..1592aa4755 100644 --- a/src/controllers/userTransform.ts +++ b/src/controllers/userTransform.ts @@ -1,7 +1,5 @@ import { Context } from 'koa'; -import MiscService from '../services/misc'; import { ProcessorTransformationRequest, UserTransformationServiceResponse } from '../types/index'; -import { compileUserLibrary } from '../util/ivmFactory'; import UserTransformService from '../services/userTransform'; import logger from '../logger'; import { @@ -17,7 +15,6 @@ export default class UserTransformController { '(User transform - router:/customTransform ):: Request to transformer', JSON.stringify(ctx.request.body), ); - const requestMetadata = MiscService.getRequestMetadata(ctx); const events = ctx.request.body as ProcessorTransformationRequest[]; const processedRespone: UserTransformationServiceResponse = await UserTransformService.transformRoutine(events); diff --git a/src/controllers/util/index.ts b/src/controllers/util/index.ts index 67a314bc75..e2071968d7 100644 --- a/src/controllers/util/index.ts +++ b/src/controllers/util/index.ts @@ -18,9 +18,9 @@ export default class ControllerUtility { `context.${RETL_TIMESTAMP}`, `context.traits.${RETL_TIMESTAMP}`, `traits.${RETL_TIMESTAMP}`, - ...genericFieldMap['timestamp'], + ...genericFieldMap.timestamp, ], - [EventType.TRACK]: [`properties.${RETL_TIMESTAMP}`, ...genericFieldMap['timestamp']], + [EventType.TRACK]: [`properties.${RETL_TIMESTAMP}`, ...genericFieldMap.timestamp], }; private static getCompatibleStatusCode(status: number): number { diff --git a/src/helpers/serviceSelector.ts b/src/helpers/serviceSelector.ts index 99f897cedc..bac1a17c16 100644 --- a/src/helpers/serviceSelector.ts +++ b/src/helpers/serviceSelector.ts @@ -8,6 +8,7 @@ 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'; export default class ServiceSelector { private static serviceMap: Map = new Map(); @@ -19,23 +20,23 @@ export default class ServiceSelector { [INTEGRATION_SERVICE.NATIVE_SOURCE]: NativeIntegrationSourceService, }; - private static isCdkDestination(destinationDefinitionConfig: Object) { - return !!destinationDefinitionConfig?.['cdkEnabled']; + private static isCdkDestination(destinationDefinitionConfig: FixMe) { + return !!destinationDefinitionConfig?.cdkEnabled; } - private static isCdkV2Destination(destinationDefinitionConfig: Object) { - return Boolean(destinationDefinitionConfig?.['cdkV2Enabled']); + private static isCdkV2Destination(destinationDefinitionConfig: FixMe) { + return Boolean(destinationDefinitionConfig?.cdkV2Enabled); } - private static isComparatorEnabled(destinationDefinitionConfig: Object): boolean { + private static isComparatorEnabled(destinationDefinitionConfig: FixMe): boolean { return ( process.env.COMPARATOR_ENABLED === 'true' && - !!destinationDefinitionConfig['comparisonTestEnabeld'] + !!destinationDefinitionConfig.comparisonTestEnabeld ); } - private static getSecondaryServiceName(destinationDefinitionConfig: Object): string { - return destinationDefinitionConfig['comparisonService']; + private static getSecondaryServiceName(destinationDefinitionConfig: FixMe): string { + return destinationDefinitionConfig.comparisonService; } private static fetchCachedService(serviceType: string) { @@ -65,7 +66,7 @@ export default class ServiceSelector { private static getPrimaryDestinationService( events: ProcessorTransformationRequest[] | RouterTransformationRequestData[], ): DestinationService { - const destinationDefinitionConfig: Object = + const destinationDefinitionConfig: FixMe = events[0]?.destination?.DestinationDefinition?.Config; if (this.isCdkDestination(destinationDefinitionConfig)) { return this.fetchCachedService(INTEGRATION_SERVICE.CDK_V1_DEST); @@ -76,6 +77,7 @@ export default class ServiceSelector { return this.fetchCachedService(INTEGRATION_SERVICE.NATIVE_DEST); } + // eslint-disable-next-line @typescript-eslint/no-unused-vars public static getSourceService(arg: unknown) { // Implement source event based descision logic for selecting service } diff --git a/src/interfaces/DestinationService.ts b/src/interfaces/DestinationService.ts index b1cae047f8..123da35292 100644 --- a/src/interfaces/DestinationService.ts +++ b/src/interfaces/DestinationService.ts @@ -26,27 +26,27 @@ export default interface DestinationService { events: ProcessorTransformationRequest[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise; doRouterTransformation( events: RouterTransformationRequestData[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise; doBatchTransformation( events: RouterTransformationRequestData[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): RouterTransformationResponse[]; deliver( event: ProcessorTransformationOutput, destinationType: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise; processUserDeletion( diff --git a/src/interfaces/SourceService.ts b/src/interfaces/SourceService.ts index 28d72ee990..99b29f095b 100644 --- a/src/interfaces/SourceService.ts +++ b/src/interfaces/SourceService.ts @@ -4,9 +4,9 @@ export default interface SourceService { getTags(): MetaTransferObject; sourceTransformRoutine( - sourceEvents: Object[], + sourceEvents: NonNullable[], sourceType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise; } diff --git a/src/legacy/router.js b/src/legacy/router.js index 361823a185..a8c2b49a1a 100644 --- a/src/legacy/router.js +++ b/src/legacy/router.js @@ -4,7 +4,7 @@ /* eslint-disable import/no-dynamic-require */ /* eslint-disable global-require */ const Router = require('@koa/router'); -const _ = require('lodash'); +const lodash = require('lodash'); const fs = require('fs'); const path = require('path'); const logger = require('../logger'); @@ -88,7 +88,7 @@ const functionsEnabled = () => { return areFunctionsEnabled === 1; }; -// eslint-disable-next-line no-unused-vars +// eslint-disable-next-line @typescript-eslint/no-unused-vars function getCommonMetadata(ctx) { // TODO: Parse information such as // cluster, namespace, etc information @@ -358,7 +358,7 @@ async function routerHandleDest(ctx) { ctx.body = `${destType} doesn't support router transform`; return null; } - const allDestEvents = _.groupBy(input, (event) => event.destination.ID); + const allDestEvents = lodash.groupBy(input, (event) => event.destination.ID); await Promise.all( Object.values(allDestEvents).map(async (destInputArray) => { const newDestInputArray = processDynamicConfig(destInputArray, 'router'); @@ -389,7 +389,10 @@ async function routerHandleDest(ctx) { // Add default stat tags respEvents - .filter((resp) => 'error' in resp && _.isObject(resp.statTags) && !_.isEmpty(resp.statTags)) + .filter( + (resp) => + 'error' in resp && lodash.isObject(resp.statTags) && !lodash.isEmpty(resp.statTags), + ) .forEach((resp) => { // eslint-disable-next-line no-param-reassign resp.statTags = { @@ -526,13 +529,13 @@ if (startDestTransformer) { }); let groupedEvents; if (processSessions) { - groupedEvents = _.groupBy(events, (event) => { + groupedEvents = lodash.groupBy(events, (event) => { // to have the backward-compatibility and being extra careful. We need to remove this (message.anonymousId) in next release. const rudderId = event.metadata.rudderId || event.message.anonymousId; return `${event.destination.ID}_${event.metadata.sourceId}_${rudderId}`; }); } else { - groupedEvents = _.groupBy( + groupedEvents = lodash.groupBy( events, (event) => `${event.metadata.destinationId}_${event.metadata.sourceId}`, ); @@ -587,7 +590,7 @@ if (startDestTransformer) { return { statusCode: 400, error: ev.error, - metadata: _.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, + metadata: lodash.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, }; } if (!isNonFuncObject(ev.transformedEvent)) { @@ -596,12 +599,12 @@ if (startDestTransformer) { error: `returned event in events from user transformation is not an object. transformationVersionId:${transformationVersionId} and returned event: ${JSON.stringify( ev.transformedEvent, )}`, - metadata: _.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, + metadata: lodash.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, }; } return { output: ev.transformedEvent, - metadata: _.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, + metadata: lodash.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, statusCode: 200, }; }), @@ -995,7 +998,7 @@ const batchHandler = (ctx) => { ctx.body = `${destType} doesn't support batching`; return null; } - const allDestEvents = _.groupBy(input, (event) => event.destination.ID); + const allDestEvents = lodash.groupBy(input, (event) => event.destination.ID); const response = { batchedRequests: [], errors: [] }; Object.entries(allDestEvents).forEach(([, destEvents]) => { diff --git a/src/middlewares/routeActivation.ts b/src/middlewares/routeActivation.ts index bf457b2faa..dfdaef964e 100644 --- a/src/middlewares/routeActivation.ts +++ b/src/middlewares/routeActivation.ts @@ -78,6 +78,7 @@ export default class RouteActivationMiddleware { ); } + // eslint-disable-next-line sonarjs/no-identical-functions public static destinationBatchFilter(ctx: Context, next: Next) { const routerRequest = ctx.request.body as RouterTransformationRequest; const destination = routerRequest.destType; diff --git a/src/routes/bulkUpload.ts b/src/routes/bulkUpload.ts index 386cf78c36..e7aaf897c8 100644 --- a/src/routes/bulkUpload.ts +++ b/src/routes/bulkUpload.ts @@ -12,4 +12,6 @@ router.post('/fileUpload', fileUpload); router.post('/pollStatus', pollStatus); router.post('/getFailedJobs', getFailedJobStatus); router.post('/getWarningJobs', getWarnJobStatus); -export const bulkUploadRoutes = router.routes(); +const bulkUploadRoutes = router.routes(); + +export default bulkUploadRoutes; \ No newline at end of file diff --git a/src/routes/delivery.ts b/src/routes/delivery.ts index de4ec65934..141700fd9f 100644 --- a/src/routes/delivery.ts +++ b/src/routes/delivery.ts @@ -17,4 +17,5 @@ router.post( DeliveryController.testDestinationDelivery, ); -export const proxyRoutes = router.routes(); +const proxyRoutes = router.routes(); +export default proxyRoutes; diff --git a/src/routes/destination.ts b/src/routes/destination.ts index bed2a1af20..ee19fd1246 100644 --- a/src/routes/destination.ts +++ b/src/routes/destination.ts @@ -26,4 +26,5 @@ router.post( router.post('/deleteUsers', RegulationController.deleteUsers); -export const destinationRoutes = router.routes(); +const destinationRoutes = router.routes(); +export default destinationRoutes; \ No newline at end of file diff --git a/src/routes/index.ts b/src/routes/index.ts index cfeb4db9ea..d77584bea3 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -4,20 +4,23 @@ import { existsSync, readFileSync } from 'fs'; import dotenv from 'dotenv'; import { koaSwagger } from 'koa2-swagger-ui'; import path from 'path'; -import { bulkUploadRoutes } from './bulkUpload'; -import { proxyRoutes } from './delivery'; -import { destinationRoutes } from './destination'; -import { miscRoutes } from './misc'; -import { sourceRoutes } from './source'; -import { testEventRoutes } from './testEvents'; +import userTransformRoutes from './userTransform'; +import bulkUploadRoutes from './bulkUpload'; +import proxyRoutes from './delivery'; +import destinationRoutes from './destination'; +import miscRoutes from './misc'; +import sourceRoutes from './source'; +import testEventRoutes from './testEvents'; import { trackingPlanRoutes } from './trackingPlan'; -import { userTransformRoutes } from './userTransform'; import logger from '../logger'; import { isNotEmpty } from '../v0/util'; dotenv.config(); -export function applicationRoutes(app: Koa) { +// eslint-disable-next-line @typescript-eslint/no-unused-vars +const enableSwagger = process.env.ENABLE_SWAGGER === 'true'; + +export function applicationRoutes(app: Koa) { app.use(bulkUploadRoutes); app.use(proxyRoutes); app.use(destinationRoutes); @@ -28,7 +31,7 @@ export function applicationRoutes(app: Koa) { app.use(userTransformRoutes); } -export function addSwaggerRoutes(app: Koa) { +export function addSwaggerRoutes(app: Koa) { // Ading swagger routes, check swagger docs in http://localhost:9090/docs try { diff --git a/src/routes/misc.ts b/src/routes/misc.ts index 3e30b9dd39..750c1194dd 100644 --- a/src/routes/misc.ts +++ b/src/routes/misc.ts @@ -13,4 +13,5 @@ router.get('/features', MiscController.features); router.get('/debug/pprof/profile', MiscController.getCPUProfile); router.get('/debug/pprof/heap', MiscController.getHeapProfile); -export const miscRoutes = router.routes(); +const miscRoutes = router.routes(); +export default miscRoutes; diff --git a/src/routes/source.ts b/src/routes/source.ts index 675e2286ce..ade26c8700 100644 --- a/src/routes/source.ts +++ b/src/routes/source.ts @@ -11,4 +11,5 @@ router.post( SourceController.sourceTransform, ); -export const sourceRoutes = router.routes(); +const sourceRoutes = router.routes(); +export default sourceRoutes; diff --git a/src/routes/testEvents.ts b/src/routes/testEvents.ts index cbfd78f3ec..f842887b91 100644 --- a/src/routes/testEvents.ts +++ b/src/routes/testEvents.ts @@ -6,4 +6,5 @@ const router = new Router({ prefix: '/test-router' }); router.post('/:version/:destination', EventTestController.testEvent); router.get('/:version/health', EventTestController.status); -export const testEventRoutes = router.routes(); +const testEventRoutes = router.routes(); +export default testEventRoutes; \ No newline at end of file diff --git a/src/routes/userTransform.ts b/src/routes/userTransform.ts index 2f6dcd417c..2727d9ef05 100644 --- a/src/routes/userTransform.ts +++ b/src/routes/userTransform.ts @@ -30,4 +30,5 @@ router.post( UserTransformController.extractLibhandle, ); -export const userTransformRoutes = router.routes(); +const userTransformRoutes = router.routes(); +export default userTransformRoutes; \ No newline at end of file diff --git a/src/services/comparator.ts b/src/services/comparator.ts index ae6e1bcf57..3495b7bbfd 100644 --- a/src/services/comparator.ts +++ b/src/services/comparator.ts @@ -1,3 +1,4 @@ +/* eslint-disable class-methods-use-this */ import IntegrationDestinationService from '../interfaces/DestinationService'; import { DeliveryResponse, @@ -62,7 +63,7 @@ export default class ComparatorService implements IntegrationDestinationService } private getTestThreshold(destination: Destination) { - return destination.DestinationDefinition?.Config['camparisonTestThreshold'] || 0; + return destination.DestinationDefinition?.Config?.camparisonTestThreshold || 0; } private getComparisonLogs( @@ -81,6 +82,7 @@ export default class ComparatorService implements IntegrationDestinationService return; } + // eslint-disable-next-line no-restricted-syntax for (const [index, element] of primaryResplist.entries()) { const objectDiff = CommonUtils.objectDiff(element, secondaryResplist[index]); if (Object.keys(objectDiff).length > 0) { @@ -129,6 +131,7 @@ export default class ComparatorService implements IntegrationDestinationService } let hasComparisonFailed = false; + // eslint-disable-next-line no-restricted-syntax for (const [index, element] of primaryResplist.entries()) { const objectDiff = CommonUtils.objectDiff(element, secondaryResplist[index]); if (Object.keys(objectDiff).length > 0) { @@ -156,7 +159,7 @@ export default class ComparatorService implements IntegrationDestinationService secondaryServiceCallback: any, destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, feature: string, destinationId: string, ): Promise { @@ -194,7 +197,7 @@ export default class ComparatorService implements IntegrationDestinationService events: ProcessorTransformationRequest[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise { const destinationId = events[0].destination.ID; const primaryStartTime = process.hrtime(); @@ -252,7 +255,7 @@ export default class ComparatorService implements IntegrationDestinationService events: RouterTransformationRequestData[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise { const destinationId = events[0].destination.ID; const primaryStartTime = process.hrtime(); @@ -310,7 +313,7 @@ export default class ComparatorService implements IntegrationDestinationService events: RouterTransformationRequestData[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): RouterTransformationResponse[] { const destinationId = events[0].destination.ID; const primaryStartTime = process.hrtime(); @@ -367,7 +370,7 @@ export default class ComparatorService implements IntegrationDestinationService public async deliver( event: ProcessorTransformationOutput, destinationType: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise { const primaryResplist = await this.primaryService.deliver( event, diff --git a/src/services/delivertTest/deliveryTest.ts b/src/services/delivertTest/deliveryTest.ts index 051b67b568..e5713073c1 100644 --- a/src/services/delivertTest/deliveryTest.ts +++ b/src/services/delivertTest/deliveryTest.ts @@ -29,6 +29,7 @@ export default class DeliveryTestService { // This is to make sure we encode `~` in the data coming from the router. // The data coming from the router is already a query parameter string const routerDataVal = new URLSearchParams(routerDestReqPayload.data); + // eslint-disable-next-line no-param-reassign routerDestReqPayload.data = routerDataVal; const proxyDataVal = new URLSearchParams(); diff --git a/src/services/destination/cdkV1Integration.ts b/src/services/destination/cdkV1Integration.ts index 44842fdddb..a016665afb 100644 --- a/src/services/destination/cdkV1Integration.ts +++ b/src/services/destination/cdkV1Integration.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ import { ConfigFactory, Executor, RudderBaseConfig } from 'rudder-transformer-cdk'; import path from 'path'; import IntegrationDestinationService from '../../interfaces/DestinationService'; @@ -17,6 +18,7 @@ import { TransformationError } from '../../v0/util/errorTypes'; 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 { public init() { @@ -63,7 +65,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe events: ProcessorTransformationRequest[], destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { const tfConfig = await ConfigFactory.getConfig(destinationType); const respList: ProcessorTransformationResponse[][] = await Promise.all( @@ -76,7 +78,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe transformedPayloads, undefined, ); - } catch (error: any) { + } catch (error: CatchErr) { const metaTO = this.getTags( destinationType, event.metadata.destinationId, @@ -100,7 +102,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe _events: RouterTransformationRequestData[], _destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { throw new TransformationError('CDKV1 Does not Implement Router Transform Routine'); } @@ -109,7 +111,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe _events: RouterTransformationRequestData[], _destinationType: string, _version: any, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): RouterTransformationResponse[] { throw new TransformationError('CDKV1 Does not Implement Batch Transform Routine'); } @@ -117,7 +119,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe public deliver( _event: ProcessorTransformationOutput, _destinationType: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { throw new TransformationError('CDV1 Does not Implement Delivery Routine'); } diff --git a/src/services/destination/cdkV2Integration.ts b/src/services/destination/cdkV2Integration.ts index 04a2dcb799..b4c0a15e87 100644 --- a/src/services/destination/cdkV2Integration.ts +++ b/src/services/destination/cdkV2Integration.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable class-methods-use-this */ import groupBy from 'lodash/groupBy'; import { processCdkV2Workflow } from '../../cdk/v2/handler'; import IntegrationDestinationService from '../../interfaces/DestinationService'; @@ -17,6 +19,7 @@ import { TransformationError } from '../../v0/util/errorTypes'; import tags from '../../v0/util/tags'; import DestinationPostTransformationService from './postTransformation'; import stats from '../../util/stats'; +import { CatchErr } from '../../util/types'; export default class CDKV2DestinationService implements IntegrationDestinationService { public init() {} @@ -49,7 +52,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe events: ProcessorTransformationRequest[], destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { // TODO: Change the promise type const respList: ProcessorTransformationResponse[][] = await Promise.all( @@ -78,7 +81,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe transformedPayloads, undefined, ); - } catch (error: any) { + } catch (error: CatchErr) { const metaTo = this.getTags( destinationType, event.metadata.destinationId, @@ -105,9 +108,9 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe events: RouterTransformationRequestData[], destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { - const allDestEvents: Object = groupBy( + const allDestEvents: object = groupBy( events, (ev: RouterTransformationRequestData) => ev.destination?.ID, ); @@ -131,7 +134,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe tags.IMPLEMENTATIONS.CDK_V2, destinationType.toUpperCase(), ); - } catch (error: any) { + } catch (error: CatchErr) { metaTo.metadatas = destInputArray.map((input) => input.metadata); const erroredResp = DestinationPostTransformationService.handleRouterTransformFailureEvents( @@ -150,7 +153,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe _events: RouterTransformationRequestData[], _destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): RouterTransformationResponse[] { throw new TransformationError('CDKV2 Does not Implement Batch Transform Routine'); } @@ -158,7 +161,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe public deliver( _event: ProcessorTransformationOutput, _destinationType: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { throw new TransformationError('CDKV2 Does not Implement Delivery Routine'); } diff --git a/src/services/destination/nativeIntegration.ts b/src/services/destination/nativeIntegration.ts index 8cec0f573f..49fb806094 100644 --- a/src/services/destination/nativeIntegration.ts +++ b/src/services/destination/nativeIntegration.ts @@ -1,5 +1,6 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ import groupBy from 'lodash/groupBy'; -import cloneDeep from 'lodash/cloneDeep' +import cloneDeep from 'lodash/cloneDeep'; import IntegrationDestinationService from '../../interfaces/DestinationService'; import { DeliveryResponse, @@ -49,7 +50,7 @@ export default class NativeIntegrationDestinationService implements IntegrationD events: ProcessorTransformationRequest[], destinationType: string, version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { const destHandler = FetchHandler.getDestHandler(destinationType, version); const respList: ProcessorTransformationResponse[][] = await Promise.all( @@ -87,10 +88,10 @@ export default class NativeIntegrationDestinationService implements IntegrationD events: RouterTransformationRequestData[], destinationType: string, version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { const destHandler = FetchHandler.getDestHandler(destinationType, version); - const allDestEvents: Object = groupBy( + const allDestEvents: NonNullable = groupBy( events, (ev: RouterTransformationRequestData) => ev.destination?.ID, ); @@ -131,13 +132,13 @@ export default class NativeIntegrationDestinationService implements IntegrationD events: RouterTransformationRequestData[], destinationType: string, version: any, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): RouterTransformationResponse[] { const destHandler = FetchHandler.getDestHandler(destinationType, version); if (!destHandler.batch) { throw new Error(`${destinationType} does not implement batch`); } - const allDestEvents: Object = groupBy( + const allDestEvents: NonNullable = groupBy( events, (ev: RouterTransformationRequestData) => ev.destination?.ID, ); @@ -167,7 +168,7 @@ export default class NativeIntegrationDestinationService implements IntegrationD public async deliver( destinationRequest: ProcessorTransformationOutput, destinationType: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { try { const networkHandler = networkHandlerFactory.getNetworkHandler(destinationType); diff --git a/src/services/destination/postTransformation.ts b/src/services/destination/postTransformation.ts index 9e04f97fac..090e39b059 100644 --- a/src/services/destination/postTransformation.ts +++ b/src/services/destination/postTransformation.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-param-reassign */ import cloneDeep from 'lodash/cloneDeep'; import isObject from 'lodash/isObject'; import isEmpty from 'lodash/isEmpty'; @@ -47,7 +48,7 @@ export default class DestinationPostTransformationService { } public static handleProcessorTransformFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): ProcessorTransformationResponse { const errObj = generateErrorObject(error, metaTo.errorDetails); @@ -105,7 +106,7 @@ export default class DestinationPostTransformationService { } public static handleRouterTransformFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): RouterTransformationResponse { const errObj = generateErrorObject(error, metaTo.errorDetails); @@ -122,7 +123,7 @@ export default class DestinationPostTransformationService { } public static handleBatchTransformFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): RouterTransformationResponse { const errObj = generateErrorObject(error, metaTo.errorDetails); @@ -138,7 +139,7 @@ export default class DestinationPostTransformationService { } public static handleDeliveryFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): DeliveryResponse { const errObj = generateErrorObject(error, metaTo.errorDetails, false); @@ -156,7 +157,7 @@ export default class DestinationPostTransformationService { } public static handleUserDeletionFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): UserDeletionResponse { const errObj = generateErrorObject(error, metaTo.errorDetails, false); diff --git a/src/services/destination/preTransformation.ts b/src/services/destination/preTransformation.ts index 61ca20f7fe..dd5579b7b9 100644 --- a/src/services/destination/preTransformation.ts +++ b/src/services/destination/preTransformation.ts @@ -1,6 +1,5 @@ import { Context } from 'koa'; import { ProcessorTransformationRequest, RouterTransformationRequestData } from '../../types/index'; -import { DynamicConfigParser } from '../../util/dynamicConfigParser'; export default class PreTransformationDestinationService { public static preProcess( @@ -8,12 +7,13 @@ export default class PreTransformationDestinationService { ctx: Context, ) { const reqParams = ctx.request.query; - events = events.map( + const eventsProcessed = events.map( (event: ProcessorTransformationRequest | RouterTransformationRequestData) => { + // eslint-disable-next-line no-param-reassign event.request = { query: reqParams }; return event; }, ); - return events; + return eventsProcessed; } } diff --git a/src/services/errorReporting.ts b/src/services/errorReporting.ts index ba0bd9b21c..2d3c84ff30 100644 --- a/src/services/errorReporting.ts +++ b/src/services/errorReporting.ts @@ -1,7 +1,7 @@ import { client } from '../util/errorNotifier'; export default class ErrorReportingService { - public static reportError(error: Object, context: string, errorResp: Object) { + 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 3055b947af..d4f30fff78 100644 --- a/src/services/eventTest/eventTester.ts +++ b/src/services/eventTest/eventTester.ts @@ -1,7 +1,9 @@ import { sendToDestination, userTransformHandler } from '../../routerUtils'; +import { FixMe } from '../../util/types'; export default class EventTesterService { private static getDestHandler(version, destination) { + // eslint-disable-next-line global-require, import/no-dynamic-require return require(`../../${version}/destinations/${destination}/transform`); } @@ -9,7 +11,7 @@ export default class EventTesterService { function capitalize(s) { return s === 'id' ? s.toUpperCase() : s.charAt(0).toUpperCase() + s.slice(1); } - const transformedObj = {}; + let transformedObj: FixMe; const { destinationDefinition } = dest; Object.keys(dest).forEach((key) => { transformedObj[capitalize(key)] = dest[key]; @@ -19,7 +21,7 @@ export default class EventTesterService { Object.keys(destinationDefinition).forEach((key) => { destDef[capitalize(key)] = destinationDefinition[key]; }); - transformedObj['DestinationDefinition'] = destDef; + transformedObj.DestinationDefinition = destDef; return transformedObj; } @@ -52,19 +54,19 @@ export default class EventTesterService { libraries, }; - let response = {}; + let response: FixMe; let errorFound = false; if (stage.user_transform) { let librariesVersionIDs = []; - if (event.libraries) { + if (libraries) { librariesVersionIDs = events[0].libraries.map((library) => library.versionId); } const transformationVersionId = ev.destination && - ev.destination['Transformations'] && - ev.destination['Transformations'][0] && - ev.destination['Transformations'][0].versionId; + ev.destination.Transformations && + ev.destination.Transformations[0] && + ev.destination.Transformations[0].versionId; if (transformationVersionId) { try { @@ -78,16 +80,16 @@ export default class EventTesterService { throw new Error(userTransformedEvent.error); } - response['user_transformed_payload'] = userTransformedEvent.transformedEvent; + response.user_transformed_payload = userTransformedEvent.transformedEvent; ev.message = userTransformedEvent.transformedEvent; } catch (err: any) { errorFound = true; - response['user_transformed_payload'] = { + response.user_transformed_payload = { error: err.message || JSON.stringify(err), }; } } else { - response['user_transformed_payload'] = { + response.user_transformed_payload = { error: 'Transformation VersionID not found', }; } @@ -99,18 +101,18 @@ export default class EventTesterService { const desthandler = this.getDestHandler(version, dest); const transformedOutput = await desthandler.process(ev); if (Array.isArray(transformedOutput)) { - response['dest_transformed_payload'] = transformedOutput; + response.dest_transformed_payload = transformedOutput; } else { - response['dest_transformed_payload'] = [transformedOutput]; + response.dest_transformed_payload = [transformedOutput]; } } catch (err: any) { errorFound = true; - response['dest_transformed_payload'] = { + response.dest_transformed_payload = { error: err.message || JSON.stringify(err), }; } } else { - response['dest_transformed_payload'] = { + response.dest_transformed_payload = { error: 'error encountered in user_transformation stage. Aborting.', }; } @@ -119,27 +121,27 @@ export default class EventTesterService { if (stage.dest_transform && stage.send_to_destination) { // send event to destination only after transformation if (!errorFound) { - const destResponses: any[] = []; - const destResponseStatuses: any[] = []; + const destResponses: FixMe[] = []; + const destResponseStatuses: FixMe[] = []; - const transformedPayloads = response['dest_transformed_payload']; + const transformedPayloads = response.dest_transformed_payload; // eslint-disable-next-line no-restricted-syntax for (const payload of transformedPayloads) { // eslint-disable-next-line no-await-in-loop const parsedResponse = await sendToDestination(dest, payload); let contentType = ''; - let response = ''; + let responsePayload = ''; if (parsedResponse.headers) { contentType = parsedResponse.headers['content-type']; if (this.isSupportedContentType(contentType)) { - response = parsedResponse.response; + responsePayload = parsedResponse.response; } } else if (parsedResponse.networkFailure) { - response = parsedResponse.response; + responsePayload = parsedResponse.response; } - destResponses.push(response); + destResponses.push(responsePayload); destResponseStatuses.push(parsedResponse.status); // TODO: Use updated handleResponseTransform function @@ -162,7 +164,7 @@ export default class EventTesterService { destination_response_status: destResponseStatuses, }; } else { - response['destination_response'] = { + response.destination_response = { error: 'error encountered in dest_transformation stage. Aborting.', }; } diff --git a/src/services/misc.ts b/src/services/misc.ts index 2805f58584..fe38b5b2bd 100644 --- a/src/services/misc.ts +++ b/src/services/misc.ts @@ -1,9 +1,10 @@ +/* eslint-disable global-require, import/no-dynamic-require */ import fs from 'fs'; import path from 'path'; import { Context } from 'koa'; import { DestHandlerMap } from '../constants/destinationCanonicalNames'; import { Metadata } from '../types'; -import { getCPUProfile, getHeapProfile, } from '../middleware'; +import { getCPUProfile, getHeapProfile } from '../middleware'; export default class MiscService { public static getDestHandler(dest: string, version: string) { @@ -21,6 +22,7 @@ export default class MiscService { return require(`../${version}/destinations/${dest}/deleteUsers`); } + // eslint-disable-next-line @typescript-eslint/no-unused-vars public static getRequestMetadata(ctx: Context) { // TODO: Parse information such as // cluster, namespace, etc information @@ -69,6 +71,6 @@ export default class MiscService { } public static async getHeapProfile() { - return getHeapProfile() + return getHeapProfile(); } } diff --git a/src/services/profile.ts b/src/services/profile.ts index 5f02b5c2fa..4d7a7104e7 100644 --- a/src/services/profile.ts +++ b/src/services/profile.ts @@ -7,6 +7,8 @@ import v8 from 'v8'; import pprof, { heap } from '@datadog/pprof'; import { promisify } from 'util'; import logger from '../logger'; +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import { CatchErr } from '../util/types'; // The average number of bytes between samples. // 512*1024 = 524288 @@ -22,6 +24,7 @@ heap.start(intervalBytes, stackDepth); export default class ProfileService { private static async promisifiedRead(readable: any) { + // eslint-disable-next-line no-new new Promise((resolve, reject) => { // Instructions for reading data const chunks: any[] = []; @@ -81,11 +84,13 @@ export default class ProfileService { const shouldGenerateLocally = !credBucketDetails.sendTo; logger.info('Before Heapsnapshot converted into a readable stream'); let fileName = ''; - let format = 'pb.gz'; + // eslint-disable-next-line no-param-reassign + format = 'pb.gz'; let profile; if (format && format === 'v8') { const readable = v8.getHeapSnapshot(); snapshotReadableStream = await this.promisifiedRead(readable); + // eslint-disable-next-line no-param-reassign format = 'heapsnapshot'; } else { profile = heap.profile(); @@ -99,7 +104,7 @@ export default class ProfileService { logger.info('Before pipeline'); try { await writeFileProm(fileName, snapshotReadableStream); - } catch (error: any) { + } catch (error: CatchErr) { logger.error('Error occurred:', error); throw new Error(error); } @@ -123,7 +128,7 @@ export default class ProfileService { credBucketDetails.sendTo ? credBucketDetails.sendTo : 'locally' } with filename: ${fileName}`, }; - } catch (error: any) { + } catch (error: CatchErr) { logger.error(error); return { success: false, diff --git a/src/services/source/nativeIntegration.ts b/src/services/source/nativeIntegration.ts index e654940fec..f29d68d054 100644 --- a/src/services/source/nativeIntegration.ts +++ b/src/services/source/nativeIntegration.ts @@ -5,6 +5,7 @@ import { RudderMessage, SourceTransformationResponse, } from '../../types/index'; +import { FixMe } from '../../util/types'; import PostTransformationServiceSource from './postTransformation'; import FetchHandler from '../../helpers/fetchHandlers'; import tags from '../../v0/util/tags'; @@ -25,19 +26,20 @@ export default class NativeIntegrationSourceService implements IntegrationSource } public async sourceTransformRoutine( - sourceEvents: Object[], + sourceEvents: NonNullable[], sourceType: string, version: string, - _requestMetadata: Object, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + _requestMetadata: NonNullable, ): Promise { const sourceHandler = FetchHandler.getSourceHandler(sourceType, version); - const respList: SourceTransformationResponse[] = await Promise.all( + const respList: SourceTransformationResponse[] = await Promise.all( sourceEvents.map(async (sourceEvent) => { try { const respEvents: RudderMessage | RudderMessage[] | SourceTransformationResponse = await sourceHandler.process(sourceEvent); return PostTransformationServiceSource.handleSuccessEventsSource(respEvents); - } catch (error: any) { + } catch (error: FixMe) { const metaTO = this.getTags(); stats.increment('source_transform_errors', { sourceType, diff --git a/src/services/source/postTransformation.ts b/src/services/source/postTransformation.ts index 603f1b1c0a..f732cac3a7 100644 --- a/src/services/source/postTransformation.ts +++ b/src/services/source/postTransformation.ts @@ -1,10 +1,11 @@ import { MetaTransferObject, RudderMessage, SourceTransformationResponse } from '../../types/index'; +import { CatchErr } from '../../util/types'; import { generateErrorObject } from '../../v0/util'; import ErrorReportingService from '../errorReporting'; export default class PostTransformationSourceService { public static handleFailureEventsSource( - error: Object, + error: CatchErr, metaTO: MetaTransferObject, ): SourceTransformationResponse { const errObj = generateErrorObject(error, metaTO.errorDetails); diff --git a/src/services/userTransform.ts b/src/services/userTransform.ts index 74d9203188..14c6d9b9aa 100644 --- a/src/services/userTransform.ts +++ b/src/services/userTransform.ts @@ -8,20 +8,24 @@ import { UserTransformationResponse, UserTransformationServiceResponse, } from '../types/index'; -import { RespStatusError, RetryRequestError, extractStackTraceUptoLastSubstringMatch } from '../util/utils'; +import { + RespStatusError, + RetryRequestError, + extractStackTraceUptoLastSubstringMatch, +} from '../util/utils'; import { getMetadata, isNonFuncObject } from '../v0/util'; import { SUPPORTED_FUNC_NAMES } from '../util/ivmFactory'; import logger from '../logger'; import stats from '../util/stats'; +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import { CatchErr, FixMe } from '../util/types'; export default class UserTransformService { public static async transformRoutine( events: ProcessorTransformationRequest[], ): Promise { - - const startTime = new Date(); let retryStatus = 200; - const groupedEvents: Object = groupBy( + const groupedEvents: NonNullable = groupBy( events, (event: ProcessorTransformationRequest) => `${event.metadata.destinationId}_${event.metadata.sourceId}`, @@ -29,14 +33,14 @@ export default class UserTransformService { stats.counter('user_transform_function_group_size', Object.entries(groupedEvents).length, {}); stats.histogram('user_transform_input_events', events.length, {}); - const transformedEvents: any[] = []; - let librariesVersionIDs: any[] = []; + const transformedEvents: FixMe[] = []; + let librariesVersionIDs: FixMe[] = []; if (events[0].libraries) { librariesVersionIDs = events[0].libraries.map( (library: UserTransformationLibrary) => library.VersionID, ); } - const responses = await Promise.all( + const responses = await Promise.all( Object.entries(groupedEvents).map(async ([dest, destEvents]) => { logger.debug(`dest: ${dest}`); const eventsToProcess = destEvents as ProcessorTransformationRequest[]; @@ -83,7 +87,7 @@ export default class UserTransformService { statusCode: 400, error: ev.error, metadata: isEmpty(ev.metadata) ? commonMetadata : ev.metadata, - } as ProcessorTransformationResponse; + } as unknown as ProcessorTransformationResponse; } if (!isNonFuncObject(ev.transformedEvent)) { return { @@ -101,7 +105,7 @@ export default class UserTransformService { } as ProcessorTransformationResponse; }), ); - } catch (error: any) { + } catch (error: CatchErr) { logger.error(error); let status = 400; const errorString = error.toString(); @@ -150,7 +154,7 @@ export default class UserTransformService { } public static async testTransformRoutine(events, trRevCode, libraryVersionIDs) { - const response: any = {}; + const response: FixMe = {}; try { if (!trRevCode || !trRevCode.code || !trRevCode.codeVersion) { throw new Error('Invalid Request. Missing parameters in transformation code block'); @@ -160,6 +164,7 @@ export default class UserTransformService { } logger.debug(`[CT] Test Input Events: ${JSON.stringify(events)}`); + // eslint-disable-next-line no-param-reassign trRevCode.versionId = 'testVersionId'; response.body = await userTransformHandler()( events, @@ -170,9 +175,11 @@ export default class UserTransformService { ); logger.debug(`[CT] Test Output Events: ${JSON.stringify(response.body.transformedEvents)}`); response.status = 200; - } catch (error: any) { + } catch (error: CatchErr) { response.status = 400; - response.body = { error: extractStackTraceUptoLastSubstringMatch(error.stack, SUPPORTED_FUNC_NAMES) }; + response.body = { + error: extractStackTraceUptoLastSubstringMatch(error.stack, SUPPORTED_FUNC_NAMES), + }; } return response; } diff --git a/src/testRouter.js b/src/testRouter.js index 5c9d56e78d..6080816663 100644 --- a/src/testRouter.js +++ b/src/testRouter.js @@ -28,8 +28,8 @@ const isSupportedContentType = (contentType) => { const testRouter = new Router({ prefix: '/test-router' }); -const getDestHandler = (version, destination) => - require(`./${version}/destinations/${destination}/transform`); +const getDestHandler = (ver, destination) => + require(`./${ver}/destinations/${destination}/transform`); const getDestinations = () => fs.readdirSync(path.resolve(__dirname, version, 'destinations')); diff --git a/src/types/index.ts b/src/types/index.ts index 38ce52f017..ff0c1f88b9 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,3 +1,6 @@ +import { CatchErr, FixMe } from '../util/types'; + +/* eslint-disable @typescript-eslint/no-explicit-any */ type ProcessorTransformationOutput = { version: string; type: string; @@ -25,8 +28,8 @@ type Metadata = { sourceCategory: string; trackingPlanId: string; trackingPlanVersion: number; - sourceTpConfig: Object; - mergedTpConfig: Object; + sourceTpConfig: object; + mergedTpConfig: object; destinationId: string; jobRunId: string; jobId: number; @@ -35,7 +38,7 @@ type Metadata = { sourceJobRunId: string; sourceTaskId: string; sourceTaskRunId: string; - recordId: Object; + recordId: object; destinationType: string; messageId: string; oauthAccessToken: string; @@ -52,21 +55,21 @@ type Metadata = { type UserTransformationInput = { VersionID: string; ID: string; - Config: Object; + Config: object; }; type DestinationDefinition = { ID: string; Name: string; DisplayName: string; - Config: Object; + Config: FixMe; }; type Destination = { ID: string; Name: string; DestinationDefinition: DestinationDefinition; - Config: Object; + Config: FixMe; Enabled: boolean; WorkspaceID: string; Transformations: UserTransformationInput[]; @@ -78,16 +81,16 @@ type UserTransformationLibrary = { }; type ProcessorTransformationRequest = { - request?: Object; - message: Object; + request?: object; + message: object; metadata: Metadata; destination: Destination; libraries: UserTransformationLibrary[]; }; type RouterTransformationRequestData = { - request?: Object; - message: Object; + request?: object; + message: object; metadata: Metadata; destination: Destination; }; @@ -102,7 +105,7 @@ type ProcessorTransformationResponse = { metadata: Metadata; statusCode: number; error?: string; - statTags: Object; + statTags: object; }; type RouterTransformationResponse = { @@ -112,7 +115,7 @@ type RouterTransformationResponse = { batched: boolean; statusCode: number; error: string; - statTags: Object; + statTags: object; }; type SourceTransformationOutput = { @@ -121,17 +124,17 @@ type SourceTransformationOutput = { type SourceTransformationResponse = { output: SourceTransformationOutput; - error: Object; + error: CatchErr; statusCode: number; - outputToSource: Object; - statTags: Object; + outputToSource: object; + statTags: object; }; type DeliveryResponse = { status: number; message: string; - destinationResponse: Object; - statTags: Object; + destinationResponse: object; + statTags: object; authErrorCategory?: string; }; @@ -150,15 +153,15 @@ type RudderMessage = { anonymousId: string; type: MessageType; channel: string; - context: Object; + context: object; originalTimestamp: Date; sentAt: Date; timestamp: Date; event?: string; - integrations?: Object; + integrations?: object; messageId: string; - properties?: Object; - traits?: Object; + properties?: object; + traits?: object; }; type ErrorDetailer = { @@ -187,7 +190,7 @@ type MetaTransferObject = { type UserTransformationResponse = { transformedEvent: RudderMessage; metadata: Metadata; - error: Object; + error: CatchErr; }; type UserTransformationServiceResponse = { @@ -196,8 +199,8 @@ type UserTransformationServiceResponse = { }; type UserDeletionRequest = { - userAttributes: any[]; - config: Object; + userAttributes: FixMe[]; + config: object; destType: string; jobId: string; }; @@ -206,15 +209,15 @@ type UserDeletionResponse = { statusCode: number; error?: string; status?: string; - authErrorCategory: any; - statTags: Object; + authErrorCategory: FixMe; + statTags: object; }; type ComparatorInput = { events: ProcessorTransformationRequest[] | RouterTransformationRequestData[]; destination: string; version: string; - requestMetadata: Object; + requestMetadata: object; feature: string; }; diff --git a/src/util/dynamicConfigParser.ts b/src/util/dynamicConfigParser.ts index fc4a02bc84..73ad85a0d2 100644 --- a/src/util/dynamicConfigParser.ts +++ b/src/util/dynamicConfigParser.ts @@ -1,14 +1,15 @@ import cloneDeep from 'lodash/cloneDeep'; import { ProcessorTransformationRequest, RouterTransformationRequestData } from '../types/index'; +import { FixMe } from './types'; /* eslint-disable no-param-reassign */ const get = require('get-value'); const unset = require('unset-value'); -export class DynamicConfigParser { +export default class DynamicConfigParser { private static getDynamicConfigValue( event: ProcessorTransformationRequest | RouterTransformationRequestData, - value: any, + value: FixMe, ) { // this regex checks for pattern "only spaces {{ path || defaultvalue }} only spaces" . // " {{message.traits.key || \"email\" }} " @@ -38,7 +39,7 @@ export class DynamicConfigParser { } private static configureVal( - value: any, + value: FixMe, event: ProcessorTransformationRequest | RouterTransformationRequestData, ) { if (value) { diff --git a/src/util/fetch.js b/src/util/fetch.js index efadc3c884..95856dd7fd 100644 --- a/src/util/fetch.js +++ b/src/util/fetch.js @@ -1,6 +1,7 @@ +/* eslint-disable @typescript-eslint/return-await */ const fetch = require('node-fetch'); const HttpsProxyAgent = require('https-proxy-agent'); -const _ = require('lodash'); +const lodash = require('lodash'); const { RetryRequestError } = require('./utils'); const fetchWithProxy = async (url, options = {}) => { @@ -13,7 +14,7 @@ const fetchWithProxy = async (url, options = {}) => { instanceOptions.agent = new HttpsProxyAgent(process.env.HTTPS_PROXY); } - if (_.isEmpty(instanceOptions)) { + if (lodash.isEmpty(instanceOptions)) { return await fetch(url); } return await fetch(url, instanceOptions); diff --git a/src/util/types.ts b/src/util/types.ts new file mode 100644 index 0000000000..579c35579c --- /dev/null +++ b/src/util/types.ts @@ -0,0 +1,25 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +export type FixMe = any; + +export type CatchErr = any; + +export interface Config { + cdkEnabled?: boolean; + cdkV2Enabled?: boolean; + comparisonTestEnabeld?: boolean; + comparisonService?: string; + camparisonTestThreshold?: number; +} + +export interface IDestDefinition { + id: string; + name: string; + displayName: string; + config: Config; + options: { + isBeta?: boolean; + hidden?: boolean; + } | null; + isPopular: boolean; + uiConfig: FixMe; +} diff --git a/src/util/utils.js b/src/util/utils.js index 160bbae3c9..0ba6008368 100644 --- a/src/util/utils.js +++ b/src/util/utils.js @@ -1,4 +1,4 @@ -/* eslint-disable max-classes-per-file */ +/* eslint-disable max-classes-per-file, @typescript-eslint/return-await */ const http = require('http'); const https = require('https'); const { Resolver } = require('dns').promises; @@ -36,6 +36,7 @@ const staticLookup = (transformerVersionId) => async (hostname, _, cb) => { return; } + // eslint-disable-next-line no-restricted-syntax for (const ip of ips) { if (ip.startsWith(LOCALHOST_OCTET)) { cb(null, `cannot use ${ip} as IP address`, RECORD_TYPE_A); diff --git a/src/v0/destinations/active_campaign/transform.js b/src/v0/destinations/active_campaign/transform.js index f995254730..905a8e897f 100644 --- a/src/v0/destinations/active_campaign/transform.js +++ b/src/v0/destinations/active_campaign/transform.js @@ -283,7 +283,7 @@ const customFieldProcessor = async (message, category, destination) => { const storedFields = Object.keys(fieldMap); const filteredFieldKeys = []; - fieldKeys.map((fieldKey) => { + fieldKeys.forEach((fieldKey) => { // If the field is present in fieldMap push it to filteredFieldKeys else ignore if (storedFields.includes(fieldKey)) { filteredFieldKeys.push(fieldKey); @@ -297,7 +297,7 @@ const customFieldProcessor = async (message, category, destination) => { // Creating a field array list conating field id and field value which will be merged to the contact // Ref: https://developers.activecampaign.com/reference/sync-a-contacts-data const fieldsArrValues = []; - filteredFieldKeys.map((key) => { + filteredFieldKeys.forEach((key) => { let fPayload; if (Array.isArray(fieldInfo[key])) { fPayload = '||'; @@ -327,7 +327,7 @@ const customListProcessor = async (message, category, destination, contactId) => // The list info is pushed into a list object array const listArr = []; if (Array.isArray(listInfo)) { - listInfo.map((list) => { + listInfo.forEach((list) => { listArr.push(list); }); } else { @@ -337,7 +337,8 @@ const customListProcessor = async (message, category, destination, contactId) => // status information // Ref: https://developers.activecampaign.com/reference/update-list-status-for-contact/ const promises = []; - listArr.map(async (li) => { + // eslint-disable-next-line no-restricted-syntax + for (const li of listArr) { if (li.status === 'subscribe' || li.status === 'unsubscribe') { const endpoint = `${destination.Config.apiUrl}${category.mergeListWithContactUrl}`; const requestData = { @@ -356,7 +357,7 @@ const customListProcessor = async (message, category, destination, contactId) => }); promises.push(res); } - }); + } const responses = await Promise.all(promises); responses.forEach((respItem) => { if (respItem.success === false) { diff --git a/src/v0/destinations/adobe_analytics/transform.js b/src/v0/destinations/adobe_analytics/transform.js index c477b4c93c..54806bf578 100644 --- a/src/v0/destinations/adobe_analytics/transform.js +++ b/src/v0/destinations/adobe_analytics/transform.js @@ -36,7 +36,13 @@ const responseBuilderSimple = async (message, destinationConfig, basicPayload) = const { event, context, properties } = message; // set default value of properties.overridePageView to false if not provided properties.overridePageView = properties.overridePageView ?? false; - const { overrideEvars, overrideHiers, overrideLists, overrideCustomProperties } = properties; + const { + overrideEvars, + overrideHiers, + overrideLists, + overrideCustomProperties, + overridePageView, + } = properties; // handle contextData payload = handleContextData(payload, destinationConfig, message); @@ -60,7 +66,7 @@ const responseBuilderSimple = async (message, destinationConfig, basicPayload) = // handle link values // default linktype to 'o', linkName to event name, linkURL to ctx.page.url if not passed in integrations object const adobeIntegrationsObject = getIntegrationsObj(message, 'adobe_analytics'); - if (!properties?.overridePageView) { + if (!overridePageView) { payload.linkType = adobeIntegrationsObject?.linkType || 'o'; payload.linkName = adobeIntegrationsObject?.linkName || event; // setting linkname to page view for page calls @@ -86,7 +92,7 @@ const responseBuilderSimple = async (message, destinationConfig, basicPayload) = // handle pageName, pageUrl const contextPageUrl = context?.page?.url; - if (properties?.overridePageView) { + if (overridePageView) { const propertiesPageUrl = properties?.pageUrl; const pageUrl = contextPageUrl || propertiesPageUrl; if (isDefinedAndNotNullAndNotEmpty(pageUrl)) { @@ -337,7 +343,7 @@ const processTrackEvent = (message, adobeEventName, destinationConfig, extras = const handleTrack = (message, destinationConfig) => { const ORDER_ID_KEY = 'properties.order_id'; - const { event: rawEvent } = message; + const { event: rawEvent, properties } = message; let payload = null; // handle ecommerce events separately // generic events should go to the default @@ -378,12 +384,8 @@ const handleTrack = (message, destinationConfig) => { destinationConfig.rudderEventsToAdobeEvents[event]?.trim(), destinationConfig, ); - } else if (message?.properties?.overrideEventName) { - payload = processTrackEvent( - message, - message?.properties?.overrideEventName, - destinationConfig, - ); + } else if (properties?.overrideEventName) { + payload = processTrackEvent(message, properties.overrideEventName, destinationConfig); } else { throw new ConfigurationError( 'The event is not a supported ECOM event or a mapped custom event. Aborting.', diff --git a/src/v0/destinations/bqstream/transform.js b/src/v0/destinations/bqstream/transform.js index 0674f5e679..55679b08a8 100644 --- a/src/v0/destinations/bqstream/transform.js +++ b/src/v0/destinations/bqstream/transform.js @@ -1,5 +1,5 @@ /* eslint-disable no-console */ -const _ = require('lodash'); +const lodash = require('lodash'); const { EventType } = require('../../../constants'); const { defaultBatchRequestConfig, @@ -56,7 +56,7 @@ const batchEachUserSuccessEvents = (eventsChunk) => { const batchedResponseList = []; // arrayChunks = [[e1,e2, ..batchSize], [e1,e2, ..batchSize], ...] - const arrayChunks = _.chunk(eventsChunk, MAX_ROWS_PER_REQUEST); + const arrayChunks = lodash.chunk(eventsChunk, MAX_ROWS_PER_REQUEST); // list of chunks [ [..], [..] ] arrayChunks.forEach((chunk) => { diff --git a/src/v0/destinations/bqstream/util.js b/src/v0/destinations/bqstream/util.js index 06b7403c87..4fa926e54e 100644 --- a/src/v0/destinations/bqstream/util.js +++ b/src/v0/destinations/bqstream/util.js @@ -39,6 +39,7 @@ const formatCompositeResponse = (errorEvents) => { const resultArray = []; const errorMap = new Map(); + // eslint-disable-next-line no-restricted-syntax for (const item of errorEvents) { if (isDefinedAndNotNull(item.error)) { optimizeErrorResponse(item, errorMap, resultArray); diff --git a/src/v0/destinations/bqstream/util.test.js b/src/v0/destinations/bqstream/util.test.js index 1e99a4f20e..c7635772ac 100644 --- a/src/v0/destinations/bqstream/util.test.js +++ b/src/v0/destinations/bqstream/util.test.js @@ -64,19 +64,19 @@ describe('getRearrangedEvents', () => { ], }, ], - [ - { - batched: false, - destination: {}, - error: "Invalid payload for the destination", - metadata: [ - { - jobId: 5, - userId: "user12345", - }, - ], - }, - ], + [ + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [ + { + jobId: 5, + userId: 'user12345', + }, + ], + }, + ], ]; const result = getRearrangedEvents(eachUserSuccessEventslist, eachUserErrorEventsList); expect(result).toEqual(expected); @@ -106,7 +106,7 @@ describe('getRearrangedEvents', () => { [ { message: { type: 'track' }, metadata: [{ jobId: 1 }] }, { message: { type: 'track' }, metadata: [{ jobId: 3 }] }, - { message: { type: 'track' }, metadata: [{ jobId: 5 }] } + { message: { type: 'track' }, metadata: [{ jobId: 5 }] }, ], [ { @@ -147,54 +147,54 @@ describe('getRearrangedEvents', () => { const expected = [ [ { - "message": { - "type": "track" + message: { + type: 'track', }, - "metadata": [ + metadata: [ { - "jobId": 1 - } - ] + jobId: 1, + }, + ], }, { - "message": { - "type": "track" + message: { + type: 'track', }, - "metadata": [ + metadata: [ { - "jobId": 2 - } - ] + jobId: 2, + }, + ], }, { - "message": { - "type": "track" + message: { + type: 'track', }, - "metadata": [ + metadata: [ { - "jobId": 5 - } - ] - } + jobId: 5, + }, + ], + }, ], [ { - "batched": false, - "destination": {}, - "error": "Invalid payload for the destination", - "metadata": [ + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [ { - "jobId": 3, - "userId": "user12345" + jobId: 3, + userId: 'user12345', }, { - "jobId": 4, - "userId": "user12345" - } - ] - } - ] - ] + jobId: 4, + userId: 'user12345', + }, + ], + }, + ], + ]; const result = getRearrangedEvents(successEventslist, errorEventsList); console.log(JSON.stringify(result)); expect(result).toEqual(expected); @@ -222,48 +222,46 @@ describe('getRearrangedEvents', () => { const expected = [ [ { - "message": { - "type": "track" + message: { + type: 'track', }, - "metadata": [ + metadata: [ { - "jobId": 2 - } - ] + jobId: 2, + }, + ], }, { - "message": { - "type": "track" + message: { + type: 'track', }, - "metadata": [ + metadata: [ { - "jobId": 3 - } - ] - } + jobId: 3, + }, + ], + }, ], [ { - "batched": false, - "destination": {}, - "error": "Invalid payload for the destination", - "metadata": [ + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [ { - "jobId": 1, - "userId": "user12345" + jobId: 1, + userId: 'user12345', }, { - "jobId": 4, - "userId": "user12345" - } - ] - } - ] - ] + jobId: 4, + userId: 'user12345', + }, + ], + }, + ], + ]; const result = getRearrangedEvents(successEventslist, errorEventsList); console.log(JSON.stringify(result)); expect(result).toEqual(expected); }); - }); - diff --git a/src/v0/destinations/branch/transform.js b/src/v0/destinations/branch/transform.js index 362f6cc840..0d47fbd791 100644 --- a/src/v0/destinations/branch/transform.js +++ b/src/v0/destinations/branch/transform.js @@ -44,7 +44,7 @@ function getCategoryAndName(rudderEventName) { for (const category of categoriesList) { let requiredName = null; let requiredCategory = null; - // eslint-disable-next-line array-callback-return + // eslint-disable-next-line array-callback-return, sonarjs/no-ignored-return Object.keys(category.name).find((branchKey) => { if ( typeof branchKey === 'string' && @@ -53,7 +53,9 @@ function getCategoryAndName(rudderEventName) { ) { requiredName = category.name[branchKey]; requiredCategory = category; + return true; } + return false; }); if (requiredName != null && requiredCategory != null) { return { evName: requiredName, category: requiredCategory }; @@ -112,6 +114,7 @@ function mapPayload(category, rudderProperty, rudderPropertiesObj) { let valFound = false; if (category.content_items) { + // eslint-disable-next-line sonarjs/no-ignored-return Object.keys(category.content_items).find((branchMappingProperty) => { if (branchMappingProperty === rudderProperty) { const tmpKeyName = category.content_items[branchMappingProperty]; @@ -168,7 +171,7 @@ function getCommonPayload(message, category, evName) { productObj = {}; for (let i = 0; i < rudderPropertiesObj.products.length; i += 1) { const product = rudderPropertiesObj.products[i]; - // eslint-disable-next-line no-loop-func + // eslint-disable-next-line @typescript-eslint/no-loop-func Object.keys(product).forEach((productProp) => { const { contentItemsObj, eventDataObj, customDataObj } = mapPayload( category, diff --git a/src/v0/destinations/braze/networkHandler.js b/src/v0/destinations/braze/networkHandler.js index 48034af487..cf6d36c2b4 100644 --- a/src/v0/destinations/braze/networkHandler.js +++ b/src/v0/destinations/braze/networkHandler.js @@ -10,6 +10,7 @@ const { NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const stats = require('../../../util/stats'); +// eslint-disable-next-line @typescript-eslint/no-unused-vars const responseHandler = (destinationResponse, _dest) => { const message = `Request for ${DESTINATION} Processed Successfully`; const { response, status } = destinationResponse; diff --git a/src/v0/destinations/braze/transform.js b/src/v0/destinations/braze/transform.js index 7650f03b8f..5f651041ea 100644 --- a/src/v0/destinations/braze/transform.js +++ b/src/v0/destinations/braze/transform.js @@ -1,5 +1,5 @@ /* eslint-disable no-nested-ternary,no-param-reassign */ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const { BrazeDedupUtility, @@ -80,7 +80,7 @@ function getIdentifyPayload(message) { let payload = {}; payload = setAliasObjectWithAnonId(payload, message); payload = setExternalId(payload, message); - return { aliases_to_identify: [payload], merge_behavior: "merge" }; + return { aliases_to_identify: [payload], merge_behavior: 'merge' }; } function populateCustomAttributesWithOperation( @@ -379,6 +379,7 @@ function processGroup(message, destination) { } else if (email) { subscriptionGroup.emails = [email]; } + // eslint-disable-next-line @typescript-eslint/naming-convention const subscription_groups = [subscriptionGroup]; const response = defaultRequestConfig(); response.endpoint = getSubscriptionGroupEndPoint(getEndpointFromConfig(destination)); @@ -518,7 +519,7 @@ const processRouterDest = async (inputs, reqMetadata) => { BrazeDedupUtility.updateUserStore(userStore, lookedUpUsers, destination.ID); } // group events by userId or anonymousId and then call process - const groupedInputs = _.groupBy( + const groupedInputs = lodash.groupBy( inputs, (input) => input.message.userId || input.message.anonymousId, ); @@ -537,7 +538,7 @@ const processRouterDest = async (inputs, reqMetadata) => { const output = await Promise.all(allResps); - const allTransfomredEvents = _.flatMap(output); + const allTransfomredEvents = lodash.flatMap(output); return processBatch(allTransfomredEvents); }; diff --git a/src/v0/destinations/braze/util.js b/src/v0/destinations/braze/util.js index d772503b58..0793ca5891 100644 --- a/src/v0/destinations/braze/util.js +++ b/src/v0/destinations/braze/util.js @@ -1,4 +1,4 @@ -/* eslint-disable camelcase */ +/* eslint-disable */ const _ = require('lodash'); const get = require('get-value'); const stats = require('../../../util/stats'); diff --git a/src/v0/destinations/clevertap/networkHandler.js b/src/v0/destinations/clevertap/networkHandler.js index aafe77e792..35c972e502 100644 --- a/src/v0/destinations/clevertap/networkHandler.js +++ b/src/v0/destinations/clevertap/networkHandler.js @@ -43,6 +43,7 @@ const responseHandler = (destinationResponse) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = responseHandler; diff --git a/src/v0/destinations/criteo_audience/networkHandler.js b/src/v0/destinations/criteo_audience/networkHandler.js index 5bf29f63c5..83cde5028f 100644 --- a/src/v0/destinations/criteo_audience/networkHandler.js +++ b/src/v0/destinations/criteo_audience/networkHandler.js @@ -81,6 +81,7 @@ const responseHandler = (destinationResponse) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = responseHandler; diff --git a/src/v0/destinations/criteo_audience/util.js b/src/v0/destinations/criteo_audience/util.js index ab58560fb1..a7541f7911 100644 --- a/src/v0/destinations/criteo_audience/util.js +++ b/src/v0/destinations/criteo_audience/util.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { isDefinedAndNotNullAndNotEmpty } = require('../../util'); const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { MAX_IDENTIFIERS } = require('./config'); @@ -14,7 +14,7 @@ const populateIdentifiers = (audienceList, audienceType) => { } identifiers.push(userTraits[audienceType]); }); - const identifierChunks = _.chunk(identifiers, MAX_IDENTIFIERS); + const identifierChunks = lodash.chunk(identifiers, MAX_IDENTIFIERS); return identifierChunks; }; diff --git a/src/v0/destinations/customerio/util.js b/src/v0/destinations/customerio/util.js index dec16b355e..735b6a73d9 100644 --- a/src/v0/destinations/customerio/util.js +++ b/src/v0/destinations/customerio/util.js @@ -102,7 +102,7 @@ const isdeviceRelatedEventName = (eventName, destination) => const identifyResponseBuilder = (userId, message) => { const rawPayload = {}; // if userId is not there simply drop the payload - const id = userId || getFieldValueFromMessage(message, "email"); + const id = userId || getFieldValueFromMessage(message, 'email'); if (!id) { throw new InstrumentationError('userId or email is not present'); } @@ -177,6 +177,7 @@ const aliasResponseBuilder = (message, userId) => { if (validateEmail(userId)) { cioProperty = 'email'; } + // eslint-disable-next-line @typescript-eslint/naming-convention let prev_cioProperty = 'id'; if (validateEmail(message.previousId)) { prev_cioProperty = 'email'; @@ -229,12 +230,11 @@ const defaultResponseBuilder = (message, evName, userId, evType, destination, me let requestConfig = defaultPostRequestConfig; // any other event type except identify const token = get(message, 'context.device.token'); - const id = userId || getFieldValueFromMessage(message, "email"); + const id = userId || getFieldValueFromMessage(message, 'email'); // use this if only top level keys are to be sent // DEVICE DELETE from CustomerIO const isDeviceDeleteEvent = deviceDeleteRelatedEventName === evName; if (isDeviceDeleteEvent) { - if (!id || !token) { throw new InstrumentationError('userId/email or device_token not present'); } @@ -253,7 +253,7 @@ const defaultResponseBuilder = (message, evName, userId, evType, destination, me last_used: Math.floor(new Date(timestamp).getTime() / 1000), }; const deviceType = get(message, 'context.device.type'); - if (deviceType && typeof deviceType === "string") { + if (deviceType && typeof deviceType === 'string') { // Ref - https://www.customer.io/docs/api/#operation/add_device // supported platform are "ios", "android" devProps.platform = isAppleFamily(deviceType) ? 'ios' : deviceType.toLowerCase(); @@ -306,9 +306,9 @@ const defaultResponseBuilder = (message, evName, userId, evType, destination, me return { rawPayload, endpoint, requestConfig }; }; -const validateConfigFields = destination => { +const validateConfigFields = (destination) => { const { Config } = destination; - configFieldsToCheck.forEach(configProperty => { + configFieldsToCheck.forEach((configProperty) => { if (!Config[configProperty]) { throw new ConfigurationError(`${configProperty} not found in Configs`); } @@ -323,5 +323,5 @@ module.exports = { defaultResponseBuilder, populateSpecedTraits, isdeviceRelatedEventName, - validateConfigFields + validateConfigFields, }; diff --git a/src/v0/destinations/fb/networkHandler.js b/src/v0/destinations/fb/networkHandler.js index b79b2ab493..06235fab40 100644 --- a/src/v0/destinations/fb/networkHandler.js +++ b/src/v0/destinations/fb/networkHandler.js @@ -11,6 +11,7 @@ const destResponseHandler = (destinationResponse) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.prepareProxyRequest = prepareProxyRequest; diff --git a/src/v0/destinations/fb_custom_audience/transform.js b/src/v0/destinations/fb_custom_audience/transform.js index 64125ffc3b..f31a3dd42e 100644 --- a/src/v0/destinations/fb_custom_audience/transform.js +++ b/src/v0/destinations/fb_custom_audience/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const { defaultRequestConfig, @@ -62,7 +62,7 @@ const preparePayload = ( disableFormat, destinationId, ) => { - const prepareFinalPayload = _.cloneDeep(paramsPayload); + const prepareFinalPayload = lodash.cloneDeep(paramsPayload); if (Array.isArray(userSchema)) { prepareFinalPayload.schema = userSchema; } else { diff --git a/src/v0/destinations/fb_custom_audience/util.js b/src/v0/destinations/fb_custom_audience/util.js index 8ec15fe670..9e7198e393 100644 --- a/src/v0/destinations/fb_custom_audience/util.js +++ b/src/v0/destinations/fb_custom_audience/util.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const sha256 = require('sha256'); const get = require('get-value'); const jsonSize = require('json-size'); @@ -31,7 +31,7 @@ const batchingWithPayloadSize = (payload) => { const revisedPayloadArray = []; const noOfBatches = Math.ceil(payloadSize / maxPayloadSize); const revisedRecordsPerPayload = Math.floor(payload.data.length / noOfBatches); - const revisedDataArray = _.chunk(payload.data, revisedRecordsPerPayload); + const revisedDataArray = lodash.chunk(payload.data, revisedRecordsPerPayload); revisedDataArray.forEach((data) => { revisedPayloadArray.push({ ...payload, data }); }); diff --git a/src/v0/destinations/ga/transform.js b/src/v0/destinations/ga/transform.js index 0c2a0f8a49..c10697c4e1 100644 --- a/src/v0/destinations/ga/transform.js +++ b/src/v0/destinations/ga/transform.js @@ -443,7 +443,7 @@ function processRefundEvent(message, destination) { let { enhancedEcommerce } = destination.Config; enhancedEcommerce = enhancedEcommerce || false; - // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { products, order_id } = message.properties; if (products && products.length > 0) { const productParams = setProductLevelProperties( @@ -598,7 +598,7 @@ function processProductEvent(message, destination) { const customParamKeys = getCustomParamKeys(destination.Config); Object.assign(parameters, getProductLevelCustomParams(message.properties, 1, customParamKeys)); } - // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { sku, product_id } = message.properties; // eslint-disable-next-line camelcase const productId = product_id; diff --git a/src/v0/destinations/ga360/transform.js b/src/v0/destinations/ga360/transform.js index a9d4f6b210..c60ea47551 100644 --- a/src/v0/destinations/ga360/transform.js +++ b/src/v0/destinations/ga360/transform.js @@ -401,7 +401,7 @@ function processRefundEvent(message, destination) { let { enhancedEcommerce } = destination.Config; enhancedEcommerce = enhancedEcommerce || false; - // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { products, order_id } = message.properties; if (products && products.length > 0) { const productParams = setProductLevelProperties( @@ -545,7 +545,7 @@ function processProductEvent(message, destination) { const customParamKeys = getCustomParamKeys(destination.Config); Object.assign(parameters, getProductLevelCustomParams(message.properties, 1, customParamKeys)); } - // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { sku, product_id } = message.properties; // eslint-disable-next-line camelcase const productId = product_id; diff --git a/src/v0/destinations/ga4/utils.js b/src/v0/destinations/ga4/utils.js index b86d14ef1b..4bb35e3fdd 100644 --- a/src/v0/destinations/ga4/utils.js +++ b/src/v0/destinations/ga4/utils.js @@ -410,9 +410,9 @@ const prepareUserProperties = (message) => { const validatedUserProperties = Object.entries(userProperties) .filter(([key, value]) => isValidUserProperty(key, value)) .reduce((acc, [key, value]) => { - const userProperties = acc; - userProperties[key] = { value }; - return userProperties; + const userPropertiesObj = acc; + userPropertiesObj[key] = { value }; + return userPropertiesObj; }, {}); return validatedUserProperties; diff --git a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js index 9fa0e9a3a4..1f59eb9e40 100644 --- a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js +++ b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js @@ -18,6 +18,8 @@ const { BASE_ENDPOINT } = require('./config'); const { NetworkError, NetworkInstrumentationError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); +const ERROR_MSG_PATH = 'response[0].error.message'; + /** * This function is used for collecting the conversionActionId using the conversion name * @param {*} method @@ -49,8 +51,8 @@ const getConversionActionId = async (method, headers, params) => { if (!isHttpStatusSuccess(gaecConversionActionIdResponse.status)) { throw new NetworkError( `"${JSON.stringify( - get(gaecConversionActionIdResponse, 'response[0].error.message', '') - ? get(gaecConversionActionIdResponse, 'response[0].error.message', '') + get(gaecConversionActionIdResponse, ERROR_MSG_PATH, '') + ? get(gaecConversionActionIdResponse, ERROR_MSG_PATH, '') : gaecConversionActionIdResponse.response, )} during Google_adwords_enhanced_conversions response transformation"`, gaecConversionActionIdResponse.status, @@ -60,7 +62,7 @@ const getConversionActionId = async (method, headers, params) => { gaecConversionActionIdResponse.response, getAuthErrCategoryFromErrDetailsAndStCode( get(gaecConversionActionIdResponse, 'status'), - get(gaecConversionActionIdResponse, 'response[0].error.message'), + get(gaecConversionActionIdResponse, ERROR_MSG_PATH), ), ); } @@ -144,6 +146,7 @@ const responseHandler = (destinationResponse) => { ); }; +// eslint-disable-next-line func-names, @typescript-eslint/naming-convention class networkHandler { constructor() { this.proxy = ProxyRequest; diff --git a/src/v0/destinations/google_adwords_enhanced_conversions/transform.js b/src/v0/destinations/google_adwords_enhanced_conversions/transform.js index 24993a3006..898c3f95b0 100644 --- a/src/v0/destinations/google_adwords_enhanced_conversions/transform.js +++ b/src/v0/destinations/google_adwords_enhanced_conversions/transform.js @@ -11,10 +11,7 @@ const { getAccessToken, } = require('../../util'); -const { - InstrumentationError, - ConfigurationError, -} = require('../../util/errorTypes'); +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/transform.js b/src/v0/destinations/google_adwords_offline_conversions/transform.js index db87d2488e..93b4592c33 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/transform.js +++ b/src/v0/destinations/google_adwords_offline_conversions/transform.js @@ -139,6 +139,7 @@ const process = async (event) => { const getEventChunks = (event, storeSalesEvents, clickCallEvents) => { const { message, metadata, destination } = event; + // eslint-disable-next-line @typescript-eslint/no-shadow message.forEach((message) => { if (message.body.JSON?.isStoreConversion) { storeSalesEvents.push({ message, metadata, destination }); @@ -166,7 +167,7 @@ const batchEvents = (storeSalesEvents) => { if (index === 0) { return; } - batchEventResponse.batchedRequest?.body?.JSON['addConversionPayload']?.operations?.push( + batchEventResponse.batchedRequest?.body?.JSON.addConversionPayload?.operations?.push( storeSalesEvent.message?.body?.JSON?.addConversionPayload?.operations, ); batchEventResponse.metadatas.push(storeSalesEvent.metadata); diff --git a/src/v0/destinations/google_adwords_offline_conversions/utils.js b/src/v0/destinations/google_adwords_offline_conversions/utils.js index 37f17c9fd0..6bdedcc0d4 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/utils.js +++ b/src/v0/destinations/google_adwords_offline_conversions/utils.js @@ -25,11 +25,7 @@ const { } = require('./config'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); const Cache = require('../../util/cache'); -const { - AbortedError, - ConfigurationError, - InstrumentationError, -} = require('../../util/errorTypes'); +const { AbortedError, ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const conversionActionIdCache = new Cache(CONVERSION_ACTION_ID_CACHE_TTL); diff --git a/src/v0/destinations/google_cloud_function/transform.js b/src/v0/destinations/google_cloud_function/transform.js index e74d539e3f..b218615b44 100644 --- a/src/v0/destinations/google_cloud_function/transform.js +++ b/src/v0/destinations/google_cloud_function/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { getSuccessRespEvents, checkInvalidRtTfEvents, @@ -22,7 +22,7 @@ function batchEvents(successRespList, maxBatchSize = 10) { const batchedResponseList = []; // arrayChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const arrayChunks = _.chunk(successRespList, maxBatchSize); + const arrayChunks = lodash.chunk(successRespList, maxBatchSize); arrayChunks.forEach((chunk) => { const batchEventResponse = generateBatchedPayload(chunk); batchedResponseList.push( diff --git a/src/v0/destinations/hs/HSTransform-v1.js b/src/v0/destinations/hs/HSTransform-v1.js index 13eeabbc45..387ecbf63f 100644 --- a/src/v0/destinations/hs/HSTransform-v1.js +++ b/src/v0/destinations/hs/HSTransform-v1.js @@ -1,5 +1,5 @@ const get = require('get-value'); -const _ = require('lodash'); +const lodash = require('lodash'); const { MappedToDestinationKey, GENERIC_TRUE_VALUES } = require('../../../constants'); const { defaultGetRequestConfig, @@ -286,9 +286,9 @@ const legacyBatchEvents = (destEvents) => { eventsChunk.push(event); } }); - const arrayChunksIdentifyCreateObjects = _.chunk(createAllObjectsEventChunk, maxBatchSize); + const arrayChunksIdentifyCreateObjects = lodash.chunk(createAllObjectsEventChunk, maxBatchSize); - const arrayChunksIdentifyUpdateObjects = _.chunk(updateAllObjectsEventChunk, maxBatchSize); + const arrayChunksIdentifyUpdateObjects = lodash.chunk(updateAllObjectsEventChunk, maxBatchSize); // batching up 'create' all objects endpoint chunks if (arrayChunksIdentifyCreateObjects.length > 0) { batchedResponseList = batchIdentifyForrETL( @@ -308,7 +308,7 @@ const legacyBatchEvents = (destEvents) => { } // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const arrayChunksIdentify = _.chunk(eventsChunk, MAX_BATCH_SIZE); + const arrayChunksIdentify = lodash.chunk(eventsChunk, MAX_BATCH_SIZE); // list of chunks [ [..], [..] ] arrayChunksIdentify.forEach((chunk) => { diff --git a/src/v0/destinations/hs/HSTransform-v2.js b/src/v0/destinations/hs/HSTransform-v2.js index 8cea4611e5..75696b4e96 100644 --- a/src/v0/destinations/hs/HSTransform-v2.js +++ b/src/v0/destinations/hs/HSTransform-v2.js @@ -1,5 +1,5 @@ const get = require('get-value'); -const _ = require('lodash'); +const lodash = require('lodash'); const { MappedToDestinationKey, GENERIC_TRUE_VALUES } = require('../../../constants'); const { defaultPostRequestConfig, @@ -417,23 +417,23 @@ const batchEvents = (destEvents) => { } }); - const arrayChunksIdentifyCreateObjects = _.chunk(createAllObjectsEventChunk, maxBatchSize); + const arrayChunksIdentifyCreateObjects = lodash.chunk(createAllObjectsEventChunk, maxBatchSize); - const arrayChunksIdentifyUpdateObjects = _.chunk(updateAllObjectsEventChunk, maxBatchSize); + const arrayChunksIdentifyUpdateObjects = lodash.chunk(updateAllObjectsEventChunk, maxBatchSize); // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] // CRM create contact endpoint chunks - const arrayChunksIdentifyCreateContact = _.chunk( + const arrayChunksIdentifyCreateContact = lodash.chunk( createContactEventsChunk, MAX_BATCH_SIZE_CRM_CONTACT, ); // CRM update contact endpoint chunks - const arrayChunksIdentifyUpdateContact = _.chunk( + const arrayChunksIdentifyUpdateContact = lodash.chunk( updateContactEventsChunk, MAX_BATCH_SIZE_CRM_CONTACT, ); - const arrayChunksIdentifyCreateAssociations = _.chunk( + const arrayChunksIdentifyCreateAssociations = lodash.chunk( associationObjectsEventChunk, MAX_BATCH_SIZE_CRM_OBJECT, ); diff --git a/src/v0/destinations/intercom/networkHandler.js b/src/v0/destinations/intercom/networkHandler.js index 4133fbe4dc..33f78e8cf6 100644 --- a/src/v0/destinations/intercom/networkHandler.js +++ b/src/v0/destinations/intercom/networkHandler.js @@ -23,6 +23,7 @@ const destResponseHandler = (destinationResponse, dest) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = destResponseHandler; diff --git a/src/v0/destinations/intercom/transform.js b/src/v0/destinations/intercom/transform.js index aa088ee5db..552c80527c 100644 --- a/src/v0/destinations/intercom/transform.js +++ b/src/v0/destinations/intercom/transform.js @@ -94,16 +94,17 @@ function validateTrack(payload) { } const checkIfEmailOrUserIdPresent = (message, Config) => { - let user_id = message.userId; - if (Config.sendAnonymousId && !user_id) { - user_id = message.anonymousId; + const { context, anonymousId } = message; + let { userId } = message; + if (Config.sendAnonymousId && !userId) { + userId = anonymousId; } - return !!(user_id || message.context?.traits?.email); + return !!(userId || context.traits?.email); }; function attachUserAndCompany(message, Config) { const email = message.context?.traits?.email; - const { userId, anonymousId } = message; + const { userId, anonymousId, traits, groupId } = message; const requestBody = {}; if (userId) { requestBody.user_id = userId; @@ -115,10 +116,10 @@ function attachUserAndCompany(message, Config) { requestBody.email = email; } const companyObj = { - company_id: message.groupId, + company_id: groupId, }; - if (message.traits?.name) { - companyObj.name = message.traits.name; + if (traits?.name) { + companyObj.name = traits.name; } requestBody.companies = [companyObj]; const response = defaultRequestConfig(); diff --git a/src/v0/destinations/iterable/transform.js b/src/v0/destinations/iterable/transform.js index af666044d3..c54b579a52 100644 --- a/src/v0/destinations/iterable/transform.js +++ b/src/v0/destinations/iterable/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const { getCatalogEndpoint, @@ -213,10 +213,10 @@ const processRouterDest = async (inputs, reqMetadata) => { * ] */ - const responses = process(event); - const transformedPayloads = Array.isArray(responses) ? responses : [responses]; - return transformedPayloads.map((response) => ({ - message: response, + const responsesFn = process(event); + const transformedPayloadsArr = Array.isArray(responsesFn) ? responsesFn : [responsesFn]; + return transformedPayloadsArr.map((res) => ({ + message: res, metadata: event.metadata, destination: event.destination, })); @@ -230,13 +230,13 @@ const processRouterDest = async (inputs, reqMetadata) => { * Before flat map : transformedPayloads = [{e1}, {e2}, [{e3}, {e4}, {e5}], {e6}] * After flat map : transformedPayloads = [{e1}, {e2}, {e3}, {e4}, {e5}, {e6}] */ - transformedPayloads = _.flatMap(transformedPayloads); + transformedPayloads = lodash.flatMap(transformedPayloads); return filterEventsAndPrepareBatchRequests(transformedPayloads); }), ); // Flatten the response array containing batched events from multiple groups - const allBatchedEvents = _.flatMap(response); + const allBatchedEvents = lodash.flatMap(response); return allBatchedEvents; }; diff --git a/src/v0/destinations/iterable/util.js b/src/v0/destinations/iterable/util.js index 3fe793d561..0b7e402f01 100644 --- a/src/v0/destinations/iterable/util.js +++ b/src/v0/destinations/iterable/util.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const jsonSize = require('json-size'); const { @@ -22,6 +22,8 @@ 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'; + /** * Returns preferUserId param * @param {*} config @@ -168,7 +170,8 @@ const pageOrScreenEventPayloadBuilder = (message, destination, category) => { let rawPayload = {}; const eventType = message.type.toLowerCase(); - const { trackAllPages, trackCategorisedPages, trackNamedPages } = destination.Config; + const { trackAllPages, trackCategorisedPages, trackNamedPages, mapToSingleEvent } = + destination.Config; if (trackAllPages) { rawPayload = constructPayload(message, mappingConfig[category.name]); } else if (trackCategorisedPages && (message.properties?.category || message.category)) { @@ -185,7 +188,7 @@ const pageOrScreenEventPayloadBuilder = (message, destination, category) => { rawPayload.campaignId = rawPayload.campaignId ? parseInt(rawPayload.campaignId, 10) : undefined; rawPayload.templateId = rawPayload.templateId ? parseInt(rawPayload.templateId, 10) : undefined; rawPayload.eventName = - destination.Config.mapToSingleEvent === true + mapToSingleEvent === true ? `Loaded a ${eventType.charAt(0).toUpperCase()}${eventType.slice(1)}` : `${rawPayload.eventName} ${eventType}`; @@ -368,7 +371,7 @@ const prepareAndSplitUpdateUserBatchesBasedOnPayloadSize = ( let nonBatchedRequests = []; chunk.forEach((event) => { - size += jsonSize(get(event, 'message.body.JSON')); + size += jsonSize(get(event, `${MESSAGE_JSON_PATH}`)); if (size > IDENTIFY_MAX_BODY_SIZE_IN_BYTES) { batches.push({ users: usersChunk, @@ -380,7 +383,7 @@ const prepareAndSplitUpdateUserBatchesBasedOnPayloadSize = ( usersChunk = []; metadataChunk = []; nonBatchedRequests = []; - size = jsonSize(get(event, 'message.body.JSON')); + size = jsonSize(get(event, `${MESSAGE_JSON_PATH}`)); } if (registerDeviceOrBrowserTokenEvents[event.metadata.jobId]) { @@ -389,7 +392,7 @@ const prepareAndSplitUpdateUserBatchesBasedOnPayloadSize = ( } metadataChunk.push(event.metadata); - usersChunk.push(get(event, 'message.body.JSON')); + usersChunk.push(get(event, `${MESSAGE_JSON_PATH}`)); }); if (usersChunk.length > 0) { @@ -467,7 +470,7 @@ const processUpdateUserBatch = (chunk, registerDeviceOrBrowserTokenEvents) => { const batchUpdateUserEvents = (updateUserEvents, registerDeviceOrBrowserTokenEvents) => { // Batching update user events // arrayChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const updateUserEventsChunks = _.chunk(updateUserEvents, IDENTIFY_MAX_BATCH_SIZE); + const updateUserEventsChunks = lodash.chunk(updateUserEvents, IDENTIFY_MAX_BATCH_SIZE); return updateUserEventsChunks.reduce((batchedResponseList, chunk) => { const batchedResponse = processUpdateUserBatch(chunk, registerDeviceOrBrowserTokenEvents); return batchedResponseList.concat(batchedResponse); @@ -532,7 +535,7 @@ const processCatalogBatch = (chunk) => { const batchCatalogEvents = (catalogEvents) => { // Batching catalog events // arrayChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const catalogEventsChunks = _.chunk(catalogEvents, IDENTIFY_MAX_BATCH_SIZE); + const catalogEventsChunks = lodash.chunk(catalogEvents, IDENTIFY_MAX_BATCH_SIZE); return catalogEventsChunks.reduce((batchedResponseList, chunk) => { const batchedResponse = processCatalogBatch(chunk); return batchedResponseList.concat(batchedResponse); @@ -553,7 +556,7 @@ const processTrackBatch = (chunk) => { chunk.forEach((event) => { metadata.push(event.metadata); - events.push(get(event, 'message.body.JSON')); + events.push(get(event, `${MESSAGE_JSON_PATH}`)); }); const batchEventResponse = defaultBatchRequestConfig(); @@ -579,7 +582,7 @@ const processTrackBatch = (chunk) => { const batchTrackEvents = (trackEvents) => { // Batching track events // arrayChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const trackEventsChunks = _.chunk(trackEvents, TRACK_MAX_BATCH_SIZE); + const trackEventsChunks = lodash.chunk(trackEvents, TRACK_MAX_BATCH_SIZE); return trackEventsChunks.reduce((batchedResponseList, chunk) => { const batchedResponse = processTrackBatch(chunk); return batchedResponseList.concat(batchedResponse); @@ -649,9 +652,9 @@ const mapRegisterDeviceOrBrowserTokenEventsWithJobId = (events) => { * @returns */ const categorizeEvent = (event) => { - const { message, metadata, destination } = event; + const { message, metadata, destination, error } = event; - if (event?.error) { + if (error) { return { type: 'error', data: event }; } diff --git a/src/v0/destinations/klaviyo/transform.js b/src/v0/destinations/klaviyo/transform.js index bb19c5f8fd..86d5880e4c 100644 --- a/src/v0/destinations/klaviyo/transform.js +++ b/src/v0/destinations/klaviyo/transform.js @@ -53,7 +53,7 @@ const { JSON_MIME_TYPE } = require('../../util/constant'); */ const identifyRequestHandler = async (message, category, destination) => { // If listId property is present try to subscribe/member user in list - const { privateApiKey, enforceEmailAsPrimary, flattenProperties } = destination.Config; + const { privateApiKey, enforceEmailAsPrimary, listId, flattenProperties } = destination.Config; const mappedToDestination = get(message, MappedToDestinationKey); if (mappedToDestination) { addExternalIdToTraits(message); @@ -111,10 +111,7 @@ const identifyRequestHandler = async (message, category, destination) => { const responseArray = [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 || destination.Config?.listId) - ) { + if (traitsInfo?.properties?.subscribe && (traitsInfo.properties?.listId || listId)) { responseArray.push(subscribeUserToList(message, traitsInfo, destination)); return responseArray; } diff --git a/src/v0/destinations/klaviyo/util.js b/src/v0/destinations/klaviyo/util.js index 3c4882b834..21a492739b 100644 --- a/src/v0/destinations/klaviyo/util.js +++ b/src/v0/destinations/klaviyo/util.js @@ -1,5 +1,5 @@ const { defaultRequestConfig } = require('rudder-transformer-cdk/build/utils'); -const _ = require('lodash'); +const lodash = require('lodash'); const { WhiteListedTraits } = require('../../../constants'); const { @@ -21,6 +21,8 @@ const tags = require('../../util/tags'); const { handleHttpRequest } = require('../../../adapters/network'); const { client: errNotificationClient } = require('../../../util/errorNotifier'); +const REVISION_CONSTANT = '2023-02-22'; + /** * This function calls the create user endpoint ref: https://developers.klaviyo.com/en/reference/create_profile * If the user doesn't exist, it creates a profile for the user and return 201 status code and the response which contains all the profile data @@ -88,7 +90,7 @@ const profileUpdateResponseBuilder = (payload, profileId, category, privateApiKe Authorization: `Klaviyo-API-Key ${privateApiKey}`, 'Content-Type': JSON_MIME_TYPE, Accept: JSON_MIME_TYPE, - revision: '2023-02-22', + revision: REVISION_CONSTANT, }; identifyResponse.body.JSON = removeUndefinedAndNullValues(payload); return identifyResponse; @@ -148,7 +150,7 @@ const subscribeUserToList = (message, traitsInfo, destination) => { Authorization: `Klaviyo-API-Key ${privateApiKey}`, 'Content-Type': JSON_MIME_TYPE, Accept: JSON_MIME_TYPE, - revision: '2023-02-22', + revision: REVISION_CONSTANT, }; response.body.JSON = removeUndefinedAndNullValues(payload); @@ -220,7 +222,7 @@ const generateBatchedPaylaodForArray = (events) => { Authorization: `Klaviyo-API-Key ${destination.Config.privateApiKey}`, 'Content-Type': JSON_MIME_TYPE, Accept: JSON_MIME_TYPE, - revision: '2023-02-22', + revision: REVISION_CONSTANT, }; batchEventResponse = { @@ -237,7 +239,7 @@ const generateBatchedPaylaodForArray = (events) => { * @returns */ const groupSubsribeResponsesUsingListId = (subscribeResponseList) => { - const subscribeEventGroups = _.groupBy( + const subscribeEventGroups = lodash.groupBy( subscribeResponseList, (event) => event.message.body.JSON.data.attributes.list_id, ); @@ -248,7 +250,7 @@ const getBatchedResponseList = (subscribeEventGroups, identifyResponseList) => { let batchedResponseList = []; Object.keys(subscribeEventGroups).forEach((listId) => { // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const eventChunks = _.chunk(subscribeEventGroups[listId], MAX_BATCH_SIZE); + const eventChunks = lodash.chunk(subscribeEventGroups[listId], MAX_BATCH_SIZE); const batchedResponse = eventChunks.map((chunk) => { const batchEventResponse = generateBatchedPaylaodForArray(chunk); return getSuccessRespEvents( diff --git a/src/v0/destinations/kustomer/util.js b/src/v0/destinations/kustomer/util.js index dd89f8ed5d..31157b2738 100644 --- a/src/v0/destinations/kustomer/util.js +++ b/src/v0/destinations/kustomer/util.js @@ -1,5 +1,5 @@ /* eslint-disable eqeqeq */ -const _ = require('lodash'); +const lodash = require('lodash'); const set = require('set-value'); const get = require('get-value'); const myAxios = require('../../../util/myAxios'); @@ -26,7 +26,7 @@ const ISO_8601 = /^\d{4}(-\d\d(-\d\d(t\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)| const transformNumberField = (fieldName) => { const typeDelim = ''; const transformedFieldName = fieldName.trim().replace(/\s+/g, '-'); - if (_.endsWith(transformedFieldName, 'Num')) { + if (lodash.endsWith(transformedFieldName, 'Num')) { return transformedFieldName; } return `${transformedFieldName}${typeDelim}Num`; @@ -35,7 +35,7 @@ const transformNumberField = (fieldName) => { const transformDateField = (fieldName) => { const typeDelim = ''; const transformedFieldName = fieldName.trim().replace(/\s+/g, '-'); - if (_.endsWith(transformedFieldName, 'At')) { + if (lodash.endsWith(transformedFieldName, 'At')) { return transformedFieldName; } return `${transformedFieldName}${typeDelim}At`; @@ -62,7 +62,7 @@ const transformField = (fieldName) => { }; const handleAdvancedtransformations = (event) => { - let cloneEvent = _.cloneDeep(event); + let cloneEvent = lodash.cloneDeep(event); const transformedMeta = {}; let eventName = get(cloneEvent, 'name'); const { meta } = cloneEvent; diff --git a/src/v0/destinations/mailchimp/transform.js b/src/v0/destinations/mailchimp/transform.js index 3ceb669da1..70b37200f4 100644 --- a/src/v0/destinations/mailchimp/transform.js +++ b/src/v0/destinations/mailchimp/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { defaultPutRequestConfig, handleRtTfSingleEventError, @@ -130,10 +130,10 @@ const batchEvents = (successRespList) => { // audienceId1: [...events] // audienceId2: [...events] // } - const audienceEventGroups = _.groupBy(successRespList, (event) => event.message.audienceId); + const audienceEventGroups = lodash.groupBy(successRespList, (event) => event.message.audienceId); Object.keys(audienceEventGroups).forEach((audienceId) => { // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const eventChunks = _.chunk(audienceEventGroups[audienceId], MAX_BATCH_SIZE); + const eventChunks = lodash.chunk(audienceEventGroups[audienceId], MAX_BATCH_SIZE); eventChunks.forEach((chunk) => { const batchEventResponse = generateBatchedPaylaodForArray(audienceId, chunk); batchedResponseList.push( diff --git a/src/v0/destinations/mailjet/transform.js b/src/v0/destinations/mailjet/transform.js index fa87b3ed2a..3e3cfe5c81 100644 --- a/src/v0/destinations/mailjet/transform.js +++ b/src/v0/destinations/mailjet/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { getErrorRespEvents, getSuccessRespEvents, @@ -98,12 +98,12 @@ const batchEvents = (successRespList) => { "listId2&&Action2": [{message : {}, metadata : {}, destination: {}}], "listId2&&Action1": [{message : {}, metadata : {}, destination: {}}] */ - const eventGroups = _.groupBy(successRespList, (event) => { + const eventGroups = lodash.groupBy(successRespList, (event) => { const { listId, action } = event.message; return `${listId}&&${action}`; }); Object.keys(eventGroups).forEach((combination) => { - const eventChunks = _.chunk(eventGroups[combination], MAX_BATCH_SIZE); + const eventChunks = lodash.chunk(eventGroups[combination], MAX_BATCH_SIZE); // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] eventChunks.forEach((chunk) => { const batchEventResponse = generateBatchedPaylaodForArray(chunk, combination); diff --git a/src/v0/destinations/mailmodo/transform.js b/src/v0/destinations/mailmodo/transform.js index 4f1a3d7e8c..39783c864f 100644 --- a/src/v0/destinations/mailmodo/transform.js +++ b/src/v0/destinations/mailmodo/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const { isEmpty } = require('lodash'); const { EventType } = require('../../../constants'); @@ -112,7 +112,7 @@ const process = (event) => processEvent(event.message, event.destination); function batchEvents(eventsChunk) { const batchedResponseList = []; - const arrayChunks = _.chunk(eventsChunk, IDENTIFY_MAX_BATCH_SIZE); + const arrayChunks = lodash.chunk(eventsChunk, IDENTIFY_MAX_BATCH_SIZE); // list of chunks [ [..], [..] ] arrayChunks.forEach((chunk) => { diff --git a/src/v0/destinations/marketo/networkHandler.js b/src/v0/destinations/marketo/networkHandler.js index c25a7a246c..7abcc65c02 100644 --- a/src/v0/destinations/marketo/networkHandler.js +++ b/src/v0/destinations/marketo/networkHandler.js @@ -3,7 +3,6 @@ const { marketoResponseHandler } = require('./util'); const { proxyRequest, prepareProxyRequest } = require('../../../adapters/network'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); -// eslint-disable-next-line no-unused-vars const responseHandler = (destinationResponse, destType) => { const message = 'Request Processed Successfully'; const { status, rudderJobMetadata } = destinationResponse; diff --git a/src/v0/destinations/marketo_bulk_upload/util.js b/src/v0/destinations/marketo_bulk_upload/util.js index 0b4eb1e48a..a60f57e50b 100644 --- a/src/v0/destinations/marketo_bulk_upload/util.js +++ b/src/v0/destinations/marketo_bulk_upload/util.js @@ -410,8 +410,9 @@ const getFieldSchemaMap = async (accessToken, munchkinId) => { const checkEventStatusViaSchemaMatching = (event, fieldMap) => { const mismatchedFields = {}; const events = event.input; - events.forEach((event) => { - const { message, metadata } = event; + events.forEach((ev) => { + const { message, metadata } = ev; + // eslint-disable-next-line @typescript-eslint/naming-convention const { job_id } = metadata; Object.entries(message).forEach(([paramName, paramValue]) => { diff --git a/src/v0/destinations/marketo_static_list/networkHandler.js b/src/v0/destinations/marketo_static_list/networkHandler.js index 5a783086b8..30b053b9d3 100644 --- a/src/v0/destinations/marketo_static_list/networkHandler.js +++ b/src/v0/destinations/marketo_static_list/networkHandler.js @@ -4,7 +4,6 @@ const v0Utils = require('../../util'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); const { DESTINATION } = require('./config'); -// eslint-disable-next-line no-unused-vars const responseHandler = (destinationResponse, destType) => { const message = 'Request Processed Successfully'; const { status, rudderJobMetadata } = destinationResponse; @@ -25,6 +24,7 @@ const responseHandler = (destinationResponse, destType) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = responseHandler; diff --git a/src/v0/destinations/marketo_static_list/transform.js b/src/v0/destinations/marketo_static_list/transform.js index 7175b5241f..156e26270b 100644 --- a/src/v0/destinations/marketo_static_list/transform.js +++ b/src/v0/destinations/marketo_static_list/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const cloneDeep = require('lodash/cloneDeep'); const { defaultPostRequestConfig, @@ -50,7 +50,7 @@ const batchResponseBuilder = (message, Config, token, leadIds, operation) => { throw new InstrumentationError('No static listId is provided'); } const response = []; - const leadIdsChunks = _.chunk(leadIds, MAX_LEAD_IDS_SIZE); + const leadIdsChunks = lodash.chunk(leadIds, MAX_LEAD_IDS_SIZE); leadIdsChunks.forEach((ids) => { response.push(responseBuilder(endpoint, ids, operation, token)); }); diff --git a/src/v0/destinations/mp/deleteUsers.js b/src/v0/destinations/mp/deleteUsers.js index 52be45f230..5b86cae6ae 100644 --- a/src/v0/destinations/mp/deleteUsers.js +++ b/src/v0/destinations/mp/deleteUsers.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { handleHttpRequest } = require('../../../adapters/network'); const { isHttpStatusSuccess } = require('../../util'); const { @@ -37,7 +37,7 @@ const deleteProfile = async (userAttributes, config) => { // batchEvents = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] // ref : https://developer.mixpanel.com/reference/delete-profile - const batchEvents = _.chunk(data, DEL_MAX_BATCH_SIZE); + const batchEvents = lodash.chunk(data, DEL_MAX_BATCH_SIZE); await Promise.all( batchEvents.map(async (batchEvent) => { const { processedResponse: handledDelResponse } = await handleHttpRequest( @@ -70,7 +70,7 @@ const deleteProfile = async (userAttributes, config) => { }; const createDeletionTask = async (userAttributes, config) => { - const { token, gdprApiToken } = config; + const { token, gdprApiToken, dataResidency } = config; if (!gdprApiToken) { throw new ConfigurationError( @@ -84,7 +84,7 @@ const createDeletionTask = async (userAttributes, config) => { 'Content-Type': JSON_MIME_TYPE, Authorization: `Bearer ${gdprApiToken}`, }; - const complianceType = config?.dataResidency === 'eu' ? 'GDPR' : 'CCPA'; + const complianceType = dataResidency === 'eu' ? 'GDPR' : 'CCPA'; // batchEvents = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] // ref : https://developer.mixpanel.com/docs/privacy-security#create-a-deletion-task diff --git a/src/v0/destinations/mp/transform.js b/src/v0/destinations/mp/transform.js index 7839b9f123..bdae00e1c2 100644 --- a/src/v0/destinations/mp/transform.js +++ b/src/v0/destinations/mp/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const { EventType } = require('../../../constants'); const { @@ -440,8 +440,8 @@ const processRouterDest = async (inputs, reqMetadata) => { let processedEvents = await process(event); processedEvents = CommonUtils.toArray(processedEvents); - return processedEvents.map((response) => ({ - message: response, + return processedEvents.map((res) => ({ + message: res, metadata: event.metadata, destination: event.destination, })); @@ -451,7 +451,7 @@ const processRouterDest = async (inputs, reqMetadata) => { }), ); - transformedPayloads = _.flatMap(transformedPayloads); + transformedPayloads = lodash.flatMap(transformedPayloads); const { engageEvents, groupsEvents, trackEvents, importEvents, batchErrorRespList } = groupEventsByEndpoint(transformedPayloads); @@ -471,7 +471,7 @@ const processRouterDest = async (inputs, reqMetadata) => { ); // Flatten the response array containing batched events from multiple groups - const allBatchedEvents = _.flatMap(response); + const allBatchedEvents = lodash.flatMap(response); return combineBatchRequestsWithSameJobIds(allBatchedEvents); }; diff --git a/src/v0/destinations/mp/util.js b/src/v0/destinations/mp/util.js index c5fc7e04be..35c530855e 100644 --- a/src/v0/destinations/mp/util.js +++ b/src/v0/destinations/mp/util.js @@ -143,6 +143,7 @@ const isImportAuthCredentialsAvailable = (destination) => const findExistingBatch = (batch, metadataMap) => { let existingBatch = null; + // eslint-disable-next-line no-restricted-syntax for (const metadataItem of batch.metadata) { if (metadataMap.has(metadataItem.jobId)) { existingBatch = metadataMap.get(metadataItem.jobId); @@ -158,8 +159,9 @@ const findExistingBatch = (batch, metadataMap) => { * @param {*} mergedBatches An array of merged batch objects. */ const removeDuplicateMetadata = (mergedBatches) => { - for (const batch of mergedBatches) { + mergedBatches.forEach((batch) => { const metadataSet = new Set(); + // eslint-disable-next-line no-param-reassign batch.metadata = batch.metadata.filter((metadataItem) => { if (!metadataSet.has(metadataItem.jobId)) { metadataSet.add(metadataItem.jobId); @@ -167,7 +169,7 @@ const removeDuplicateMetadata = (mergedBatches) => { } return false; }); - } + }); }; /** diff --git a/src/v0/destinations/ometria/transform.js b/src/v0/destinations/ometria/transform.js index d3a4d71753..6d3c2ab174 100644 --- a/src/v0/destinations/ometria/transform.js +++ b/src/v0/destinations/ometria/transform.js @@ -1,4 +1,4 @@ -/* eslint-disable one-var */ +/* eslint-disable one-var, @typescript-eslint/naming-convention */ /* eslint-disable camelcase */ const { EventType } = require('../../../constants'); const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); diff --git a/src/v0/destinations/pardot/transform.js b/src/v0/destinations/pardot/transform.js index b9f78a6c34..bfc7386ef9 100644 --- a/src/v0/destinations/pardot/transform.js +++ b/src/v0/destinations/pardot/transform.js @@ -48,10 +48,7 @@ const { getAccessToken, } = require('../../util'); const { CONFIG_CATEGORIES } = require('./config'); -const { - ConfigurationError, - InstrumentationError, -} = require('../../util/errorTypes'); +const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const buildResponse = (payload, url, destination, token) => { const responseBody = removeUndefinedValues(payload); diff --git a/src/v0/destinations/personalize/scripts/create-trackingid.js b/src/v0/destinations/personalize/scripts/create-trackingid.js index 0f4553baac..efd8eaa2f9 100644 --- a/src/v0/destinations/personalize/scripts/create-trackingid.js +++ b/src/v0/destinations/personalize/scripts/create-trackingid.js @@ -11,7 +11,7 @@ const { fromEnv } = require('@aws-sdk/credential-providers'); const readline = require('readline'); -require('dotenv').config() +require('dotenv').config(); async function promtForInput(rl, questionText) { return new Promise((resolve) => { @@ -33,7 +33,8 @@ async function collectInputs(rl) { await checkEnvAndpromtForInput(rl, 'AWS Secret Access Key: ', 'AWS_SECRET_ACCESS_KEY'); await checkEnvAndpromtForInput(rl, 'AWS REGION: ', 'AWS_REGION'); await checkEnvAndpromtForInput(rl, 'Name of Dataset Group: ', 'DATASET_GROUP_NAME'); - await checkEnvAndpromtForInput(rl, + await checkEnvAndpromtForInput( + rl, 'Number of fields in Schema in addition to USER_ID, TIMESTAMP, ITEM_ID: ', 'NUMBER_OF_FIELDS', ); @@ -55,14 +56,12 @@ async function collectFileds(rl) { for (let i = 4; i <= noOfFields + 3; i += 1) { const fieldName = await promtForInput(rl, `Name of field no. ${i}: `); - const typeName = await promtForInput(rl, `Type of field ${fieldName}: `) + const typeName = await promtForInput(rl, `Type of field ${fieldName}: `); schema.fields.push({ name: fieldName, type: typeName }); - } return schema; } - (async function () { let rl = readline.createInterface(process.stdin, process.stdout); await collectInputs(rl); diff --git a/src/v0/destinations/personalize/transform.js b/src/v0/destinations/personalize/transform.js index c8eca2af2f..bb547f7b28 100644 --- a/src/v0/destinations/personalize/transform.js +++ b/src/v0/destinations/personalize/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { KEY_CHECK_LIST, MANDATORY_PROPERTIES } = require('./config'); const { EventType } = require('../../../constants'); const { @@ -42,28 +42,28 @@ const putEventsHandler = (message, destination) => { throw new InstrumentationError(`Mapped property ${keyMap[key]} not found`); } if (isDefined(disableStringify) && disableStringify) { - outputEvent.properties[_.camelCase(key)] = value; + outputEvent.properties[lodash.camelCase(key)] = value; } else { // users using old config will have stringified property by default - outputEvent.properties[_.camelCase(key)] = String(value); + outputEvent.properties[lodash.camelCase(key)] = String(value); } } else if (!MANDATORY_PROPERTIES.includes(key.toUpperCase())) { if ((!isDefinedAndNotNull(value) || isBlank(value)) && key.toUpperCase() !== 'ITEM_ID') { throw new InstrumentationError(`Null values cannot be sent for ${keyMap[key]} `); } if (!(key.toUpperCase() === 'IMPRESSION' || key.toUpperCase() === 'EVENT_VALUE')) - outputEvent[_.camelCase(key)] = String(value); + outputEvent[lodash.camelCase(key)] = String(value); else if (key.toUpperCase() === 'IMPRESSION') { - outputEvent[_.camelCase(key)] = Array.isArray(value) ? value.map(String) : [String(value)]; - outputEvent[_.camelCase(key)] = _.without( - outputEvent[_.camelCase(key)], + outputEvent[lodash.camelCase(key)] = Array.isArray(value) ? value.map(String) : [String(value)]; + outputEvent[lodash.camelCase(key)] = lodash.without( + outputEvent[lodash.camelCase(key)], undefined, null, '', ); } else if (!Number.isNaN(parseFloat(value))) { // for eventValue - outputEvent[_.camelCase(key)] = parseFloat(value); + outputEvent[lodash.camelCase(key)] = parseFloat(value); } else throw new InstrumentationError('EVENT_VALUE should be a float value'); } }); @@ -115,7 +115,7 @@ const putItemsHandler = (message, destination) => { // eslint-disable-next-line no-lonely-if if (!isDefinedAndNotNull(value) || isBlank(value)) { // itemId cannot be null - value = String(_.get(message, keyMap[key])); + value = String(lodash.get(message, keyMap[key])); } } if (!isDefined(value)) { @@ -123,7 +123,7 @@ const putItemsHandler = (message, destination) => { } if (key.toUpperCase() !== 'ITEM_ID') { // itemId is not allowed inside properties - outputItem.properties[_.camelCase(key)] = value; + outputItem.properties[lodash.camelCase(key)] = value; } else { outputItem.itemId = String(value); } @@ -185,7 +185,7 @@ const identifyRequestHandler = (message, destination, eventOperation) => { } if (key.toUpperCase() !== 'USER_ID') { // userId is not allowed inside properties - outputUser.properties[_.camelCase(key)] = value; + outputUser.properties[lodash.camelCase(key)] = value; } }); if (!outputUser.userId) { diff --git a/src/v0/destinations/redis/transform.js b/src/v0/destinations/redis/transform.js index 124569c8e8..e9442d8487 100644 --- a/src/v0/destinations/redis/transform.js +++ b/src/v0/destinations/redis/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const flatten = require('flat'); const { isEmpty, isObject } = require('../../util'); @@ -17,7 +17,7 @@ const processValues = (obj) => { } const val = obj[key]; // eslint-disable-next-line no-param-reassign - obj[key] = _.isArray(val) ? JSON.stringify(val) : _.toString(val); + obj[key] = lodash.isArray(val) ? JSON.stringify(val) : lodash.toString(val); }); }; @@ -68,7 +68,7 @@ const process = (event) => { } const hmap = { - key: `${keyPrefix}user:${_.toString(message.userId)}`, + key: `${keyPrefix}user:${lodash.toString(message.userId)}`, fields: {}, }; diff --git a/src/v0/destinations/sendgrid/transform.js b/src/v0/destinations/sendgrid/transform.js index 0f944e5f28..4e68b34c7d 100644 --- a/src/v0/destinations/sendgrid/transform.js +++ b/src/v0/destinations/sendgrid/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { EventType } = require('../../../constants'); const { ErrorMessage, @@ -211,10 +211,10 @@ const batchEvents = (successRespList) => { "contactListIds3": [{message : {}, metadata : {}, destination: {}}], "contactListIds4": [{message : {}, metadata : {}, destination: {}}] */ - const eventGroups = _.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 = _.chunk(eventGroups[combination], MAX_BATCH_SIZE); + const eventChunks = lodash.chunk(eventGroups[combination], MAX_BATCH_SIZE); // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] eventChunks.forEach((chunk) => { const batchEventResponse = generateBatchedPaylaodForArray(chunk, combination); diff --git a/src/v0/destinations/sendinblue/transform.js b/src/v0/destinations/sendinblue/transform.js index 8e8645f32f..151304db22 100644 --- a/src/v0/destinations/sendinblue/transform.js +++ b/src/v0/destinations/sendinblue/transform.js @@ -1,4 +1,5 @@ /* eslint-disable camelcase */ +/* eslint-disable @typescript-eslint/naming-convention */ const { EventType } = require('../../../constants'); const { defaultRequestConfig, diff --git a/src/v0/destinations/singular/util.js b/src/v0/destinations/singular/util.js index c2a88a9c46..542b049a2e 100644 --- a/src/v0/destinations/singular/util.js +++ b/src/v0/destinations/singular/util.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, @@ -75,7 +75,7 @@ const exclusionList = { * @param {*} eventName */ const isSessionEvent = (Config, eventName) => { - const mappedSessionEvents = _.map(Config.sessionEventList, 'sessionEventName'); + const mappedSessionEvents = lodash.map(Config.sessionEventList, 'sessionEventName'); return mappedSessionEvents.includes(eventName) || SESSIONEVENTS.includes(eventName.toLowerCase()); }; diff --git a/src/v0/destinations/slack/transform.js b/src/v0/destinations/slack/transform.js index c913f3103e..8db934d71f 100644 --- a/src/v0/destinations/slack/transform.js +++ b/src/v0/destinations/slack/transform.js @@ -1,5 +1,4 @@ -/* eslint-disable no-nested-ternary */ -/* eslint-disable no-prototype-builtins */ +/* eslint-disable no-nested-ternary, no-restricted-syntax, no-prototype-builtins */ const Handlebars = require('handlebars'); const { EventType } = require('../../../constants'); const { diff --git a/src/v0/destinations/snapchat_custom_audience/networkHandler.js b/src/v0/destinations/snapchat_custom_audience/networkHandler.js index 49ea452550..196f9a87fb 100644 --- a/src/v0/destinations/snapchat_custom_audience/networkHandler.js +++ b/src/v0/destinations/snapchat_custom_audience/networkHandler.js @@ -1,9 +1,7 @@ const { removeUndefinedValues, getAuthErrCategoryFromErrDetailsAndStCode } = require('../../util'); const { prepareProxyRequest, getPayloadData, httpSend } = require('../../../adapters/network'); const { isHttpStatusSuccess } = require('../../util/index'); -const { - REFRESH_TOKEN, -} = require('../../../adapters/networkhandler/authConstants'); +const { REFRESH_TOKEN } = require('../../../adapters/networkhandler/authConstants'); const tags = require('../../util/tags'); const { getDynamicErrorType, diff --git a/src/v0/destinations/tiktok_ads/networkHandler.js b/src/v0/destinations/tiktok_ads/networkHandler.js index ade33e5133..1ec31e982a 100644 --- a/src/v0/destinations/tiktok_ads/networkHandler.js +++ b/src/v0/destinations/tiktok_ads/networkHandler.js @@ -40,6 +40,7 @@ const responseHandler = (destinationResponse) => { ); }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = responseHandler; diff --git a/src/v0/destinations/tiktok_ads/transform.js b/src/v0/destinations/tiktok_ads/transform.js index 6bf9cd7270..4e99d83575 100644 --- a/src/v0/destinations/tiktok_ads/transform.js +++ b/src/v0/destinations/tiktok_ads/transform.js @@ -1,4 +1,5 @@ /* eslint-disable camelcase */ +/* eslint-disable @typescript-eslint/naming-convention */ const _ = require('lodash'); const { SHA256 } = require('crypto-js'); const get = require('get-value'); diff --git a/src/v0/destinations/tiktok_ads/util.js b/src/v0/destinations/tiktok_ads/util.js index 98acb794a5..4050a9fe34 100644 --- a/src/v0/destinations/tiktok_ads/util.js +++ b/src/v0/destinations/tiktok_ads/util.js @@ -8,6 +8,7 @@ const { removeUndefinedAndNullValues } = require('../../util'); const getContents = (message) => { const contents = []; const { properties } = message; + // eslint-disable-next-line @typescript-eslint/naming-convention const { products, content_type, contentType } = properties; if (products && Array.isArray(products) && products.length > 0) { products.forEach((product) => { diff --git a/src/v0/destinations/tiktok_ads_offline_events/transform.js b/src/v0/destinations/tiktok_ads_offline_events/transform.js index 0ade5bbfbb..3539c856a3 100644 --- a/src/v0/destinations/tiktok_ads_offline_events/transform.js +++ b/src/v0/destinations/tiktok_ads_offline_events/transform.js @@ -1,6 +1,6 @@ const { SHA256 } = require('crypto-js'); const set = require('set-value'); -const _ = require('lodash'); +const lodash = require('lodash'); const { EventType } = require('../../../constants'); const { constructPayload, @@ -191,7 +191,7 @@ const batchEvents = (eventChunksArray) => { // event_set_id1: [...events] // event_set_id2: [...events] // } - const groupedEventChunks = _.groupBy(eventChunksArray, ({ message }) => { + const groupedEventChunks = lodash.groupBy(eventChunksArray, ({ message }) => { if (Array.isArray(message)) return message[0].event_set_id; return message.event_set_id; }); diff --git a/src/v0/sources/auth0/transform.js b/src/v0/sources/auth0/transform.js index 8a0013036b..d2721780d8 100644 --- a/src/v0/sources/auth0/transform.js +++ b/src/v0/sources/auth0/transform.js @@ -41,6 +41,7 @@ function processEvents(eventList) { eventList.forEach((event) => { let response = {}; // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { data, log_id } = event; // Dropping the event if type is not present if (data && data.type) { diff --git a/src/v0/sources/shopify/transform.js b/src/v0/sources/shopify/transform.js index 5c26bfd844..7bbb928fd8 100644 --- a/src/v0/sources/shopify/transform.js +++ b/src/v0/sources/shopify/transform.js @@ -1,4 +1,5 @@ -const _ = require('lodash'); +/* eslint-disable @typescript-eslint/naming-convention */ +const lodash = require('lodash'); const get = require('get-value'); const stats = require('../../../util/stats'); const { @@ -125,8 +126,8 @@ const trackPayloadBuilder = (event, shopifyTopic) => { const processEvent = async (inputEvent, metricMetadata) => { let message; + const event = lodash.cloneDeep(inputEvent); let redisData; - const event = _.cloneDeep(inputEvent); const shopifyTopic = getShopifyTopic(event); delete event.query_parameters; switch (shopifyTopic) { diff --git a/src/v0/sources/shopify/util.js b/src/v0/sources/shopify/util.js index 76cc255f38..0d81ddc185 100644 --- a/src/v0/sources/shopify/util.js +++ b/src/v0/sources/shopify/util.js @@ -1,8 +1,15 @@ /* eslint-disable camelcase */ +/* eslint-disable @typescript-eslint/naming-convention */ const { v5 } = require('uuid'); const sha256 = require('sha256'); const stats = require('../../../util/stats'); -const { constructPayload, extractCustomFields, flattenJson, generateUUID, isDefinedAndNotNull, } = require('../../util'); +const { + constructPayload, + extractCustomFields, + flattenJson, + generateUUID, + isDefinedAndNotNull, +} = require('../../util'); const { RedisDB } = require('../../../util/redis/redisConnector'); const logger = require('../../../logger'); const { @@ -13,11 +20,10 @@ const { SHOPIFY_TRACK_MAP, SHOPIFY_ADMIN_ONLY_EVENTS, useRedisDatabase, - maxTimeToIdentifyRSGeneratedCall + maxTimeToIdentifyRSGeneratedCall, } = require('./config'); const { TransformationError } = require('../../util/errorTypes'); - const getDataFromRedis = async (key, metricMetadata) => { try { stats.increment('shopify_redis_calls', { @@ -32,8 +38,7 @@ const getDataFromRedis = async (key, metricMetadata) => { }); } return redisData; - } - catch (e) { + } catch (e) { logger.debug(`{{SHOPIFY::}} Get call Failed due redis error ${e}`); stats.increment('shopify_redis_failures', { type: 'get', @@ -112,11 +117,11 @@ const extractEmailFromPayload = (event) => { }; const getCartToken = (message) => { - const { event } = message; + const { event, properties } = message; if (event === SHOPIFY_TRACK_MAP.carts_update) { - return message.properties?.id || message.properties?.token; + return properties?.id || properties?.token; } - return message.properties?.cart_token || null; + return properties?.cart_token || null; }; /** @@ -141,9 +146,9 @@ const getRudderIdFromNoteAtrributes = (noteAttributes, field) => { * -> if true we return `null`; * -> else we don't have any identifer (very edge case) we return `random anonymousId` * No Random SessionId is generated as its not a required field - * @param {*} message - * @param {*} metricMetadata - * @returns + * @param {*} message + * @param {*} metricMetadata + * @returns */ const getAnonymousIdAndSessionId = async (message, metricMetadata, redisData = null) => { let anonymousId; @@ -151,8 +156,8 @@ const getAnonymousIdAndSessionId = async (message, metricMetadata, redisData = n const noteAttributes = message.properties?.note_attributes; // Giving Priority to note_attributes to fetch rudderAnonymousId over Redis due to better efficiency if (isDefinedAndNotNull(noteAttributes)) { - anonymousId = getRudderIdFromNoteAtrributes(noteAttributes, "rudderAnonymousId"); - sessionId = getRudderIdFromNoteAtrributes(noteAttributes, "rudderSessionId"); + anonymousId = getRudderIdFromNoteAtrributes(noteAttributes, 'rudderAnonymousId'); + sessionId = getRudderIdFromNoteAtrributes(noteAttributes, 'rudderSessionId'); } // falling back to cartToken mapping or its hash in case no rudderAnonymousId or rudderSessionId is found if (isDefinedAndNotNull(anonymousId) && isDefinedAndNotNull(sessionId)) { @@ -163,7 +168,10 @@ const getAnonymousIdAndSessionId = async (message, metricMetadata, redisData = n if (SHOPIFY_ADMIN_ONLY_EVENTS.includes(message.event)) { return { anonymousId, sessionId }; } - return { anonymousId: isDefinedAndNotNull(anonymousId) ? anonymousId : generateUUID(), sessionId }; + return { + anonymousId: isDefinedAndNotNull(anonymousId) ? anonymousId : generateUUID(), + sessionId, + }; } if (useRedisDatabase) { if (!isDefinedAndNotNull(redisData)) { @@ -196,8 +204,7 @@ const updateCartItemsInRedis = async (cartToken, newCartItemsHash, metricMetadat ...metricMetadata, }); await RedisDB.setVal(`${cartToken}`, value); - } - catch (e) { + } catch (e) { logger.debug(`{{SHOPIFY::}} itemsHash set call Failed due redis error ${e}`); stats.increment('shopify_redis_failures', { type: 'set', @@ -228,10 +235,10 @@ const checkAndUpdateCartItems = async (inputEvent, redisData, metricMetadata) => } await updateCartItemsInRedis(cartToken, newCartItemsHash, metricMetadata); } else { - const { created_at, updated_at } = inputEvent; + const { created_at, updated_at, line_items } = inputEvent; const timeDifference = Date.parse(updated_at) - Date.parse(created_at); const isTimeWithinThreshold = timeDifference < maxTimeToIdentifyRSGeneratedCall; - const isLineItemsEmpty = inputEvent?.line_items?.length === 0; + const isLineItemsEmpty = line_items?.length === 0; if (isTimeWithinThreshold && isLineItemsEmpty) { return false; diff --git a/src/v0/util/deleteUserUtils.js b/src/v0/util/deleteUserUtils.js index 81607aeb3d..6cf16d7f9e 100644 --- a/src/v0/util/deleteUserUtils.js +++ b/src/v0/util/deleteUserUtils.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); /** * Takes the userAttributes array fetches userIds at root level of each element * and make batches of Ids accoring to MAX_BATCH_SIZE @@ -14,7 +14,7 @@ const getUserIdBatches = (userAttributes, MAX_BATCH_SIZE) => { userIds.push(userAttribute.userId); } }); - const userIdBatches = _.chunk(userIds, MAX_BATCH_SIZE); + const userIdBatches = lodash.chunk(userIds, MAX_BATCH_SIZE); return userIdBatches; }; diff --git a/src/v0/util/index.js b/src/v0/util/index.js index 00f98cafaf..42a4100510 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -9,7 +9,7 @@ const Handlebars = require('handlebars'); const fs = require('fs'); const path = require('path'); -const _ = require('lodash'); +const lodash = require('lodash'); const set = require('set-value'); const get = require('get-value'); const uaParser = require('ua-parser-js'); @@ -36,17 +36,18 @@ const { // INLINERS // ======================================================================== -const isDefined = (x) => !_.isUndefined(x); -const isNotEmpty = (x) => !_.isEmpty(x); +const isDefined = (x) => !lodash.isUndefined(x); +const isNotEmpty = (x) => !lodash.isEmpty(x); const isNotNull = (x) => x != null; const isDefinedAndNotNull = (x) => isDefined(x) && isNotNull(x); const isDefinedAndNotNullAndNotEmpty = (x) => isDefined(x) && isNotNull(x) && isNotEmpty(x); -const removeUndefinedValues = (obj) => _.pickBy(obj, isDefined); -const removeNullValues = (obj) => _.pickBy(obj, isNotNull); -const removeUndefinedAndNullValues = (obj) => _.pickBy(obj, isDefinedAndNotNull); -const removeUndefinedAndNullAndEmptyValues = (obj) => _.pickBy(obj, isDefinedAndNotNullAndNotEmpty); -const isBlank = (value) => _.isEmpty(_.toString(value)); -const flattenMap = (collection) => _.flatMap(collection, (x) => x); +const removeUndefinedValues = (obj) => lodash.pickBy(obj, isDefined); +const removeNullValues = (obj) => lodash.pickBy(obj, isNotNull); +const removeUndefinedAndNullValues = (obj) => lodash.pickBy(obj, isDefinedAndNotNull); +const removeUndefinedAndNullAndEmptyValues = (obj) => + lodash.pickBy(obj, isDefinedAndNotNullAndNotEmpty); +const isBlank = (value) => lodash.isEmpty(lodash.toString(value)); +const flattenMap = (collection) => lodash.flatMap(collection, (x) => x); // ======================================================================== // GENERIC UTLITY // ======================================================================== @@ -108,7 +109,7 @@ const isObject = (value) => { }; function isEmpty(input) { - return _.isEmpty(_.toString(input).trim()); + return lodash.isEmpty(lodash.toString(input).trim()); } /** @@ -126,8 +127,8 @@ function isEmptyObject(obj) { /** * Function to check if value is Defined, Not null and Not Empty. - * Create this function, Because existing isDefinedAndNotNullAndNotEmpty(123) is returning false due to lodash _.isEmpty function. - * _.isEmpty is used to detect empty collections/objects and it will return true for Integer, Boolean values. + * Create this function, Because existing isDefinedAndNotNullAndNotEmpty(123) is returning false due to lodash lodash.isEmpty function. + * lodash.isEmpty is used to detect empty collections/objects and it will return true for Integer, Boolean values. * ref: https://github.com/lodash/lodash/issues/496 * @param {*} value 123 * @returns yes @@ -141,7 +142,7 @@ const isDefinedNotNullNotEmpty = (value) => (typeof value === 'string' && value.trim().length === 0) ); -const removeUndefinedNullEmptyExclBoolInt = (obj) => _.pickBy(obj, isDefinedNotNullNotEmpty); +const removeUndefinedNullEmptyExclBoolInt = (obj) => lodash.pickBy(obj, isDefinedNotNullNotEmpty); /** * Recursively removes undefined, null, empty objects, and empty arrays from the given object at all levels. @@ -149,6 +150,7 @@ const removeUndefinedNullEmptyExclBoolInt = (obj) => _.pickBy(obj, isDefinedNotN * @returns */ const removeUndefinedNullValuesAndEmptyObjectArray = (obj) => { + // eslint-disable-next-line @typescript-eslint/no-shadow function recursive(obj) { if (Array.isArray(obj)) { const cleanedArray = obj @@ -239,11 +241,11 @@ const getHashFromArrayWithValueAsObject = (arrays, fromKey = 'from', isLowerCase const getValueFromPropertiesOrTraits = ({ message, key }) => { const keySet = ['properties', 'traits', 'context.traits']; - const val = _.find( - _.map(keySet, (k) => get(message, `${k}.${key}`)), - (v) => !_.isNil(v), + const val = lodash.find( + lodash.map(keySet, (k) => get(message, `${k}.${key}`)), + (v) => !lodash.isNil(v), ); - return !_.isNil(val) ? val : null; + return !lodash.isNil(val) ? val : null; }; /** @@ -263,6 +265,7 @@ const hasCircularReference = (obj, seen = []) => { } seen.push(obj); + // eslint-disable-next-line no-restricted-syntax for (const value of Object.values(obj)) { if (hasCircularReference(value, seen)) { return true; @@ -556,7 +559,7 @@ const handleSourceKeysOperation = ({ message, operationObject }) => { // quick sanity check for the undefined values in the list. // if there is any undefined values, return null // without going further for operations - const isAllDefined = _.every(argValues, (v) => !_.isNil(v)); + const isAllDefined = lodash.every(argValues, (v) => !lodash.isNil(v)); if (!isAllDefined) { return null; } @@ -568,9 +571,9 @@ const handleSourceKeysOperation = ({ message, operationObject }) => { result = 1; // eslint-disable-next-line no-restricted-syntax for (const v of argValues) { - if (_.isNumber(v)) { + if (lodash.isNumber(v)) { result *= v; - } else if (_.isString(v) && /^[+-]?(\d+(\.\d*)?|\.\d+)([Ee][+-]?\d+)?$/.test(v)) { + } else if (lodash.isString(v) && /^[+-]?(\d+(\.\d*)?|\.\d+)([Ee][+-]?\d+)?$/.test(v)) { result *= parseFloat(v); } else { // if there is a non number argument simply return null @@ -583,7 +586,7 @@ const handleSourceKeysOperation = ({ message, operationObject }) => { result = 0; // eslint-disable-next-line no-restricted-syntax for (const v of argValues) { - if (_.isNumber(v)) { + if (lodash.isNumber(v)) { result += v; } else { // if there is a non number argument simply return null @@ -1051,7 +1054,7 @@ const constructPayload = (message, mappingJson, destinationName = null) => { if (value || value === 0 || value === false) { if (destKey) { // set the value only if correct - _.set(payload, destKey, value); + lodash.set(payload, destKey, value); } else { // to set to root and flatten later payload[''] = value; @@ -1428,12 +1431,12 @@ const errorStatusCodeKeys = ['response.status', 'code', 'status']; const getErrorStatusCode = (error, defaultStatusCode = HTTP_STATUS_CODES.INTERNAL_SERVER_ERROR) => { try { let defaultStCode = defaultStatusCode; - if (!_.isNumber(defaultStatusCode)) { + if (!lodash.isNumber(defaultStatusCode)) { defaultStCode = HTTP_STATUS_CODES.INTERNAL_SERVER_ERROR; } const errStCode = errorStatusCodeKeys .map((statusKey) => get(error, statusKey)) - .find((stCode) => _.isNumber(stCode)); + .find((stCode) => lodash.isNumber(stCode)); return errStCode || defaultStCode; } catch (err) { logger.error('Failed in getErrorStatusCode', err); @@ -1931,7 +1934,7 @@ const batchMultiplexedEvents = (transformedEventsList, maxBatchSize) => { } if (batchedEvents.length === 0 || eventsNotBatched) { if (transformedMessage.length > maxBatchSize) { - transformedMessage = _.chunk(transformedMessage, maxBatchSize); + transformedMessage = lodash.chunk(transformedMessage, maxBatchSize); } batchedEvents.push({ events: transformedMessage, diff --git a/test/__mocks__/data/marketo_static_list/proxy_response.json b/test/__mocks__/data/marketo_static_list/proxy_response.json index 2a58d99da2..290a4f5fbf 100644 --- a/test/__mocks__/data/marketo_static_list/proxy_response.json +++ b/test/__mocks__/data/marketo_static_list/proxy_response.json @@ -96,4 +96,4 @@ }, "status": 200 } -} \ No newline at end of file +} diff --git a/test/__tests__/data/customerio_input.json b/test/__tests__/data/customerio_input.json index ea89411524..e2d987fc5a 100644 --- a/test/__tests__/data/customerio_input.json +++ b/test/__tests__/data/customerio_input.json @@ -2584,21 +2584,11 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU" - ], - "web": [ - "useNativeSDK" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU"], + "web": ["useNativeSDK"] }, "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU" - ], + "includeKeys": ["apiKey", "siteID", "datacenterEU"], "saveDestinationResponse": true, "secretKeys": [], "supportedSourceTypes": [ @@ -2674,21 +2664,11 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU" - ], - "web": [ - "useNativeSDK" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU"], + "web": ["useNativeSDK"] }, "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU" - ], + "includeKeys": ["apiKey", "siteID", "datacenterEU"], "saveDestinationResponse": true, "secretKeys": [], "supportedSourceTypes": [ @@ -2804,17 +2784,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -2826,12 +2797,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -2945,17 +2911,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -2967,12 +2924,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3085,17 +3037,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3107,12 +3050,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3225,17 +3163,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3247,12 +3176,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3362,17 +3286,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3384,12 +3299,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3503,17 +3413,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3525,12 +3426,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3644,17 +3540,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3666,12 +3553,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3785,17 +3667,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3807,12 +3680,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3925,17 +3793,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3947,12 +3806,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4062,17 +3916,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4084,12 +3929,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4203,17 +4043,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4225,12 +4056,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4308,17 +4134,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4330,12 +4147,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4413,17 +4225,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4435,12 +4238,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4521,17 +4319,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4543,12 +4332,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4629,17 +4413,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4651,12 +4426,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4738,17 +4508,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4760,12 +4521,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4847,17 +4603,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4869,12 +4616,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4956,17 +4698,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4978,12 +4711,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -5167,4 +4895,4 @@ } } } -] \ No newline at end of file +] diff --git a/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json b/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json index 612efeb99a..430cfbd05f 100644 --- a/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json +++ b/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json @@ -158,4 +158,4 @@ }, "files": {} } -] \ No newline at end of file +] diff --git a/test/__tests__/data/google_adwords_offline_conversions.json b/test/__tests__/data/google_adwords_offline_conversions.json index 9bdb5cda45..3c7b54ac4c 100644 --- a/test/__tests__/data/google_adwords_offline_conversions.json +++ b/test/__tests__/data/google_adwords_offline_conversions.json @@ -4600,4 +4600,4 @@ } ] } -] \ No newline at end of file +] diff --git a/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json b/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json index 3cd282ec2a..ff74720bc3 100644 --- a/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json +++ b/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json @@ -135,4 +135,4 @@ }, "files": {} } -] \ No newline at end of file +] diff --git a/test/__tests__/data/marketo_static_list_proxy_output.json b/test/__tests__/data/marketo_static_list_proxy_output.json index 8ac482b5be..ec52d0c37c 100644 --- a/test/__tests__/data/marketo_static_list_proxy_output.json +++ b/test/__tests__/data/marketo_static_list_proxy_output.json @@ -126,4 +126,4 @@ } } } -] \ No newline at end of file +] diff --git a/test/__tests__/data/slack_input.json b/test/__tests__/data/slack_input.json index f9a0b49841..e29624490c 100644 --- a/test/__tests__/data/slack_input.json +++ b/test/__tests__/data/slack_input.json @@ -1412,4 +1412,4 @@ "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" } } -] \ No newline at end of file +] diff --git a/test/__tests__/data/slack_output.json b/test/__tests__/data/slack_output.json index 63d7934a00..c772aa3b19 100644 --- a/test/__tests__/data/slack_output.json +++ b/test/__tests__/data/slack_output.json @@ -161,4 +161,4 @@ { "error": "Event is denied. Please check configuration." } -] \ No newline at end of file +] diff --git a/test/integrations/destinations/bqstream/router/data.ts b/test/integrations/destinations/bqstream/router/data.ts index 4fac9047cc..e44ce4af15 100644 --- a/test/integrations/destinations/bqstream/router/data.ts +++ b/test/integrations/destinations/bqstream/router/data.ts @@ -418,27 +418,27 @@ export const data = [ Name: 'bqstream test', }, - error: "Message Type not supported: identify", + error: 'Message Type not supported: identify', metadata: [ { jobId: 3, - userId: "user12345" + userId: 'user12345', }, { jobId: 9, - userId: "user125" - } + userId: 'user125', + }, ], statTags: { - destType: "BQSTREAM", - errorCategory: "dataValidation", - errorType: "instrumentation", - feature: "router", - implementation: "native", - module: "destination" + destType: 'BQSTREAM', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', }, - statusCode: 400 - } + statusCode: 400, + }, ], }, }, From b7848004e2679ec7278c8381560cb1a77da6c642 Mon Sep 17 00:00:00 2001 From: Sankeerth Date: Fri, 29 Sep 2023 11:03:51 +0530 Subject: [PATCH 018/104] fix: add auth status inactive category handling to GA in userDeletion flow (#2669) --- src/v0/destinations/ga/networkHandler.js | 17 +++++++- .../destinations/ga/deleteUsers/data.ts | 42 +++++++++++++++++++ test/integrations/destinations/ga/network.ts | 34 +++++++++++++++ 3 files changed, 92 insertions(+), 1 deletion(-) diff --git a/src/v0/destinations/ga/networkHandler.js b/src/v0/destinations/ga/networkHandler.js index ac244fb4a7..a12f9594cd 100644 --- a/src/v0/destinations/ga/networkHandler.js +++ b/src/v0/destinations/ga/networkHandler.js @@ -1,4 +1,7 @@ -const { REFRESH_TOKEN } = require('../../../adapters/networkhandler/authConstants'); +const { + REFRESH_TOKEN, + AUTH_STATUS_INACTIVE, +} = require('../../../adapters/networkhandler/authConstants'); const { processAxiosResponse, getDynamicErrorType, @@ -29,6 +32,18 @@ const gaResponseHandler = (gaResponse) => { if (isInvalidCredsError || response?.error?.status === 'UNAUTHENTICATED') { throw new InvalidAuthTokenError('invalid credentials', 500, response, REFRESH_TOKEN); } + const isInvalidGrantError = + response?.error.code === 403 && + response.error?.errors?.some((errObj) => errObj.reason === 'insufficientPermissions'); + if (isInvalidGrantError) { + throw new InvalidAuthTokenError( + response?.error?.message || 'insufficent permissions', + 400, + response, + AUTH_STATUS_INACTIVE, + ); + } + throw new NetworkError( `Error occurred while completing deletion request: ${response.error?.message}`, status, diff --git a/test/integrations/destinations/ga/deleteUsers/data.ts b/test/integrations/destinations/ga/deleteUsers/data.ts index d11881e8fe..6cbc5d5cfe 100644 --- a/test/integrations/destinations/ga/deleteUsers/data.ts +++ b/test/integrations/destinations/ga/deleteUsers/data.ts @@ -1,3 +1,5 @@ +import { AUTH_STATUS_INACTIVE } from '../../../../../src/adapters/networkhandler/authConstants'; + export const data = [ { name: 'ga', @@ -136,4 +138,44 @@ export const data = [ }, }, }, + { + name: 'ga', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + headers: { + 'x-rudder-dest-info': '{"secret": { "access_token": "no_permissions_token" }}', + }, + body: [ + { + destType: 'GA', + userAttributes: [ + { + userId: 'test_user_20', + }, + ], + config: { + trackingID: 'UA-123456789-7', + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + authErrorCategory: AUTH_STATUS_INACTIVE, + error: 'User does not have sufficient permissions', + }, + ], + }, + }, + }, ]; diff --git a/test/integrations/destinations/ga/network.ts b/test/integrations/destinations/ga/network.ts index bef0b7a047..acfe5db430 100644 --- a/test/integrations/destinations/ga/network.ts +++ b/test/integrations/destinations/ga/network.ts @@ -289,5 +289,39 @@ const deleteNwData = [ statusText: 'OK', }, }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_20', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer no_permissions_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + error: { + errors: [ + { + reason: 'insufficientPermissions', + }, + ], + code: 403, + message: 'User does not have sufficient permissions', + }, + }, + status: 200, + statusText: 'OK', + }, + }, ]; export const networkCallsData = [...deleteNwData]; From f63b4932d5ba467a82a36d3e8b80578f81f729cf Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Fri, 29 Sep 2023 12:05:40 +0530 Subject: [PATCH 019/104] fix: refactor adjust using optional chaining (#2671) fix: refactor adj using opitonal chaining --- src/v0/destinations/adj/transform.js | 16 ++- .../destinations/adj/processor/data.ts | 115 +++++++++++++++--- 2 files changed, 108 insertions(+), 23 deletions(-) diff --git a/src/v0/destinations/adj/transform.js b/src/v0/destinations/adj/transform.js index 1862012bb1..695654e58a 100644 --- a/src/v0/destinations/adj/transform.js +++ b/src/v0/destinations/adj/transform.js @@ -21,7 +21,12 @@ const rejectParams = ['revenue', 'currency']; function responseBuilderSimple(message, category, destination) { const payload = constructPayload(message, MAPPING_CONFIG[category.name]); - const { appToken, customMappings, environment } = destination.Config; + const { appToken, customMappings, environment, partnerParamsKeys } = destination.Config; + if (!appToken) { + throw new ConfigurationError( + 'App Token is not present. Please configure your app token from config dashbaord', + ); + } const platform = get(message, 'context.device.type'); const id = get(message, 'context.device.id'); if (typeof platform !== 'string' || !platform || !id) { @@ -37,7 +42,7 @@ function responseBuilderSimple(message, category, destination) { throw new InstrumentationError('Device type not valid'); } if (payload.revenue) { - payload.currency = message.properties.currency || 'USD'; + payload.currency = message?.properties?.currency || 'USD'; } const hashMap = getHashFromArray(customMappings, 'from', 'to', false); if (payload && message.event && hashMap[message.event]) { @@ -46,11 +51,11 @@ function responseBuilderSimple(message, category, destination) { Accept: '*/*', }; - const partnerParamsKeysMap = getHashFromArray(destination?.Config?.partnerParamsKeys); + const partnerParamsKeysMap = getHashFromArray(partnerParamsKeys); if (partnerParamsKeysMap) { payload.partner_params = {}; Object.keys(partnerParamsKeysMap).forEach((key) => { - if (message.properties[key]) { + if (message?.properties?.[key]) { payload.partner_params[partnerParamsKeysMap[key]] = message.properties[key].toString(); } }); @@ -81,9 +86,8 @@ function responseBuilderSimple(message, category, destination) { // fail-safety for developer error if (!message.event || !hashMap[message.event]) { throw new ConfigurationError('No event token mapped for this event'); - } else { - throw new TransformationError('Payload could not be constructed'); } + throw new TransformationError('Payload could not be constructed'); } const processEvent = (message, destination) => { diff --git a/test/integrations/destinations/adj/processor/data.ts b/test/integrations/destinations/adj/processor/data.ts index 97fc3554f2..2c208d0d08 100644 --- a/test/integrations/destinations/adj/processor/data.ts +++ b/test/integrations/destinations/adj/processor/data.ts @@ -2084,7 +2084,7 @@ export const data = [ }, { name: 'adj', - description: 'Test 17', + description: 'Test 18 -> No adverstisingId present', feature: 'processor', module: 'destination', version: 'v0', @@ -2104,7 +2104,6 @@ export const data = [ }, device: { adTrackingEnabled: true, - advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', manufacturer: 'Google', model: 'AOSP on IA Emulator', @@ -2160,12 +2159,101 @@ export const data = [ }, }, Config: { - appToken: 'testAppToken', customMappings: [ { from: 'Application Installed', to: '3fdmll' }, { from: 'First Investment', to: 'testEventToken' }, ], - partnerParamsKeys: [], + environment: true, + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'App Token is not present. Please configure your app token from config dashbaord', + statTags: { + destType: 'ADJ', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'adj', + description: 'Test 19 -> No properties object in message body', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + "type": "track", + "event": "Application Installed", + "sentAt": "2022-09-28T20:14:44.995Z", + "userId": "sample_user_id", + "context": { + "device": { + "id": "sample_device_id", + "type": "android", + "advertisingId": "_sample" + }, + "traits": { + "userId": "_sample_uid", + "anonymousId": "_sample_anonid" + } + }, + "timestamp": "2022-09-28T20:14:43.314Z", + "request_ip": "71.189.106.156", + "originalTimestamp": "2022-09-28T20:14:44.995Z" + }, + destination: { + ID: '1i3Em7GMU9xVEiDlZUN8c88BMS9', + Name: 'ADJ', + DestinationDefinition: { + ID: '1i3DeZo6eSUKrS3KzDUqjbBPCDJ', + Name: 'ADJ', + DisplayName: 'Adjust', + Config: { + destConfig: { + android: ['useNativeSDK'], + defaultConfig: ['appToken', 'customMappings', 'delay', 'environment'], + ios: ['useNativeSDK'], + reactnative: ['useNativeSDK'], + }, + excludeKeys: [], + includeKeys: ['appToken', 'customMappings', 'delay'], + supportedSourceTypes: ['android', 'ios', 'reactnative', 'cloud'], + }, + }, + Config: { + appToken: 'testAppToken', + customMappings: [ + { from: 'Application Installed', to: '3fdmll' }], + partnerParamsKeys: [ + { from: 'key1', to: 'partnerParamKey-1' }, + { from: 'key2', to: 'partnerParamKey-2' }, + { from: 'revenue', to: 'price' }, + { from: 'novalue', to: 'check' }, + { from: 'Custom_Val_NA', to: 'Custom_dest' }, + ], environment: true, }, Enabled: true, @@ -2189,28 +2277,21 @@ export const data = [ endpoint: 'https://s2s.adjust.com/event', headers: { Accept: '*/*' }, params: { - callback_params: - '{"key1":"value1","key2":"value2","key3.k4":"v4","key3.k5.k6":"v6","key5[0].k":"v1","key5[1].k":"v2"}', - revenue: 20.38, - android_id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', - gps_adid: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', - att_status: 3, - tracking_enabled: true, - currency: 'EUR', - ip_address: '[::1]', + event_token: "3fdmll", + ip_address: "71.189.106.156", + android_id: 'sample_device_id', + gps_adid: "_sample", s2s: 1, app_token: 'testAppToken', - event_token: 'testEventToken', environment: 'production', }, body: { JSON: {}, XML: {}, JSON_ARRAY: {}, FORM: {} }, files: {}, - userId: '21e13f4bc7ceddad', + userId: '', }, statusCode: 200, }, ], }, }, - }, -]; + },]; From 5dade9ae0e886263380c65a096bcbad259851a10 Mon Sep 17 00:00:00 2001 From: devops-github-rudderstack <88187154+devops-github-rudderstack@users.noreply.github.com> Date: Fri, 29 Sep 2023 04:41:40 -0500 Subject: [PATCH 020/104] chore(release): pull main into develop post release v1.43.1 (#2662) * fix(dm): updated the stats definition for the tracking plan service * fix(iterable): event id mapping (#2659) * chore(release): 1.43.1 * chore: update release owners (#2661) chore: update release stakeholder --------- Co-authored-by: Abhimanyu Babbar Co-authored-by: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Co-authored-by: GitHub Actions Co-authored-by: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> --- .github/workflows/create-hotfix-branch.yml | 2 +- .github/workflows/draft-new-release.yml | 2 +- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- src/util/prometheus.js | 16 ++-------------- .../iterable/data/IterableTrackConfig.json | 7 +++++-- .../data/IterableTrackPurchaseConfig.json | 12 +++++------- test/__tests__/data/iterable.json | 1 - 9 files changed, 25 insertions(+), 29 deletions(-) diff --git a/.github/workflows/create-hotfix-branch.yml b/.github/workflows/create-hotfix-branch.yml index db6f4118e4..aa928b4646 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.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507') + 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') 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 5df37bd6cb..044885316d 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.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs' || github.triggering_actor == 'sandeepdsvs' || github.triggering_actor == 'shrouti1507') + 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') steps: - name: Checkout uses: actions/checkout@v3.5.3 diff --git a/CHANGELOG.md b/CHANGELOG.md index d98085db13..509ddabe0a 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.43.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.43.0...v1.43.1) (2023-09-26) + + +### Bug Fixes + +* **dm:** updated the stats definition for the tracking plan service ([eb2724f](https://github.com/rudderlabs/rudder-transformer/commit/eb2724f135d2c3c2a1fb8a88051cfb0f2720b5ed)) +* **iterable:** event id mapping ([#2659](https://github.com/rudderlabs/rudder-transformer/issues/2659)) ([84083aa](https://github.com/rudderlabs/rudder-transformer/commit/84083aa671312e3934414b5534489fba87d9b29f)) + ## [1.43.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.42.0...v1.43.0) (2023-09-25) diff --git a/package-lock.json b/package-lock.json index 0ebcb14c71..944b00860c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.43.0", + "version": "1.43.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.43.0", + "version": "1.43.1", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index ed08c7a7cd..ddb20fe411 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.43.0", + "version": "1.43.1", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { diff --git a/src/util/prometheus.js b/src/util/prometheus.js index 2d781fb862..0899590cd5 100644 --- a/src/util/prometheus.js +++ b/src/util/prometheus.js @@ -229,7 +229,7 @@ class Prometheus { name: 'tp_errors', help: 'tp_errors', type: 'counter', - labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'transformationId'], + labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'trackingPlanId'], }, { name: 'tp_events_count', @@ -575,7 +575,7 @@ class Prometheus { name: 'tp_request_latency', help: 'tp_request_latency', type: 'histogram', - labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'transformationId'], + labelNames: ['sourceType', 'destinationType', 'k8_namespace', 'workspaceId', 'trackingPlanId'], }, { name: 'cdk_events_latency', @@ -614,18 +614,6 @@ class Prometheus { 'k8_namespace', ], }, - { - name: 'user_transform_function_latency', - help: 'user_transform_function_latency', - type: 'histogram', - labelNames: [ - 'transformationVersionId', - 'processSessions', - 'sourceType', - 'destinationType', - 'k8_namespace', - ], - }, { name: 'source_transform_request_latency', help: 'source_transform_request_latency', diff --git a/src/v0/destinations/iterable/data/IterableTrackConfig.json b/src/v0/destinations/iterable/data/IterableTrackConfig.json index 28fdcaecc7..5de4856b33 100644 --- a/src/v0/destinations/iterable/data/IterableTrackConfig.json +++ b/src/v0/destinations/iterable/data/IterableTrackConfig.json @@ -23,8 +23,11 @@ }, { "destKey": "id", - "sourceKeys": ["properties.id", "properties.event_id"], - "required": false + "sourceKeys": "properties.event_id", + "required": false, + "metadata": { + "type": "toString" + } }, { "destKey": "eventName", diff --git a/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json b/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json index 00e83d0125..aa15d76a70 100644 --- a/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json +++ b/src/v0/destinations/iterable/data/IterableTrackPurchaseConfig.json @@ -6,13 +6,11 @@ }, { "destKey": "id", - "sourceKeys": [ - "properties.order_id", - "properties.orderId", - "properties.id", - "properties.event_id" - ], - "required": false + "sourceKeys": ["properties.order_id", "properties.orderId", "properties.event_id"], + "required": false, + "metadata": { + "type": "toString" + } }, { "destKey": "createdAt", diff --git a/test/__tests__/data/iterable.json b/test/__tests__/data/iterable.json index 08e83a47a5..f8147c7402 100644 --- a/test/__tests__/data/iterable.json +++ b/test/__tests__/data/iterable.json @@ -3103,7 +3103,6 @@ "JSON_ARRAY": {}, "FORM": {}, "JSON": { - "id": "event1234", "userId": "abcdeeeeeeeexxxx102", "createdAt": 1598631966468, "dataFields": { From 56c80f2c47ca0aa8411a1cc16462b98dfecb4a79 Mon Sep 17 00:00:00 2001 From: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:20:38 +0530 Subject: [PATCH 021/104] chore: update error messages of GAOC (#2655) --- .../google_adwords_offline_conversions/transform.js | 4 +++- .../google_adwords_offline_conversions/utils.js | 6 ++++-- test/__tests__/data/google_adwords_offline_conversions.json | 4 ++-- .../google_adwords_offline_conversions_router_output.json | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/v0/destinations/google_adwords_offline_conversions/transform.js b/src/v0/destinations/google_adwords_offline_conversions/transform.js index 93b4592c33..a4bd218673 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/transform.js +++ b/src/v0/destinations/google_adwords_offline_conversions/transform.js @@ -100,7 +100,9 @@ const trackResponseBuilder = (message, metadata, destination) => { const responseList = []; if (!eventsToConversionsNamesMapping[event] || !eventsToOfflineConversionsTypeMapping[event]) { - throw new ConfigurationError(`Event name '${event}' is not valid`); + throw new ConfigurationError( + `Event name '${event}' is not present in the mapping provided in the dashboard.`, + ); } const conversionTypes = Array.from(eventsToOfflineConversionsTypeMapping[event]); conversionTypes.forEach((conversionType) => { diff --git a/src/v0/destinations/google_adwords_offline_conversions/utils.js b/src/v0/destinations/google_adwords_offline_conversions/utils.js index 6bdedcc0d4..a39c984788 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/utils.js +++ b/src/v0/destinations/google_adwords_offline_conversions/utils.js @@ -76,7 +76,9 @@ const getConversionActionId = async (headers, params) => { 'response.0.results.0.conversionAction.resourceName', ); if (!conversionAction) { - throw new AbortedError(`Unable to find conversionActionId for conversion:${params.event}`); + throw new AbortedError( + `Unable to find conversionActionId for conversion:${params.event}. Most probably the conversion name in Google dashboard and Rudderstack dashboard are not same.`, + ); } return conversionAction; }); @@ -172,7 +174,7 @@ const requestBuilder = ( const filteredLoginCustomerId = removeHyphens(loginCustomerId); response.headers['login-customer-id'] = filteredLoginCustomerId; } else { - throw new ConfigurationError(`loginCustomerId is required as subAccount is enabled`); + throw new ConfigurationError(`"Login Customer ID" is required as "Sub Account" is enabled`); } } return response; diff --git a/test/__tests__/data/google_adwords_offline_conversions.json b/test/__tests__/data/google_adwords_offline_conversions.json index 3c7b54ac4c..36eab5ac22 100644 --- a/test/__tests__/data/google_adwords_offline_conversions.json +++ b/test/__tests__/data/google_adwords_offline_conversions.json @@ -1622,7 +1622,7 @@ } }, "statusCode": 400, - "error": "Event name 'purchase' is not valid", + "error": "Event name 'purchase' is not present in the mapping provided in the dashboard.", "statTags": { "destination": "google_adwords_offline_conversions", "stage": "transform", @@ -2948,7 +2948,7 @@ "secret": null }, "statusCode": 400, - "error": "loginCustomerId is required as subAccount is enabled", + "error": "\"Login Customer ID\" is required as \"Sub Account\" is enabled", "statTags": { "destination": "google_adwords_offline_conversions", "stage": "transform", diff --git a/test/__tests__/data/google_adwords_offline_conversions_router_output.json b/test/__tests__/data/google_adwords_offline_conversions_router_output.json index 16b07233e3..2424e51002 100644 --- a/test/__tests__/data/google_adwords_offline_conversions_router_output.json +++ b/test/__tests__/data/google_adwords_offline_conversions_router_output.json @@ -472,7 +472,7 @@ ], "batched": false, "statusCode": 400, - "error": "Event name 'order completed' is not valid", + "error": "Event name 'order completed' is not present in the mapping provided in the dashboard.", "statTags": { "errorCategory": "dataValidation", "errorType": "configuration" }, "destination": { "Config": { From 6fc3d97dcdb3d4b45fb49b0b82f5bc9042ea70d8 Mon Sep 17 00:00:00 2001 From: devops-github-rudderstack <88187154+devops-github-rudderstack@users.noreply.github.com> Date: Tue, 3 Oct 2023 10:52:30 +0000 Subject: [PATCH 022/104] chore(release): pull release/v1.44.0 into main (#2672) * fix(mixpanel): batch event ordering (#2608) * fix: bqstream event ordering fix (#2624) * fix: bqstream event ordering fix * fix: review comments addressed * fix: importing the common util function * fix: putting both error and successful events logic back * fix: test cases addition and code clean up * fix: code clean up * fix: resolving sonar error * fix: removing network handler for bqstream * fix: refactor process router dest * fix: use promise for prompts in personalize create tracking script (#2635) * fix(snyk): snyk updated versions merged to oen pr * chore: add ttl values for cache (#2593) * fix(hubspot): add validation for hubspotEvents (#2643) * fix: add optional chaining for error message in network handler of Intercom (#2648) fix bugsnag issue * fix(snyk): removed the new added dependencies * fix(snyk): removed aws-sdk dependency * feat: add circular reference check in flattern json (#2650) * chore: update fb_error message for invalid type of property value (#2656) fix: fb_error message for invalid type of property value * feat(iterable): user deletion support (#2621) * feat(iterable): user deletion support * feat(iterable): user deletion improvements * chore: added comments * feat(gaec): partial failures handling (#2631) * chore: partial failure handling * chore: code review changes * chore: move unit tests to correct place for mssql and postgres (#2657) * chore: move unit tests to correct place for mssql and postgres * chore: replace var to const * chore: replace var to const * feat: add axios mocking to component test-suite (#2638) * feat: tslint rules enable (#2604) * feat: remove eslint issues * fix: fixed es-lint tests * fix: merge conflicts * fix: add auth status inactive category handling to GA in userDeletion flow (#2669) * fix: refactor adjust using optional chaining (#2671) fix: refactor adj using opitonal chaining * chore(release): pull main into develop post release v1.43.1 (#2662) * fix(dm): updated the stats definition for the tracking plan service * fix(iterable): event id mapping (#2659) * chore(release): 1.43.1 * chore: update release owners (#2661) chore: update release stakeholder --------- Co-authored-by: Abhimanyu Babbar Co-authored-by: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Co-authored-by: GitHub Actions Co-authored-by: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> * chore(release): 1.44.0 * feat(ga4): added support of filter user traits (#2679) * fix: add optional chaining for traits (#2677) * fix: add optional chaing for traits * update changelog * feat: geolocation support for python transformations (#2678) * feat: geolocation support for python transformations * chore: updating changelog --------- Co-authored-by: Anant Jain <62471433+anantjain45823@users.noreply.github.com> * update changelog * Update CHANGELOG.md --------- Co-authored-by: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Co-authored-by: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Co-authored-by: Dilip Kola <33080863+koladilip@users.noreply.github.com> Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> Co-authored-by: Sanjay <71065320+Sanjay-Veernala@users.noreply.github.com> Co-authored-by: Siva Shanmukh Vetcha Co-authored-by: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Co-authored-by: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Co-authored-by: Sankeerth Co-authored-by: AASHISH MALIK Co-authored-by: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Co-authored-by: Abhimanyu Babbar Co-authored-by: GitHub Actions Co-authored-by: Jayachand Co-authored-by: Anant Jain --- .eslintrc.json | 40 +- CHANGELOG.md | 27 + jest.config.typescript.js | 258 +- package-lock.json | 9591 ++++++++++------- package.json | 13 +- src/adapters/network.js | 15 +- src/adapters/utils/networkUtils.js | 4 +- src/cdk/v1/dcm_floodlight/transform.js | 4 +- src/cdk/v1/new_relic/transform.js | 1 + .../v2/destinations/dcm_floodlight/utils.js | 4 +- src/cdk/v2/destinations/eloqua/utils.js | 9 +- .../launchdarkly_audience/utils.js | 4 +- src/cdk/v2/handler.ts | 15 +- src/cdk/v2/utils.ts | 11 +- src/controllers/bulkUpload.ts | 69 +- src/controllers/delivery.ts | 3 +- src/controllers/destination.ts | 8 +- src/controllers/eventTest.ts | 6 +- src/controllers/profile.ts | 2 - src/controllers/regulation.ts | 7 +- src/controllers/source.ts | 2 +- src/controllers/userTransform.ts | 3 - src/controllers/util/index.ts | 4 +- src/helpers/serviceSelector.ts | 20 +- src/interfaces/DestinationService.ts | 8 +- src/interfaces/SourceService.ts | 4 +- src/legacy/router.js | 23 +- src/middlewares/routeActivation.ts | 1 + src/routes/bulkUpload.ts | 4 +- src/routes/delivery.ts | 3 +- src/routes/destination.ts | 3 +- src/routes/index.ts | 21 +- src/routes/misc.ts | 3 +- src/routes/source.ts | 3 +- src/routes/testEvents.ts | 3 +- src/routes/userTransform.ts | 3 +- src/services/comparator.ts | 15 +- src/services/delivertTest/deliveryTest.ts | 1 + src/services/destination/cdkV1Integration.ts | 12 +- src/services/destination/cdkV2Integration.ts | 17 +- src/services/destination/nativeIntegration.ts | 15 +- .../destination/postTransformation.ts | 11 +- src/services/destination/preTransformation.ts | 6 +- src/services/errorReporting.ts | 2 +- src/services/eventTest/eventTester.ts | 46 +- src/services/misc.ts | 6 +- src/services/profile.ts | 11 +- src/services/source/nativeIntegration.ts | 10 +- src/services/source/postTransformation.ts | 3 +- src/services/userTransform.ts | 31 +- src/testRouter.js | 4 +- src/types/index.ts | 57 +- src/util/customTransforrmationsStore.js | 2 +- src/util/dynamicConfigParser.ts | 7 +- src/util/eventValidation.js | 5 +- src/util/fetch.js | 5 +- src/util/openfaas/index.js | 4 + src/util/types.ts | 25 + src/util/utils.js | 3 +- .../destinations/active_campaign/transform.js | 11 +- src/v0/destinations/adj/transform.js | 16 +- .../destinations/adobe_analytics/transform.js | 22 +- src/v0/destinations/bqstream/transform.js | 77 +- src/v0/destinations/bqstream/util.js | 193 +- src/v0/destinations/bqstream/util.test.js | 267 + src/v0/destinations/branch/transform.js | 7 +- src/v0/destinations/braze/networkHandler.js | 1 + src/v0/destinations/braze/transform.js | 9 +- src/v0/destinations/braze/util.js | 2 +- .../campaign_manager/networkHandler.js | 2 +- src/v0/destinations/canny/util.js | 15 +- .../destinations/clevertap/networkHandler.js | 1 + src/v0/destinations/clevertap/transform.js | 2 +- .../criteo_audience/networkHandler.js | 1 + src/v0/destinations/criteo_audience/util.js | 4 +- src/v0/destinations/customerio/util.js | 14 +- src/v0/destinations/fb/networkHandler.js | 1 + src/v0/destinations/fb/transform.js | 13 +- .../fb_custom_audience/transform.js | 4 +- .../destinations/fb_custom_audience/util.js | 4 +- src/v0/destinations/ga/networkHandler.js | 17 +- src/v0/destinations/ga/transform.js | 4 +- src/v0/destinations/ga360/transform.js | 4 +- src/v0/destinations/ga4/transform.js | 6 +- src/v0/destinations/ga4/utils.js | 42 +- src/v0/destinations/ga4/utils.test.js | 252 +- .../networkHandler.js | 30 +- .../transform.js | 5 +- .../transform.js | 3 +- .../utils.js | 6 +- .../google_cloud_function/transform.js | 4 +- src/v0/destinations/hs/HSTransform-v1.js | 8 +- src/v0/destinations/hs/HSTransform-v2.js | 12 +- src/v0/destinations/hs/util.js | 3 + .../destinations/intercom/networkHandler.js | 1 + src/v0/destinations/intercom/transform.js | 17 +- src/v0/destinations/iterable/deleteUsers.js | 80 + src/v0/destinations/iterable/transform.js | 16 +- src/v0/destinations/iterable/util.js | 61 +- src/v0/destinations/iterable/util.test.js | 98 - src/v0/destinations/klaviyo/transform.js | 7 +- src/v0/destinations/klaviyo/util.js | 14 +- src/v0/destinations/kustomer/util.js | 8 +- src/v0/destinations/mailchimp/transform.js | 6 +- src/v0/destinations/mailjet/transform.js | 6 +- src/v0/destinations/mailmodo/transform.js | 4 +- src/v0/destinations/marketo/networkHandler.js | 1 - .../destinations/marketo_bulk_upload/util.js | 5 +- .../marketo_static_list/networkHandler.js | 2 +- .../marketo_static_list/transform.js | 4 +- src/v0/destinations/mp/deleteUsers.js | 8 +- src/v0/destinations/mp/transform.js | 172 +- src/v0/destinations/mp/util.js | 70 +- src/v0/destinations/mp/util.test.js | 243 +- src/v0/destinations/mssql/transform.test.js | 48 + src/v0/destinations/ometria/transform.js | 2 +- src/v0/destinations/pardot/transform.js | 5 +- .../personalize/scripts/create-trackingid.js | 94 +- src/v0/destinations/personalize/transform.js | 22 +- .../destinations/postgres/transform.test.js | 48 + src/v0/destinations/redis/transform.js | 6 +- src/v0/destinations/sendgrid/transform.js | 6 +- src/v0/destinations/sendinblue/transform.js | 1 + src/v0/destinations/singular/util.js | 4 +- src/v0/destinations/slack/transform.js | 3 +- .../networkHandler.js | 4 +- .../destinations/tiktok_ads/networkHandler.js | 1 + src/v0/destinations/tiktok_ads/transform.js | 1 + src/v0/destinations/tiktok_ads/util.js | 1 + .../tiktok_ads_offline_events/transform.js | 4 +- src/v0/destinations/yahoo_dsp/util.js | 6 +- src/v0/sources/auth0/transform.js | 1 + src/v0/sources/shopify/transform.js | 5 +- src/v0/sources/shopify/util.js | 43 +- src/v0/util/deleteUserUtils.js | 4 +- src/v0/util/index.js | 116 +- src/v0/util/index.test.js | 48 + src/v0/util/testdata/groupEventsByType.json | 624 ++ test/__mocks__/axios.js | 2 - .../marketo_static_list/proxy_response.json | 2 +- .../data/optimizely_fullstack/response.json | 180 - .../__mocks__/data/pardot/proxy_response.json | 352 - test/__mocks__/optimizely_fullstack.mock.js | 19 - test/__tests__/data/clevertap_input.json | 91 +- test/__tests__/data/clevertap_output.json | 81 +- test/__tests__/data/customerio_input.json | 394 +- test/__tests__/data/fb_output.json | 6 +- test/__tests__/data/fb_router_output.json | 2 +- ...ords_enhanced_conversions_proxy_input.json | 2 +- .../google_adwords_offline_conversions.json | 2 +- ...adwords_remarketing_lists_proxy_input.json | 2 +- test/__tests__/data/hs_input.json | 42 + test/__tests__/data/hs_output.json | 15 +- .../marketo_static_list_proxy_output.json | 2 +- test/__tests__/data/mp_router_output.json | 158 +- test/__tests__/data/optimizely_fullstack.json | 1641 --- .../data/optimizely_fullstack_router.json | 494 - test/__tests__/data/pardot_proxy_input.json | 106 - test/__tests__/data/pardot_proxy_output.json | 378 - test/__tests__/data/slack_input.json | 2 +- test/__tests__/data/slack_output.json | 2 +- test/__tests__/mssql.test.js | 50 - .../optimizely_fullstack-cdk.test.ts | 60 - test/__tests__/pardot.test.js | 28 - test/__tests__/postgres.test.js | 50 - test/__tests__/proxy.test.ts | 22 +- test/deleteUsers/README.md | 35 - test/deleteUsers/data/af/handler_input.json | 177 - test/deleteUsers/data/af/handler_output.json | 44 - test/deleteUsers/data/af/nw_client_data.json | 58 - test/deleteUsers/data/am/handler_input.json | 380 - test/deleteUsers/data/am/handler_output.json | 26 - test/deleteUsers/data/am/nw_client_data.json | 91 - .../deleteUsers/data/braze/handler_input.json | 393 - .../data/braze/handler_output.json | 32 - .../data/braze/nw_client_data.json | 97 - .../data/clevertap/handler_input.json | 441 - .../data/clevertap/handler_output.json | 20 - .../data/clevertap/nw_client_data.json | 177 - .../data/engage/handler_input.json | 133 - .../data/engage/handler_output.json | 39 - .../data/engage/nw_client_data.json | 197 - test/deleteUsers/data/ga/handler_input.json | 83 - test/deleteUsers/data/ga/handler_output.json | 21 - test/deleteUsers/data/ga/nw_client_data.json | 316 - .../data/intercom/nw_client_data.json | 96 - .../{intercom => iterable}/handler_input.json | 55 +- .../handler_output.json | 12 +- .../data/iterable/nw_client_data.json | 138 + test/deleteUsers/data/mp/handler_input.json | 3155 ------ test/deleteUsers/data/mp/handler_output.json | 44 - test/deleteUsers/data/mp/nw_client_data.json | 6159 ----------- .../data/sendgrid/handler_input.json | 921 -- .../data/sendgrid/handler_output.json | 26 - .../data/sendgrid/nw_client_data.json | 117 - test/deleteUsers/deleteUsers.test.ts | 67 - test/integrations/component.test.ts | 75 +- .../destinations/active_campaign/network.ts | 1966 ++++ .../destinations/adj/processor/data.ts | 115 +- .../destinations/af/deleteUsers/data.ts | 302 + test/integrations/destinations/af/network.ts | 67 + .../destinations/am/deleteUsers/data.ts | 396 + test/integrations/destinations/am/network.ts | 209 + .../destinations/bqstream/router/data.ts | 362 +- .../destinations/braze/deleteUsers/data.ts | 483 + .../destinations/braze/network.ts | 191 + test/integrations/destinations/canny/data.ts | 3 + .../destinations/canny/network.ts | 83 + .../clevertap/deleteUsers/data.ts | 495 + .../destinations/clevertap/network.ts | 175 + .../destinations/engage/deleteUsers/data.ts | 241 + .../destinations/engage/network.ts | 141 + .../destinations/ga/deleteUsers/data.ts | 181 + test/integrations/destinations/ga/network.ts | 327 + .../destinations/intercom/deleteUsers/data.ts | 180 + .../destinations/intercom/network.ts | 93 + .../marketo_static_list/network.ts | 22 + .../destinations/mautic/network.ts | 3232 ++++++ .../destinations/mp/deleteUsers/data.ts | 3281 ++++++ test/integrations/destinations/mp/network.ts | 1150 ++ .../optimizely_fullstack/network.ts | 206 + .../optimizely_fullstack/processor/data.ts | 2170 ++++ .../optimizely_fullstack/router/data.ts | 563 + .../destinations/pardot/network.ts | 440 + .../destinations/pardot/router/data.ts | 553 + .../destinations/sendgrid/deleteUsers/data.ts | 1275 +++ .../destinations/sendgrid/network.ts | 110 + .../destinations/trengo/network.ts | 1326 +++ .../integrations/destinations/user/network.ts | 441 + .../destinations/yahoo_dsp/network.ts | 22 + .../destinations/yahoo_dsp/processor/data.ts | 12 +- .../destinations/yahoo_dsp/router/data.ts | 3 + .../destinations/zendesk/network.ts | 1825 ++++ test/integrations/testTypes.ts | 9 + test/integrations/testUtils.ts | 53 +- test/testHelper.js | 13 + 236 files changed, 31704 insertions(+), 22301 deletions(-) create mode 100644 src/util/types.ts create mode 100644 src/v0/destinations/bqstream/util.test.js create mode 100644 src/v0/destinations/iterable/deleteUsers.js create mode 100644 src/v0/destinations/mssql/transform.test.js create mode 100644 src/v0/destinations/postgres/transform.test.js create mode 100644 src/v0/util/testdata/groupEventsByType.json delete mode 100644 test/__mocks__/data/optimizely_fullstack/response.json delete mode 100644 test/__mocks__/data/pardot/proxy_response.json delete mode 100644 test/__mocks__/optimizely_fullstack.mock.js delete mode 100644 test/__tests__/data/optimizely_fullstack.json delete mode 100644 test/__tests__/data/optimizely_fullstack_router.json delete mode 100644 test/__tests__/data/pardot_proxy_input.json delete mode 100644 test/__tests__/data/pardot_proxy_output.json delete mode 100644 test/__tests__/mssql.test.js delete mode 100644 test/__tests__/optimizely_fullstack-cdk.test.ts delete mode 100644 test/__tests__/pardot.test.js delete mode 100644 test/__tests__/postgres.test.js delete mode 100644 test/deleteUsers/README.md delete mode 100644 test/deleteUsers/data/af/handler_input.json delete mode 100644 test/deleteUsers/data/af/handler_output.json delete mode 100644 test/deleteUsers/data/af/nw_client_data.json delete mode 100644 test/deleteUsers/data/am/handler_input.json delete mode 100644 test/deleteUsers/data/am/handler_output.json delete mode 100644 test/deleteUsers/data/am/nw_client_data.json delete mode 100644 test/deleteUsers/data/braze/handler_input.json delete mode 100644 test/deleteUsers/data/braze/handler_output.json delete mode 100644 test/deleteUsers/data/braze/nw_client_data.json delete mode 100644 test/deleteUsers/data/clevertap/handler_input.json delete mode 100644 test/deleteUsers/data/clevertap/handler_output.json delete mode 100644 test/deleteUsers/data/clevertap/nw_client_data.json delete mode 100644 test/deleteUsers/data/engage/handler_input.json delete mode 100644 test/deleteUsers/data/engage/handler_output.json delete mode 100644 test/deleteUsers/data/engage/nw_client_data.json delete mode 100644 test/deleteUsers/data/ga/handler_input.json delete mode 100644 test/deleteUsers/data/ga/handler_output.json delete mode 100644 test/deleteUsers/data/ga/nw_client_data.json delete mode 100644 test/deleteUsers/data/intercom/nw_client_data.json rename test/deleteUsers/data/{intercom => iterable}/handler_input.json (56%) rename test/deleteUsers/data/{intercom => iterable}/handler_output.json (58%) create mode 100644 test/deleteUsers/data/iterable/nw_client_data.json delete mode 100644 test/deleteUsers/data/mp/handler_input.json delete mode 100644 test/deleteUsers/data/mp/handler_output.json delete mode 100644 test/deleteUsers/data/mp/nw_client_data.json delete mode 100644 test/deleteUsers/data/sendgrid/handler_input.json delete mode 100644 test/deleteUsers/data/sendgrid/handler_output.json delete mode 100644 test/deleteUsers/data/sendgrid/nw_client_data.json delete mode 100644 test/deleteUsers/deleteUsers.test.ts create mode 100644 test/integrations/destinations/active_campaign/network.ts create mode 100644 test/integrations/destinations/af/deleteUsers/data.ts create mode 100644 test/integrations/destinations/af/network.ts create mode 100644 test/integrations/destinations/am/deleteUsers/data.ts create mode 100644 test/integrations/destinations/am/network.ts create mode 100644 test/integrations/destinations/braze/deleteUsers/data.ts create mode 100644 test/integrations/destinations/braze/network.ts create mode 100644 test/integrations/destinations/canny/network.ts create mode 100644 test/integrations/destinations/clevertap/deleteUsers/data.ts create mode 100644 test/integrations/destinations/clevertap/network.ts create mode 100644 test/integrations/destinations/engage/deleteUsers/data.ts create mode 100644 test/integrations/destinations/engage/network.ts create mode 100644 test/integrations/destinations/ga/deleteUsers/data.ts create mode 100644 test/integrations/destinations/ga/network.ts create mode 100644 test/integrations/destinations/intercom/deleteUsers/data.ts create mode 100644 test/integrations/destinations/intercom/network.ts create mode 100644 test/integrations/destinations/marketo_static_list/network.ts create mode 100644 test/integrations/destinations/mautic/network.ts create mode 100644 test/integrations/destinations/mp/deleteUsers/data.ts create mode 100644 test/integrations/destinations/mp/network.ts create mode 100644 test/integrations/destinations/optimizely_fullstack/network.ts create mode 100644 test/integrations/destinations/optimizely_fullstack/processor/data.ts create mode 100644 test/integrations/destinations/optimizely_fullstack/router/data.ts create mode 100644 test/integrations/destinations/pardot/network.ts create mode 100644 test/integrations/destinations/sendgrid/deleteUsers/data.ts create mode 100644 test/integrations/destinations/sendgrid/network.ts create mode 100644 test/integrations/destinations/trengo/network.ts create mode 100644 test/integrations/destinations/user/network.ts create mode 100644 test/integrations/destinations/yahoo_dsp/network.ts create mode 100644 test/integrations/destinations/zendesk/network.ts diff --git a/.eslintrc.json b/.eslintrc.json index 805e5e7efe..c2614ac5ef 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,7 +28,7 @@ ], "unicorn/no-instanceof-array": "error", "unicorn/no-static-only-class": "error", - "unicorn/consistent-destructuring": "off", + "unicorn/consistent-destructuring": "error", "unicorn/better-regex": "error", "unicorn/no-for-loop": "error", "unicorn/prefer-array-some": "error", @@ -40,29 +40,31 @@ "unicorn/no-useless-spread": "error", "unicorn/no-useless-length-check": "error", "unicorn/prefer-export-from": "error", - "import/no-dynamic-require": "warn", - "no-param-reassign": "warn", + "import/no-dynamic-require": "error", + "no-param-reassign": "error", "sonarjs/prefer-immediate-return": "off", "sonarjs/no-nested-template-literals": "off", - "sonarjs/max-switch-cases": "off", - "sonarjs/no-small-switch": "warn", + "sonarjs/max-switch-cases": "error", + "sonarjs/no-small-switch": "error", "sonarjs/cognitive-complexity": ["error", 60], "@typescript-eslint/no-var-requires": "off", - "global-require": "off", - "@typescript-eslint/naming-convention": "off", - "@typescript-eslint/ban-types": "off", + "global-require": "error", + "@typescript-eslint/naming-convention": "error", + "@typescript-eslint/ban-types": "error", + "@typescript-eslint/no-explicit-any": "off", "class-methods-use-this": "off", - "@typescript-eslint/return-await": "off", - "import/prefer-default-export": "off", - "sonarjs/no-ignored-return": "off", - "no-new": "off", - "@typescript-eslint/no-shadow": "off", - "@typescript-eslint/no-loop-func": "off", - "sonarjs/no-same-line-conditional": "off", - "no-restricted-syntax": "off", - "sonarjs/no-duplicate-string": "off", - "sonarjs/no-identical-functions": "off", + "@typescript-eslint/return-await": "error", + "import/prefer-default-export": "error", + "sonarjs/no-ignored-return": "error", + "no-new": "error", + "@typescript-eslint/no-shadow": "error", + "@typescript-eslint/no-loop-func": "error", + "sonarjs/no-same-line-conditional": "error", + "no-restricted-syntax": "error", + "sonarjs/no-duplicate-string": "error", + "sonarjs/no-identical-functions": "error", "no-prototype-builtins": "off", - "@typescript-eslint/dot-notation": "off" + "@typescript-eslint/dot-notation": "error", + "@typescript-eslint/no-unused-vars": "error" } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 509ddabe0a..621c6709bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,33 @@ 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.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.43.1...v1.44.0) (2023-09-29) + + +### Features + +* add geolocation support for python transformations ([#2678](https://github.com/rudderlabs/rudder-transformer/issues/2678)) ([b688c4a](https://github.com/rudderlabs/rudder-transformer/commit/b688c4a6889250bacfd2a81c9de8a1436281daa9)) +* 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)) +* **iterable:** user deletion support ([#2621](https://github.com/rudderlabs/rudder-transformer/issues/2621)) ([c0ab19a](https://github.com/rudderlabs/rudder-transformer/commit/c0ab19a293a72ea0a7575b863356aea9a0e6762f)) +* tslint rules enable ([#2604](https://github.com/rudderlabs/rudder-transformer/issues/2604)) ([4d6c4b8](https://github.com/rudderlabs/rudder-transformer/commit/4d6c4b834de005484dc1099a52c69ab6212273e8)) + + +### Bug Fixes +* add optional chaining for traits ([#2677](https://github.com/rudderlabs/rudder-transformer/issues/2677)) ([b80bfbc](https://github.com/rudderlabs/rudder-transformer/commit/b80bfbc8a6afdef57ad5f2560bb803c8e00bcbfc)) +* 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)) +* bqstream event ordering fix ([#2624](https://github.com/rudderlabs/rudder-transformer/issues/2624)) ([e97e7ca](https://github.com/rudderlabs/rudder-transformer/commit/e97e7caed20ffb007f1c543e15c15c6e89e2dfb7)) +* **hubspot:** add validation for hubspotEvents ([#2643](https://github.com/rudderlabs/rudder-transformer/issues/2643)) ([b49d0ee](https://github.com/rudderlabs/rudder-transformer/commit/b49d0ee576f55e5f95e3d02b7111e995fc9b8ada)) +* **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)) +* **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.43.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.43.0...v1.43.1) (2023-09-26) diff --git a/jest.config.typescript.js b/jest.config.typescript.js index 66f4236e7e..fde50e3d5e 100644 --- a/jest.config.typescript.js +++ b/jest.config.typescript.js @@ -2,186 +2,186 @@ // https://jestjs.io/docs/en/configuration.html module.exports = { - // All imported modules in your tests should be mocked automatically - // automock: false, + // All imported modules in your tests should be mocked automatically + // automock: false, - // Stop running tests after `n` failures - bail: 1, + // Stop running tests after `n` failures + bail: 1, - // Respect "browser" field in package.json when resolving modules - // browser: false, + // 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", + // 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, + // 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, + // 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, + // 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/ts-coverage', + // The directory where Jest should output its coverage files + coverageDirectory: 'reports/ts-coverage', - // An array of regexp pattern strings used to skip coverage collection - coveragePathIgnorePatterns: ['/node_modules/', '__tests__'], + // An array of regexp pattern strings used to skip coverage collection + coveragePathIgnorePatterns: ['/node_modules/', '__tests__'], - // A list of reporter names that Jest uses when writing coverage reports - coverageReporters: ['json', 'text', 'lcov', 'clover'], + // 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: 30, - functions: 40, - lines: 50, - statements: 50, - }, + // An object that configures minimum threshold enforcement for coverage results + coverageThreshold: { + global: { + branches: 30, + functions: 40, + lines: 50, + statements: 50, }, + }, - // A path to a custom dependency extractor - // dependencyExtractor: null, + // A path to a custom dependency extractor + // dependencyExtractor: null, - // Make calling deprecated APIs throw helpful error messages - errorOnDeprecated: true, + // Make calling deprecated APIs throw helpful error messages + errorOnDeprecated: true, - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], + // 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 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 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: true - // }, - // }, + // A set of global variables that need to be available in all test environments + // globals: { + // 'ts-jest': { + // tsConfigFile: 'tsconfig.json', + // diagnostics: true + // }, + // }, - // 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%", + // 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 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'], + // 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: {}, + // 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: [], + // 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, + // Activates notifications for test results + notify: true, - // An enum that specifies notification mode. Requires { notify: true } - notifyMode: 'failure-change', + // 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: 'ts-jest', + // A preset that is used as a base for Jest's configuration + preset: 'ts-jest', - // Run tests from one or more projects - // projects: null, + // Run tests from one or more projects + // projects: null, - // Use this configuration option to add custom reporters to Jest - // reporters: undefined, + // Use this configuration option to add custom reporters to Jest + // reporters: undefined, - // Automatically reset mock state between every test - // resetMocks: false, + // Automatically reset mock state between every test + // resetMocks: false, - // Reset the module registry before running each individual test - // resetModules: false, + // Reset the module registry before running each individual test + // resetModules: false, - // A path to a custom resolver - // resolver: null, + // A path to a custom resolver + // resolver: null, - // Automatically restore mock state between every test - // restoreMocks: false, + // Automatically restore mock state between every test + // restoreMocks: false, - // The root directory that Jest should scan for tests and modules within - // rootDir: null, + // 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: [ - // "" - // ], + // 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", + // 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: [], + // 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 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: [], + // 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', + // The test environment that will be used for testing + testEnvironment: 'node', - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, + // Options that will be passed to the testEnvironment + // testEnvironmentOptions: {}, - // Adds a location field to test results - // testLocationInResults: false, + // Adds a location field to test results + // testLocationInResults: false, - // The glob patterns Jest uses to detect test files - testMatch: ['**/*.(test).ts?(x)'], + // The glob patterns Jest uses to detect test files + testMatch: ['**/*.(test).ts?(x)'], - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - testPathIgnorePatterns: ['/node_modules/'], + // 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: [], + // 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 the use of a custom results processor + // testResultsProcessor: null, - // This option allows use of a custom test runner - // testRunner: "jasmine2", + // 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", + // 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", + // 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: { - '^.+\\.tsx?$': [ - 'ts-jest', - { - tsconfig: 'tsconfig.json', - diagnostics: true, - }, - ], - }, + // A map from regular expressions to paths to transformers + transform: { + '^.+\\.tsx?$': [ + '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 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, + // 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, + // 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: [], + // 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, + // Whether to use watchman for file crawling + // watchman: true, }; diff --git a/package-lock.json b/package-lock.json index 86a661cb82..895ec6c211 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,19 @@ { "name": "rudder-transformer", - "version": "1.43.1", + "version": "1.44.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.43.1", + "version": "1.44.0", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", - "@aws-sdk/client-personalize": "^3.363.0", + "@aws-sdk/client-personalize": "^3.391.0", "@aws-sdk/client-s3": "^3.370.0", - "@aws-sdk/credential-providers": "^3.363.0", - "@aws-sdk/lib-storage": "^3.370.0", + "@aws-sdk/credential-providers": "^3.391.0", + "@aws-sdk/lib-storage": "^3.391.0", "@bugsnag/js": "^7.20.2", "@datadog/pprof": "^3.1.0", "@koa/router": "^12.0.0", @@ -23,6 +23,7 @@ "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", @@ -52,7 +53,7 @@ "moment": "^2.29.4", "moment-timezone": "^0.5.43", "node-cache": "^5.1.2", - "node-fetch": "^2.6.9", + "node-fetch": "^2.6.12", "oauth-1.0a": "^2.2.6", "object-hash": "^3.0.0", "parse-static-imports": "^1.1.0", @@ -72,6 +73,7 @@ "devDependencies": { "@commitlint/config-conventional": "^17.6.3", "@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1", + "@types/fast-json-stable-stringify": "^2.1.0", "@types/jest": "^29.5.1", "@types/koa": "^2.13.6", "@types/koa-bodyparser": "^4.3.10", @@ -79,6 +81,7 @@ "@types/node": "^20.2.5", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.59.2", + "axios-mock-adapter": "^1.22.0", "benchmark-suite": "^0.1.8", "commander": "^10.0.1", "commitizen": "^4.3.0", @@ -113,26 +116,23 @@ }, "node_modules/@aashutoshrathi/word-wrap": { "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/@amplitude/ua-parser-js": { "version": "0.7.24", - "resolved": "https://registry.npmjs.org/@amplitude/ua-parser-js/-/ua-parser-js-0.7.24.tgz", - "integrity": "sha512-VbQuJymJ20WEw0HtI2np7EdC3NJGUWi8+Xdbc7uk8WfMIF308T0howpzkQ3JFMN7ejnrcSM/OyNGveeE3TP3TA==", + "license": "MIT", "engines": { "node": "*" } }, "node_modules/@ampproject/remapping": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@jridgewell/gen-mapping": "^0.1.0", "@jridgewell/trace-mapping": "^0.3.9" @@ -143,9 +143,8 @@ }, "node_modules/@apidevtools/json-schema-ref-parser": { "version": "9.0.6", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", - "integrity": "sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==", "dev": true, + "license": "MIT", "dependencies": { "@jsdevtools/ono": "^7.1.3", "call-me-maybe": "^1.0.1", @@ -154,18 +153,16 @@ }, "node_modules/@apidevtools/json-schema-ref-parser/node_modules/argparse": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } }, "node_modules/@apidevtools/json-schema-ref-parser/node_modules/js-yaml": { "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -176,24 +173,21 @@ }, "node_modules/@apidevtools/openapi-schemas": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", - "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/@apidevtools/swagger-methods": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", - "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@apidevtools/swagger-parser": { "version": "10.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz", - "integrity": "sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw==", "dev": true, + "license": "MIT", "dependencies": { "@apidevtools/json-schema-ref-parser": "9.0.6", "@apidevtools/openapi-schemas": "^2.1.0", @@ -209,8 +203,7 @@ }, "node_modules/@aws-crypto/crc32": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-3.0.0.tgz", - "integrity": "sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^3.0.0", "@aws-sdk/types": "^3.222.0", @@ -219,13 +212,11 @@ }, "node_modules/@aws-crypto/crc32/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/crc32c": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/crc32c/-/crc32c-3.0.0.tgz", - "integrity": "sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^3.0.0", "@aws-sdk/types": "^3.222.0", @@ -234,26 +225,22 @@ }, "node_modules/@aws-crypto/crc32c/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/ie11-detection": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/ie11-detection/-/ie11-detection-3.0.0.tgz", - "integrity": "sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q==", + "license": "Apache-2.0", "dependencies": { "tslib": "^1.11.1" } }, "node_modules/@aws-crypto/ie11-detection/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/sha1-browser": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/sha1-browser/-/sha1-browser-3.0.0.tgz", - "integrity": "sha512-NJth5c997GLHs6nOYTzFKTbYdMNA6/1XlKVgnZoaZcQ7z7UJlOgj2JdbHE8tiYLS3fzXNCguct77SPGat2raSw==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/ie11-detection": "^3.0.0", "@aws-crypto/supports-web-crypto": "^3.0.0", @@ -266,13 +253,11 @@ }, "node_modules/@aws-crypto/sha1-browser/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/sha256-browser": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-3.0.0.tgz", - "integrity": "sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/ie11-detection": "^3.0.0", "@aws-crypto/sha256-js": "^3.0.0", @@ -286,13 +271,11 @@ }, "node_modules/@aws-crypto/sha256-browser/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/sha256-js": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-3.0.0.tgz", - "integrity": "sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^3.0.0", "@aws-sdk/types": "^3.222.0", @@ -301,26 +284,22 @@ }, "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==" + "license": "0BSD" }, "node_modules/@aws-crypto/supports-web-crypto": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-3.0.0.tgz", - "integrity": "sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^1.11.1" } }, "node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@aws-crypto/util": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@aws-crypto/util/-/util-3.0.0.tgz", - "integrity": "sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.222.0", "@aws-sdk/util-utf8-browser": "^3.0.0", @@ -329,66 +308,63 @@ }, "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==" + "license": "0BSD" }, "node_modules/@aws-sdk/chunked-blob-reader": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/chunked-blob-reader/-/chunked-blob-reader-3.310.0.tgz", - "integrity": "sha512-CrJS3exo4mWaLnWxfCH+w88Ou0IcAZSIkk4QbmxiHl/5Dq705OLoxf4385MVyExpqpeVJYOYQ2WaD8i/pQZ2fg==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/chunked-blob-reader-native": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/chunked-blob-reader-native/-/chunked-blob-reader-native-3.310.0.tgz", - "integrity": "sha512-RuhyUY9hCd6KWA2DMF/U6rilYLLRYrDY6e0lq3Of1yzSRFxi4bk9ZMCF0mxf/9ppsB5eudUjrOypYgm6Axt3zw==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/util-base64": "3.310.0", "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/client-cognito-identity": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.363.0.tgz", - "integrity": "sha512-tsJzgBSCpna85IVsuS7FBIK9wkSl7fs8TJ/QzapIgu8rKss0ySHVO6TeMVAdw2BvaQl7CxU9c3PosjhLWHu6KQ==", + "version": "3.414.0", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "3.363.0", - "@aws-sdk/credential-provider-node": "3.363.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-signing": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.2", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.0.1", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.0.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.2", - "@smithy/util-utf8": "^1.0.1", + "@aws-sdk/client-sts": "3.414.0", + "@aws-sdk/credential-provider-node": "3.414.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-signing": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/region-config-resolver": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" }, "engines": { @@ -396,334 +372,1182 @@ } }, "node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "version": "3.413.0", + "license": "Apache-2.0", "dependencies": { + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-personalize": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-personalize/-/client-personalize-3.363.0.tgz", - "integrity": "sha512-SZ9QO3LLuIiAvT28F2Qo7ImbmAvedticrDMoFpvVQB2TJ/NR0wzu33udMqN4ZCy8bUY9eG1mhdo35YAhzVgjBQ==", + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "3.363.0", - "@aws-sdk/credential-provider-node": "3.363.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-signing": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.2", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.0.1", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.0.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.2", - "@smithy/util-utf8": "^1.0.1", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-personalize/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "license": "Apache-2.0", "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.370.0.tgz", - "integrity": "sha512-+b53hI+C+tIiE6OhIvaUXD5qC0zFrCWIu6EKT597W+4XzfFIZE0BGgolP8pC1lLDghPjCFSmAm9Efcb2a1sPvw==", + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/sha1-browser": "3.0.0", - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "3.370.0", - "@aws-sdk/credential-provider-node": "3.370.0", - "@aws-sdk/hash-blob-browser": "3.370.0", - "@aws-sdk/hash-stream-node": "3.370.0", - "@aws-sdk/md5-js": "3.370.0", - "@aws-sdk/middleware-bucket-endpoint": "3.370.0", - "@aws-sdk/middleware-expect-continue": "3.370.0", - "@aws-sdk/middleware-flexible-checksums": "3.370.0", - "@aws-sdk/middleware-host-header": "3.370.0", - "@aws-sdk/middleware-location-constraint": "3.370.0", - "@aws-sdk/middleware-logger": "3.370.0", - "@aws-sdk/middleware-recursion-detection": "3.370.0", - "@aws-sdk/middleware-sdk-s3": "3.370.0", - "@aws-sdk/middleware-signing": "3.370.0", - "@aws-sdk/middleware-ssec": "3.370.0", - "@aws-sdk/middleware-user-agent": "3.370.0", - "@aws-sdk/signature-v4-multi-region": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@aws-sdk/util-user-agent-browser": "3.370.0", - "@aws-sdk/util-user-agent-node": "3.370.0", - "@aws-sdk/xml-builder": "3.310.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/eventstream-serde-browser": "^1.0.1", - "@smithy/eventstream-serde-config-resolver": "^1.0.1", - "@smithy/eventstream-serde-node": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/middleware-retry": "^1.0.3", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.3", - "@smithy/util-stream": "^1.0.1", - "@smithy/util-utf8": "^1.0.1", - "@smithy/util-waiter": "^1.0.1", - "fast-xml-parser": "4.2.5", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.370.0.tgz", - "integrity": "sha512-0Ty1iHuzNxMQtN7nahgkZr4Wcu1XvqGfrQniiGdKKif9jG/4elxsQPiydRuQpFqN6b+bg7wPP7crFP1uTxx2KQ==", + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/middleware-host-header": "3.370.0", - "@aws-sdk/middleware-logger": "3.370.0", - "@aws-sdk/middleware-recursion-detection": "3.370.0", - "@aws-sdk/middleware-user-agent": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@aws-sdk/util-user-agent-browser": "3.370.0", - "@aws-sdk/util-user-agent-node": "3.370.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/middleware-retry": "^1.0.3", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.3", - "@smithy/util-utf8": "^1.0.1", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso-oidc": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.370.0.tgz", - "integrity": "sha512-jAYOO74lmVXylQylqkPrjLzxvUnMKw476JCUTvCO6Q8nv3LzCWd76Ihgv/m9Q4M2Tbqi1iP2roVK5bstsXzEjA==", + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/middleware-host-header": "3.370.0", - "@aws-sdk/middleware-logger": "3.370.0", - "@aws-sdk/middleware-recursion-detection": "3.370.0", - "@aws-sdk/middleware-user-agent": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@aws-sdk/util-user-agent-browser": "3.370.0", - "@aws-sdk/util-user-agent-node": "3.370.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/middleware-retry": "^1.0.3", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.3", - "@smithy/util-utf8": "^1.0.1", + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sts": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.370.0.tgz", - "integrity": "sha512-utFxOPWIzbN+3kc415Je2o4J72hOLNhgR2Gt5EnRSggC3yOnkC4GzauxG8n7n5gZGBX45eyubHyPOXLOIyoqQA==", + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/is-array-buffer": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/credential-provider-node": "3.370.0", - "@aws-sdk/middleware-host-header": "3.370.0", - "@aws-sdk/middleware-logger": "3.370.0", - "@aws-sdk/middleware-recursion-detection": "3.370.0", - "@aws-sdk/middleware-sdk-sts": "3.370.0", - "@aws-sdk/middleware-signing": "3.370.0", - "@aws-sdk/middleware-user-agent": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@aws-sdk/util-user-agent-browser": "3.370.0", - "@aws-sdk/util-user-agent-node": "3.370.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/middleware-retry": "^1.0.3", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.3", - "@smithy/util-utf8": "^1.0.1", - "fast-xml-parser": "4.2.5", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-env": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.370.0.tgz", - "integrity": "sha512-raR3yP/4GGbKFRPP5hUBNkEmTnzxI9mEc2vJAJrcv4G4J4i/UP6ELiLInQ5eO2/VcV/CeKGZA3t7d1tsJ+jhCg==", + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.370.0.tgz", - "integrity": "sha512-eJyapFKa4NrC9RfTgxlXnXfS9InG/QMEUPPVL+VhG7YS6nKqetC1digOYgivnEeu+XSKE0DJ7uZuXujN2Y7VAQ==", + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/credential-provider-env": "3.370.0", - "@aws-sdk/credential-provider-process": "3.370.0", - "@aws-sdk/credential-provider-sso": "3.370.0", - "@aws-sdk/credential-provider-web-identity": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-node": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.370.0.tgz", - "integrity": "sha512-gkFiotBFKE4Fcn8CzQnMeab9TAR06FEAD02T4ZRYW1xGrBJOowmje9dKqdwQFHSPgnWAP+8HoTA8iwbhTLvjNA==", - "dependencies": { - "@aws-sdk/credential-provider-env": "3.370.0", - "@aws-sdk/credential-provider-ini": "3.370.0", - "@aws-sdk/credential-provider-process": "3.370.0", - "@aws-sdk/credential-provider-sso": "3.370.0", - "@aws-sdk/credential-provider-web-identity": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", - "tslib": "^2.5.0" + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-process": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.370.0.tgz", - "integrity": "sha512-0BKFFZmUO779Xdw3u7wWnoWhYA4zygxJbgGVSyjkOGBvdkbPSTTcdwT1KFkaQy2kOXYeZPl+usVVRXs+ph4ejg==", + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-buffer-from": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-cognito-identity/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@aws-sdk/client-personalize": { + "version": "3.414.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/client-sts": "3.414.0", + "@aws-sdk/credential-provider-node": "3.414.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-signing": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/region-config-resolver": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/is-array-buffer": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-buffer-from": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-personalize/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@aws-sdk/client-s3": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha1-browser": "3.0.0", + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/client-sts": "3.370.0", + "@aws-sdk/credential-provider-node": "3.370.0", + "@aws-sdk/hash-blob-browser": "3.370.0", + "@aws-sdk/hash-stream-node": "3.370.0", + "@aws-sdk/md5-js": "3.370.0", + "@aws-sdk/middleware-bucket-endpoint": "3.370.0", + "@aws-sdk/middleware-expect-continue": "3.370.0", + "@aws-sdk/middleware-flexible-checksums": "3.370.0", + "@aws-sdk/middleware-host-header": "3.370.0", + "@aws-sdk/middleware-location-constraint": "3.370.0", + "@aws-sdk/middleware-logger": "3.370.0", + "@aws-sdk/middleware-recursion-detection": "3.370.0", + "@aws-sdk/middleware-sdk-s3": "3.370.0", + "@aws-sdk/middleware-signing": "3.370.0", + "@aws-sdk/middleware-ssec": "3.370.0", + "@aws-sdk/middleware-user-agent": "3.370.0", + "@aws-sdk/signature-v4-multi-region": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@aws-sdk/util-user-agent-browser": "3.370.0", + "@aws-sdk/util-user-agent-node": "3.370.0", + "@aws-sdk/xml-builder": "3.310.0", + "@smithy/config-resolver": "^1.0.1", + "@smithy/eventstream-serde-browser": "^1.0.1", + "@smithy/eventstream-serde-config-resolver": "^1.0.1", + "@smithy/eventstream-serde-node": "^1.0.1", + "@smithy/fetch-http-handler": "^1.0.1", + "@smithy/hash-node": "^1.0.1", + "@smithy/invalid-dependency": "^1.0.1", + "@smithy/middleware-content-length": "^1.0.1", + "@smithy/middleware-endpoint": "^1.0.2", + "@smithy/middleware-retry": "^1.0.3", + "@smithy/middleware-serde": "^1.0.1", + "@smithy/middleware-stack": "^1.0.1", + "@smithy/node-config-provider": "^1.0.1", + "@smithy/node-http-handler": "^1.0.2", + "@smithy/protocol-http": "^1.1.0", + "@smithy/smithy-client": "^1.0.3", + "@smithy/types": "^1.1.0", + "@smithy/url-parser": "^1.0.1", + "@smithy/util-base64": "^1.0.1", + "@smithy/util-body-length-browser": "^1.0.1", + "@smithy/util-body-length-node": "^1.0.1", + "@smithy/util-defaults-mode-browser": "^1.0.1", + "@smithy/util-defaults-mode-node": "^1.0.1", + "@smithy/util-retry": "^1.0.3", + "@smithy/util-stream": "^1.0.1", + "@smithy/util-utf8": "^1.0.1", + "@smithy/util-waiter": "^1.0.1", + "fast-xml-parser": "4.2.5", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/middleware-host-header": "3.370.0", + "@aws-sdk/middleware-logger": "3.370.0", + "@aws-sdk/middleware-recursion-detection": "3.370.0", + "@aws-sdk/middleware-user-agent": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@aws-sdk/util-user-agent-browser": "3.370.0", + "@aws-sdk/util-user-agent-node": "3.370.0", + "@smithy/config-resolver": "^1.0.1", + "@smithy/fetch-http-handler": "^1.0.1", + "@smithy/hash-node": "^1.0.1", + "@smithy/invalid-dependency": "^1.0.1", + "@smithy/middleware-content-length": "^1.0.1", + "@smithy/middleware-endpoint": "^1.0.2", + "@smithy/middleware-retry": "^1.0.3", + "@smithy/middleware-serde": "^1.0.1", + "@smithy/middleware-stack": "^1.0.1", + "@smithy/node-config-provider": "^1.0.1", + "@smithy/node-http-handler": "^1.0.2", + "@smithy/protocol-http": "^1.1.0", + "@smithy/smithy-client": "^1.0.3", + "@smithy/types": "^1.1.0", + "@smithy/url-parser": "^1.0.1", + "@smithy/util-base64": "^1.0.1", + "@smithy/util-body-length-browser": "^1.0.1", + "@smithy/util-body-length-node": "^1.0.1", + "@smithy/util-defaults-mode-browser": "^1.0.1", + "@smithy/util-defaults-mode-node": "^1.0.1", + "@smithy/util-retry": "^1.0.3", + "@smithy/util-utf8": "^1.0.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sso-oidc": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/middleware-host-header": "3.370.0", + "@aws-sdk/middleware-logger": "3.370.0", + "@aws-sdk/middleware-recursion-detection": "3.370.0", + "@aws-sdk/middleware-user-agent": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@aws-sdk/util-user-agent-browser": "3.370.0", + "@aws-sdk/util-user-agent-node": "3.370.0", + "@smithy/config-resolver": "^1.0.1", + "@smithy/fetch-http-handler": "^1.0.1", + "@smithy/hash-node": "^1.0.1", + "@smithy/invalid-dependency": "^1.0.1", + "@smithy/middleware-content-length": "^1.0.1", + "@smithy/middleware-endpoint": "^1.0.2", + "@smithy/middleware-retry": "^1.0.3", + "@smithy/middleware-serde": "^1.0.1", + "@smithy/middleware-stack": "^1.0.1", + "@smithy/node-config-provider": "^1.0.1", + "@smithy/node-http-handler": "^1.0.2", + "@smithy/protocol-http": "^1.1.0", + "@smithy/smithy-client": "^1.0.3", + "@smithy/types": "^1.1.0", + "@smithy/url-parser": "^1.0.1", + "@smithy/util-base64": "^1.0.1", + "@smithy/util-body-length-browser": "^1.0.1", + "@smithy/util-body-length-node": "^1.0.1", + "@smithy/util-defaults-mode-browser": "^1.0.1", + "@smithy/util-defaults-mode-node": "^1.0.1", + "@smithy/util-retry": "^1.0.3", + "@smithy/util-utf8": "^1.0.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/client-sts": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/credential-provider-node": "3.370.0", + "@aws-sdk/middleware-host-header": "3.370.0", + "@aws-sdk/middleware-logger": "3.370.0", + "@aws-sdk/middleware-recursion-detection": "3.370.0", + "@aws-sdk/middleware-sdk-sts": "3.370.0", + "@aws-sdk/middleware-signing": "3.370.0", + "@aws-sdk/middleware-user-agent": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@aws-sdk/util-user-agent-browser": "3.370.0", + "@aws-sdk/util-user-agent-node": "3.370.0", + "@smithy/config-resolver": "^1.0.1", + "@smithy/fetch-http-handler": "^1.0.1", + "@smithy/hash-node": "^1.0.1", + "@smithy/invalid-dependency": "^1.0.1", + "@smithy/middleware-content-length": "^1.0.1", + "@smithy/middleware-endpoint": "^1.0.2", + "@smithy/middleware-retry": "^1.0.3", + "@smithy/middleware-serde": "^1.0.1", + "@smithy/middleware-stack": "^1.0.1", + "@smithy/node-config-provider": "^1.0.1", + "@smithy/node-http-handler": "^1.0.2", + "@smithy/protocol-http": "^1.1.0", + "@smithy/smithy-client": "^1.0.3", + "@smithy/types": "^1.1.0", + "@smithy/url-parser": "^1.0.1", + "@smithy/util-base64": "^1.0.1", + "@smithy/util-body-length-browser": "^1.0.1", + "@smithy/util-body-length-node": "^1.0.1", + "@smithy/util-defaults-mode-browser": "^1.0.1", + "@smithy/util-defaults-mode-node": "^1.0.1", + "@smithy/util-retry": "^1.0.3", + "@smithy/util-utf8": "^1.0.1", + "fast-xml-parser": "4.2.5", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-env": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-ini": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/credential-provider-env": "3.370.0", + "@aws-sdk/credential-provider-process": "3.370.0", + "@aws-sdk/credential-provider-sso": "3.370.0", + "@aws-sdk/credential-provider-web-identity": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/credential-provider-imds": "^1.0.1", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-node": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/credential-provider-env": "3.370.0", + "@aws-sdk/credential-provider-ini": "3.370.0", + "@aws-sdk/credential-provider-process": "3.370.0", + "@aws-sdk/credential-provider-sso": "3.370.0", + "@aws-sdk/credential-provider-web-identity": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/credential-provider-imds": "^1.0.1", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-process": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { @@ -732,28 +1556,2034 @@ }, "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-sso": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.370.0.tgz", - "integrity": "sha512-PFroYm5hcPSfC/jkZnCI34QFL3I7WVKveVk6/F3fud/cnP8hp6YjA9NiTNbqdFSzsyoiN/+e5fZgNKih8vVPTA==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/client-sso": "3.370.0", + "@aws-sdk/token-providers": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-web-identity": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-host-header": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-logger": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-recursion-detection": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-sdk-sts": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-signing": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-signing": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/protocol-http": "^1.1.0", + "@smithy/signature-v4": "^1.0.1", + "@smithy/types": "^1.1.0", + "@smithy/util-middleware": "^1.0.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-user-agent": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-endpoints": "3.370.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/token-providers": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/client-sso-oidc": "3.370.0", + "@aws-sdk/types": "3.370.0", + "@smithy/property-provider": "^1.0.1", + "@smithy/shared-ini-file-loader": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-endpoints": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-browser": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/types": "^1.1.0", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-node": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/node-config-provider": "^1.0.1", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "aws-crt": ">=1.0.0" + }, + "peerDependenciesMeta": { + "aws-crt": { + "optional": true + } + } + }, + "node_modules/@aws-sdk/client-sso": { + "version": "3.414.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/region-config-resolver": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/is-array-buffer": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-buffer-from": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sso/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@aws-sdk/client-sts": { + "version": "3.414.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/credential-provider-node": "3.414.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-sdk-sts": "3.413.0", + "@aws-sdk/middleware-signing": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/region-config-resolver": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/protocol-http": "^3.0.3", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "fast-xml-parser": "4.2.5", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/is-array-buffer": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-buffer-from": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">= 14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/client-sts/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@aws-sdk/credential-provider-cognito-identity": { + "version": "3.414.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/client-cognito-identity": "3.414.0", + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-env/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini": { + "version": "3.414.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/credential-provider-env": "3.413.0", + "@aws-sdk/credential-provider-process": "3.413.0", + "@aws-sdk/credential-provider-sso": "3.414.0", + "@aws-sdk/credential-provider-web-identity": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/credential-provider-imds": "^2.0.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-ini/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node": { + "version": "3.414.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/credential-provider-env": "3.413.0", + "@aws-sdk/credential-provider-ini": "3.414.0", + "@aws-sdk/credential-provider-process": "3.413.0", + "@aws-sdk/credential-provider-sso": "3.414.0", + "@aws-sdk/credential-provider-web-identity": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/credential-provider-imds": "^2.0.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-node/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-process/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso": { + "version": "3.414.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/client-sso": "3.414.0", + "@aws-sdk/token-providers": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-sso/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers": { + "version": "3.414.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/client-cognito-identity": "3.414.0", + "@aws-sdk/client-sso": "3.414.0", + "@aws-sdk/client-sts": "3.414.0", + "@aws-sdk/credential-provider-cognito-identity": "3.414.0", + "@aws-sdk/credential-provider-env": "3.413.0", + "@aws-sdk/credential-provider-ini": "3.414.0", + "@aws-sdk/credential-provider-node": "3.414.0", + "@aws-sdk/credential-provider-process": "3.413.0", + "@aws-sdk/credential-provider-sso": "3.414.0", + "@aws-sdk/credential-provider-web-identity": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/credential-provider-imds": "^2.0.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/credential-providers/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/hash-blob-browser": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/chunked-blob-reader": "3.310.0", + "@aws-sdk/chunked-blob-reader-native": "3.310.0", + "@aws-sdk/types": "3.370.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/hash-stream-node": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-utf8": "3.310.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/is-array-buffer": { + "version": "3.310.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage": { + "version": "3.417.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/abort-controller": "^2.0.1", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/smithy-client": "^2.1.4", + "buffer": "5.6.0", + "events": "3.3.0", + "stream-browserify": "3.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "@aws-sdk/client-s3": "^3.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/is-array-buffer": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "license": "Apache-2.0", + "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-buffer-from": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/is-array-buffer": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/lib-storage/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/md5-js": { + "version": "3.370.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-sso": "3.370.0", - "@aws-sdk/token-providers": "3.370.0", "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", + "@aws-sdk/util-utf8": "3.310.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/middleware-bucket-endpoint": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-arn-parser": "3.310.0", + "@smithy/protocol-http": "^1.1.0", "@smithy/types": "^1.1.0", + "@smithy/util-config-provider": "^1.0.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/credential-provider-web-identity": { + "node_modules/@aws-sdk/middleware-expect-continue": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.370.0.tgz", - "integrity": "sha512-CFaBMLRudwhjv1sDzybNV93IaT85IwS+L8Wq6VRMa0mro1q9rrWsIZO811eF+k0NEPfgU1dLH+8Vc2qhw4SARQ==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", + "@smithy/protocol-http": "^1.1.0", "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, @@ -761,26 +3591,165 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-host-header": { + "node_modules/@aws-sdk/middleware-flexible-checksums": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.370.0.tgz", - "integrity": "sha512-CPXOm/TnOFC7KyXcJglICC7OiA7Kj6mT3ChvEijr56TFOueNHvJdV4aNIFEQy0vGHOWtY12qOWLNto/wYR1BAQ==", + "license": "Apache-2.0", "dependencies": { + "@aws-crypto/crc32": "3.0.0", + "@aws-crypto/crc32c": "3.0.0", "@aws-sdk/types": "3.370.0", + "@smithy/is-array-buffer": "^1.0.1", "@smithy/protocol-http": "^1.1.0", "@smithy/types": "^1.1.0", + "@smithy/util-utf8": "^1.0.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-logger": { + "node_modules/@aws-sdk/middleware-host-header": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-host-header/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-host-header/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-host-header/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-location-constraint": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/types": "^1.1.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-logger": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-logger/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-logger/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-recursion-detection": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-sdk-s3": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.370.0.tgz", - "integrity": "sha512-cQMq9SaZ/ORmTJPCT6VzMML7OxFdQzNkhMAgKpTDl+tdPWynlHF29E5xGoSzROnThHlQPCjogU0NZ8AxI0SWPA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", + "@aws-sdk/util-arn-parser": "3.310.0", + "@smithy/protocol-http": "^1.1.0", "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, @@ -788,217 +3757,240 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-recursion-detection": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.370.0.tgz", - "integrity": "sha512-L7ZF/w0lAAY/GK1khT8VdoU0XB7nWHk51rl/ecAg64J70dHnMOAg8n+5FZ9fBu/xH1FwUlHOkwlodJOgzLJjtg==", + "node_modules/@aws-sdk/middleware-sdk-sts": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-signing": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-sdk-sts/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-sdk-sts/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.413.0", + "@smithy/property-provider": "^2.0.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/signature-v4": "^2.0.0", + "@smithy/types": "^2.3.1", + "@smithy/util-middleware": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/eventstream-codec": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@aws-crypto/crc32": "3.0.0", + "@smithy/types": "^2.3.3", + "@smithy/util-hex-encoding": "^2.0.0", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/is-array-buffer": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/signature-v4": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/eventstream-codec": "^2.0.9", + "@smithy/is-array-buffer": "^2.0.0", + "@smithy/types": "^2.3.3", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-uri-escape": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-sdk-sts": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.370.0.tgz", - "integrity": "sha512-ykbsoVy0AJtVbuhAlTAMcaz/tCE3pT8nAp0L7CQQxSoanRCvOux7au0KwMIQVhxgnYid4dWVF6d00SkqU5MXRA==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-buffer-from": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/middleware-signing": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@smithy/types": "^1.1.0", + "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-signing": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.370.0.tgz", - "integrity": "sha512-Dwr/RTCWOXdm394wCwICGT2VNOTMRe4IGPsBRJAsM24pm+EEqQzSS3Xu/U/zF4exuxqpMta4wec4QpSarPNTxA==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/protocol-http": "^1.1.0", - "@smithy/signature-v4": "^1.0.1", - "@smithy/types": "^1.1.0", - "@smithy/util-middleware": "^1.0.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/middleware-user-agent": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.370.0.tgz", - "integrity": "sha512-2+3SB6MtMAq1+gVXhw0Y3ONXuljorh6ijnxgTpv+uQnBW5jHCUiAS8WDYiDEm7i9euJPbvJfM8WUrSMDMU6Cog==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-endpoints": "3.370.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/token-providers": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.370.0.tgz", - "integrity": "sha512-EyR2ZYr+lJeRiZU2/eLR+mlYU9RXLQvNyGFSAekJKgN13Rpq/h0syzXVFLP/RSod/oZenh/fhVZ2HwlZxuGBtQ==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-sso-oidc": "3.370.0", - "@aws-sdk/types": "3.370.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-endpoints": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.370.0.tgz", - "integrity": "sha512-5ltVAnM79nRlywwzZN5i8Jp4tk245OCGkKwwXbnDU+gq7zT3CIOsct1wNZvmpfZEPGt/bv7/NyRcjP+7XNsX/g==", + "node_modules/@aws-sdk/middleware-signing/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", + "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-browser": { + "node_modules/@aws-sdk/middleware-ssec": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.370.0.tgz", - "integrity": "sha512-028LxYZMQ0DANKhW+AKFQslkScZUeYlPmSphrCIXgdIItRZh6ZJHGzE7J/jDsEntZOrZJsjI4z0zZ5W2idj04w==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "3.370.0", "@smithy/types": "^1.1.0", - "bowser": "^2.11.0", "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/util-user-agent-node": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.370.0.tgz", - "integrity": "sha512-33vxZUp8vxTT/DGYIR3PivQm07sSRGWI+4fCv63Rt7Q++fO24E0kQtmVAlikRY810I10poD6rwILVtITtFSzkg==", + "node_modules/@aws-sdk/middleware-user-agent": { + "version": "3.413.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" - }, - "peerDependencies": { - "aws-crt": ">=1.0.0" - }, - "peerDependenciesMeta": { - "aws-crt": { - "optional": true - } } }, - "node_modules/@aws-sdk/client-sso": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.363.0.tgz", - "integrity": "sha512-PZ+HfKSgS4hlMnJzG+Ev8/mgHd/b/ETlJWPSWjC/f2NwVoBQkBnqHjdyEx7QjF6nksJozcVh5Q+kkYLKc/QwBQ==", + "node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.2", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.0.1", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.0.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.2", - "@smithy/util-utf8": "^1.0.1", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sso-oidc": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.363.0.tgz", - "integrity": "sha512-V3Ebiq/zNtDS/O92HUWGBa7MY59RYSsqWd+E0XrXv6VYTA00RlMTbNcseivNgp2UghOgB9a20Nkz6EqAeIN+RQ==", + "node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.2", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.2", - "@smithy/protocol-http": "^1.0.1", - "@smithy/smithy-client": "^1.0.3", - "@smithy/types": "^1.0.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.2", - "@smithy/util-utf8": "^1.0.1", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sso-oidc/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1006,94 +3998,58 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/region-config-resolver": { + "version": "3.413.0", + "license": "Apache-2.0", "dependencies": { + "@smithy/node-config-provider": "^2.0.10", + "@smithy/types": "^2.3.1", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sts": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.363.0.tgz", - "integrity": "sha512-0jj14WvBPJQ8xr72cL0mhlmQ90tF0O0wqXwSbtog6PsC8+KDE6Yf+WsxsumyI8E5O8u3eYijBL+KdqG07F/y/w==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/sha256-browser": "3.0.0", - "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/credential-provider-node": "3.363.0", - "@aws-sdk/middleware-host-header": "3.363.0", - "@aws-sdk/middleware-logger": "3.363.0", - "@aws-sdk/middleware-recursion-detection": "3.363.0", - "@aws-sdk/middleware-sdk-sts": "3.363.0", - "@aws-sdk/middleware-signing": "3.363.0", - "@aws-sdk/middleware-user-agent": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@aws-sdk/util-user-agent-browser": "3.363.0", - "@aws-sdk/util-user-agent-node": "3.363.0", - "@smithy/config-resolver": "^1.0.1", - "@smithy/fetch-http-handler": "^1.0.1", - "@smithy/hash-node": "^1.0.1", - "@smithy/invalid-dependency": "^1.0.1", - "@smithy/middleware-content-length": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.1", - "@smithy/middleware-retry": "^1.0.1", - "@smithy/middleware-serde": "^1.0.1", - "@smithy/middleware-stack": "^1.0.1", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/node-http-handler": "^1.0.1", - "@smithy/protocol-http": "^1.1.0", - "@smithy/smithy-client": "^1.0.2", - "@smithy/types": "^1.1.0", - "@smithy/url-parser": "^1.0.1", - "@smithy/util-base64": "^1.0.1", - "@smithy/util-body-length-browser": "^1.0.1", - "@smithy/util-body-length-node": "^1.0.1", - "@smithy/util-defaults-mode-browser": "^1.0.1", - "@smithy/util-defaults-mode-node": "^1.0.1", - "@smithy/util-retry": "^1.0.1", - "@smithy/util-utf8": "^1.0.1", - "fast-xml-parser": "4.2.5", + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-sts/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-cognito-identity": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.363.0.tgz", - "integrity": "sha512-5x42JvqEsBUrm6/qdf0WWe4mlmJjPItxamQhRjuOzeQD/BxsA2W5VS/7n0Ws0e27DNhlnUErcIJd+bBy6j1fqA==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-cognito-identity": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1101,166 +4057,178 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-env": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.363.0.tgz", - "integrity": "sha512-VAQ3zITT2Q0acht0HezouYnMFKZ2vIOa20X4zQA3WI0HfaP4D6ga6KaenbDcb/4VFiqfqiRHfdyXHP0ThcDRMA==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-env/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/region-config-resolver/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "license": "Apache-2.0", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.363.0.tgz", - "integrity": "sha512-ZYN+INoqyX5FVC3rqUxB6O8nOWkr0gHRRBm1suoOlmuFJ/WSlW/uUGthRBY5x1AQQnBF8cpdlxZzGHd41lFVNw==", - "dependencies": { - "@aws-sdk/credential-provider-env": "3.363.0", - "@aws-sdk/credential-provider-process": "3.363.0", - "@aws-sdk/credential-provider-sso": "3.363.0", - "@aws-sdk/credential-provider-web-identity": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", + "node_modules/@aws-sdk/signature-v4-multi-region": { + "version": "3.370.0", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.370.0", + "@smithy/protocol-http": "^1.1.0", + "@smithy/signature-v4": "^1.0.1", "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" + }, + "peerDependencies": { + "@aws-sdk/signature-v4-crt": "^3.118.0" + }, + "peerDependenciesMeta": { + "@aws-sdk/signature-v4-crt": { + "optional": true + } } }, - "node_modules/@aws-sdk/credential-provider-ini/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers": { + "version": "3.413.0", + "license": "Apache-2.0", "dependencies": { + "@aws-crypto/sha256-browser": "3.0.0", + "@aws-crypto/sha256-js": "3.0.0", + "@aws-sdk/middleware-host-header": "3.413.0", + "@aws-sdk/middleware-logger": "3.413.0", + "@aws-sdk/middleware-recursion-detection": "3.413.0", + "@aws-sdk/middleware-user-agent": "3.413.0", + "@aws-sdk/types": "3.413.0", + "@aws-sdk/util-endpoints": "3.413.0", + "@aws-sdk/util-user-agent-browser": "3.413.0", + "@aws-sdk/util-user-agent-node": "3.413.0", + "@smithy/config-resolver": "^2.0.8", + "@smithy/fetch-http-handler": "^2.1.3", + "@smithy/hash-node": "^2.0.7", + "@smithy/invalid-dependency": "^2.0.7", + "@smithy/middleware-content-length": "^2.0.9", + "@smithy/middleware-endpoint": "^2.0.7", + "@smithy/middleware-retry": "^2.0.10", + "@smithy/middleware-serde": "^2.0.7", + "@smithy/middleware-stack": "^2.0.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/node-http-handler": "^2.1.3", + "@smithy/property-provider": "^2.0.0", + "@smithy/protocol-http": "^3.0.3", + "@smithy/shared-ini-file-loader": "^2.0.6", + "@smithy/smithy-client": "^2.1.4", + "@smithy/types": "^2.3.1", + "@smithy/url-parser": "^2.0.7", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-body-length-browser": "^2.0.0", + "@smithy/util-body-length-node": "^2.1.0", + "@smithy/util-defaults-mode-browser": "^2.0.8", + "@smithy/util-defaults-mode-node": "^2.0.10", + "@smithy/util-retry": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-node": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.363.0.tgz", - "integrity": "sha512-C1qXFIN2yMxD6pGgug0vR1UhScOki6VqdzuBHzXZAGu7MOjvgHNdscEcb3CpWnITHaPL2ztkiw75T1sZ7oIgQg==", - "dependencies": { - "@aws-sdk/credential-provider-env": "3.363.0", - "@aws-sdk/credential-provider-ini": "3.363.0", - "@aws-sdk/credential-provider-process": "3.363.0", - "@aws-sdk/credential-provider-sso": "3.363.0", - "@aws-sdk/credential-provider-web-identity": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types": { + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-node/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/abort-controller": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-process": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.363.0.tgz", - "integrity": "sha512-fOKAINU7Rtj2T8pP13GdCt+u0Ml3gYynp8ki+1jMZIQ+Ju/MdDOqZpKMFKicMn3Z1ttUOgqr+grUdus6z8ceBQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/config-resolver": { + "version": "2.0.10", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/types": "^2.3.3", + "@smithy/util-config-provider": "^2.0.0", + "@smithy/util-middleware": "^2.0.2", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-process/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/credential-provider-imds": { + "version": "2.0.12", + "license": "Apache-2.0", "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.363.0.tgz", - "integrity": "sha512-5RUZ5oM0lwZSo3EehT0dXggOjgtxFogpT3cZvoLGtIwrPBvm8jOQPXQUlaqCj10ThF1sYltEyukz/ovtDwYGew==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/fetch-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-sso": "3.363.0", - "@aws-sdk/token-providers": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/hash-node": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { + "@smithy/types": "^2.3.3", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.363.0.tgz", - "integrity": "sha512-Z6w7fjgy79pAax580wdixbStQw10xfyZ+hOYLcPudoYFKjoNx0NQBejg5SwBzCF/HQL23Ksm9kDfbXDX9fkPhA==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/invalid-dependency": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-provider-web-identity/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/is-array-buffer": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1268,275 +4236,238 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-providers": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.363.0.tgz", - "integrity": "sha512-hVa1DdYasnLud2EKjDAlDHiV/+H/Zq52chHU00c/R8XwPu1s0kZX3NMmlt0D2HhYqC1mUwtdmE58Jra2POviQQ==", - "dependencies": { - "@aws-sdk/client-cognito-identity": "3.363.0", - "@aws-sdk/client-sso": "3.363.0", - "@aws-sdk/client-sts": "3.363.0", - "@aws-sdk/credential-provider-cognito-identity": "3.363.0", - "@aws-sdk/credential-provider-env": "3.363.0", - "@aws-sdk/credential-provider-ini": "3.363.0", - "@aws-sdk/credential-provider-node": "3.363.0", - "@aws-sdk/credential-provider-process": "3.363.0", - "@aws-sdk/credential-provider-sso": "3.363.0", - "@aws-sdk/credential-provider-web-identity": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/credential-provider-imds": "^1.0.1", - "@smithy/property-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-content-length": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/protocol-http": "^3.0.5", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/credential-providers/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-endpoint": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { + "@smithy/middleware-serde": "^2.0.9", + "@smithy/types": "^2.3.3", + "@smithy/url-parser": "^2.0.9", + "@smithy/util-middleware": "^2.0.2", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/hash-blob-browser": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/hash-blob-browser/-/hash-blob-browser-3.370.0.tgz", - "integrity": "sha512-DyStaznfloyF9jN3KvG6puOAjt25alXoBNeHBF2FyLlEEbrOqUmso39JB5LVAw2/KB4UmCNsbAXFb6WktX/yHQ==", - "dependencies": { - "@aws-sdk/chunked-blob-reader": "3.310.0", - "@aws-sdk/chunked-blob-reader-native": "3.310.0", - "@aws-sdk/types": "3.370.0", - "tslib": "^2.5.0" - } - }, - "node_modules/@aws-sdk/hash-stream-node": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/hash-stream-node/-/hash-stream-node-3.370.0.tgz", - "integrity": "sha512-ExsbBiIMiL9AN1VpWlD8+xaO5s0cXUZJC2UONiQbgMb1jz7Wq9fa1GmKUDyaGXOuQTT7DDhAmalb9fIpauZKuA==", - "dependencies": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-utf8": "3.310.0", - "tslib": "^2.5.0" + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-retry": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/node-config-provider": "^2.0.12", + "@smithy/protocol-http": "^3.0.5", + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-middleware": "^2.0.2", + "@smithy/util-retry": "^2.0.2", + "tslib": "^2.5.0", + "uuid": "^8.3.2" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/is-array-buffer": { - "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/is-array-buffer/-/is-array-buffer-3.310.0.tgz", - "integrity": "sha512-urnbcCR+h9NWUnmOtet/s4ghvzsidFmspfhYaHAmSRdy9yDjdjBJMFjjsn85A1ODUktztm+cVncXjQ38WCMjMQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-serde": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/lib-storage": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/lib-storage/-/lib-storage-3.370.0.tgz", - "integrity": "sha512-vUdvd8jvusl81A0OdCz3y2E7Nhqwa57cxJviK6P262zqL2Ge5WlfR9djjv78sqdclvm7iXTxj7o1djMu1aScNg==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/middleware-stack": { + "version": "2.0.2", + "license": "Apache-2.0", "dependencies": { - "@smithy/abort-controller": "^1.0.1", - "@smithy/middleware-endpoint": "^1.0.2", - "@smithy/smithy-client": "^1.0.3", - "buffer": "5.6.0", - "events": "3.3.0", - "stream-browserify": "3.0.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" - }, - "peerDependencies": { - "@aws-sdk/client-s3": "^3.0.0" } }, - "node_modules/@aws-sdk/md5-js": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/md5-js/-/md5-js-3.370.0.tgz", - "integrity": "sha512-wch3+hiRdFGsu5E+w3WU9qmumQErKshtgetd6wMgFYm2MPSksFU58rM/aiwiWRA6knpcaShKaPKMmGnuX3HwhQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-utf8": "3.310.0", + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-bucket-endpoint": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.370.0.tgz", - "integrity": "sha512-B36+fOeJVO0D9cjR92Ob6Ki2FTzyTQ/uKk8w+xtur6W6zYVOPU4IQNpNZvN3Ykt4jitR2uUnVSlBb3sXHHhdFA==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/node-http-handler": { + "version": "2.1.5", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-arn-parser": "3.310.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", - "@smithy/util-config-provider": "^1.0.1", + "@smithy/abort-controller": "^2.0.9", + "@smithy/protocol-http": "^3.0.5", + "@smithy/querystring-builder": "^2.0.9", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-expect-continue": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.370.0.tgz", - "integrity": "sha512-OlFIpXa53obLryHyrqedE2Cp8lp2k+1Vjd++hlZFDFJncRlWZMxoXSyl6shQPqhIiGnNW4vt7tG5xE4jg4NAvw==", - "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-flexible-checksums": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.370.0.tgz", - "integrity": "sha512-62fyW4hZxppvkQKSXdkzjHQ95dXyVCuL18Sfnlciy9pr9f/t5w6LhZIxsNIW+Ge9mbgc661SVRKTwxlZj6FuLQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/protocol-http": { + "version": "3.0.5", + "license": "Apache-2.0", "dependencies": { - "@aws-crypto/crc32": "3.0.0", - "@aws-crypto/crc32c": "3.0.0", - "@aws-sdk/types": "3.370.0", - "@smithy/is-array-buffer": "^1.0.1", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", - "@smithy/util-utf8": "^1.0.1", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-host-header": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.363.0.tgz", - "integrity": "sha512-FobpclDCf5Y1ueyJDmb9MqguAdPssNMlnqWQpujhYVABq69KHu73fSCWSauFPUrw7YOpV8kG1uagDF0POSxHzA==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/querystring-builder": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", + "@smithy/util-uri-escape": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-host-header/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/querystring-parser": { + "version": "2.0.9", + "license": "Apache-2.0", "dependencies": { + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-location-constraint": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.370.0.tgz", - "integrity": "sha512-NlDZEbBOF1IN7svUTcjbLodkUctt9zsfDI8+DqNlklRs5lsPb91WYvahOfjFO/EvACixa+a5d3cCumMCaIq4Cw==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/service-error-classification": { + "version": "2.0.2", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/types": "^1.1.0", - "tslib": "^2.5.0" + "@smithy/types": "^2.3.3" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-logger": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.363.0.tgz", - "integrity": "sha512-SSGgthScYnFGTOw8EzbkvquqweFmvn7uJihkpFekbtBNGC/jGOGO+8ziHjTQ8t/iI/YKubEwv+LMi0f77HKSEg==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-logger/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/smithy-client": { + "version": "2.1.6", + "license": "Apache-2.0", "dependencies": { + "@smithy/middleware-stack": "^2.0.2", + "@smithy/types": "^2.3.3", + "@smithy/util-stream": "^2.0.12", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-recursion-detection": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.363.0.tgz", - "integrity": "sha512-MWD/57QgI/N7fG8rtzDTUdSqNpYohQfgj9XCFAoVeI/bU4usrkOrew43L4smJG4XrDxlNT8lSJlDtd64tuiUZA==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-recursion-detection/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/url-parser": { + "version": "2.0.9", + "license": "Apache-2.0", + "dependencies": { + "@smithy/querystring-parser": "^2.0.9", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-base64": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-sdk-s3": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.370.0.tgz", - "integrity": "sha512-DPYXtveWBDS5MzSHWTThg2KkLaOzZkCgPejjEuw3yl4ljsHawDs/ZIVCtmWXlBIS2lLCaBMpCV+t9psuJ/6/zQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-body-length-browser": { + "version": "2.0.0", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.5.0" + } + }, + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-body-length-node": { + "version": "2.1.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@aws-sdk/util-arn-parser": "3.310.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-sdk-sts": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.363.0.tgz", - "integrity": "sha512-1yy2Ac50FO8BrODaw5bPWvVrRhaVLqXTFH6iHB+dJLPUkwtY5zLM3Mp+9Ilm7kME+r7oIB1wuO6ZB1Lf4ZszIw==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-buffer-from": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/middleware-signing": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/types": "^1.1.0", + "@smithy/is-array-buffer": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-sdk-sts/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-config-provider": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1544,127 +4475,117 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-signing": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.363.0.tgz", - "integrity": "sha512-/7qia715pt9JKYIPDGu22WmdZxD8cfF/5xB+1kmILg7ZtjO0pPuTaCNJ7xiIuFd7Dn7JXp5lop08anX/GOhNRQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-defaults-mode-browser": { + "version": "2.0.10", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/protocol-http": "^1.1.0", - "@smithy/signature-v4": "^1.0.1", - "@smithy/types": "^1.1.0", - "@smithy/util-middleware": "^1.0.1", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", + "bowser": "^2.11.0", "tslib": "^2.5.0" }, "engines": { - "node": ">=14.0.0" + "node": ">= 10.0.0" } }, - "node_modules/@aws-sdk/middleware-signing/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", - "dependencies": { + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-defaults-mode-node": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/config-resolver": "^2.0.10", + "@smithy/credential-provider-imds": "^2.0.12", + "@smithy/node-config-provider": "^2.0.12", + "@smithy/property-provider": "^2.0.10", + "@smithy/smithy-client": "^2.1.6", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { - "node": ">=14.0.0" + "node": ">= 10.0.0" } }, - "node_modules/@aws-sdk/middleware-ssec": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-ssec/-/middleware-ssec-3.370.0.tgz", - "integrity": "sha512-NIosfLS7mxCNdGYnuy76W9qP3f3YWVTusUA+uv+s6rnwG+Z2UheXCf1wpnJKzxORA8pioSP7ylZ8w2A0reCgYQ==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-hex-encoding": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-user-agent": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.363.0.tgz", - "integrity": "sha512-ri8YaQvXP6odteVTMfxPqFR26Q0h9ejtqhUDv47P34FaKXedEM4nC6ix6o+5FEYj6l8syGyktftZ5O70NoEhug==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-middleware": { + "version": "2.0.2", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@aws-sdk/util-endpoints": "3.357.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/types": "^1.1.0", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-retry": { + "version": "2.0.2", + "license": "Apache-2.0", "dependencies": { + "@smithy/service-error-classification": "^2.0.2", + "@smithy/types": "^2.3.3", "tslib": "^2.5.0" }, "engines": { - "node": ">=14.0.0" + "node": ">= 14.0.0" } }, - "node_modules/@aws-sdk/signature-v4-multi-region": { - "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.370.0.tgz", - "integrity": "sha512-Q3NQopPDnHbJXMhtYl0Mfy5U2o76K6tzhdnYRcrYImY0ze/zOkCQI7KPC4588PuyvAXCdQ02cmCPPjYD55UeNg==", - "dependencies": { - "@aws-sdk/types": "3.370.0", - "@smithy/protocol-http": "^1.1.0", - "@smithy/signature-v4": "^1.0.1", - "@smithy/types": "^1.1.0", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-stream": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/fetch-http-handler": "^2.1.5", + "@smithy/node-http-handler": "^2.1.5", + "@smithy/types": "^2.3.3", + "@smithy/util-base64": "^2.0.0", + "@smithy/util-buffer-from": "^2.0.0", + "@smithy/util-hex-encoding": "^2.0.0", + "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" - }, - "peerDependencies": { - "@aws-sdk/signature-v4-crt": "^3.118.0" - }, - "peerDependenciesMeta": { - "@aws-sdk/signature-v4-crt": { - "optional": true - } } }, - "node_modules/@aws-sdk/token-providers": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.363.0.tgz", - "integrity": "sha512-6+0aJ1zugNgsMmhTtW2LBWxOVSaXCUk2q3xyTchSXkNzallYaRiZMRkieW+pKNntnu0g5H1T0zyfCO0tbXwxEA==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-uri-escape": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/client-sso-oidc": "3.363.0", - "@aws-sdk/types": "3.357.0", - "@smithy/property-provider": "^1.0.1", - "@smithy/shared-ini-file-loader": "^1.0.1", - "@smithy/types": "^1.1.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/token-providers/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "node_modules/@aws-sdk/token-providers/node_modules/@smithy/util-utf8": { + "version": "2.0.0", + "license": "Apache-2.0", "dependencies": { + "@smithy/util-buffer-from": "^2.0.0", "tslib": "^2.5.0" }, "engines": { "node": ">=14.0.0" } }, + "node_modules/@aws-sdk/token-providers/node_modules/uuid": { + "version": "8.3.2", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@aws-sdk/types": { "version": "3.370.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.370.0.tgz", - "integrity": "sha512-8PGMKklSkRKjunFhzM2y5Jm0H2TBu7YRNISdYzXLUHKSP9zlMEYagseKVdmox0zKHf1LXVNuSlUV2b6SRrieCQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -1675,8 +4596,7 @@ }, "node_modules/@aws-sdk/util-arn-parser": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.310.0.tgz", - "integrity": "sha512-jL8509owp/xB9+Or0pvn3Fe+b94qfklc2yPowZZIFAkFcCSIdkIglz18cPDWnYAcy9JGewpMS1COXKIUhZkJsA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1686,8 +4606,7 @@ }, "node_modules/@aws-sdk/util-base64": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-base64/-/util-base64-3.310.0.tgz", - "integrity": "sha512-v3+HBKQvqgdzcbL+pFswlx5HQsd9L6ZTlyPVL2LS9nNXnCcR3XgGz9jRskikRUuUvUXtkSG1J88GAOnJ/apTPg==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/util-buffer-from": "3.310.0", "tslib": "^2.5.0" @@ -1698,8 +4617,7 @@ }, "node_modules/@aws-sdk/util-buffer-from": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-buffer-from/-/util-buffer-from-3.310.0.tgz", - "integrity": "sha512-i6LVeXFtGih5Zs8enLrt+ExXY92QV25jtEnTKHsmlFqFAuL3VBeod6boeMXkN2p9lbSVVQ1sAOOYZOHYbYkntw==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/is-array-buffer": "3.310.0", "tslib": "^2.5.0" @@ -1709,11 +4627,10 @@ } }, "node_modules/@aws-sdk/util-endpoints": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.357.0.tgz", - "integrity": "sha512-XHKyS5JClT9su9hDif715jpZiWHQF9gKZXER8tW0gOizU3R9cyWc9EsJ2BRhFNhi7nt/JF/CLUEc5qDx3ETbUw==", + "version": "3.413.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", + "@aws-sdk/types": "3.413.0", "tslib": "^2.5.0" }, "engines": { @@ -1721,9 +4638,19 @@ } }, "node_modules/@aws-sdk/util-endpoints/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-endpoints/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1733,8 +4660,7 @@ }, "node_modules/@aws-sdk/util-locate-window": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.310.0.tgz", - "integrity": "sha512-qo2t/vBTnoXpjKxlsC2e1gBrRm80M3bId27r0BRB2VniSSe7bL1mmzM+/HFtujm0iAxtPM+aLEflLJlJeDPg0w==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1743,20 +4669,29 @@ } }, "node_modules/@aws-sdk/util-user-agent-browser": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.363.0.tgz", - "integrity": "sha512-fk9ymBUIYbxiGm99Cn+kAAXmvMCWTf/cHAcB79oCXV4ELXdPa9lN5xQhZRFNxLUeXG4OAMEuCAUUuZEj8Fnc1Q==", + "version": "3.413.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/types": "^1.1.0", + "@aws-sdk/types": "3.413.0", + "@smithy/types": "^2.3.1", "bowser": "^2.11.0", "tslib": "^2.5.0" } }, "node_modules/@aws-sdk/util-user-agent-browser/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-browser/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1765,13 +4700,12 @@ } }, "node_modules/@aws-sdk/util-user-agent-node": { - "version": "3.363.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.363.0.tgz", - "integrity": "sha512-Fli/dvgGA9hdnQUrYb1//wNSFlK2jAfdJcfNXA6SeBYzSeH5pVGYF4kXF0FCdnMA3Fef+Zn1zAP/hw9v8VJHWQ==", + "version": "3.413.0", + "license": "Apache-2.0", "dependencies": { - "@aws-sdk/types": "3.357.0", - "@smithy/node-config-provider": "^1.0.1", - "@smithy/types": "^1.1.0", + "@aws-sdk/types": "3.413.0", + "@smithy/node-config-provider": "^2.0.10", + "@smithy/types": "^2.3.1", "tslib": "^2.5.0" }, "engines": { @@ -1787,9 +4721,54 @@ } }, "node_modules/@aws-sdk/util-user-agent-node/node_modules/@aws-sdk/types": { - "version": "3.357.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.357.0.tgz", - "integrity": "sha512-/riCRaXg3p71BeWnShrai0y0QTdXcouPSM0Cn1olZbzTf7s71aLEewrc96qFrL70XhY4XvnxMpqQh+r43XIL3g==", + "version": "3.413.0", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.1", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/node-config-provider": { + "version": "2.0.12", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^2.0.10", + "@smithy/shared-ini-file-loader": "^2.0.11", + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/property-provider": { + "version": "2.0.10", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/shared-ini-file-loader": { + "version": "2.0.11", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^2.3.3", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@aws-sdk/util-user-agent-node/node_modules/@smithy/types": { + "version": "2.3.3", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1799,8 +4778,7 @@ }, "node_modules/@aws-sdk/util-utf8": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8/-/util-utf8-3.310.0.tgz", - "integrity": "sha512-DnLfFT8uCO22uOJc0pt0DsSNau1GTisngBCDw8jQuWT5CqogMJu4b/uXmwEqfj8B3GX6Xsz8zOd6JpRlPftQoA==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/util-buffer-from": "3.310.0", "tslib": "^2.5.0" @@ -1811,16 +4789,14 @@ }, "node_modules/@aws-sdk/util-utf8-browser": { "version": "3.259.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.259.0.tgz", - "integrity": "sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.3.1" } }, "node_modules/@aws-sdk/xml-builder": { "version": "3.310.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.310.0.tgz", - "integrity": "sha512-TqELu4mOuSIKQCqj63fGVs86Yh+vBx5nHRpWKNUNhB2nPTpfbziTs5c1X358be3peVWA4wPxW7Nt53KIg1tnNw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -1830,8 +4806,7 @@ }, "node_modules/@babel/code-frame": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", - "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", + "license": "MIT", "dependencies": { "@babel/highlight": "^7.22.5" }, @@ -1841,18 +4816,16 @@ }, "node_modules/@babel/compat-data": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.22.6.tgz", - "integrity": "sha512-29tfsWTq2Ftu7MXmimyC0C5FDZv5DYxOZkh3XD3+QW4V/BYuv/LyEsjj3c0hqedEaDt6DBfDvexMKU8YevdqFg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.6.tgz", - "integrity": "sha512-HPIyDa6n+HKw5dEuway3vVAhBboYCtREBMp+IWeseZy6TFtzn6MHkCH2KKYUOC/vKKwgSMHQW4htBOrmuRPXfw==", "dev": true, + "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.22.5", @@ -1880,9 +4853,8 @@ }, "node_modules/@babel/generator": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.5.tgz", - "integrity": "sha512-+lcUbnTRhd0jOewtFSedLyiPsD5tswKkbgcezOqqWFUVNEwoUTlpPOBmvhG7OXWLR4jMdv0czPGH5XbflnD1EA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5", "@jridgewell/gen-mapping": "^0.3.2", @@ -1895,9 +4867,8 @@ }, "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -1909,9 +4880,8 @@ }, "node_modules/@babel/helper-compilation-targets": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.6.tgz", - "integrity": "sha512-534sYEqWD9VfUm3IPn2SLcH4Q3P86XL+QvqdC7ZsFrzyyPF3T4XGiVghF6PTYNdWg6pXuoqXxNQAhbYeEInTzA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/compat-data": "^7.22.6", "@babel/helper-validator-option": "^7.22.5", @@ -1928,18 +4898,16 @@ }, "node_modules/@babel/helper-environment-visitor": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz", - "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", - "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/template": "^7.22.5", "@babel/types": "^7.22.5" @@ -1950,9 +4918,8 @@ }, "node_modules/@babel/helper-hoist-variables": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" }, @@ -1962,9 +4929,8 @@ }, "node_modules/@babel/helper-module-imports": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz", - "integrity": "sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" }, @@ -1974,9 +4940,8 @@ }, "node_modules/@babel/helper-module-transforms": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.22.5.tgz", - "integrity": "sha512-+hGKDt/Ze8GFExiVHno/2dvG5IdstpzCq0y4Qc9OJ25D4q3pKfiIP/4Vp3/JvhDkLKsDK2api3q3fpIgiIF5bw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-environment-visitor": "^7.22.5", "@babel/helper-module-imports": "^7.22.5", @@ -1993,18 +4958,16 @@ }, "node_modules/@babel/helper-plugin-utils": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" }, @@ -2014,9 +4977,8 @@ }, "node_modules/@babel/helper-split-export-declaration": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" }, @@ -2026,35 +4988,31 @@ }, "node_modules/@babel/helper-string-parser": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", - "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz", - "integrity": "sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.22.6.tgz", - "integrity": "sha512-YjDs6y/fVOYFV8hAf1rxd1QvR9wJe1pDBZ2AREKq/SDayfPzgk0PBnVuTCE5X1acEpMMNOVUqoe+OwiZGJ+OaA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/template": "^7.22.5", "@babel/traverse": "^7.22.6", @@ -2066,8 +5024,7 @@ }, "node_modules/@babel/highlight": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", - "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==", + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.22.5", "chalk": "^2.0.0", @@ -2079,8 +5036,7 @@ }, "node_modules/@babel/highlight/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -2090,8 +5046,7 @@ }, "node_modules/@babel/highlight/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -2103,29 +5058,25 @@ }, "node_modules/@babel/highlight/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/@babel/highlight/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "license": "MIT" }, "node_modules/@babel/highlight/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/@babel/highlight/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -2135,9 +5086,8 @@ }, "node_modules/@babel/parser": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.6.tgz", - "integrity": "sha512-EIQu22vNkceq3LbjAq7knDf/UmtI2qbcNI8GRBlijez6TpQLvSodJPYfydQmNA5buwkxxxa/PVI44jjYZ+/cLw==", "dev": true, + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -2147,9 +5097,8 @@ }, "node_modules/@babel/plugin-syntax-async-generators": { "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2159,9 +5108,8 @@ }, "node_modules/@babel/plugin-syntax-bigint": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2171,9 +5119,8 @@ }, "node_modules/@babel/plugin-syntax-class-properties": { "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.12.13" }, @@ -2183,9 +5130,8 @@ }, "node_modules/@babel/plugin-syntax-import-meta": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -2195,9 +5141,8 @@ }, "node_modules/@babel/plugin-syntax-json-strings": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2207,9 +5152,8 @@ }, "node_modules/@babel/plugin-syntax-jsx": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz", - "integrity": "sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -2222,9 +5166,8 @@ }, "node_modules/@babel/plugin-syntax-logical-assignment-operators": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -2234,9 +5177,8 @@ }, "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2246,9 +5188,8 @@ }, "node_modules/@babel/plugin-syntax-numeric-separator": { "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -2258,9 +5199,8 @@ }, "node_modules/@babel/plugin-syntax-object-rest-spread": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2270,9 +5210,8 @@ }, "node_modules/@babel/plugin-syntax-optional-catch-binding": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2282,9 +5221,8 @@ }, "node_modules/@babel/plugin-syntax-optional-chaining": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -2294,9 +5232,8 @@ }, "node_modules/@babel/plugin-syntax-top-level-await": { "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -2309,9 +5246,8 @@ }, "node_modules/@babel/plugin-syntax-typescript": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz", - "integrity": "sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.22.5" }, @@ -2324,9 +5260,8 @@ }, "node_modules/@babel/template": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.22.5", "@babel/parser": "^7.22.5", @@ -2338,9 +5273,8 @@ }, "node_modules/@babel/traverse": { "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.6.tgz", - "integrity": "sha512-53CijMvKlLIDlOTrdWiHileRddlIiwUIyCKqYa7lYnnPldXCG5dUSN38uT0cA6i7rHWNKJLH0VU/Kxdr1GzB3w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.22.5", "@babel/generator": "^7.22.5", @@ -2359,18 +5293,16 @@ }, "node_modules/@babel/traverse/node_modules/globals": { "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/@babel/types": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", - "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.22.5", "@babel/helper-validator-identifier": "^7.22.5", @@ -2382,22 +5314,19 @@ }, "node_modules/@bcoe/v8-coverage": { "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@bugsnag/browser": { "version": "7.20.2", - "resolved": "https://registry.npmjs.org/@bugsnag/browser/-/browser-7.20.2.tgz", - "integrity": "sha512-4J4s53ZpYr3hHA+QjxUjOI6U+A8+XuUVH45UshE87Jp2Y4mV8ML2DovejqJS8J8yjdbnh2z1Wtg/v3WUNt4ayQ==", + "license": "MIT", "dependencies": { "@bugsnag/core": "^7.19.0" } }, "node_modules/@bugsnag/core": { "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@bugsnag/core/-/core-7.19.0.tgz", - "integrity": "sha512-2KGwdaLD9PhR7Wk7xPi3jGuGsKTatc/28U4TOZIDU3CgC2QhGjubwiXSECel5gwxhZ3jACKcMKSV2ovHhv1NrA==", + "license": "MIT", "dependencies": { "@bugsnag/cuid": "^3.0.0", "@bugsnag/safe-json-stringify": "^6.0.0", @@ -2408,13 +5337,11 @@ }, "node_modules/@bugsnag/cuid": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@bugsnag/cuid/-/cuid-3.0.2.tgz", - "integrity": "sha512-cIwzC93r3PQ/INeuwtZwkZIG2K8WWN0rRLZQhu+mr48Ay+i6sEki4GYfTsflse7hZ1BeDWrNb/Q9vgY3B31xHQ==" + "license": "MIT" }, "node_modules/@bugsnag/js": { "version": "7.20.2", - "resolved": "https://registry.npmjs.org/@bugsnag/js/-/js-7.20.2.tgz", - "integrity": "sha512-Q08k0h0h6NFwFGkFmib39Uln2WpvJdqT1EGF1JlyYiGW03Y+VopVb9r37pZrRrN9IY08mxaIEO8la5xeaWAs6A==", + "license": "MIT", "dependencies": { "@bugsnag/browser": "^7.20.2", "@bugsnag/node": "^7.19.0" @@ -2422,8 +5349,7 @@ }, "node_modules/@bugsnag/node": { "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@bugsnag/node/-/node-7.19.0.tgz", - "integrity": "sha512-c4snyxx5d/fsMogmgehFBGc//daH6+4XCplia4zrEQYltjaQ+l8ud0dPx623DgJl/2j1+2zlRc7y7IHSd7Gm5w==", + "license": "MIT", "dependencies": { "@bugsnag/core": "^7.19.0", "byline": "^5.0.0", @@ -2435,22 +5361,19 @@ }, "node_modules/@bugsnag/safe-json-stringify": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@bugsnag/safe-json-stringify/-/safe-json-stringify-6.0.0.tgz", - "integrity": "sha512-htzFO1Zc57S8kgdRK9mLcPVTW1BY2ijfH7Dk2CeZmspTWKdKqSo1iwmqrq2WtRjFlo8aRZYgLX0wFrDXF/9DLA==" + "license": "MIT" }, "node_modules/@colors/colors": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "license": "MIT", "engines": { "node": ">=0.1.90" } }, "node_modules/@commitlint/cli": { "version": "17.6.6", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-17.6.6.tgz", - "integrity": "sha512-sTKpr2i/Fjs9OmhU+beBxjPavpnLSqZaO6CzwKVq2Tc4UYVTMFgpKOslDhUBVlfAUBfjVO8ParxC/MXkIOevEA==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/format": "^17.4.4", "@commitlint/lint": "^17.6.6", @@ -2472,9 +5395,8 @@ }, "node_modules/@commitlint/config-conventional": { "version": "17.6.5", - "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-17.6.5.tgz", - "integrity": "sha512-Xl9H9KLl86NZm5CYNTNF9dcz1xelE/EbvhWIWcYxG/rn3UWYWdWmmnX2q6ZduNdLFSGbOxzUpIx61j5zxbeXxg==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog-conventionalcommits": "^5.0.0" }, @@ -2484,9 +5406,8 @@ }, "node_modules/@commitlint/config-conventional/node_modules/conventional-changelog-conventionalcommits": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz", - "integrity": "sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0", "lodash": "^4.17.15", @@ -2498,9 +5419,8 @@ }, "node_modules/@commitlint/config-validator": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-17.4.4.tgz", - "integrity": "sha512-bi0+TstqMiqoBAQDvdEP4AFh0GaKyLFlPPEObgI29utoKEYoPQTvF0EYqIwYYLEoJYhj5GfMIhPHJkTJhagfeg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "ajv": "^8.11.0" @@ -2511,9 +5431,8 @@ }, "node_modules/@commitlint/ensure": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-17.4.4.tgz", - "integrity": "sha512-AHsFCNh8hbhJiuZ2qHv/m59W/GRE9UeOXbkOqxYMNNg9pJ7qELnFcwj5oYpa6vzTSHtPGKf3C2yUFNy1GGHq6g==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "lodash.camelcase": "^4.3.0", @@ -2528,18 +5447,16 @@ }, "node_modules/@commitlint/execute-rule": { "version": "17.4.0", - "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-17.4.0.tgz", - "integrity": "sha512-LIgYXuCSO5Gvtc0t9bebAMSwd68ewzmqLypqI2Kke1rqOqqDbMpYcYfoPfFlv9eyLIh4jocHWwCK5FS7z9icUA==", "dev": true, + "license": "MIT", "engines": { "node": ">=v14" } }, "node_modules/@commitlint/format": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-17.4.4.tgz", - "integrity": "sha512-+IS7vpC4Gd/x+uyQPTAt3hXs5NxnkqAZ3aqrHd5Bx/R9skyCAWusNlNbw3InDbAK6j166D9asQM8fnmYIa+CXQ==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "chalk": "^4.1.0" @@ -2550,9 +5467,8 @@ }, "node_modules/@commitlint/is-ignored": { "version": "17.6.6", - "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-17.6.6.tgz", - "integrity": "sha512-4Fw875faAKO+2nILC04yW/2Vy/wlV3BOYCSQ4CEFzriPEprc1Td2LILmqmft6PDEK5Sr14dT9tEzeaZj0V56Gg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "semver": "7.5.2" @@ -2563,9 +5479,8 @@ }, "node_modules/@commitlint/is-ignored/node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -2575,9 +5490,8 @@ }, "node_modules/@commitlint/is-ignored/node_modules/semver": { "version": "7.5.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.2.tgz", - "integrity": "sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -2590,15 +5504,13 @@ }, "node_modules/@commitlint/is-ignored/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/@commitlint/lint": { "version": "17.6.6", - "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-17.6.6.tgz", - "integrity": "sha512-5bN+dnHcRLkTvwCHYMS7Xpbr+9uNi0Kq5NR3v4+oPNx6pYXt8ACuw9luhM/yMgHYwW0ajIR20wkPAFkZLEMGmg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/is-ignored": "^17.6.6", "@commitlint/parse": "^17.6.5", @@ -2611,9 +5523,8 @@ }, "node_modules/@commitlint/load": { "version": "17.5.0", - "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-17.5.0.tgz", - "integrity": "sha512-l+4W8Sx4CD5rYFsrhHH8HP01/8jEP7kKf33Xlx2Uk2out/UKoKPYMOIRcDH5ppT8UXLMV+x6Wm5osdRKKgaD1Q==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/config-validator": "^17.4.4", "@commitlint/execute-rule": "^17.4.0", @@ -2636,18 +5547,16 @@ }, "node_modules/@commitlint/message": { "version": "17.4.2", - "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-17.4.2.tgz", - "integrity": "sha512-3XMNbzB+3bhKA1hSAWPCQA3lNxR4zaeQAQcHj0Hx5sVdO6ryXtgUBGGv+1ZCLMgAPRixuc6en+iNAzZ4NzAa8Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=v14" } }, "node_modules/@commitlint/parse": { "version": "17.6.5", - "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-17.6.5.tgz", - "integrity": "sha512-0zle3bcn1Hevw5Jqpz/FzEWNo2KIzUbc1XyGg6WrWEoa6GH3A1pbqNF6MvE6rjuy6OY23c8stWnb4ETRZyN+Yw==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^17.4.4", "conventional-changelog-angular": "^5.0.11", @@ -2659,9 +5568,8 @@ }, "node_modules/@commitlint/read": { "version": "17.5.1", - "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-17.5.1.tgz", - "integrity": "sha512-7IhfvEvB//p9aYW09YVclHbdf1u7g7QhxeYW9ZHSO8Huzp8Rz7m05aCO1mFG7G8M+7yfFnXB5xOmG18brqQIBg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/top-level": "^17.4.0", "@commitlint/types": "^17.4.4", @@ -2675,9 +5583,8 @@ }, "node_modules/@commitlint/read/node_modules/fs-extra": { "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -2689,9 +5596,8 @@ }, "node_modules/@commitlint/resolve-extends": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-17.4.4.tgz", - "integrity": "sha512-znXr1S0Rr8adInptHw0JeLgumS11lWbk5xAWFVno+HUFVN45875kUtqjrI6AppmD3JI+4s0uZlqqlkepjJd99A==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/config-validator": "^17.4.4", "@commitlint/types": "^17.4.4", @@ -2706,9 +5612,8 @@ }, "node_modules/@commitlint/rules": { "version": "17.6.5", - "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-17.6.5.tgz", - "integrity": "sha512-uTB3zSmnPyW2qQQH+Dbq2rekjlWRtyrjDo4aLFe63uteandgkI+cc0NhhbBAzcXShzVk0qqp8SlkQMu0mgHg/A==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/ensure": "^17.4.4", "@commitlint/message": "^17.4.2", @@ -2722,18 +5627,16 @@ }, "node_modules/@commitlint/to-lines": { "version": "17.4.0", - "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-17.4.0.tgz", - "integrity": "sha512-LcIy/6ZZolsfwDUWfN1mJ+co09soSuNASfKEU5sCmgFCvX5iHwRYLiIuoqXzOVDYOy7E7IcHilr/KS0e5T+0Hg==", "dev": true, + "license": "MIT", "engines": { "node": ">=v14" } }, "node_modules/@commitlint/top-level": { "version": "17.4.0", - "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-17.4.0.tgz", - "integrity": "sha512-/1loE/g+dTTQgHnjoCy0AexKAEFyHsR2zRB4NWrZ6lZSMIxAhBJnmCqwao7b4H8888PsfoTBCLBYIw8vGnej8g==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^5.0.0" }, @@ -2743,9 +5646,8 @@ }, "node_modules/@commitlint/types": { "version": "17.4.4", - "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-17.4.4.tgz", - "integrity": "sha512-amRN8tRLYOsxRr6mTnGGGvB5EmW/4DDjLMgiwK3CCVEmN6Sr/6xePGEpWaspKkckILuUORCwe6VfDBw6uj4axQ==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.0" }, @@ -2755,9 +5657,8 @@ }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.9" }, @@ -2767,9 +5668,8 @@ }, "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { "version": "0.3.9", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" @@ -2777,8 +5677,7 @@ }, "node_modules/@dabh/diagnostics": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", - "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", + "license": "MIT", "dependencies": { "colorspace": "1.1.x", "enabled": "2.0.x", @@ -2787,9 +5686,8 @@ }, "node_modules/@datadog/pprof": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@datadog/pprof/-/pprof-3.1.0.tgz", - "integrity": "sha512-Bg8O8yrHeL2KKHXhLoAAT33ZfzLnZ6rWfOjy8PkcNhUJy3UwNVLbUoApf+99EyLjqpzpk/kZXrIAMBzMMB8ilg==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "delay": "^5.0.0", "node-gyp-build": "<4.0", @@ -2803,17 +5701,15 @@ }, "node_modules/@datadog/pprof/node_modules/source-map": { "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "license": "BSD-3-Clause", "engines": { "node": ">= 8" } }, "node_modules/@dependents/detective-less": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@dependents/detective-less/-/detective-less-3.0.1.tgz", - "integrity": "sha512-NjjCPJbx/za2287T6gnC5zD2IFSplro1evaTV9yvx3jnPpHi7s8PwJvh9vvJRFnMx5nbakodwNOnFvk8+9YQTg==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^5.0.0" @@ -2824,9 +5720,8 @@ }, "node_modules/@dependents/detective-less/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -2836,9 +5731,8 @@ }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@digitalroute/cz-conventional-changelog-for-jira/-/cz-conventional-changelog-for-jira-8.0.1.tgz", - "integrity": "sha512-I7uNQ2R5LnDYVhQ01sfNvaxqe1PutXyDl8Kltj4L8uDa1LTYqQgWWp3yEj3XYDNjhUjsAheHW0lsmF1oiAjWVg==", "dev": true, + "license": "MIT", "dependencies": { "boxen": "^5.1.2", "chalk": "^2.4.1", @@ -2859,9 +5753,8 @@ }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -2871,9 +5764,8 @@ }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -2885,33 +5777,29 @@ }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/@digitalroute/cz-conventional-changelog-for-jira/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -2921,9 +5809,8 @@ }, "node_modules/@eslint-community/eslint-utils": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.3.0.tgz", - "integrity": "sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==", "dev": true, + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^3.3.0" }, @@ -2936,18 +5823,16 @@ }, "node_modules/@eslint-community/regexpp": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.4.0.tgz", - "integrity": "sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, "node_modules/@eslint/eslintrc": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", - "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -2968,9 +5853,8 @@ }, "node_modules/@eslint/eslintrc/node_modules/ajv": { "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -2984,45 +5868,38 @@ }, "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@eslint/js": { "version": "8.41.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.41.0.tgz", - "integrity": "sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@ewoudenberg/difflib": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@ewoudenberg/difflib/-/difflib-0.1.0.tgz", - "integrity": "sha512-OU5P5mJyD3OoWYMWY+yIgwvgNS9cFAU10f+DDuvtogcWQOoJIsQ4Hy2McSfUfhKjq8L0FuWVb4Rt7kgA+XK86A==", "dependencies": { "heap": ">= 0.2.0" } }, "node_modules/@hapi/hoek": { "version": "9.3.0", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==" + "license": "BSD-3-Clause" }, "node_modules/@hapi/topo": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", - "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", @@ -3034,9 +5911,8 @@ }, "node_modules/@humanwhocodes/module-importer": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=12.22" }, @@ -3047,29 +5923,25 @@ }, "node_modules/@humanwhocodes/object-schema": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/@hutson/parse-repository-url": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", - "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=6.9.0" } }, "node_modules/@ioredis/commands": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.2.0.tgz", - "integrity": "sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==" + "license": "MIT" }, "node_modules/@isaacs/cliui": { "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", @@ -3084,9 +5956,8 @@ }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -3096,9 +5967,8 @@ }, "node_modules/@isaacs/cliui/node_modules/ansi-styles": { "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -3108,9 +5978,8 @@ }, "node_modules/@isaacs/cliui/node_modules/string-width": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, + "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -3125,9 +5994,8 @@ }, "node_modules/@isaacs/cliui/node_modules/strip-ansi": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -3140,9 +6008,8 @@ }, "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", @@ -3157,9 +6024,8 @@ }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", "dev": true, + "license": "ISC", "dependencies": { "camelcase": "^5.3.1", "find-up": "^4.1.0", @@ -3173,18 +6039,16 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } }, "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -3195,9 +6059,8 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -3208,9 +6071,8 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -3220,9 +6082,8 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -3235,9 +6096,8 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -3247,18 +6107,16 @@ }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/@jest/console": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.6.0.tgz", - "integrity": "sha512-anb6L1yg7uPQpytNVA5skRaXy3BmrsU8icRhTVNbWdjYWDDfy8M1Kq5HIVRpYoABdbpqsc5Dr+jtu4+qWRQBiQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@types/node": "*", @@ -3273,9 +6131,8 @@ }, "node_modules/@jest/core": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.6.0.tgz", - "integrity": "sha512-5dbMHfY/5R9m8NbgmB3JlxQqooZ/ooPSOiwEQZZ+HODwJTbIu37seVcZNBK29aMdXtjvTRB3f6LCvkKq+r8uQA==", "dev": true, + "license": "MIT", "dependencies": { "@jest/console": "^29.6.0", "@jest/reporters": "^29.6.0", @@ -3320,9 +6177,8 @@ }, "node_modules/@jest/environment": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.6.0.tgz", - "integrity": "sha512-bUZLYUxYlUIsslBbxII0fq0kr1+friI3Gty+cRLmocGB1jdcAHs7FS8QdCDqedE8q4DZE1g/AJHH6OJZBLGGsg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/fake-timers": "^29.6.0", "@jest/types": "^29.6.0", @@ -3335,9 +6191,8 @@ }, "node_modules/@jest/expect": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.6.0.tgz", - "integrity": "sha512-a7pISPW28Q3c0/pLwz4mQ6tbAI+hc8/0CJp9ix6e9U4dQ6TiHQX82CT5DV5BMWaw8bFH4E6zsfZxXdn6Ka23Bw==", "dev": true, + "license": "MIT", "dependencies": { "expect": "^29.6.0", "jest-snapshot": "^29.6.0" @@ -3348,9 +6203,8 @@ }, "node_modules/@jest/expect-utils": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.6.0.tgz", - "integrity": "sha512-LLSQQN7oypMSETKoPWpsWYVKJd9LQWmSDDAc4hUQ4JocVC7LAMy9R3ZMhlnLwbcFvQORZnZR7HM893Px6cJhvA==", "dev": true, + "license": "MIT", "dependencies": { "jest-get-type": "^29.4.3" }, @@ -3360,9 +6214,8 @@ }, "node_modules/@jest/fake-timers": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.6.0.tgz", - "integrity": "sha512-nuCU46AsZoskthWSDS2Aj6LARgyNcp5Fjx2qxsO/fPl1Wp1CJ+dBDqs0OkEcJK8FBeV/MbjH5efe79M2sHcV+A==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@sinonjs/fake-timers": "^10.0.2", @@ -3377,9 +6230,8 @@ }, "node_modules/@jest/globals": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.6.0.tgz", - "integrity": "sha512-IQQ3hZ2D/hwEwXSMv5GbfhzdH0nTQR3KPYxnuW6gYWbd6+7/zgMz7Okn6EgBbNtJNONq03k5EKA6HqGyzRbpeg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.6.0", "@jest/expect": "^29.6.0", @@ -3392,9 +6244,8 @@ }, "node_modules/@jest/reporters": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.6.0.tgz", - "integrity": "sha512-dWEq4HI0VvHcAD6XTtyBKKARLytyyWPIy1SvGOcU91106MfvHPdxZgupFwVHd8TFpZPpA3SebYjtwS5BUS76Rw==", "dev": true, + "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^0.2.3", "@jest/console": "^29.6.0", @@ -3435,9 +6286,8 @@ }, "node_modules/@jest/reporters/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -3455,9 +6305,8 @@ }, "node_modules/@jest/schemas": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.0.tgz", - "integrity": "sha512-rxLjXyJBTL4LQeJW3aKo0M/+GkCOXsO+8i9Iu7eDb6KwtP65ayoDsitrdPBtujxQ88k4wI2FNYfa6TOGwSn6cQ==", "dev": true, + "license": "MIT", "dependencies": { "@sinclair/typebox": "^0.27.8" }, @@ -3467,9 +6316,8 @@ }, "node_modules/@jest/source-map": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.0.tgz", - "integrity": "sha512-oA+I2SHHQGxDCZpbrsCQSoMLb3Bz547JnM+jUr9qEbuw0vQlWZfpPS7CO9J7XiwKicEz9OFn/IYoLkkiUD7bzA==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "^0.3.18", "callsites": "^3.0.0", @@ -3481,9 +6329,8 @@ }, "node_modules/@jest/test-result": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.6.0.tgz", - "integrity": "sha512-9qLb7xITeyWhM4yatn2muqfomuoCTOhv0QV9i7XiIyYi3QLfnvPv5NeJp5u0PZeutAOROMLKakOkmoAisOr3YQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/console": "^29.6.0", "@jest/types": "^29.6.0", @@ -3496,9 +6343,8 @@ }, "node_modules/@jest/test-sequencer": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.6.0.tgz", - "integrity": "sha512-HYCS3LKRQotKWj2mnA3AN13PPevYZu8MJKm12lzYojpJNnn6kI/3PWmr1At/e3tUu+FHQDiOyaDVuR4EV3ezBw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/test-result": "^29.6.0", "graceful-fs": "^4.2.9", @@ -3511,9 +6357,8 @@ }, "node_modules/@jest/transform": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.6.0.tgz", - "integrity": "sha512-bhP/KxPo3e322FJ0nKAcb6WVK76ZYyQd1lWygJzoSqP8SYMSLdxHqP4wnPTI4WvbB8PKPDV30y5y7Tya4RHOBA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", "@jest/types": "^29.6.0", @@ -3537,15 +6382,13 @@ }, "node_modules/@jest/transform/node_modules/convert-source-map": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jest/transform/node_modules/write-file-atomic": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "signal-exit": "^3.0.7" @@ -3556,9 +6399,8 @@ }, "node_modules/@jest/types": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.0.tgz", - "integrity": "sha512-8XCgL9JhqbJTFnMRjEAO+TuW251+MoMd5BSzLiE3vvzpQ8RlBxy8NoyNkDhs3K3OL3HeVinlOl9or5p7GTeOLg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.0", "@types/istanbul-lib-coverage": "^2.0.0", @@ -3573,9 +6415,8 @@ }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.0.0", "@jridgewell/sourcemap-codec": "^1.4.10" @@ -3586,33 +6427,29 @@ }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.18", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", - "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "3.1.0", "@jridgewell/sourcemap-codec": "1.4.14" @@ -3620,14 +6457,12 @@ }, "node_modules/@jsdevtools/ono": { "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", - "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@koa/router": { "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@koa/router/-/router-12.0.0.tgz", - "integrity": "sha512-cnnxeKHXlt7XARJptflGURdJaO+ITpNkOHmQu7NHmCoRinPbyvFzce/EG/E8Zy81yQ1W9MoSdtklc3nyaDReUw==", + "license": "MIT", "dependencies": { "http-errors": "^2.0.0", "koa-compose": "^4.1.0", @@ -3640,8 +6475,7 @@ }, "node_modules/@koa/router/node_modules/http-errors": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", @@ -3655,16 +6489,14 @@ }, "node_modules/@koa/router/node_modules/statuses": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/@mapbox/node-pre-gyp": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz", - "integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==", + "license": "BSD-3-Clause", "dependencies": { "detect-libc": "^2.0.0", "https-proxy-agent": "^5.0.0", @@ -3682,23 +6514,20 @@ }, "node_modules/@ndhoule/extend": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@ndhoule/extend/-/extend-2.0.0.tgz", - "integrity": "sha512-xb77tVVGDGwjy25a6RmBiiBQ9uvxhkG0OEpVkQ74oNFsy9u+4PGp5BIIblmJZmJBMgXiKxZtkr4GcmHCNVubBQ==" + "license": "MIT" }, "node_modules/@nicolo-ribaudo/semver-v6": { "version": "6.3.3", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz", - "integrity": "sha512-3Yc1fUTs69MG/uZbJlLSI3JISMn2UV2rg+1D/vROUqZyh3l6iYHCs7GMp+M40ZD7yOdDbYjJcU1oTJhrc+dGKg==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -3709,18 +6538,16 @@ }, "node_modules/@nodelib/fs.stat": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "dev": true, + "license": "MIT", "engines": { "node": ">= 8" } }, "node_modules/@nodelib/fs.walk": { "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -3731,9 +6558,8 @@ }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", "dev": true, + "license": "MIT", "optional": true, "engines": { "node": ">=14" @@ -3741,28 +6567,23 @@ }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/base64": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/codegen": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/eventemitter": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/fetch": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "license": "BSD-3-Clause", "dependencies": { "@protobufjs/aspromise": "^1.1.1", "@protobufjs/inquire": "^1.1.0" @@ -3770,33 +6591,27 @@ }, "node_modules/@protobufjs/float": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/inquire": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/path": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/pool": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" + "license": "BSD-3-Clause" }, "node_modules/@protobufjs/utf8": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" + "license": "BSD-3-Clause" }, "node_modules/@pyroscope/nodejs": { "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@pyroscope/nodejs/-/nodejs-0.2.6.tgz", - "integrity": "sha512-F37ROH//HzO7zKm2S7CtNG8OAp+i4ADg4erQR9D57BrSgi8+3Jjp5s5PWqyJABC6IzsABgGrentPobBDr8QdsA==", + "license": "Apache-2.0", "dependencies": { "axios": "^0.26.1", "debug": "^4.3.3", @@ -3811,29 +6626,25 @@ }, "node_modules/@pyroscope/nodejs/node_modules/axios": { "version": "0.26.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", - "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "license": "MIT", "dependencies": { "follow-redirects": "^1.14.8" } }, "node_modules/@pyroscope/nodejs/node_modules/source-map": { "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "license": "BSD-3-Clause", "engines": { "node": ">= 8" } }, "node_modules/@rudderstack/json-template-engine": { "version": "0.5.5", - "resolved": "https://registry.npmjs.org/@rudderstack/json-template-engine/-/json-template-engine-0.5.5.tgz", - "integrity": "sha512-p3HdTqgZiJjjZmjaHN2paa1e87ifGE5UjkA4zdvge4bBzJbKKMQNWqRg6I96SwoA+hsxNkW/f9R83SPLU9t7LA==" + "license": "MIT" }, "node_modules/@rudderstack/workflow-engine": { "version": "0.5.7", - "resolved": "https://registry.npmjs.org/@rudderstack/workflow-engine/-/workflow-engine-0.5.7.tgz", - "integrity": "sha512-qR4eSiSFgYdOMtldR0rJ5kLGiTfnyufDfkMHNXFybxPb3jpjxBEGapj2lRiiTiRPgSUef7vuKyJ8BzY/VR4noA==", + "license": "MIT", "dependencies": { "@aws-crypto/sha256-js": "^4.0.0", "@rudderstack/json-template-engine": "^0.5.5", @@ -3845,8 +6656,7 @@ }, "node_modules/@rudderstack/workflow-engine/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==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/util": "^4.0.0", "@aws-sdk/types": "^3.222.0", @@ -3855,8 +6665,7 @@ }, "node_modules/@rudderstack/workflow-engine/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==", + "license": "Apache-2.0", "dependencies": { "@aws-sdk/types": "^3.222.0", "@aws-sdk/util-utf8-browser": "^3.0.0", @@ -3865,64 +6674,55 @@ }, "node_modules/@rudderstack/workflow-engine/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + "license": "0BSD" }, "node_modules/@sideway/address": { "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", - "integrity": "sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } }, "node_modules/@sideway/formula": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==" + "license": "BSD-3-Clause" }, "node_modules/@sideway/pinpoint": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" + "license": "BSD-3-Clause" }, "node_modules/@sinclair/typebox": { "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@sindresorhus/is": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.7.0.tgz", - "integrity": "sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/@sinonjs/commons": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" } }, "node_modules/@sinonjs/fake-timers": { "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.0" } }, "node_modules/@smithy/abort-controller": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-1.0.1.tgz", - "integrity": "sha512-An6irzp9NCji2JtJHhrEFlDbxLwHd6c6Y9fq3ZeomyUR8BIXlGXVTxsemUSZVVgOq3166iYbYs/CrPAmgRSFLw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -3933,8 +6733,7 @@ }, "node_modules/@smithy/config-resolver": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-1.0.1.tgz", - "integrity": "sha512-quj0xUiEVG/UHfY82EtthR/+S5/17p3IxXArC3NFSNqryMobWbG9oWgJy2s2cgUSVZLzxevjKKvxrilK7JEDaA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "@smithy/util-config-provider": "^1.0.1", @@ -3947,8 +6746,7 @@ }, "node_modules/@smithy/credential-provider-imds": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-1.0.1.tgz", - "integrity": "sha512-hkRJoxVCh4CEt1zYOBElE+G/MV6lyx3g68hSJpesM4pwMT/bzEVo5E5XzXY+6dVq8yszeatWKbFuqCCBQte8tg==", + "license": "Apache-2.0", "dependencies": { "@smithy/node-config-provider": "^1.0.1", "@smithy/property-provider": "^1.0.1", @@ -3962,8 +6760,7 @@ }, "node_modules/@smithy/eventstream-codec": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-1.0.1.tgz", - "integrity": "sha512-cpcTXQEOEs2wEvIyxW/iTHJ2m0RVqoEOTjjWEXD6SY8Gcs3FCFP6E8MXadC098tdH5ctMIUXc8POXyMpxzGnjw==", + "license": "Apache-2.0", "dependencies": { "@aws-crypto/crc32": "3.0.0", "@smithy/types": "^1.1.0", @@ -3973,8 +6770,7 @@ }, "node_modules/@smithy/eventstream-serde-browser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-1.0.1.tgz", - "integrity": "sha512-oc8vxe+AU2RzvXH/Ehh0TzM/Nsw3I3ywu7V3qaCzqdkBIntAwK9JGZqcSDsqTK0WxZKBRgFIEwopcuZ2slVnFQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/eventstream-serde-universal": "^1.0.1", "@smithy/types": "^1.1.0", @@ -3986,8 +6782,7 @@ }, "node_modules/@smithy/eventstream-serde-config-resolver": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-1.0.1.tgz", - "integrity": "sha512-TJwaXima0djnNY819utO1j93qZHaheFH1bhHxBkMrImtEOuXY48Tjma/L2m8swkIq8dy8jFC9hrYOkD0eYHkFA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -3998,8 +6793,7 @@ }, "node_modules/@smithy/eventstream-serde-node": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-1.0.1.tgz", - "integrity": "sha512-JEj8w7IRs4l+kcwKxbv3pNuu8n7ORC4pMFrIOrM4rERzrRnI7vMNTRzvAPGYA53rqm/Y9tBA9dw4C+H6hLXcsA==", + "license": "Apache-2.0", "dependencies": { "@smithy/eventstream-serde-universal": "^1.0.1", "@smithy/types": "^1.1.0", @@ -4011,8 +6805,7 @@ }, "node_modules/@smithy/eventstream-serde-universal": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-1.0.1.tgz", - "integrity": "sha512-c6m9DH7m6D2S93dof4wSxysaGSQdauO20TNcSePzrgHd4rkTnz5pqZ1a7Pt22q2SKf09SvTugq5cV2Sy4r8zHw==", + "license": "Apache-2.0", "dependencies": { "@smithy/eventstream-codec": "^1.0.1", "@smithy/types": "^1.1.0", @@ -4024,8 +6817,7 @@ }, "node_modules/@smithy/fetch-http-handler": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-1.0.1.tgz", - "integrity": "sha512-/e2A8eOMk4FVZBQ0o6uF/ttLtFZcmsK5MIwDu1UE3crM4pCAIP19Ul8U9rdLlHhIu81X4AcJmSw55RDSpVRL/w==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^1.1.0", "@smithy/querystring-builder": "^1.0.1", @@ -4036,8 +6828,7 @@ }, "node_modules/@smithy/hash-node": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-1.0.1.tgz", - "integrity": "sha512-eCz08BySBcOjVObjbRAS/XMKUGY4ujnuS+GoWeEpzpCSKDnO8/YQ0rStRt4C0llRmhApizYc1tK9DiJwfvXcBg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "@smithy/util-buffer-from": "^1.0.1", @@ -4050,8 +6841,7 @@ }, "node_modules/@smithy/invalid-dependency": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-1.0.1.tgz", - "integrity": "sha512-kib63GFlAzRn/wf8M0cRWrZA1cyOy5IvpTkLavCY782DPFMP0EaEeD6VrlNIOvD6ncf7uCJ68HqckhwK1qLT3g==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -4059,8 +6849,7 @@ }, "node_modules/@smithy/is-array-buffer": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-1.0.1.tgz", - "integrity": "sha512-fHSTW70gANnzPYWNDcWkPXpp+QMbHhKozbQm/+Denkhp4gwSiPuAovWZRpJa9sXO+Q4dOnNzYN2max1vTCEroA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4070,8 +6859,7 @@ }, "node_modules/@smithy/middleware-content-length": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-1.0.1.tgz", - "integrity": "sha512-vWWigayk5i2cFp9xPX5vdzHyK+P0t/xZ3Ovp4Ss+c8JQ1Hlq2kpJZVWtTKsmdfND5rVo5lu0kD5wgAMUCcmuhw==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^1.1.0", "@smithy/types": "^1.1.0", @@ -4083,8 +6871,7 @@ }, "node_modules/@smithy/middleware-endpoint": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-1.0.2.tgz", - "integrity": "sha512-F3CyXgjtDI4quGFkDmVNytt6KMwlzzeMxtopk6Edue4uKdKcMC1vUmoRS5xTbFzKDDp4XwpnEV7FshPaL3eCPw==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-serde": "^1.0.1", "@smithy/types": "^1.1.0", @@ -4098,8 +6885,7 @@ }, "node_modules/@smithy/middleware-retry": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-1.0.3.tgz", - "integrity": "sha512-ZRsjG8adtxQ456FULPqPFmWtrW44Fq8IgdQvQB+rC2RSho3OUzS+TiEIwb5Zs6rf2IoewITKtfdtsUZcxXO0ng==", + "license": "Apache-2.0", "dependencies": { "@smithy/protocol-http": "^1.1.0", "@smithy/service-error-classification": "^1.0.2", @@ -4115,16 +6901,14 @@ }, "node_modules/@smithy/middleware-retry/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/@smithy/middleware-serde": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-1.0.1.tgz", - "integrity": "sha512-bn5lWk8UUeXFCQfkrNErz5SbeNd+2hgYegHMLsOLPt4URDIsyREar6wMsdsR+8UCdgR5s8udG3Zalgc7puizIQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -4135,8 +6919,7 @@ }, "node_modules/@smithy/middleware-stack": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-1.0.1.tgz", - "integrity": "sha512-T6+gsAO1JYamOJqmORCrByDeQ/NB+ggjHb33UDOgdX4xIjXz/FB/3UqHgQu6PL1cSFrK+i4oteDIwqARDs/Szw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4146,8 +6929,7 @@ }, "node_modules/@smithy/node-config-provider": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-1.0.1.tgz", - "integrity": "sha512-FRxifH/J2SgOaVLihIqBFuGhiHR/NfzbZYp5nYO7BGgT/gc/f9nAuuRJcEy/hwO3aI6ThyG5apH4tGec6A2sCw==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^1.0.1", "@smithy/shared-ini-file-loader": "^1.0.1", @@ -4160,8 +6942,7 @@ }, "node_modules/@smithy/node-http-handler": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-1.0.2.tgz", - "integrity": "sha512-PzPrGRSt3kNuruLCeR4ffJp57ZLVnIukMXVL3Ppr65ZoxiE+HBsOVAa/Z/T+4HzjCM6RaXnnmB8YKfsDjlb0iA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^1.0.1", "@smithy/protocol-http": "^1.1.0", @@ -4175,8 +6956,7 @@ }, "node_modules/@smithy/property-provider": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-1.0.1.tgz", - "integrity": "sha512-3EG/61Ls1MrgEaafpltXBJHSqFPqmTzEX7QKO7lOEHuYGmGYzZ08t1SsTgd1vM74z0IihoZyGPynZ7WmXKvTeg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -4187,8 +6967,7 @@ }, "node_modules/@smithy/protocol-http": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-1.1.0.tgz", - "integrity": "sha512-H5y/kZOqfJSqRkwtcAoVbqONmhdXwSgYNJ1Glk5Ry8qlhVVy5qUzD9EklaCH8/XLnoCsLO/F/Giee8MIvaBRkg==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -4199,8 +6978,7 @@ }, "node_modules/@smithy/querystring-builder": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-1.0.1.tgz", - "integrity": "sha512-J5Tzkw1PMtu01h6wl+tlN5vsyROmS6/z5lEfNlLo/L4ELHeVkQ4Q0PEIjDddPLfjVLCm8biQTESE5GCMixSRNQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "@smithy/util-uri-escape": "^1.0.1", @@ -4212,8 +6990,7 @@ }, "node_modules/@smithy/querystring-parser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-1.0.1.tgz", - "integrity": "sha512-zauxdMc3cwxoLitI5DZqH7xN6Fk0mwRxrUMAETbav2j6Se2U0UGak/55rZcDg2yGzOURaLYi5iOm1gHr98P+Bw==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -4224,16 +7001,14 @@ }, "node_modules/@smithy/service-error-classification": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-1.0.2.tgz", - "integrity": "sha512-Q5CCuzYL5FGo6Rr/O+lZxXHm2hrRgbmMn8MgyjqZUWZg20COg20DuNtIbho2iht6CoB7jOpmpBqhWizLlzUZgg==", + "license": "Apache-2.0", "engines": { "node": ">=14.0.0" } }, "node_modules/@smithy/shared-ini-file-loader": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-1.0.1.tgz", - "integrity": "sha512-EztziuIPoNronENGqh+MWVKJErA4rJpaPzJCPukzBeEoG2USka0/q4B5Mr/1zszOnrb49fPNh4u3u5LfiH7QzA==", + "license": "Apache-2.0", "dependencies": { "@smithy/types": "^1.1.0", "tslib": "^2.5.0" @@ -4244,8 +7019,7 @@ }, "node_modules/@smithy/signature-v4": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-1.0.1.tgz", - "integrity": "sha512-2D69je14ou1vBTnAQeysSK4QVMm0j3WHS3MDg/DnHnFFcXRCzVl/xAARO7POD8+fpi4tMFPs8Z4hzo1Zw40L0Q==", + "license": "Apache-2.0", "dependencies": { "@smithy/eventstream-codec": "^1.0.1", "@smithy/is-array-buffer": "^1.0.1", @@ -4262,8 +7036,7 @@ }, "node_modules/@smithy/smithy-client": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-1.0.3.tgz", - "integrity": "sha512-Wh1mNP/1yUZK0uYkgCQ6NMxpBT3Fmc45TMdUfOlH1xD2zGYL7U4yDHFOhEZdi/suyjaelFobXB2p9pPIw6LjRQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/middleware-stack": "^1.0.1", "@smithy/types": "^1.1.0", @@ -4276,8 +7049,7 @@ }, "node_modules/@smithy/types": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-1.1.0.tgz", - "integrity": "sha512-KzmvisMmuwD2jZXuC9e65JrgsZM97y5NpDU7g347oB+Q+xQLU6hQZ5zFNNbEfwwOJHoOvEVTna+dk1h/lW7alw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4287,8 +7059,7 @@ }, "node_modules/@smithy/url-parser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-1.0.1.tgz", - "integrity": "sha512-33vWEtE6HzmwjEcEb4I58XMLRAchwPS93YhfDyXAXr1jwDCzfXmMayQwwpyW847rpWj0XJimxqia8q0z+k/ybw==", + "license": "Apache-2.0", "dependencies": { "@smithy/querystring-parser": "^1.0.1", "@smithy/types": "^1.1.0", @@ -4297,8 +7068,7 @@ }, "node_modules/@smithy/util-base64": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-1.0.1.tgz", - "integrity": "sha512-rJcpRi/yUi6TyCEkjdTH86/ExBuKlfctEXhG9/4gMJ3/cnPcHJJnr0mQ9evSEO+3DbpT/Nxq90bcTBdTIAmCig==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^1.0.1", "tslib": "^2.5.0" @@ -4309,16 +7079,14 @@ }, "node_modules/@smithy/util-body-length-browser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-1.0.1.tgz", - "integrity": "sha512-Pdp744fmF7E1NWoSb7256Anhm8eYoCubvosdMwXzOnHuPRVbDa15pKUz2027K3+jrfGpXo1r+MnDerajME1Osw==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" } }, "node_modules/@smithy/util-body-length-node": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-1.0.1.tgz", - "integrity": "sha512-4PIHjDFwG07SNensAiVq/CJmubEVuwclWSYOTNtzBNTvxOeGLznvygkGYgPzS3erByT8C4S9JvnLYgtrsVV3nQ==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4328,8 +7096,7 @@ }, "node_modules/@smithy/util-buffer-from": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-1.0.1.tgz", - "integrity": "sha512-363N7Wq0ceUgE5lLe6kaR6GlJs2/m4r9V6bRMfIszb6P1FZbbRRM2FQYUWWPFSsRymm9mJL18b3fjiVsIvhDGg==", + "license": "Apache-2.0", "dependencies": { "@smithy/is-array-buffer": "^1.0.1", "tslib": "^2.5.0" @@ -4340,8 +7107,7 @@ }, "node_modules/@smithy/util-config-provider": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-1.0.1.tgz", - "integrity": "sha512-4Qy38Oy5/q43MpTwCLV1P+7NeaOp4W2etQDxMjgEeRlOyGGNlgttn0syi4g2rVSukFVqQ6FbeRs5xbnFmS6kaQ==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4351,8 +7117,7 @@ }, "node_modules/@smithy/util-defaults-mode-browser": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-1.0.1.tgz", - "integrity": "sha512-/9ObwNch4Z/NJYfkO4AvqBWku60Ju+c2Ck32toPOLmWe/V6eI9FLn8C1abri+GxDRCkLIqvkaWU1lgZ3nWZIIw==", + "license": "Apache-2.0", "dependencies": { "@smithy/property-provider": "^1.0.1", "@smithy/types": "^1.1.0", @@ -4365,8 +7130,7 @@ }, "node_modules/@smithy/util-defaults-mode-node": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-1.0.1.tgz", - "integrity": "sha512-XQM3KvqRLgv7bwAzVkXTITkOmcOINoG9icJiGT8FA0zV35lY5UvyIsg5kHw01xigQS8ufa/33AwG3ZoXip+V5g==", + "license": "Apache-2.0", "dependencies": { "@smithy/config-resolver": "^1.0.1", "@smithy/credential-provider-imds": "^1.0.1", @@ -4381,8 +7145,7 @@ }, "node_modules/@smithy/util-hex-encoding": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-1.0.1.tgz", - "integrity": "sha512-FPTtMz/t02/rbfq5Pdll/TWUYP+GVFLCQNr+DgifrLzVRU0g8rdRjyFpDh8nPTdkDDusTTo9P1bepAYj68s0eA==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4392,8 +7155,7 @@ }, "node_modules/@smithy/util-middleware": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-1.0.1.tgz", - "integrity": "sha512-u9akN3Zmbr0vZH4F+2iehG7cFg+3fvDfnvS/hhsXH4UHuhqiQ+ADefibnLzPoz1pooY7rvwaQ/TVHyJmZHdLdQ==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4403,8 +7165,7 @@ }, "node_modules/@smithy/util-retry": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-1.0.3.tgz", - "integrity": "sha512-gYQnZDD8I2XJFspVwUISyukjPWVikTzKR0IdG8hCWYPTpeULFl1o6yzXlT5SL63TBkuEYl0R1/93cdNtMiNnoA==", + "license": "Apache-2.0", "dependencies": { "@smithy/service-error-classification": "^1.0.2", "tslib": "^2.5.0" @@ -4415,8 +7176,7 @@ }, "node_modules/@smithy/util-stream": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-1.0.1.tgz", - "integrity": "sha512-4aBCIz35aZAnt2Rbq341KrnUzGhWv2/Zu8HouJqYLvSWCzlrvsNCGlXP4e70Kjzcw8hSuuCNtdUICwQ5qUWLxg==", + "license": "Apache-2.0", "dependencies": { "@smithy/fetch-http-handler": "^1.0.1", "@smithy/node-http-handler": "^1.0.2", @@ -4433,8 +7193,7 @@ }, "node_modules/@smithy/util-uri-escape": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-1.0.1.tgz", - "integrity": "sha512-IJUrRnXKEIc+PKnU1XzTsIENVR+60jUDPBP3iWX/EvuuT3Xfob47x1FGUe2c3yMXNuU6ax8VDk27hL5LKNoehQ==", + "license": "Apache-2.0", "dependencies": { "tslib": "^2.5.0" }, @@ -4444,8 +7203,7 @@ }, "node_modules/@smithy/util-utf8": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-1.0.1.tgz", - "integrity": "sha512-iX6XHpjh4DFEUIBSKp2tjy3pYnLQMsJ62zYi1BVAC0kobE6p8AVpiZnxsU3ZkgQatAsUaEspFHUZ7CL7oSqaPQ==", + "license": "Apache-2.0", "dependencies": { "@smithy/util-buffer-from": "^1.0.1", "tslib": "^2.5.0" @@ -4456,8 +7214,7 @@ }, "node_modules/@smithy/util-waiter": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-1.0.1.tgz", - "integrity": "sha512-dsn8O0s3pFIgxFzySLe1dv0w4tEQizEP6UqbgZ4r/Kar4n8pSdrPi6DJg8BzXwkwEIZpMtV4/nhSeGZ7HksDXA==", + "license": "Apache-2.0", "dependencies": { "@smithy/abort-controller": "^1.0.1", "@smithy/types": "^1.1.0", @@ -4469,41 +7226,35 @@ }, "node_modules/@tsconfig/node10": { "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@tsconfig/node12": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@tsconfig/node14": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@tsconfig/node16": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.3.tgz", - "integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/accepts": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@types/accepts/-/accepts-1.3.5.tgz", - "integrity": "sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==", + "license": "MIT", "dependencies": { "@types/node": "*" } }, "node_modules/@types/babel__core": { "version": "7.1.20", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.20.tgz", - "integrity": "sha512-PVb6Bg2QuscZ30FvOU7z4guG6c926D9YRvOxEaelzndpMsvP+YM74Q/dAFASpg2l6+XLalxSGxcq/lrgYWZtyQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0", @@ -4514,18 +7265,16 @@ }, "node_modules/@types/babel__generator": { "version": "7.6.4", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", - "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.0.0" } }, "node_modules/@types/babel__template": { "version": "7.4.1", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", - "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0" @@ -4533,17 +7282,15 @@ }, "node_modules/@types/babel__traverse": { "version": "7.18.3", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.3.tgz", - "integrity": "sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.3.0" } }, "node_modules/@types/body-parser": { "version": "1.19.2", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", - "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", + "license": "MIT", "dependencies": { "@types/connect": "*", "@types/node": "*" @@ -4551,21 +7298,18 @@ }, "node_modules/@types/connect": { "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", - "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "license": "MIT", "dependencies": { "@types/node": "*" } }, "node_modules/@types/content-disposition": { "version": "0.5.5", - "resolved": "https://registry.npmjs.org/@types/content-disposition/-/content-disposition-0.5.5.tgz", - "integrity": "sha512-v6LCdKfK6BwcqMo+wYW05rLS12S0ZO0Fl4w1h4aaZMD7bqT3gVUns6FvLJKGZHQmYn3SX55JWGpziwJRwVgutA==" + "license": "MIT" }, "node_modules/@types/cookies": { "version": "0.7.7", - "resolved": "https://registry.npmjs.org/@types/cookies/-/cookies-0.7.7.tgz", - "integrity": "sha512-h7BcvPUogWbKCzBR2lY4oqaZbO3jXZksexYJVFvkrFeLgbZjQkU4x8pRq6eg2MHXQhY0McQdqmmsxRWlVAHooA==", + "license": "MIT", "dependencies": { "@types/connect": "*", "@types/express": "*", @@ -4575,8 +7319,7 @@ }, "node_modules/@types/express": { "version": "4.17.17", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz", - "integrity": "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==", + "license": "MIT", "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^4.17.33", @@ -4586,8 +7329,7 @@ }, "node_modules/@types/express-serve-static-core": { "version": "4.17.35", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz", - "integrity": "sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==", + "license": "MIT", "dependencies": { "@types/node": "*", "@types/qs": "*", @@ -4595,54 +7337,57 @@ "@types/send": "*" } }, + "node_modules/@types/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-IyNhGHu71jH1jCXTHmafuoAAdsbBON3kDh7u/UUhLmjYgN5TYB54e1R8ckTCiIevl2UuZaCsi9XRxineY5yUjw==", + "deprecated": "This is a stub types definition. fast-json-stable-stringify provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "fast-json-stable-stringify": "*" + } + }, "node_modules/@types/graceful-fs": { "version": "4.1.6", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.6.tgz", - "integrity": "sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } }, "node_modules/@types/http-assert": { "version": "1.5.3", - "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.3.tgz", - "integrity": "sha512-FyAOrDuQmBi8/or3ns4rwPno7/9tJTijVW6aQQjK02+kOQ8zmoNg2XJtAuQhvQcy1ASJq38wirX5//9J1EqoUA==" + "license": "MIT" }, "node_modules/@types/http-errors": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.1.tgz", - "integrity": "sha512-/K3ds8TRAfBvi5vfjuz8y6+GiAYBZ0x4tXv1Av6CWBWn0IlADc+ZX9pMq7oU0fNQPnBwIZl3rmeLp6SBApbxSQ==" + "license": "MIT" }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", - "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/istanbul-lib-report": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", "dev": true, + "license": "MIT", "dependencies": { "@types/istanbul-lib-coverage": "*" } }, "node_modules/@types/istanbul-reports": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", - "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", "dev": true, + "license": "MIT", "dependencies": { "@types/istanbul-lib-report": "*" } }, "node_modules/@types/jest": { "version": "29.5.1", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.1.tgz", - "integrity": "sha512-tEuVcHrpaixS36w7hpsfLBLpjtMRJUE09/MHXn923LOVojDwyC14cWcfc0rDs0VEfUyYmt/+iX1kxxp+gZMcaQ==", "dev": true, + "license": "MIT", "dependencies": { "expect": "^29.0.0", "pretty-format": "^29.0.0" @@ -4650,25 +7395,21 @@ }, "node_modules/@types/json-schema": { "version": "7.0.12", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", - "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/json5": { "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/keygrip": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/keygrip/-/keygrip-1.0.2.tgz", - "integrity": "sha512-GJhpTepz2udxGexqos8wgaBx4I/zWIDPh/KOGEwAqtuGDkOUJu5eFvwmdBX4AmB8Odsr+9pHCQqiAqDL/yKMKw==" + "license": "MIT" }, "node_modules/@types/koa": { "version": "2.13.6", - "resolved": "https://registry.npmjs.org/@types/koa/-/koa-2.13.6.tgz", - "integrity": "sha512-diYUfp/GqfWBAiwxHtYJ/FQYIXhlEhlyaU7lB/bWQrx4Il9lCET5UwpFy3StOAohfsxxvEQ11qIJgT1j2tfBvw==", + "license": "MIT", "dependencies": { "@types/accepts": "*", "@types/content-disposition": "*", @@ -4682,74 +7423,62 @@ }, "node_modules/@types/koa-bodyparser": { "version": "4.3.10", - "resolved": "https://registry.npmjs.org/@types/koa-bodyparser/-/koa-bodyparser-4.3.10.tgz", - "integrity": "sha512-6ae05pjhmrmGhUR8GYD5qr5p9LTEMEGfGXCsK8VaSL+totwigm8+H/7MHW7K4854CMeuwRAubT8qcc/EagaeIA==", "dev": true, + "license": "MIT", "dependencies": { "@types/koa": "*" } }, "node_modules/@types/koa-compose": { "version": "3.2.5", - "resolved": "https://registry.npmjs.org/@types/koa-compose/-/koa-compose-3.2.5.tgz", - "integrity": "sha512-B8nG/OoE1ORZqCkBVsup/AKcvjdgoHnfi4pZMn5UwAPCbhk/96xyv284eBYW8JlQbQ7zDmnpFr68I/40mFoIBQ==", + "license": "MIT", "dependencies": { "@types/koa": "*" } }, "node_modules/@types/lodash": { "version": "4.14.197", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.197.tgz", - "integrity": "sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/mime": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", - "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==" + "license": "MIT" }, "node_modules/@types/minimist": { "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/node": { "version": "20.2.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.2.5.tgz", - "integrity": "sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==" + "license": "MIT" }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" + "license": "MIT" }, "node_modules/@types/prettier": { "version": "2.7.3", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz", - "integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/qs": { "version": "6.9.7", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", - "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" + "license": "MIT" }, "node_modules/@types/range-parser": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", - "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==" + "license": "MIT" }, "node_modules/@types/semver": { "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/send": { "version": "0.17.1", - "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz", - "integrity": "sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==", + "license": "MIT", "dependencies": { "@types/mime": "^1", "@types/node": "*" @@ -4757,8 +7486,7 @@ }, "node_modules/@types/serve-static": { "version": "1.15.1", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.1.tgz", - "integrity": "sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==", + "license": "MIT", "dependencies": { "@types/mime": "*", "@types/node": "*" @@ -4766,30 +7494,26 @@ }, "node_modules/@types/stack-utils": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", - "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/yargs": { "version": "17.0.23", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.23.tgz", - "integrity": "sha512-yuogunc04OnzGQCrfHx+Kk883Q4X0aSwmYZhKjI21m+SVYzjIbrWl8dOOwSv5hf2Um2pdCOXWo9isteZTNXUZQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/yargs-parser": "*" } }, "node_modules/@types/yargs-parser": { "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.61.0.tgz", - "integrity": "sha512-A5l/eUAug103qtkwccSCxn8ZRwT+7RXWkFECdA4Cvl1dOlDUgTpAOfSEElZn2uSUxhdDpnCdetrf0jvU4qrL+g==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.4.0", "@typescript-eslint/scope-manager": "5.61.0", @@ -4821,9 +7545,8 @@ }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", - "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.61.0", "@typescript-eslint/visitor-keys": "5.61.0" @@ -4838,9 +7561,8 @@ }, "node_modules/@typescript-eslint/parser": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.2.tgz", - "integrity": "sha512-uq0sKyw6ao1iFOZZGk9F8Nro/8+gfB5ezl1cA06SrqbgJAt0SRoFhb9pXaHvkrxUpZaoLxt8KlovHNk8Gp6/HQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/scope-manager": "5.59.2", "@typescript-eslint/types": "5.59.2", @@ -4865,9 +7587,8 @@ }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.2.tgz", - "integrity": "sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -4878,9 +7599,8 @@ }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.2.tgz", - "integrity": "sha512-+j4SmbwVmZsQ9jEyBMgpuBD0rKwi9RxRpjX71Brr73RsYnEr3Lt5QZ624Bxphp8HUkSKfqGnPJp1kA5nl0Sh7Q==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/types": "5.59.2", "@typescript-eslint/visitor-keys": "5.59.2", @@ -4905,9 +7625,8 @@ }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.2.tgz", - "integrity": "sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.59.2", "eslint-visitor-keys": "^3.3.0" @@ -4922,9 +7641,8 @@ }, "node_modules/@typescript-eslint/scope-manager": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.59.2.tgz", - "integrity": "sha512-dB1v7ROySwQWKqQ8rEWcdbTsFjh2G0vn8KUyvTXdPoyzSL6lLGkiXEV5CvpJsEe9xIdKV+8Zqb7wif2issoOFA==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.59.2", "@typescript-eslint/visitor-keys": "5.59.2" @@ -4939,9 +7657,8 @@ }, "node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint/types": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.2.tgz", - "integrity": "sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -4952,9 +7669,8 @@ }, "node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint/visitor-keys": { "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.2.tgz", - "integrity": "sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.59.2", "eslint-visitor-keys": "^3.3.0" @@ -4969,9 +7685,8 @@ }, "node_modules/@typescript-eslint/type-utils": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.61.0.tgz", - "integrity": "sha512-kk8u//r+oVK2Aj3ph/26XdH0pbAkC2RiSjUYhKD+PExemG4XSjpGFeyZ/QM8lBOa7O8aGOU+/yEbMJgQv/DnCg==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/typescript-estree": "5.61.0", "@typescript-eslint/utils": "5.61.0", @@ -4996,9 +7711,8 @@ }, "node_modules/@typescript-eslint/types": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.61.0.tgz", - "integrity": "sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -5009,9 +7723,8 @@ }, "node_modules/@typescript-eslint/typescript-estree": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz", - "integrity": "sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/types": "5.61.0", "@typescript-eslint/visitor-keys": "5.61.0", @@ -5036,9 +7749,8 @@ }, "node_modules/@typescript-eslint/utils": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.61.0.tgz", - "integrity": "sha512-mV6O+6VgQmVE6+xzlA91xifndPW9ElFW8vbSF0xCT/czPXVhwDewKila1jOyRwa9AE19zKnrr7Cg5S3pJVrTWQ==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", @@ -5062,9 +7774,8 @@ }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.61.0.tgz", - "integrity": "sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.61.0", "@typescript-eslint/visitor-keys": "5.61.0" @@ -5079,9 +7790,8 @@ }, "node_modules/@typescript-eslint/utils/node_modules/eslint-scope": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" @@ -5092,18 +7802,16 @@ }, "node_modules/@typescript-eslint/utils/node_modules/estraverse": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } }, "node_modules/@typescript-eslint/visitor-keys": { "version": "5.61.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz", - "integrity": "sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "5.61.0", "eslint-visitor-keys": "^3.3.0" @@ -5118,13 +7826,11 @@ }, "node_modules/abbrev": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + "license": "ISC" }, "node_modules/accepts": { "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" @@ -5135,9 +7841,8 @@ }, "node_modules/acorn": { "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -5147,23 +7852,20 @@ }, "node_modules/acorn-jsx": { "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "node_modules/add-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", - "integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/agent-base": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "license": "MIT", "dependencies": { "debug": "4" }, @@ -5173,9 +7875,8 @@ }, "node_modules/aggregate-error": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, + "license": "MIT", "dependencies": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" @@ -5186,8 +7887,7 @@ }, "node_modules/ajv": { "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -5201,8 +7901,7 @@ }, "node_modules/ajv-draft-04": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", - "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "license": "MIT", "peerDependencies": { "ajv": "^8.5.0" }, @@ -5214,8 +7913,7 @@ }, "node_modules/ajv-formats": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "license": "MIT", "dependencies": { "ajv": "^8.0.0" }, @@ -5230,18 +7928,16 @@ }, "node_modules/ansi-align": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", - "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.1.0" } }, "node_modules/ansi-escapes": { "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.21.3" }, @@ -5254,9 +7950,8 @@ }, "node_modules/ansi-escapes/node_modules/type-fest": { "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -5266,17 +7961,15 @@ }, "node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -5289,15 +7982,13 @@ }, "node_modules/any-promise": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/anymatch": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, + "license": "ISC", "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -5308,19 +7999,16 @@ }, "node_modules/app-module-path": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/app-module-path/-/app-module-path-2.2.0.tgz", - "integrity": "sha512-gkco+qxENJV+8vFcDiiFhuoSvRXb2a/QPqpSoWhVz829VNJfOTnELbBmPmNKFxf3xdNnw4DWCkzkDaavcX/1YQ==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/aproba": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", - "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==" + "license": "ISC" }, "node_modules/are-we-there-yet": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", + "license": "ISC", "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" @@ -5331,8 +8019,7 @@ }, "node_modules/are-we-there-yet/node_modules/readable-stream": { "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -5344,35 +8031,30 @@ }, "node_modules/arg": { "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/argparse": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "license": "Python-2.0" }, "node_modules/array-find-index": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/array-ify": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/array-includes": { "version": "3.1.6", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", - "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -5389,18 +8071,16 @@ }, "node_modules/array-union": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/array.prototype.flat": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", - "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -5416,9 +8096,8 @@ }, "node_modules/array.prototype.flatmap": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -5434,61 +8113,52 @@ }, "node_modules/arrify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/asap": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/ast-module-types": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-3.0.0.tgz", - "integrity": "sha512-CMxMCOCS+4D+DkOQfuZf+vLrSEmY/7xtORwdxs4wtcC1wVgvk2MqFFTwQCFhvWsI4KPU9lcWXPI8DgRiz+xetQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0" } }, "node_modules/astral-regex": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/async": { "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "license": "MIT" }, "node_modules/at-least-node": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", "dev": true, + "license": "ISC", "engines": { "node": ">= 4.0.0" } }, "node_modules/available-typed-arrays": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", - "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -5498,24 +8168,103 @@ }, "node_modules/await-handler": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/await-handler/-/await-handler-1.1.2.tgz", - "integrity": "sha512-dihteGhwbJpT89kVbacWiyKeAZr+En0YGK6pAKQJLR0En9ZxSH2H4TTvfG4bBjzFq9gDAma4y9BrpDns6j5UiQ==" + "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", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", - "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "license": "MIT", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } }, + "node_modules/axios-mock-adapter": { + "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" + }, + "peerDependencies": { + "axios": ">= 0.17.0" + } + }, + "node_modules/axios-mock-adapter/node_modules/is-buffer": { + "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", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "engines": { + "node": ">=4" + } + }, "node_modules/babel-jest": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.6.0.tgz", - "integrity": "sha512-Jj8Bq2yKsk11XLk06Nm8SdvYkAcecH+GuhxB8DnK5SncjHnJ88TQjSnGgE7jpajpnSvz9DZ6X8hXrDkD/6/TPQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/transform": "^29.6.0", "@types/babel__core": "^7.1.14", @@ -5534,9 +8283,8 @@ }, "node_modules/babel-plugin-istanbul": { "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@istanbuljs/load-nyc-config": "^1.0.0", @@ -5550,9 +8298,8 @@ }, "node_modules/babel-plugin-jest-hoist": { "version": "29.5.0", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.5.0.tgz", - "integrity": "sha512-zSuuuAlTMT4mzLj2nPnUm6fsE6270vdOfnpbJ+RmruU75UhLFvL0N2NgI7xpeS7NaB6hGqmd5pVpGTDYvi4Q3w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/template": "^7.3.3", "@babel/types": "^7.3.3", @@ -5565,9 +8312,8 @@ }, "node_modules/babel-preset-current-node-syntax": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-bigint": "^7.8.3", @@ -5588,9 +8334,8 @@ }, "node_modules/babel-preset-jest": { "version": "29.5.0", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.5.0.tgz", - "integrity": "sha512-JOMloxOqdiBSxMAzjRaH023/vvcaSaec49zvg+2LmNsktC7ei39LTJGw02J+9uUtTZUq6xbLyJ4dxe9sSmIuAg==", "dev": true, + "license": "MIT", "dependencies": { "babel-plugin-jest-hoist": "^29.5.0", "babel-preset-current-node-syntax": "^1.0.0" @@ -5604,13 +8349,10 @@ }, "node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "license": "MIT" }, "node_modules/base64-js": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "funding": [ { "type": "github", @@ -5624,13 +8366,13 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/benchmark-suite": { "version": "0.1.8", - "resolved": "https://registry.npmjs.org/benchmark-suite/-/benchmark-suite-0.1.8.tgz", - "integrity": "sha512-UDfWBQfeq/lXcsjuGAanOrX6AhP6HQSsutGS7CfStcbE1loLge7aQr5DT6n8r/4bUoiK+5RYwnogNu5UuTBMNg==", "dev": true, + "license": "MIT", "dependencies": { "eventemitter3": "^4.0.7", "expose-gc": "^1.0.0", @@ -5644,22 +8386,19 @@ }, "node_modules/bindings": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "license": "MIT", "dependencies": { "file-uri-to-path": "1.0.0" } }, "node_modules/bintrees": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" + "license": "MIT" }, "node_modules/bl": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dev": true, + "license": "MIT", "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", @@ -5668,9 +8407,8 @@ }, "node_modules/bl/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -5682,20 +8420,17 @@ }, "node_modules/boolean": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.2.0.tgz", - "integrity": "sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/bowser": { "version": "2.11.0", - "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", - "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" + "license": "MIT" }, "node_modules/boxen": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz", - "integrity": "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-align": "^3.0.0", "camelcase": "^6.2.0", @@ -5715,9 +8450,8 @@ }, "node_modules/boxen/node_modules/camelcase": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -5727,9 +8461,8 @@ }, "node_modules/boxen/node_modules/type-fest": { "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -5739,8 +8472,7 @@ }, "node_modules/brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -5748,9 +8480,8 @@ }, "node_modules/braces": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, + "license": "MIT", "dependencies": { "fill-range": "^7.0.1" }, @@ -5760,8 +8491,6 @@ }, "node_modules/browserslist": { "version": "4.21.9", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz", - "integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==", "dev": true, "funding": [ { @@ -5777,6 +8506,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "caniuse-lite": "^1.0.30001503", "electron-to-chromium": "^1.4.431", @@ -5792,9 +8522,8 @@ }, "node_modules/bs-logger": { "version": "0.2.6", - "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", - "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", "dev": true, + "license": "MIT", "dependencies": { "fast-json-stable-stringify": "2.x" }, @@ -5804,17 +8533,15 @@ }, "node_modules/bser": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "node-int64": "^0.4.0" } }, "node_modules/btoa": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz", - "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==", + "license": "(MIT OR Apache-2.0)", "bin": { "btoa": "bin/btoa.js" }, @@ -5824,8 +8551,7 @@ }, "node_modules/buffer": { "version": "5.6.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", - "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4" @@ -5833,15 +8559,13 @@ }, "node_modules/buffer-from": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/builtin-modules": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", - "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -5851,24 +8575,21 @@ }, "node_modules/byline": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", - "integrity": "sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/bytes": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/cache-content-type": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-content-type/-/cache-content-type-1.0.1.tgz", - "integrity": "sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==", + "license": "MIT", "dependencies": { "mime-types": "^2.1.18", "ylru": "^1.2.0" @@ -5879,9 +8600,8 @@ }, "node_modules/cacheable-request": { "version": "2.1.4", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-2.1.4.tgz", - "integrity": "sha512-vag0O2LKZ/najSoUwDbVlnlCFvhBE/7mGTY2B5FgCBDcRD+oVV1HYTOwM6JZfMg/hIcM6IwnTZ1uQQL5/X3xIQ==", "dev": true, + "license": "MIT", "dependencies": { "clone-response": "1.0.2", "get-stream": "3.0.0", @@ -5894,35 +8614,31 @@ }, "node_modules/cacheable-request/node_modules/get-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/cacheable-request/node_modules/lowercase-keys": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz", - "integrity": "sha512-RPlX0+PHuvxVDZ7xX+EBVAp4RsVxP/TdDSN2mJYdiq1Lc4Hz7EUSjUI7RZrKKlmrIzVhf6Jo2stj7++gVarS0A==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/cachedir": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.3.0.tgz", - "integrity": "sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/call-bind": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -5933,33 +8649,29 @@ }, "node_modules/call-me-maybe": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", - "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/callsites": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/camelcase": { "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/camelcase-keys": { "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^5.3.1", "map-obj": "^4.0.0", @@ -5974,8 +8686,6 @@ }, "node_modules/caniuse-lite": { "version": "1.0.30001512", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001512.tgz", - "integrity": "sha512-2S9nK0G/mE+jasCUsMPlARhRCts1ebcp2Ji8Y8PWi4NDE1iRdLCnEPHkEfeBrGC45L4isBx5ur3IQ6yTE2mRZw==", "dev": true, "funding": [ { @@ -5990,13 +8700,13 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/chalk": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -6010,48 +8720,41 @@ }, "node_modules/char-regex": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/chardet": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/charenc": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", - "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==", + "license": "BSD-3-Clause", "engines": { "node": "*" } }, "node_modules/check-more-types": { "version": "2.24.0", - "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", - "integrity": "sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/chownr": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/ci-info": { "version": "3.7.1", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.7.1.tgz", - "integrity": "sha512-4jYS4MOAaCIStSRwiuxc4B8MYhIe676yO1sYGzARnjXkWpmzZMMYxY6zu8WYWDhSuth5zhrQ1rhNSibyyvv4/w==", "dev": true, "funding": [ { @@ -6059,21 +8762,20 @@ "url": "https://github.com/sponsors/sibiraj-s" } ], + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/cjs-module-lexer": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/clean-regexp": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clean-regexp/-/clean-regexp-1.0.0.tgz", - "integrity": "sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^1.0.5" }, @@ -6083,18 +8785,16 @@ }, "node_modules/clean-stack": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/cli-boxes": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -6104,9 +8804,8 @@ }, "node_modules/cli-cursor": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", "dev": true, + "license": "MIT", "dependencies": { "restore-cursor": "^3.1.0" }, @@ -6116,9 +8815,8 @@ }, "node_modules/cli-spinners": { "version": "2.7.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", - "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -6128,9 +8826,8 @@ }, "node_modules/cli-truncate": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz", - "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==", "dev": true, + "license": "MIT", "dependencies": { "slice-ansi": "^5.0.0", "string-width": "^5.0.0" @@ -6144,9 +8841,8 @@ }, "node_modules/cli-truncate/node_modules/ansi-regex": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -6156,9 +8852,8 @@ }, "node_modules/cli-truncate/node_modules/string-width": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, + "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -6173,9 +8868,8 @@ }, "node_modules/cli-truncate/node_modules/strip-ansi": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -6188,18 +8882,16 @@ }, "node_modules/cli-width": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", "dev": true, + "license": "ISC", "engines": { "node": ">= 10" } }, "node_modules/cliui": { "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", @@ -6211,33 +8903,29 @@ }, "node_modules/clone": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", - "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==", + "license": "MIT", "engines": { "node": ">=0.8" } }, "node_modules/clone-response": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==", "dev": true, + "license": "MIT", "dependencies": { "mimic-response": "^1.0.0" } }, "node_modules/cluster-key-slot": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", - "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "license": "Apache-2.0", "engines": { "node": ">=0.10.0" } }, "node_modules/co": { "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "license": "MIT", "engines": { "iojs": ">= 1.0.0", "node": ">= 0.12.0" @@ -6245,8 +8933,7 @@ }, "node_modules/co-body": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/co-body/-/co-body-6.1.0.tgz", - "integrity": "sha512-m7pOT6CdLN7FuXUcpuz/8lfQ/L77x8SchHCF4G0RBTJO20Wzmhn5Sp4/5WsKy8OSpifBSUrmg83qEqaDHdyFuQ==", + "license": "MIT", "dependencies": { "inflation": "^2.0.0", "qs": "^6.5.2", @@ -6256,14 +8943,12 @@ }, "node_modules/collect-v8-coverage": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", - "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/color": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", - "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", + "license": "MIT", "dependencies": { "color-convert": "^1.9.3", "color-string": "^1.6.0" @@ -6271,9 +8956,8 @@ }, "node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -6283,13 +8967,11 @@ }, "node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "license": "MIT" }, "node_modules/color-string": { "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", - "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "license": "MIT", "dependencies": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" @@ -6297,43 +8979,37 @@ }, "node_modules/color-support": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "license": "ISC", "bin": { "color-support": "bin.js" } }, "node_modules/color/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/color/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "license": "MIT" }, "node_modules/colorette": { "version": "2.0.19", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", - "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/colors": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "license": "MIT", "engines": { "node": ">=0.1.90" } }, "node_modules/colorspace": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", - "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", + "license": "MIT", "dependencies": { "color": "^3.1.3", "text-hex": "1.0.x" @@ -6341,8 +9017,7 @@ }, "node_modules/combined-stream": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -6352,18 +9027,16 @@ }, "node_modules/commander": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", - "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" } }, "node_modules/commitizen": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.3.0.tgz", - "integrity": "sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw==", "dev": true, + "license": "MIT", "dependencies": { "cachedir": "2.3.0", "cz-conventional-changelog": "3.3.0", @@ -6391,9 +9064,8 @@ }, "node_modules/commitizen/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -6411,9 +9083,8 @@ }, "node_modules/commitizen/node_modules/inquirer": { "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -6437,18 +9108,16 @@ }, "node_modules/commitizen/node_modules/minimist": { "version": "1.2.7", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", - "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/commitlint": { "version": "17.6.6", - "resolved": "https://registry.npmjs.org/commitlint/-/commitlint-17.6.6.tgz", - "integrity": "sha512-Q5M+w1nqGQSEkEW43EtPNrU+uKL2pENrJl6QigFupZ0v4AfvI8k5Q6uFgWmxlEOrSkgCYaN436Q9c9pydqyJqg==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/cli": "^17.6.6", "@commitlint/types": "^17.4.4" @@ -6462,15 +9131,13 @@ }, "node_modules/commondir": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/compare-func": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dev": true, + "license": "MIT", "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" @@ -6478,9 +9145,8 @@ }, "node_modules/compare-func/node_modules/dot-prop": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz", - "integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==", "dev": true, + "license": "MIT", "dependencies": { "is-obj": "^1.0.0" }, @@ -6490,17 +9156,14 @@ }, "node_modules/compare-func/node_modules/is-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/component-each": { "version": "0.2.6", - "resolved": "https://registry.npmjs.org/component-each/-/component-each-0.2.6.tgz", - "integrity": "sha512-IOXG+HZmbgaBS8Rqy+tAMrwsPdEY1BWcPcp0xI2ZOzKQhHvSVGrL7iCnoDU37TEKOCfaf4ywsR6GwAr0JivPjg==", "dependencies": { "component-type": "1.0.0", "to-function": "2.0.6" @@ -6508,40 +9171,31 @@ }, "node_modules/component-emitter": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/component-props": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/component-props/-/component-props-1.1.1.tgz", - "integrity": "sha512-69pIRJs9fCCHRqCz3390YF2LV1Lu6iEMZ5zuVqqUn+G20V9BNXlMs0cWawWeW9g4Ynmg29JmkG6R7/lUJoGd1Q==" + "version": "1.1.1" }, "node_modules/component-type": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/component-type/-/component-type-1.0.0.tgz", - "integrity": "sha512-qzUg4SGDH6KFYlcklmeZwucbtosh/XGwuIffqXAhC1dZyjO7Xu1UuaxwKRY29EncuBj/DH+h6Zot3AdZS6xdFw==" + "version": "1.0.0" }, "node_modules/concat-map": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "license": "MIT" }, "node_modules/confusing-browser-globals": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz", - "integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/console-control-strings": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" + "license": "ISC" }, "node_modules/content-disposition": { "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "license": "MIT", "dependencies": { "safe-buffer": "5.2.1" }, @@ -6551,17 +9205,15 @@ }, "node_modules/content-type": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/conventional-changelog": { "version": "3.1.25", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.25.tgz", - "integrity": "sha512-ryhi3fd1mKf3fSjbLXOfK2D06YwKNic1nC9mWqybBHdObPd8KJ2vjaXZfYj1U23t+V8T8n0d7gwnc9XbIdFbyQ==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog-angular": "^5.0.12", "conventional-changelog-atom": "^2.0.8", @@ -6581,9 +9233,8 @@ }, "node_modules/conventional-changelog-angular": { "version": "5.0.13", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", - "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0", "q": "^1.5.1" @@ -6594,9 +9245,8 @@ }, "node_modules/conventional-changelog-atom": { "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz", - "integrity": "sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -6606,9 +9256,8 @@ }, "node_modules/conventional-changelog-codemirror": { "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz", - "integrity": "sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -6618,15 +9267,13 @@ }, "node_modules/conventional-changelog-config-spec": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-config-spec/-/conventional-changelog-config-spec-2.1.0.tgz", - "integrity": "sha512-IpVePh16EbbB02V+UA+HQnnPIohgXvJRxHcS5+Uwk4AT5LjzCZJm5sp/yqs5C6KZJ1jMsV4paEV13BN1pvDuxQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/conventional-changelog-conventionalcommits": { "version": "4.6.3", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", - "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0", "lodash": "^4.17.15", @@ -6638,9 +9285,8 @@ }, "node_modules/conventional-changelog-core": { "version": "4.2.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", - "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", "dev": true, + "license": "MIT", "dependencies": { "add-stream": "^1.0.0", "conventional-changelog-writer": "^5.0.0", @@ -6663,9 +9309,8 @@ }, "node_modules/conventional-changelog-core/node_modules/find-up": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^2.0.0" }, @@ -6675,15 +9320,13 @@ }, "node_modules/conventional-changelog-core/node_modules/hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/conventional-changelog-core/node_modules/locate-path": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" @@ -6694,9 +9337,8 @@ }, "node_modules/conventional-changelog-core/node_modules/p-limit": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^1.0.0" }, @@ -6706,9 +9348,8 @@ }, "node_modules/conventional-changelog-core/node_modules/p-locate": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^1.1.0" }, @@ -6718,27 +9359,24 @@ }, "node_modules/conventional-changelog-core/node_modules/p-try": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-changelog-core/node_modules/path-exists": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-changelog-core/node_modules/path-type": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "dev": true, + "license": "MIT", "dependencies": { "pify": "^3.0.0" }, @@ -6748,18 +9386,16 @@ }, "node_modules/conventional-changelog-core/node_modules/pify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-changelog-core/node_modules/read-pkg": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", "dev": true, + "license": "MIT", "dependencies": { "load-json-file": "^4.0.0", "normalize-package-data": "^2.3.2", @@ -6771,9 +9407,8 @@ }, "node_modules/conventional-changelog-core/node_modules/read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" @@ -6784,9 +9419,8 @@ }, "node_modules/conventional-changelog-core/node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -6796,18 +9430,16 @@ }, "node_modules/conventional-changelog-core/node_modules/semver": { "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/conventional-changelog-ember": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz", - "integrity": "sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -6817,9 +9449,8 @@ }, "node_modules/conventional-changelog-eslint": { "version": "3.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.9.tgz", - "integrity": "sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -6829,9 +9460,8 @@ }, "node_modules/conventional-changelog-express": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-2.0.6.tgz", - "integrity": "sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -6841,9 +9471,8 @@ }, "node_modules/conventional-changelog-jquery": { "version": "3.0.11", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.11.tgz", - "integrity": "sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.5.1" }, @@ -6853,18 +9482,16 @@ }, "node_modules/conventional-changelog-jscs": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jscs/-/conventional-changelog-jscs-0.1.0.tgz", - "integrity": "sha512-V8sey4tE0nJUlWGi2PZKDMfawYLf/+F165xhhDjcIoTEJDxssVV5PMVzTQzjS6U/dEX85fWkur+bs6imOqkIng==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.4.1" } }, "node_modules/conventional-changelog-jshint": { "version": "2.0.9", - "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.9.tgz", - "integrity": "sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0", "q": "^1.5.1" @@ -6875,18 +9502,16 @@ }, "node_modules/conventional-changelog-preset-loader": { "version": "2.3.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", - "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/conventional-changelog-writer": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", - "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", "dev": true, + "license": "MIT", "dependencies": { "conventional-commits-filter": "^2.0.7", "dateformat": "^3.0.0", @@ -6907,24 +9532,21 @@ }, "node_modules/conventional-changelog-writer/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/conventional-commit-types": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz", - "integrity": "sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/conventional-commits-filter": { "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", - "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", "dev": true, + "license": "MIT", "dependencies": { "lodash.ismatch": "^4.4.0", "modify-values": "^1.0.0" @@ -6935,9 +9557,8 @@ }, "node_modules/conventional-commits-parser": { "version": "3.2.4", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz", - "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", "dev": true, + "license": "MIT", "dependencies": { "is-text-path": "^1.0.1", "JSONStream": "^1.0.4", @@ -6955,9 +9576,8 @@ }, "node_modules/conventional-github-releaser": { "version": "3.1.5", - "resolved": "https://registry.npmjs.org/conventional-github-releaser/-/conventional-github-releaser-3.1.5.tgz", - "integrity": "sha512-VhPKbdN92b2ygnQLkuwHIfUaPAVrVfJVuQdxbmmVPkN927LDP98HthLWFVShh4pxqLK0nE66v78RERGJVeCzbg==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog": "^2.0.0", "dateformat": "^3.0.0", @@ -6981,9 +9601,8 @@ }, "node_modules/conventional-github-releaser/node_modules/compare-func": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.4.tgz", - "integrity": "sha512-sq2sWtrqKPkEXAC8tEJA1+BqAH9GbFkGBtUOqrUX57VSfwp8xyktctk+uLoRy5eccTdxzDcVIztlYDpKs3Jv1Q==", "dev": true, + "license": "MIT", "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^3.0.0" @@ -6991,9 +9610,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-2.0.3.tgz", - "integrity": "sha512-4bcII9cJHSKb2qi9e8qGF6aJHLf/AB0dokhyR+X6QILTMl77s4l163vK+reXhajvfOYbbHQvsrWybr5+PKZwNA==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog-angular": "^1.6.6", "conventional-changelog-atom": "^2.0.0", @@ -7013,9 +9631,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-angular": { "version": "1.6.6", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-1.6.6.tgz", - "integrity": "sha512-suQnFSqCxRwyBxY68pYTsFkG0taIdinHLNEAX5ivtw8bCRnIgnpvcHmlR/yjUyZIrNPYAoXlY1WiEKWgSE4BNg==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^1.3.1", "q": "^1.5.1" @@ -7023,9 +9640,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-core": { "version": "3.2.3", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-3.2.3.tgz", - "integrity": "sha512-LMMX1JlxPIq/Ez5aYAYS5CpuwbOk6QFp8O4HLAcZxe3vxoCtABkhfjetk8IYdRB9CDQGwJFLR3Dr55Za6XKgUQ==", "dev": true, + "license": "MIT", "dependencies": { "conventional-changelog-writer": "^4.0.6", "conventional-commits-parser": "^3.0.3", @@ -7047,9 +9663,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-core/node_modules/read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" @@ -7060,9 +9675,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-core/node_modules/through2": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.4", "readable-stream": "2 || 3" @@ -7070,18 +9684,16 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-jquery": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz", - "integrity": "sha512-wbz5vVcvu/SPZTDFB21fF/xo5zFq6NQR42jhtUfOrrP1N/ZjNshhGb3expCGqHYdnUHzPevHeUafsVrdxVD5Og==", "dev": true, + "license": "ISC", "dependencies": { "q": "^1.4.1" } }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.1.0.tgz", - "integrity": "sha512-WwKcUp7WyXYGQmkLsX4QmU42AZ1lqlvRW9mqoyiQzdD+rJWbTepdWoKJuwXTS+yq79XKnQNa93/roViPQrAQgw==", "dev": true, + "license": "MIT", "dependencies": { "compare-func": "^2.0.0", "conventional-commits-filter": "^2.0.7", @@ -7103,9 +9715,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/compare-func": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dev": true, + "license": "MIT", "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" @@ -7113,9 +9724,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/hosted-git-info": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -7125,9 +9735,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/meow": { "version": "8.1.2", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, + "license": "MIT", "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -7150,9 +9759,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/normalize-package-data": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", @@ -7165,9 +9773,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/normalize-package-data/node_modules/semver": { "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -7180,9 +9787,8 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/readable-stream": { "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -7194,27 +9800,24 @@ }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/through2": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "3" } }, "node_modules/conventional-github-releaser/node_modules/conventional-changelog-writer/node_modules/type-fest": { "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -7224,9 +9827,8 @@ }, "node_modules/conventional-github-releaser/node_modules/dargs": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz", - "integrity": "sha512-jyweV/k0rbv2WK4r9KLayuBrSh2Py0tNmV7LBoSMH4hMQyrG8OPyIOWB2VEx4DJKXWmK4lopYMVvORlDt2S8Aw==", "dev": true, + "license": "MIT", "dependencies": { "number-is-nan": "^1.0.0" }, @@ -7236,18 +9838,16 @@ }, "node_modules/conventional-github-releaser/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/conventional-github-releaser/node_modules/dot-prop": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz", - "integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==", "dev": true, + "license": "MIT", "dependencies": { "is-obj": "^1.0.0" }, @@ -7257,9 +9857,8 @@ }, "node_modules/conventional-github-releaser/node_modules/find-up": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^2.0.0" }, @@ -7269,9 +9868,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz", - "integrity": "sha512-xPCyvcEOxCJDxhBfXDNH+zA7mIRGb2aY1gIUJWsZkpJbp1BLHl+/Sycg26Dv+ZbZAJkO61tzbBtqHUi30NGBvg==", "dev": true, + "license": "MIT", "dependencies": { "hosted-git-info": "^2.1.4", "meow": "^3.3.0", @@ -7285,18 +9883,16 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/camelcase": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/camelcase-keys": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^2.0.0", "map-obj": "^1.0.0" @@ -7307,9 +9903,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/find-up": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==", "dev": true, + "license": "MIT", "dependencies": { "path-exists": "^2.0.0", "pinkie-promise": "^2.0.0" @@ -7320,9 +9915,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/load-json-file": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^2.2.0", @@ -7336,9 +9930,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/meow": { "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==", "dev": true, + "license": "MIT", "dependencies": { "camelcase-keys": "^2.0.0", "decamelize": "^1.1.2", @@ -7357,9 +9950,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/path-exists": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==", "dev": true, + "license": "MIT", "dependencies": { "pinkie-promise": "^2.0.0" }, @@ -7369,9 +9961,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/path-type": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "pify": "^2.0.0", @@ -7383,18 +9974,16 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/pify": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/read-pkg": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==", "dev": true, + "license": "MIT", "dependencies": { "load-json-file": "^1.0.0", "normalize-package-data": "^2.3.2", @@ -7406,9 +9995,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/read-pkg-up": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^1.0.0", "read-pkg": "^1.0.0" @@ -7419,9 +10007,8 @@ }, "node_modules/conventional-github-releaser/node_modules/get-pkg-repo/node_modules/redent": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g==", "dev": true, + "license": "MIT", "dependencies": { "indent-string": "^2.1.0", "strip-indent": "^1.0.1" @@ -7432,9 +10019,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.0.tgz", - "integrity": "sha512-w4jFEJFgKXMQJ0H0ikBk2S+4KP2VEjhCvLCNqbNRQC8BgGWgLKNCO7a9K9LI+TVT7Gfoloje502sEnctibffgg==", "dev": true, + "license": "MIT", "dependencies": { "dargs": "^4.0.1", "lodash.template": "^4.0.2", @@ -7451,18 +10037,16 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/camelcase": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha512-FxAv7HpHrXbh3aPo4o2qxHay2lkLY3x5Mw3KeE4KQE8ysVfziWeRZDwcjauvwBSGEC/nXUPzZy8zeh4HokqOnw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/camelcase-keys": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", - "integrity": "sha512-Ej37YKYbFUI8QiYlvj9YHb6/Z60dZyPJW0Cs8sFilMbd2lP0bw3ylAq9yJkK4lcTA2dID5fG8LjmJYbO7kWb7Q==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^4.1.0", "map-obj": "^2.0.0", @@ -7474,27 +10058,24 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/indent-string": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha512-BYqTHXTGUIvg7t1r4sJNKcbDZkL92nkXA8YtRpbjFHRHGDL/NtUeiBJMeE60kIFN/Mg8ESaWQvftaYMGJzQZCQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/map-obj": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", - "integrity": "sha512-TzQSV2DiMYgoF5RycneKVUzIa9bQsj/B3tTgsE3dOGqlzHnGIDaC7XBE7grnA+8kZPnfqSGFe95VHc2oc0VFUQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/meow": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz", - "integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==", "dev": true, + "license": "MIT", "dependencies": { "camelcase-keys": "^4.0.0", "decamelize-keys": "^1.0.0", @@ -7512,9 +10093,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/minimist-options": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", - "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", "dev": true, + "license": "MIT", "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0" @@ -7525,9 +10105,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" @@ -7538,9 +10117,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/redent": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", - "integrity": "sha512-XNwrTx77JQCEMXTeb8movBKuK75MgH0RZkujNuDKCezemx/voapl9i2gCSi8WWm8+ox5ycJi1gxF22fR7c0Ciw==", "dev": true, + "license": "MIT", "dependencies": { "indent-string": "^3.0.0", "strip-indent": "^2.0.0" @@ -7551,18 +10129,16 @@ }, "node_modules/conventional-github-releaser/node_modules/git-raw-commits/node_modules/strip-indent": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", - "integrity": "sha512-RsSNPLpq6YUL7QYy44RnPVTn/lcVZtb48Uof3X5JLbF4zD/Gs7ZFDv2HWol+leoQN2mT86LAzSshGfkTlSOpsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-2.0.3.tgz", - "integrity": "sha512-tj4FD4ww2RX2ae//jSrXZzrocla9db5h0V7ikPl1P/WwoZar9epdUhwR7XHXSgc+ZkNq72BEEerqQuicoEQfzA==", "dev": true, + "license": "MIT", "dependencies": { "meow": "^4.0.0", "semver": "^6.0.0" @@ -7576,18 +10152,16 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/camelcase": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha512-FxAv7HpHrXbh3aPo4o2qxHay2lkLY3x5Mw3KeE4KQE8ysVfziWeRZDwcjauvwBSGEC/nXUPzZy8zeh4HokqOnw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/camelcase-keys": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", - "integrity": "sha512-Ej37YKYbFUI8QiYlvj9YHb6/Z60dZyPJW0Cs8sFilMbd2lP0bw3ylAq9yJkK4lcTA2dID5fG8LjmJYbO7kWb7Q==", "dev": true, + "license": "MIT", "dependencies": { "camelcase": "^4.1.0", "map-obj": "^2.0.0", @@ -7599,27 +10173,24 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/indent-string": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha512-BYqTHXTGUIvg7t1r4sJNKcbDZkL92nkXA8YtRpbjFHRHGDL/NtUeiBJMeE60kIFN/Mg8ESaWQvftaYMGJzQZCQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/map-obj": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", - "integrity": "sha512-TzQSV2DiMYgoF5RycneKVUzIa9bQsj/B3tTgsE3dOGqlzHnGIDaC7XBE7grnA+8kZPnfqSGFe95VHc2oc0VFUQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/meow": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz", - "integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==", "dev": true, + "license": "MIT", "dependencies": { "camelcase-keys": "^4.0.0", "decamelize-keys": "^1.0.0", @@ -7637,9 +10208,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/minimist-options": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", - "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", "dev": true, + "license": "MIT", "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0" @@ -7650,9 +10220,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/read-pkg-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" @@ -7663,9 +10232,8 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/redent": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", - "integrity": "sha512-XNwrTx77JQCEMXTeb8movBKuK75MgH0RZkujNuDKCezemx/voapl9i2gCSi8WWm8+ox5ycJi1gxF22fR7c0Ciw==", "dev": true, + "license": "MIT", "dependencies": { "indent-string": "^3.0.0", "strip-indent": "^2.0.0" @@ -7676,33 +10244,29 @@ }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/conventional-github-releaser/node_modules/git-semver-tags/node_modules/strip-indent": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", - "integrity": "sha512-RsSNPLpq6YUL7QYy44RnPVTn/lcVZtb48Uof3X5JLbF4zD/Gs7ZFDv2HWol+leoQN2mT86LAzSshGfkTlSOpsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/conventional-github-releaser/node_modules/indent-string": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg==", "dev": true, + "license": "MIT", "dependencies": { "repeating": "^2.0.0" }, @@ -7712,18 +10276,16 @@ }, "node_modules/conventional-github-releaser/node_modules/is-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/conventional-github-releaser/node_modules/locate-path": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" @@ -7734,9 +10296,8 @@ }, "node_modules/conventional-github-releaser/node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -7746,18 +10307,16 @@ }, "node_modules/conventional-github-releaser/node_modules/map-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/conventional-github-releaser/node_modules/meow": { "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", "dev": true, + "license": "MIT", "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -7780,9 +10339,8 @@ }, "node_modules/conventional-github-releaser/node_modules/meow/node_modules/yargs-parser": { "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, + "license": "ISC", "dependencies": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" @@ -7793,9 +10351,8 @@ }, "node_modules/conventional-github-releaser/node_modules/normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -7805,9 +10362,8 @@ }, "node_modules/conventional-github-releaser/node_modules/p-limit": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^1.0.0" }, @@ -7817,9 +10373,8 @@ }, "node_modules/conventional-github-releaser/node_modules/p-locate": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^1.1.0" }, @@ -7829,18 +10384,16 @@ }, "node_modules/conventional-github-releaser/node_modules/p-try": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/parse-json": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==", "dev": true, + "license": "MIT", "dependencies": { "error-ex": "^1.2.0" }, @@ -7850,18 +10403,16 @@ }, "node_modules/conventional-github-releaser/node_modules/path-exists": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/path-type": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "dev": true, + "license": "MIT", "dependencies": { "pify": "^3.0.0" }, @@ -7871,27 +10422,24 @@ }, "node_modules/conventional-github-releaser/node_modules/pify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/quick-lru": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", - "integrity": "sha512-tRS7sTgyxMXtLum8L65daJnHUhfDUgboRdcWW2bR9vBfrj2+O5HSMbQOJfJJjIVSPFqbBCF37FpwWXGitDc5tA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/conventional-github-releaser/node_modules/read-pkg": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", "dev": true, + "license": "MIT", "dependencies": { "load-json-file": "^4.0.0", "normalize-package-data": "^2.3.2", @@ -7903,27 +10451,24 @@ }, "node_modules/conventional-github-releaser/node_modules/semver": { "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/conventional-github-releaser/node_modules/split2": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/split2/-/split2-2.2.0.tgz", - "integrity": "sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==", "dev": true, + "license": "ISC", "dependencies": { "through2": "^2.0.2" } }, "node_modules/conventional-github-releaser/node_modules/strip-bom": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==", "dev": true, + "license": "MIT", "dependencies": { "is-utf8": "^0.2.0" }, @@ -7933,9 +10478,8 @@ }, "node_modules/conventional-github-releaser/node_modules/strip-indent": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==", "dev": true, + "license": "MIT", "dependencies": { "get-stdin": "^4.0.1" }, @@ -7948,9 +10492,8 @@ }, "node_modules/conventional-github-releaser/node_modules/through2": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "~2.3.6", "xtend": "~4.0.1" @@ -7958,9 +10501,8 @@ }, "node_modules/conventional-github-releaser/node_modules/type-fest": { "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -7970,15 +10512,13 @@ }, "node_modules/conventional-github-releaser/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/conventional-recommended-bump": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz", - "integrity": "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==", "dev": true, + "license": "MIT", "dependencies": { "concat-stream": "^2.0.0", "conventional-changelog-preset-loader": "^2.3.4", @@ -7998,12 +10538,11 @@ }, "node_modules/conventional-recommended-bump/node_modules/concat-stream": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", - "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", "dev": true, "engines": [ "node >= 6.0" ], + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "inherits": "^2.0.3", @@ -8013,9 +10552,8 @@ }, "node_modules/conventional-recommended-bump/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -8026,31 +10564,24 @@ } }, "node_modules/convert-hex": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/convert-hex/-/convert-hex-0.1.0.tgz", - "integrity": "sha512-w20BOb1PiR/sEJdS6wNrUjF5CSfscZFUp7R9NSlXH8h2wynzXVEPFPJECAnkNylZ+cvf3p7TyRUHggDmrwXT9A==" + "version": "0.1.0" }, "node_modules/convert-source-map": { "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/convert-string": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/convert-string/-/convert-string-0.1.0.tgz", - "integrity": "sha512-1KX9ESmtl8xpT2LN2tFnKSbV4NiarbVi8DVb39ZriijvtTklyrT+4dT1wsGMHKD3CJUjXgvJzstm9qL9ICojGA==" + "version": "0.1.0" }, "node_modules/cookiejar": { "version": "2.1.4", - "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz", - "integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cookies": { "version": "0.8.0", - "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.8.0.tgz", - "integrity": "sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==", + "license": "MIT", "dependencies": { "depd": "~2.0.0", "keygrip": "~1.1.0" @@ -8061,20 +10592,17 @@ }, "node_modules/copy-to": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/copy-to/-/copy-to-2.0.1.tgz", - "integrity": "sha512-3DdaFaU/Zf1AnpLiFDeNCD4TOWe3Zl2RZaTzUvWiIk5ERzcCodOE20Vqq4fzCbNoHURFHT4/us/Lfq+S2zyY4w==" + "license": "MIT" }, "node_modules/core-util-is": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cosmiconfig": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.0.0.tgz", - "integrity": "sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==", "dev": true, + "license": "MIT", "dependencies": { "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -8087,9 +10615,8 @@ }, "node_modules/cosmiconfig-typescript-loader": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.3.0.tgz", - "integrity": "sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=12", "npm": ">=6" @@ -8103,15 +10630,13 @@ }, "node_modules/create-require": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cross-spawn": { "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -8123,22 +10648,19 @@ }, "node_modules/crypt": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", - "integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==", + "license": "BSD-3-Clause", "engines": { "node": "*" } }, "node_modules/crypto-js": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", - "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==" + "license": "MIT" }, "node_modules/currently-unhandled": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==", "dev": true, + "license": "MIT", "dependencies": { "array-find-index": "^1.0.1" }, @@ -8148,9 +10670,8 @@ }, "node_modules/cz-conventional-changelog": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz", - "integrity": "sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^2.4.1", "commitizen": "^4.0.3", @@ -8168,9 +10689,8 @@ }, "node_modules/cz-conventional-changelog/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -8180,9 +10700,8 @@ }, "node_modules/cz-conventional-changelog/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -8194,33 +10713,29 @@ }, "node_modules/cz-conventional-changelog/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/cz-conventional-changelog/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cz-conventional-changelog/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/cz-conventional-changelog/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -8230,26 +10745,23 @@ }, "node_modules/dargs": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", - "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/dateformat": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", "dev": true, + "license": "MIT", "engines": { "node": "*" } }, "node_modules/debug": { "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -8264,18 +10776,16 @@ }, "node_modules/decamelize": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/decamelize-keys": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", "dev": true, + "license": "MIT", "dependencies": { "decamelize": "^1.1.0", "map-obj": "^1.0.0" @@ -8289,27 +10799,24 @@ }, "node_modules/decamelize-keys/node_modules/map-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/decode-uri-component": { "version": "0.2.2", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", - "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10" } }, "node_modules/decompress-response": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==", "dev": true, + "license": "MIT", "dependencies": { "mimic-response": "^1.0.0" }, @@ -8319,38 +10826,33 @@ }, "node_modules/dedent": { "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deep-extend": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4.0.0" } }, "node_modules/deep-is": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deepmerge": { "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/defaults": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "license": "MIT", "dependencies": { "clone": "^1.0.2" }, @@ -8360,17 +10862,15 @@ }, "node_modules/defaults/node_modules/clone": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "license": "MIT", "engines": { "node": ">=0.8" } }, "node_modules/define-properties": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", - "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", "dev": true, + "license": "MIT", "dependencies": { "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" @@ -8384,8 +10884,7 @@ }, "node_modules/delay": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz", - "integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -8395,38 +10894,33 @@ }, "node_modules/delayed-stream": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/delegates": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==" + "license": "MIT" }, "node_modules/denque": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", - "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "license": "Apache-2.0", "engines": { "node": ">=0.10" } }, "node_modules/depd": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/dependency-tree": { "version": "9.0.0", - "resolved": "https://registry.npmjs.org/dependency-tree/-/dependency-tree-9.0.0.tgz", - "integrity": "sha512-osYHZJ1fBSon3lNLw70amAXsQ+RGzXsPvk9HbBgTLbp/bQBmpH5mOmsUvqXU+YEWVU0ZLewsmzOET/8jWswjDQ==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.20.3", "debug": "^4.3.1", @@ -8443,33 +10937,29 @@ }, "node_modules/dependency-tree/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/dependency-tree/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/dependency-tree/node_modules/detective-stylus": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-3.0.0.tgz", - "integrity": "sha512-1xYTzbrduExqMYmte7Qk99IRA3Aa6oV7PYzd+3yDcQXkmENvyGF/arripri6lxRDdNYEb4fZFuHtNRAXbz3iAA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" } }, "node_modules/dependency-tree/node_modules/module-definition": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/module-definition/-/module-definition-4.1.0.tgz", - "integrity": "sha512-rHXi/DpMcD2qcKbPCTklDbX9lBKJrUSl971TW5l6nMpqKCIlzJqmQ8cfEF5M923h2OOLHPDVlh5pJxNyV+AJlw==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^4.0.0", "node-source-walk": "^5.0.1" @@ -8483,9 +10973,8 @@ }, "node_modules/dependency-tree/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -8495,9 +10984,8 @@ }, "node_modules/dependency-tree/node_modules/precinct": { "version": "9.2.1", - "resolved": "https://registry.npmjs.org/precinct/-/precinct-9.2.1.tgz", - "integrity": "sha512-uzKHaTyiVejWW7VJtHInb9KBUq9yl9ojxXGujhjhDmPon2wgZPBKQIKR+6csGqSlUeGXAA4MEFnU6DesxZib+A==", "dev": true, + "license": "MIT", "dependencies": { "@dependents/detective-less": "^3.0.1", "commander": "^9.5.0", @@ -8521,18 +11009,16 @@ }, "node_modules/dependency-tree/node_modules/precinct/node_modules/commander": { "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || >=14" } }, "node_modules/dependency-tree/node_modules/typescript": { "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -8543,8 +11029,7 @@ }, "node_modules/destroy": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "license": "MIT", "engines": { "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" @@ -8552,44 +11037,39 @@ }, "node_modules/detect-file": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", - "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/detect-indent": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", - "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/detect-libc": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz", - "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==", + "license": "Apache-2.0", "engines": { "node": ">=8" } }, "node_modules/detect-newline": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/detective-amd": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-4.1.0.tgz", - "integrity": "sha512-XlQrGjGEnMFjKbep0/S/T7XICxf25LFMP6Ug+Iw/Ww/MHUBzfy8QETCzamO1JlAMYPmkChDh21/NS/csG0FwGg==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^4.0.0", "escodegen": "^2.0.0", @@ -8605,18 +11085,16 @@ }, "node_modules/detective-amd/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/detective-amd/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -8626,9 +11104,8 @@ }, "node_modules/detective-cjs": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/detective-cjs/-/detective-cjs-4.1.0.tgz", - "integrity": "sha512-QxzMwt5MfPLwS7mG30zvnmOvHLx5vyVvjsAV6gQOyuMoBR5G1DhS1eJZ4P10AlH+HSnk93mTcrg3l39+24XCtg==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^4.0.0", "node-source-walk": "^5.0.1" @@ -8639,18 +11116,16 @@ }, "node_modules/detective-cjs/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/detective-cjs/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -8660,9 +11135,8 @@ }, "node_modules/detective-es6": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/detective-es6/-/detective-es6-3.0.1.tgz", - "integrity": "sha512-evPeYIEdK1jK3Oji5p0hX4sPV/1vK+o4ihcWZkMQE6voypSW/cIBiynOLxQk5KOOQbdP8oOAsYqouMTYO5l1sw==", "dev": true, + "license": "MIT", "dependencies": { "node-source-walk": "^5.0.0" }, @@ -8672,9 +11146,8 @@ }, "node_modules/detective-es6/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -8684,9 +11157,8 @@ }, "node_modules/detective-less": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/detective-less/-/detective-less-1.0.2.tgz", - "integrity": "sha512-Rps1xDkEEBSq3kLdsdnHZL1x2S4NGDcbrjmd4q+PykK5aJwDdP5MBgrJw1Xo+kyUHuv3JEzPqxr+Dj9ryeDRTA==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^4.0.0", "gonzales-pe": "^4.2.3", @@ -8698,9 +11170,8 @@ }, "node_modules/detective-postcss": { "version": "6.1.1", - "resolved": "https://registry.npmjs.org/detective-postcss/-/detective-postcss-6.1.1.tgz", - "integrity": "sha512-mX62A6chiafyFW9AwGF6B/uVU+F3hGMZwXDqCHe+NjmU/M5jlDBazdXb1sMoDE+InTDsoPaX3bUUOH33Yxn5Sw==", "dev": true, + "license": "MIT", "dependencies": { "is-url": "^1.2.4", "postcss": "^8.4.21", @@ -8712,9 +11183,8 @@ }, "node_modules/detective-sass": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/detective-sass/-/detective-sass-4.1.1.tgz", - "integrity": "sha512-KSUoOdrLXxSZFnHpGyXufWUP6VkfSdSNC/uezbJkKIwy2i3px5NQPY5hWOR0k9OFlrBakucymD3Ap4d87zobUQ==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^5.0.0" @@ -8725,9 +11195,8 @@ }, "node_modules/detective-sass/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -8737,9 +11206,8 @@ }, "node_modules/detective-scss": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/detective-scss/-/detective-scss-3.0.1.tgz", - "integrity": "sha512-Bv/t1dEKHCPJ9+byha7wKg4zda8IFk7KZpEX+ZJs2k1HsWIE3+FBeVFLtD3y9GYGfi8l7Sim3pULPz4+yLwW9A==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^5.0.0" @@ -8750,9 +11218,8 @@ }, "node_modules/detective-scss/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -8762,18 +11229,16 @@ }, "node_modules/detective-stylus": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-2.0.1.tgz", - "integrity": "sha512-/Tvs1pWLg8eYwwV6kZQY5IslGaYqc/GACxjcaGudiNtN5nKCH6o2WnJK3j0gA3huCnoQcbv8X7oz/c1lnvE3zQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0" } }, "node_modules/detective-typescript": { "version": "9.1.1", - "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-9.1.1.tgz", - "integrity": "sha512-Uc1yVutTF0RRm1YJ3g//i1Cn2vx1kwHj15cnzQP6ff5koNzQ0idc1zAC73ryaWEulA0ElRXFTq6wOqe8vUQ3MA==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/typescript-estree": "^5.55.0", "ast-module-types": "^4.0.0", @@ -8786,18 +11251,16 @@ }, "node_modules/detective-typescript/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/detective-typescript/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -8807,9 +11270,8 @@ }, "node_modules/detective-typescript/node_modules/typescript": { "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -8820,9 +11282,8 @@ }, "node_modules/dezalgo": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", - "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", "dev": true, + "license": "ISC", "dependencies": { "asap": "^2.0.0", "wrappy": "1" @@ -8830,27 +11291,24 @@ }, "node_modules/diff": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } }, "node_modules/diff-sequences": { "version": "29.4.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.4.3.tgz", - "integrity": "sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/dir-glob": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dev": true, + "license": "MIT", "dependencies": { "path-type": "^4.0.0" }, @@ -8860,9 +11318,8 @@ }, "node_modules/doctrine": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -8872,17 +11329,15 @@ }, "node_modules/dotenv": { "version": "16.0.3", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", - "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==", + "license": "BSD-2-Clause", "engines": { "node": ">=12" } }, "node_modules/dotgitignore": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/dotgitignore/-/dotgitignore-2.1.0.tgz", - "integrity": "sha512-sCm11ak2oY6DglEPpCB8TixLjWAxd3kJTs6UIcSasNYxXdFPV+YKlye92c8H4kKFqV5qYMIh7d+cYecEg0dIkA==", "dev": true, + "license": "ISC", "dependencies": { "find-up": "^3.0.0", "minimatch": "^3.0.4" @@ -8893,9 +11348,8 @@ }, "node_modules/dotgitignore/node_modules/find-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^3.0.0" }, @@ -8905,9 +11359,8 @@ }, "node_modules/dotgitignore/node_modules/locate-path": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^3.0.0", "path-exists": "^3.0.0" @@ -8918,9 +11371,8 @@ }, "node_modules/dotgitignore/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -8933,9 +11385,8 @@ }, "node_modules/dotgitignore/node_modules/p-locate": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.0.0" }, @@ -8945,17 +11396,14 @@ }, "node_modules/dotgitignore/node_modules/path-exists": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/dreamopt": { "version": "0.8.0", - "resolved": "https://registry.npmjs.org/dreamopt/-/dreamopt-0.8.0.tgz", - "integrity": "sha512-vyJTp8+mC+G+5dfgsY+r3ckxlz+QMX40VjPQsZc5gxVAxLmi64TBoVkP54A/pRAXMXsbu2GMMBrZPxNv23waMg==", "dependencies": { "wordwrap": ">=0.0.2" }, @@ -8965,32 +11413,27 @@ }, "node_modules/duplexer3": { "version": "0.1.5", - "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.5.tgz", - "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/eastasianwidth": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/ee-first": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + "license": "MIT" }, "node_modules/electron-to-chromium": { "version": "1.4.450", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.450.tgz", - "integrity": "sha512-BLG5HxSELlrMx7dJ2s+8SFlsCtJp37Zpk2VAxyC6CZtbc+9AJeZHfYHbrlSgdXp6saQ8StMqOTEDaBKgA7u1sw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/emittery": { "version": "0.13.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", - "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -9000,44 +11443,38 @@ }, "node_modules/emoji-regex": { "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/empty-dir": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/empty-dir/-/empty-dir-1.0.0.tgz", - "integrity": "sha512-97qcDM6mUA1jAeX6cktw7akc5awIGA+VIkA5MygKOKA+c2Vseo/xwKN0JNJTUhZUtPwZboKVD2p1xu+sV/F4xA==", + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/enabled": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" + "license": "MIT" }, "node_modules/encodeurl": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/end-of-stream": { "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "license": "MIT", "dependencies": { "once": "^1.4.0" } }, "node_modules/enhanced-resolve": { "version": "5.12.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz", - "integrity": "sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -9048,9 +11485,8 @@ }, "node_modules/entities": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.3.0.tgz", - "integrity": "sha512-/iP1rZrSEJ0DTlPiX+jbzlA3eVkY/e8L8SozroF395fIqE3TYF/Nz7YOMAawta+vLmyJ/hkGNNPcSbMADCCXbg==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.12" }, @@ -9060,25 +11496,22 @@ }, "node_modules/error-ex": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "license": "MIT", "dependencies": { "is-arrayish": "^0.2.1" } }, "node_modules/error-stack-parser": { "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } }, "node_modules/es-abstract": { "version": "1.21.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.0.tgz", - "integrity": "sha512-GUGtW7eXQay0c+PRq0sGIKSdaBorfVqsCMhGHo4elP7YVqZu9nCZS4UkK4gv71gOWNMra/PaSKD3ao1oWExO0g==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "es-set-tostringtag": "^2.0.0", @@ -9122,9 +11555,8 @@ }, "node_modules/es-set-tostringtag": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3", "has": "^1.0.3", @@ -9136,18 +11568,16 @@ }, "node_modules/es-shim-unscopables": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", "dev": true, + "license": "MIT", "dependencies": { "has": "^1.0.3" } }, "node_modules/es-to-primitive": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", "dev": true, + "license": "MIT", "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -9162,36 +11592,31 @@ }, "node_modules/es6-promise": { "version": "3.3.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", - "integrity": "sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==" + "license": "MIT" }, "node_modules/escalade": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/escape-html": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + "license": "MIT" }, "node_modules/escape-string-regexp": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "license": "MIT", "engines": { "node": ">=0.8.0" } }, "node_modules/escodegen": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", - "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esprima": "^4.0.1", "estraverse": "^5.2.0", @@ -9211,9 +11636,8 @@ }, "node_modules/escodegen/node_modules/levn": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "~1.1.2", "type-check": "~0.3.2" @@ -9224,9 +11648,8 @@ }, "node_modules/escodegen/node_modules/optionator": { "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", "dev": true, + "license": "MIT", "dependencies": { "deep-is": "~0.1.3", "fast-levenshtein": "~2.0.6", @@ -9241,8 +11664,6 @@ }, "node_modules/escodegen/node_modules/prelude-ls": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", "dev": true, "engines": { "node": ">= 0.8.0" @@ -9250,9 +11671,8 @@ }, "node_modules/escodegen/node_modules/type-check": { "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "~1.1.2" }, @@ -9262,9 +11682,8 @@ }, "node_modules/eslint": { "version": "8.41.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.41.0.tgz", - "integrity": "sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", @@ -9318,9 +11737,8 @@ }, "node_modules/eslint-config-airbnb-base": { "version": "15.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz", - "integrity": "sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==", "dev": true, + "license": "MIT", "dependencies": { "confusing-browser-globals": "^1.0.10", "object.assign": "^4.1.2", @@ -9337,18 +11755,16 @@ }, "node_modules/eslint-config-airbnb-base/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/eslint-config-airbnb-typescript": { "version": "17.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-17.0.0.tgz", - "integrity": "sha512-elNiuzD0kPAPTXjFWg+lE24nMdHMtuxgYoD30OyMD6yrW1AhFZPAg27VX7d3tzOErw+dgJTNWfRSDqEcXb4V0g==", "dev": true, + "license": "MIT", "dependencies": { "eslint-config-airbnb-base": "^15.0.0" }, @@ -9361,9 +11777,8 @@ }, "node_modules/eslint-config-prettier": { "version": "8.8.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", - "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", "dev": true, + "license": "MIT", "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -9373,9 +11788,8 @@ }, "node_modules/eslint-import-resolver-node": { "version": "0.3.7", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz", - "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7", "is-core-module": "^2.11.0", @@ -9384,18 +11798,16 @@ }, "node_modules/eslint-import-resolver-node/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/eslint-module-utils": { "version": "2.7.4", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz", - "integrity": "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7" }, @@ -9410,18 +11822,16 @@ }, "node_modules/eslint-module-utils/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/eslint-plugin-import": { "version": "2.27.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz", - "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==", "dev": true, + "license": "MIT", "dependencies": { "array-includes": "^3.1.6", "array.prototype.flat": "^1.3.1", @@ -9448,18 +11858,16 @@ }, "node_modules/eslint-plugin-import/node_modules/debug": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } }, "node_modules/eslint-plugin-import/node_modules/doctrine": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", "dev": true, + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -9469,18 +11877,16 @@ }, "node_modules/eslint-plugin-import/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/eslint-plugin-json": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-json/-/eslint-plugin-json-3.1.0.tgz", - "integrity": "sha512-MrlG2ynFEHe7wDGwbUuFPsaT2b1uhuEFhJ+W1f1u+1C2EkXmTYJp4B1aAdQQ8M+CC3t//N/oRKiIVw14L2HR1g==", "dev": true, + "license": "MIT", "dependencies": { "lodash": "^4.17.21", "vscode-json-languageservice": "^4.1.6" @@ -9491,9 +11897,8 @@ }, "node_modules/eslint-plugin-sonarjs": { "version": "0.19.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.19.0.tgz", - "integrity": "sha512-6+s5oNk5TFtVlbRxqZN7FIGmjdPCYQKaTzFPmqieCmsU1kBYDzndTeQav0xtQNwZJWu5awWfTGe8Srq9xFOGnw==", "dev": true, + "license": "LGPL-3.0", "engines": { "node": ">=14" }, @@ -9503,9 +11908,8 @@ }, "node_modules/eslint-plugin-unicorn": { "version": "46.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-46.0.1.tgz", - "integrity": "sha512-setGhMTiLAddg1asdwjZ3hekIN5zLznNa5zll7pBPwFOka6greCKDQydfqy4fqyUhndi74wpDzClSQMEcmOaew==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-validator-identifier": "^7.19.1", "@eslint-community/eslint-utils": "^4.1.2", @@ -9536,9 +11940,8 @@ }, "node_modules/eslint-plugin-unicorn/node_modules/jsesc": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", "dev": true, + "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, @@ -9548,9 +11951,8 @@ }, "node_modules/eslint-scope": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -9564,9 +11966,8 @@ }, "node_modules/eslint-visitor-keys": { "version": "3.4.1", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -9576,9 +11977,8 @@ }, "node_modules/eslint/node_modules/ajv": { "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -9592,9 +11992,8 @@ }, "node_modules/eslint/node_modules/escape-string-regexp": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -9604,15 +12003,13 @@ }, "node_modules/eslint/node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/espree": { "version": "9.5.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.8.0", "acorn-jsx": "^5.3.2", @@ -9627,9 +12024,8 @@ }, "node_modules/esprima": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, + "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -9640,9 +12036,8 @@ }, "node_modules/esquery": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -9652,9 +12047,8 @@ }, "node_modules/esrecurse": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -9664,41 +12058,36 @@ }, "node_modules/estraverse": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } }, "node_modules/esutils": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/eventemitter3": { "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/events": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "license": "MIT", "engines": { "node": ">=0.8.x" } }, "node_modules/execa": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", @@ -9719,8 +12108,6 @@ }, "node_modules/exit": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", "dev": true, "engines": { "node": ">= 0.8.0" @@ -9728,9 +12115,8 @@ }, "node_modules/expand-tilde": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", - "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==", "dev": true, + "license": "MIT", "dependencies": { "homedir-polyfill": "^1.0.1" }, @@ -9740,9 +12126,8 @@ }, "node_modules/expect": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.6.0.tgz", - "integrity": "sha512-AV+HaBtnDJ2YEUhPPo25HyUHBLaetM+y/Dq6pEC8VPQyt1dK+k8MfGkMy46djy2bddcqESc1kl4/K1uLWSfk9g==", "dev": true, + "license": "MIT", "dependencies": { "@jest/expect-utils": "^29.6.0", "@types/node": "*", @@ -9757,18 +12142,16 @@ }, "node_modules/expose-gc": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/expose-gc/-/expose-gc-1.0.0.tgz", - "integrity": "sha512-ecOHrdm+zyOCGIwX18/1RHkUWgxDqGGRiGhaNC+42jReTtudbm2ID/DMa/wpaHwqy5YQHPZvsDqRM2F2iZ0uVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/external-editor": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "dev": true, + "license": "MIT", "dependencies": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", @@ -9780,14 +12163,12 @@ }, "node_modules/fast-deep-equal": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "license": "MIT" }, "node_modules/fast-glob": { "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -9801,9 +12182,8 @@ }, "node_modules/fast-glob/node_modules/glob-parent": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -9813,15 +12193,13 @@ }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-json-stringify": { "version": "2.7.13", - "resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-2.7.13.tgz", - "integrity": "sha512-ar+hQ4+OIurUGjSJD1anvYSDcUflywhKjfxnsW4TBTD7+u0tJufv6DKRWoQk3vI6YBOWMoz0TQtfbe7dxbQmvA==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^6.11.0", "deepmerge": "^4.2.2", @@ -9834,9 +12212,8 @@ }, "node_modules/fast-json-stringify/node_modules/ajv": { "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -9850,21 +12227,18 @@ }, "node_modules/fast-json-stringify/node_modules/json-schema-traverse": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-printf": { "version": "1.6.9", - "resolved": "https://registry.npmjs.org/fast-printf/-/fast-printf-1.6.9.tgz", - "integrity": "sha512-FChq8hbz65WMj4rstcQsFB0O7Cy++nmbNfLYnD9cYv2cRn8EG6k/MGn9kO/tjO66t09DLDugj3yL+V2o6Qftrg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "boolean": "^3.1.4" }, @@ -9874,14 +12248,11 @@ }, "node_modules/fast-safe-stringify": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", - "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-xml-parser": { "version": "4.2.5", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz", - "integrity": "sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==", "funding": [ { "type": "paypal", @@ -9892,6 +12263,7 @@ "url": "https://github.com/sponsors/NaturalIntelligence" } ], + "license": "MIT", "dependencies": { "strnum": "^1.0.5" }, @@ -9901,32 +12273,28 @@ }, "node_modules/fastq": { "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", "dev": true, + "license": "ISC", "dependencies": { "reusify": "^1.0.4" } }, "node_modules/fb-watchman": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", - "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "bser": "2.1.1" } }, "node_modules/fecha": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", - "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==" + "license": "MIT" }, "node_modules/figures": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^1.0.5" }, @@ -9939,9 +12307,8 @@ }, "node_modules/file-entry-cache": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", "dev": true, + "license": "MIT", "dependencies": { "flat-cache": "^3.0.4" }, @@ -9951,14 +12318,12 @@ }, "node_modules/file-uri-to-path": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" + "license": "MIT" }, "node_modules/filing-cabinet": { "version": "3.3.1", - "resolved": "https://registry.npmjs.org/filing-cabinet/-/filing-cabinet-3.3.1.tgz", - "integrity": "sha512-renEK4Hh6DUl9Vl22Y3cxBq1yh8oNvbAdXnhih0wVpmea+uyKjC9K4QeRjUaybIiIewdzfum+Fg15ZqJ/GyCaA==", "dev": true, + "license": "MIT", "dependencies": { "app-module-path": "^2.2.0", "commander": "^2.20.3", @@ -9983,15 +12348,13 @@ }, "node_modules/filing-cabinet/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/filing-cabinet/node_modules/typescript": { "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -10002,9 +12365,8 @@ }, "node_modules/fill-range": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -10014,9 +12376,8 @@ }, "node_modules/find-node-modules": { "version": "2.1.3", - "resolved": "https://registry.npmjs.org/find-node-modules/-/find-node-modules-2.1.3.tgz", - "integrity": "sha512-UC2I2+nx1ZuOBclWVNdcnbDR5dlrOdVb7xNjmT/lHE+LsgztWks3dG7boJ37yTS/venXw84B/mAW9uHVoC5QRg==", "dev": true, + "license": "MIT", "dependencies": { "findup-sync": "^4.0.0", "merge": "^2.1.1" @@ -10024,15 +12385,13 @@ }, "node_modules/find-root": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/find-up": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" @@ -10046,17 +12405,15 @@ }, "node_modules/findit2": { "version": "2.2.3", - "resolved": "https://registry.npmjs.org/findit2/-/findit2-2.2.3.tgz", - "integrity": "sha512-lg/Moejf4qXovVutL0Lz4IsaPoNYMuxt4PA0nGqFxnJ1CTTGGlEO2wKgoDpwknhvZ8k4Q2F+eesgkLbG2Mxfog==", + "license": "MIT", "engines": { "node": ">=0.8.22" } }, "node_modules/findup-sync": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-4.0.0.tgz", - "integrity": "sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==", "dev": true, + "license": "MIT", "dependencies": { "detect-file": "^1.0.0", "is-glob": "^4.0.0", @@ -10069,17 +12426,15 @@ }, "node_modules/flat": { "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "license": "BSD-3-Clause", "bin": { "flat": "cli.js" } }, "node_modules/flat-cache": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", "dev": true, + "license": "MIT", "dependencies": { "flatted": "^3.1.0", "rimraf": "^3.0.2" @@ -10090,32 +12445,27 @@ }, "node_modules/flatted": { "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/flatten": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.3.tgz", - "integrity": "sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg==", - "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash.", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fn.name": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" + "license": "MIT" }, "node_modules/follow-redirects": { "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/RubenVerborgh" } ], + "license": "MIT", "engines": { "node": ">=4.0" }, @@ -10127,18 +12477,15 @@ }, "node_modules/for-each": { "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dev": true, + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/foreground-child": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", "dev": true, + "license": "ISC", "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -10152,9 +12499,8 @@ }, "node_modules/foreground-child/node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, + "license": "ISC", "engines": { "node": ">=14" }, @@ -10164,8 +12510,7 @@ }, "node_modules/form-data": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -10177,9 +12522,8 @@ }, "node_modules/formidable": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/formidable/-/formidable-2.1.2.tgz", - "integrity": "sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==", "dev": true, + "license": "MIT", "dependencies": { "dezalgo": "^1.0.4", "hexoid": "^1.0.0", @@ -10192,17 +12536,15 @@ }, "node_modules/fresh": { "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/from2": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.1", "readable-stream": "^2.0.0" @@ -10210,9 +12552,8 @@ }, "node_modules/fs-extra": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", "dev": true, + "license": "MIT", "dependencies": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", @@ -10225,8 +12566,7 @@ }, "node_modules/fs-minipass": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, @@ -10236,8 +12576,7 @@ }, "node_modules/fs-minipass/node_modules/minipass": { "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -10247,20 +12586,16 @@ }, "node_modules/fs-minipass/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "license": "ISC" }, "node_modules/fs.realpath": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + "license": "ISC" }, "node_modules/fsevents": { "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, - "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -10271,14 +12606,12 @@ }, "node_modules/function-bind": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "license": "MIT" }, "node_modules/function.prototype.name": { "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", @@ -10294,17 +12627,15 @@ }, "node_modules/functions-have-names": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/gauge": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", + "license": "ISC", "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.2", @@ -10322,18 +12653,16 @@ }, "node_modules/gensync": { "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/get-amd-module-type": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-amd-module-type/-/get-amd-module-type-4.1.0.tgz", - "integrity": "sha512-0e/eK6vTGCnSfQ6eYs3wtH05KotJYIP7ZIZEueP/KlA+0dIAEs8bYFvOd/U56w1vfjhJqBagUxVMyy9Tr/cViQ==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^4.0.0", "node-source-walk": "^5.0.1" @@ -10344,18 +12673,16 @@ }, "node_modules/get-amd-module-type/node_modules/ast-module-types": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.0" } }, "node_modules/get-amd-module-type/node_modules/node-source-walk": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.1.tgz", - "integrity": "sha512-fe5rFjPqkWQb4CLfsOf10fZAJvImfLpcVx+Nqbozaj6PBoAEjyEK1HZGCGvQNyre2HdL1HnZG6mxBf2UHSzr/w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -10365,17 +12692,15 @@ }, "node_modules/get-caller-file": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, + "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" } }, "node_modules/get-intrinsic": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", - "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -10387,24 +12712,21 @@ }, "node_modules/get-own-enumerable-property-symbols": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", - "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/get-package-type": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.0.0" } }, "node_modules/get-pkg-repo": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", - "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", "dev": true, + "license": "MIT", "dependencies": { "@hutson/parse-repository-url": "^3.0.0", "hosted-git-info": "^4.0.0", @@ -10420,9 +12742,8 @@ }, "node_modules/get-pkg-repo/node_modules/cliui": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -10431,9 +12752,8 @@ }, "node_modules/get-pkg-repo/node_modules/through2": { "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "~2.3.6", "xtend": "~4.0.1" @@ -10441,9 +12761,8 @@ }, "node_modules/get-pkg-repo/node_modules/yargs": { "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -10459,18 +12778,16 @@ }, "node_modules/get-stdin": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "integrity": "sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/get-stream": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -10480,9 +12797,8 @@ }, "node_modules/get-symbol-description": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.1" @@ -10496,8 +12812,7 @@ }, "node_modules/get-value": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-3.0.1.tgz", - "integrity": "sha512-mKZj9JLQrwMBtj5wxi6MH8Z5eSKaERpAwjg43dPtlGI1ZVEgH/qC7T8/6R2OBSUA+zzHBZgICsVJaEIV2tKTDA==", + "license": "MIT", "dependencies": { "isobject": "^3.0.1" }, @@ -10507,9 +12822,8 @@ }, "node_modules/gh-got": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/gh-got/-/gh-got-7.1.0.tgz", - "integrity": "sha512-KeWkkhresa7sbpzQLYzITMgez5rMigUsijhmSAHcLDORIMUbdlkdoZyaN1wQvIjmUZnyb/wkAPaXb4MQKX0mdQ==", "dev": true, + "license": "MIT", "dependencies": { "got": "^8.0.0", "is-plain-obj": "^1.1.0" @@ -10520,9 +12834,8 @@ }, "node_modules/git-raw-commits": { "version": "2.0.11", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz", - "integrity": "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==", "dev": true, + "license": "MIT", "dependencies": { "dargs": "^7.0.0", "lodash": "^4.17.15", @@ -10539,9 +12852,8 @@ }, "node_modules/git-remote-origin-url": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", - "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", "dev": true, + "license": "MIT", "dependencies": { "gitconfiglocal": "^1.0.0", "pify": "^2.3.0" @@ -10552,18 +12864,16 @@ }, "node_modules/git-remote-origin-url/node_modules/pify": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/git-semver-tags": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", - "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", "dev": true, + "license": "MIT", "dependencies": { "meow": "^8.0.0", "semver": "^6.0.0" @@ -10577,27 +12887,24 @@ }, "node_modules/git-semver-tags/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/gitconfiglocal": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", - "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", "dev": true, + "license": "BSD", "dependencies": { "ini": "^1.3.2" } }, "node_modules/glob": { "version": "10.3.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", - "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", "dev": true, + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^2.0.3", @@ -10617,9 +12924,8 @@ }, "node_modules/glob-parent": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -10629,18 +12935,16 @@ }, "node_modules/glob/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, "node_modules/glob/node_modules/minimatch": { "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -10653,9 +12957,8 @@ }, "node_modules/global-dirs": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", - "integrity": "sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==", "dev": true, + "license": "MIT", "dependencies": { "ini": "^1.3.4" }, @@ -10665,9 +12968,8 @@ }, "node_modules/global-modules": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", - "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", "dev": true, + "license": "MIT", "dependencies": { "global-prefix": "^1.0.1", "is-windows": "^1.0.1", @@ -10679,9 +12981,8 @@ }, "node_modules/global-prefix": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", - "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==", "dev": true, + "license": "MIT", "dependencies": { "expand-tilde": "^2.0.2", "homedir-polyfill": "^1.0.1", @@ -10695,9 +12996,8 @@ }, "node_modules/global-prefix/node_modules/which": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -10707,9 +13007,8 @@ }, "node_modules/globals": { "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -10722,9 +13021,8 @@ }, "node_modules/globals/node_modules/type-fest": { "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -10734,9 +13032,8 @@ }, "node_modules/globalthis": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", "dev": true, + "license": "MIT", "dependencies": { "define-properties": "^1.1.3" }, @@ -10749,9 +13046,8 @@ }, "node_modules/globby": { "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", "dev": true, + "license": "MIT", "dependencies": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -10769,9 +13065,8 @@ }, "node_modules/gonzales-pe": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/gonzales-pe/-/gonzales-pe-4.3.0.tgz", - "integrity": "sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.5" }, @@ -10784,9 +13079,7 @@ }, "node_modules/gopd": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -10796,9 +13089,8 @@ }, "node_modules/got": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/got/-/got-8.3.2.tgz", - "integrity": "sha512-qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw==", "dev": true, + "license": "MIT", "dependencies": { "@sindresorhus/is": "^0.7.0", "cacheable-request": "^2.1.1", @@ -10824,44 +13116,38 @@ }, "node_modules/got/node_modules/get-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/got/node_modules/pify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/graceful-fs": { "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/graphemer": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/growly": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", - "integrity": "sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/handlebars": { "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "license": "MIT", "dependencies": { "minimist": "^1.2.5", "neo-async": "^2.6.0", @@ -10880,17 +13166,15 @@ }, "node_modules/hard-rejection": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/has": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.1" }, @@ -10900,27 +13184,24 @@ }, "node_modules/has-bigints": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/has-property-descriptors": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.1" }, @@ -10930,9 +13211,8 @@ }, "node_modules/has-proto": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -10942,17 +13222,15 @@ }, "node_modules/has-symbol-support-x": { "version": "1.4.2", - "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz", - "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==", "dev": true, + "license": "MIT", "engines": { "node": "*" } }, "node_modules/has-symbols": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -10962,9 +13240,8 @@ }, "node_modules/has-to-string-tag-x": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", - "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", "dev": true, + "license": "MIT", "dependencies": { "has-symbol-support-x": "^1.4.1" }, @@ -10974,8 +13251,7 @@ }, "node_modules/has-tostringtag": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" }, @@ -10988,13 +13264,11 @@ }, "node_modules/has-unicode": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" + "license": "ISC" }, "node_modules/has-value": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-2.0.2.tgz", - "integrity": "sha512-ybKOlcRsK2MqrM3Hmz/lQxXHZ6ejzSPzpNabKB45jb5qDgJvKPa3SdapTsTLwEb9WltgWpOmNax7i+DzNOk4TA==", + "license": "MIT", "dependencies": { "get-value": "^3.0.0", "has-values": "^2.0.1" @@ -11005,8 +13279,7 @@ }, "node_modules/has-values": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-2.0.1.tgz", - "integrity": "sha512-+QdH3jOmq9P8GfdjFg0eJudqx1FqU62NQJ4P16rOEHeRdl7ckgwn6uqQjzYE0ZoHVV/e5E2esuJ5Gl5+HUW19w==", + "license": "MIT", "dependencies": { "kind-of": "^6.0.2" }, @@ -11016,23 +13289,20 @@ }, "node_modules/heap": { "version": "0.2.7", - "resolved": "https://registry.npmjs.org/heap/-/heap-0.2.7.tgz", - "integrity": "sha512-2bsegYkkHO+h/9MGbn6KWcE45cHZgPANo5LXF7EvWdT0yT2EguSVO1nDgU5c8+ZOPwp2vMNa7YFsJhVcDR9Sdg==" + "license": "MIT" }, "node_modules/hexoid": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/hexoid/-/hexoid-1.0.0.tgz", - "integrity": "sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/homedir-polyfill": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", "dev": true, + "license": "MIT", "dependencies": { "parse-passwd": "^1.0.0" }, @@ -11042,9 +13312,8 @@ }, "node_modules/hosted-git-info": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -11054,9 +13323,8 @@ }, "node_modules/hosted-git-info/node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -11066,20 +13334,17 @@ }, "node_modules/hosted-git-info/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/html-escaper": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/http-assert": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/http-assert/-/http-assert-1.5.0.tgz", - "integrity": "sha512-uPpH7OKX4H25hBmU6G1jWNaqJGpTXxey+YOUizJUAgu0AjLUeC8D73hTrhvDS5D+GJN1DN1+hhc/eF/wpxtp0w==", + "license": "MIT", "dependencies": { "deep-equal": "~1.0.1", "http-errors": "~1.8.0" @@ -11090,19 +13355,16 @@ }, "node_modules/http-assert/node_modules/deep-equal": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", - "integrity": "sha512-bHtC0iYvWhyaTzvV3CZgPeZQqCOBGyGsVV7v4eevpdkLHfiSrXUdBG+qAuSz4RI70sszvjQ1QSZ98An1yNwpSw==" + "license": "MIT" }, "node_modules/http-cache-semantics": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/http-errors": { "version": "1.8.1", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", - "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "license": "MIT", "dependencies": { "depd": "~1.1.2", "inherits": "2.0.4", @@ -11116,16 +13378,14 @@ }, "node_modules/http-errors/node_modules/depd": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/http-graceful-shutdown": { "version": "3.1.13", - "resolved": "https://registry.npmjs.org/http-graceful-shutdown/-/http-graceful-shutdown-3.1.13.tgz", - "integrity": "sha512-Ci5LRufQ8AtrQ1U26AevS8QoMXDOhnAHCJI3eZu1com7mZGHxREmw3dNj85ftpQokQCvak8nI2pnFS8zyM1M+Q==", + "license": "MIT", "dependencies": { "debug": "^4.3.4" }, @@ -11135,9 +13395,8 @@ }, "node_modules/http-terminator": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/http-terminator/-/http-terminator-3.2.0.tgz", - "integrity": "sha512-JLjck1EzPaWjsmIf8bziM3p9fgR1Y3JoUKAkyYEbZmFrIvJM6I8vVJfBGWlEtV9IWOvzNnaTtjuwZeBY2kwB4g==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "delay": "^5.0.0", "p-wait-for": "^3.2.0", @@ -11150,9 +13409,8 @@ }, "node_modules/http-terminator/node_modules/type-fest": { "version": "2.19.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", - "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=12.20" }, @@ -11162,8 +13420,7 @@ }, "node_modules/https-proxy-agent": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "license": "MIT", "dependencies": { "agent-base": "6", "debug": "4" @@ -11174,27 +13431,24 @@ }, "node_modules/human-format": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/human-format/-/human-format-1.0.0.tgz", - "integrity": "sha512-ZfSxF/LHVDb5Un52AguYkZArbiuMbJQwpOpZ0MBuj3pYDmLt7pkCEws9L8xKbgnaKrfMgGd6qc+PHBbKO97AaA==", "dev": true, + "license": "ISC", "engines": { "node": ">=4" } }, "node_modules/human-signals": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=10.17.0" } }, "node_modules/husky": { "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "dev": true, + "license": "MIT", "bin": { "husky": "lib/bin.js" }, @@ -11207,8 +13461,7 @@ }, "node_modules/iconv-lite": { "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -11218,8 +13471,6 @@ }, "node_modules/ieee754": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "funding": [ { "type": "github", @@ -11233,22 +13484,21 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "BSD-3-Clause" }, "node_modules/ignore": { "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } }, "node_modules/import-fresh": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, + "license": "MIT", "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -11262,18 +13512,16 @@ }, "node_modules/import-fresh/node_modules/resolve-from": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/import-local": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", "dev": true, + "license": "MIT", "dependencies": { "pkg-dir": "^4.2.0", "resolve-cwd": "^3.0.0" @@ -11290,40 +13538,35 @@ }, "node_modules/imurmurhash": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8.19" } }, "node_modules/indent-string": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/indexes-of": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", - "integrity": "sha512-bup+4tap3Hympa+JBJUG7XuOsdNQ6fxt0MHyXMKuLBKn0OqsTfvUxkUrroEX1+B2VsSHvCjiIcZVxRtYa4nllA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/inflation": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/inflation/-/inflation-2.0.0.tgz", - "integrity": "sha512-m3xv4hJYR2oXw4o4Y5l6P5P16WYmazYof+el6Al3f+YlggGj6qT9kImBAnzDelRALnP5d3h4jGBPKzYCizjZZw==", + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/inflight": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -11331,20 +13574,17 @@ }, "node_modules/inherits": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "license": "ISC" }, "node_modules/ini": { "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/inquirer": { "version": "8.2.4", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.4.tgz", - "integrity": "sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==", "dev": true, + "license": "MIT", "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^4.1.1", @@ -11368,9 +13608,8 @@ }, "node_modules/internal-slot": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.4.tgz", - "integrity": "sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3", "has": "^1.0.3", @@ -11382,9 +13621,8 @@ }, "node_modules/into-stream": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz", - "integrity": "sha512-TcdjPibTksa1NQximqep2r17ISRiNE9fwlfbg3F8ANdvP5/yrFTew86VcO//jk4QTaMlbjypPBq76HN2zaKfZQ==", "dev": true, + "license": "MIT", "dependencies": { "from2": "^2.1.1", "p-is-promise": "^1.1.0" @@ -11395,8 +13633,7 @@ }, "node_modules/ioredis": { "version": "5.3.2", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.3.2.tgz", - "integrity": "sha512-1DKMMzlIHM02eBBVOFQ1+AolGjs6+xEcM4PDL7NqOS6szq7H9jSaEkIUH6/a5Hl241LzW6JLSiAbNvTQjUupUA==", + "license": "MIT", "dependencies": { "@ioredis/commands": "^1.1.1", "cluster-key-slot": "^1.1.0", @@ -11418,25 +13655,36 @@ }, "node_modules/ip-regex": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", - "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/is/-/is-3.3.0.tgz", - "integrity": "sha512-nW24QBoPcFGGHJGUwnfpI7Yc5CdqWNdsyHQszVE/z2pKHXzh7FZ5GWhJqSyaQ9wMkQnsTx+kAI8bHlCX4tKdbg==", + "license": "MIT", "engines": { "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", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.1.tgz", - "integrity": "sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -11448,14 +13696,12 @@ }, "node_modules/is-arrayish": { "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + "license": "MIT" }, "node_modules/is-bigint": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", "dev": true, + "license": "MIT", "dependencies": { "has-bigints": "^1.0.1" }, @@ -11465,9 +13711,8 @@ }, "node_modules/is-boolean-object": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -11481,14 +13726,12 @@ }, "node_modules/is-buffer": { "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + "license": "MIT" }, "node_modules/is-builtin-module": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", - "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", "dev": true, + "license": "MIT", "dependencies": { "builtin-modules": "^3.3.0" }, @@ -11501,9 +13744,7 @@ }, "node_modules/is-callable": { "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -11513,8 +13754,7 @@ }, "node_modules/is-core-module": { "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "license": "MIT", "dependencies": { "has": "^1.0.3" }, @@ -11524,9 +13764,8 @@ }, "node_modules/is-date-object": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -11539,9 +13778,8 @@ }, "node_modules/is-docker": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", "dev": true, + "license": "MIT", "bin": { "is-docker": "cli.js" }, @@ -11554,18 +13792,16 @@ }, "node_modules/is-extglob": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-finite": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", - "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" }, @@ -11575,9 +13811,8 @@ }, "node_modules/is-fullwidth-code-point": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", - "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -11587,17 +13822,15 @@ }, "node_modules/is-generator-fn": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/is-generator-function": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -11610,9 +13843,8 @@ }, "node_modules/is-glob": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -11622,17 +13854,15 @@ }, "node_modules/is-interactive": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is-ip": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-ip/-/is-ip-3.1.0.tgz", - "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==", + "license": "MIT", "dependencies": { "ip-regex": "^4.0.0" }, @@ -11642,9 +13872,8 @@ }, "node_modules/is-negative-zero": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -11654,18 +13883,16 @@ }, "node_modules/is-number": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } }, "node_modules/is-number-object": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -11678,35 +13905,31 @@ }, "node_modules/is-object": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz", - "integrity": "sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-path-inside": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/is-plain-obj": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-plain-object": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "license": "MIT", "dependencies": { "isobject": "^3.0.1" }, @@ -11716,17 +13939,15 @@ }, "node_modules/is-primitive": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-3.0.1.tgz", - "integrity": "sha512-GljRxhWvlCNRfZyORiH77FwdFwGcMO620o37EOYC0ORWdq+WYNVqW0w2Juzew4M+L81l6/QS3t5gkkihyRqv9w==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-regex": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -11740,33 +13961,29 @@ }, "node_modules/is-regexp": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-relative-path": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-relative-path/-/is-relative-path-1.0.2.tgz", - "integrity": "sha512-i1h+y50g+0hRbBD+dbnInl3JlJ702aar58snAeX+MxBAPvzXGej7sYoPMhlnykabt0ZzCJNBEyzMlekuQZN7fA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-retry-allowed": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz", - "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-shared-array-buffer": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2" }, @@ -11776,8 +13993,7 @@ }, "node_modules/is-stream": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "license": "MIT", "engines": { "node": ">=8" }, @@ -11787,9 +14003,8 @@ }, "node_modules/is-string": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -11802,9 +14017,8 @@ }, "node_modules/is-symbol": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", "dev": true, + "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" }, @@ -11817,9 +14031,8 @@ }, "node_modules/is-text-path": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", - "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", "dev": true, + "license": "MIT", "dependencies": { "text-extensions": "^1.0.0" }, @@ -11829,9 +14042,7 @@ }, "node_modules/is-typed-array": { "version": "1.1.10", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", - "dev": true, + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -11848,9 +14059,8 @@ }, "node_modules/is-unicode-supported": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -11860,15 +14070,13 @@ }, "node_modules/is-url": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", - "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-url-superb": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-url-superb/-/is-url-superb-4.0.0.tgz", - "integrity": "sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -11878,15 +14086,13 @@ }, "node_modules/is-utf8": { "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-weakref": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2" }, @@ -11896,18 +14102,16 @@ }, "node_modules/is-windows": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/is-wsl": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", "dev": true, + "license": "MIT", "dependencies": { "is-docker": "^2.0.0" }, @@ -11917,52 +14121,44 @@ }, "node_modules/isarray": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true + "license": "MIT" }, "node_modules/iserror": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/iserror/-/iserror-0.0.2.tgz", - "integrity": "sha512-oKGGrFVaWwETimP3SiWwjDeY27ovZoyZPHtxblC4hCq9fXxed/jasx+ATWFFjCVSRZng8VTMsN1nDnGo6zMBSw==" + "license": "MIT" }, "node_modules/isexe": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/isobject": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/isolated-vm": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/isolated-vm/-/isolated-vm-4.5.0.tgz", - "integrity": "sha512-Kse0m5t+B9wZQVeTDqzPoX1SIFNTNfyaUxhnCuFgpXL1+5GYJ9GUAN3mpD+ainixGmUXgeYaVBX+QPDjEBBu0w==", "hasInstallScript": true, + "license": "ISC", "engines": { "node": ">=10.4.0" } }, "node_modules/istanbul-lib-coverage": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-instrument": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@babel/core": "^7.12.3", "@babel/parser": "^7.14.7", @@ -11976,18 +14172,16 @@ }, "node_modules/istanbul-lib-instrument/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/istanbul-lib-report": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "istanbul-lib-coverage": "^3.0.0", "make-dir": "^3.0.0", @@ -11999,9 +14193,8 @@ }, "node_modules/istanbul-lib-source-maps": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "debug": "^4.1.1", "istanbul-lib-coverage": "^3.0.0", @@ -12013,9 +14206,8 @@ }, "node_modules/istanbul-reports": { "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "html-escaper": "^2.0.0", "istanbul-lib-report": "^3.0.0" @@ -12026,9 +14218,8 @@ }, "node_modules/isurl": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz", - "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==", "dev": true, + "license": "MIT", "dependencies": { "has-to-string-tag-x": "^1.2.0", "is-object": "^1.0.1" @@ -12039,9 +14230,8 @@ }, "node_modules/jackspeak": { "version": "2.2.2", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", - "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -12057,9 +14247,8 @@ }, "node_modules/jest": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.6.0.tgz", - "integrity": "sha512-do1J9gGrQ68E4UfMz/4OM71p9qCqQxu32N/9ZfeYFSSlx0uUOuxeyZxtJZNaUTW12ZA11ERhmBjBhy1Ho96R4g==", "dev": true, + "license": "MIT", "dependencies": { "@jest/core": "^29.6.0", "@jest/types": "^29.6.0", @@ -12083,9 +14272,8 @@ }, "node_modules/jest-changed-files": { "version": "29.5.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.5.0.tgz", - "integrity": "sha512-IFG34IUMUaNBIxjQXF/iu7g6EcdMrGRRxaUSw92I/2g2YC6vCdTltl4nHvt7Ci5nSJwXIkCu8Ka1DKF+X7Z1Ag==", "dev": true, + "license": "MIT", "dependencies": { "execa": "^5.0.0", "p-limit": "^3.1.0" @@ -12096,9 +14284,8 @@ }, "node_modules/jest-circus": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.6.0.tgz", - "integrity": "sha512-LtG45qEKhse2Ws5zNR4DnZATReLGQXzBZGZnJ0DU37p6d4wDhu41vvczCQ3Ou+llR6CRYDBshsubV7H4jZvIkw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.6.0", "@jest/expect": "^29.6.0", @@ -12127,9 +14314,8 @@ }, "node_modules/jest-cli": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.6.0.tgz", - "integrity": "sha512-WvZIaanK/abkw6s01924DQ2QLwM5Q4Y4iPbSDb9Zg6smyXGqqcPQ7ft9X8D7B0jICz312eSzM6UlQNxuZJBrMw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/core": "^29.6.0", "@jest/test-result": "^29.6.0", @@ -12161,9 +14347,8 @@ }, "node_modules/jest-config": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.6.0.tgz", - "integrity": "sha512-fKA4jM91PDqWVkMpb1FVKxIuhg3hC6hgaen57cr1rRZkR96dCatvJZsk3ik7/GNu9ERj9wgAspOmyvkFoGsZhA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", "@jest/test-sequencer": "^29.6.0", @@ -12206,9 +14391,8 @@ }, "node_modules/jest-config/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -12226,9 +14410,8 @@ }, "node_modules/jest-diff": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.6.0.tgz", - "integrity": "sha512-ZRm7cd2m9YyZ0N3iMyuo1iUiprxQ/MFpYWXzEEj7hjzL3WnDffKW8192XBDcrAI8j7hnrM1wed3bL/oEnYF/8w==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "diff-sequences": "^29.4.3", @@ -12241,9 +14424,8 @@ }, "node_modules/jest-docblock": { "version": "29.4.3", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.4.3.tgz", - "integrity": "sha512-fzdTftThczeSD9nZ3fzA/4KkHtnmllawWrXO69vtI+L9WjEIuXWs4AmyME7lN5hU7dB0sHhuPfcKofRsUb/2Fg==", "dev": true, + "license": "MIT", "dependencies": { "detect-newline": "^3.0.0" }, @@ -12253,9 +14435,8 @@ }, "node_modules/jest-each": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.6.0.tgz", - "integrity": "sha512-d0Jem4RBAlFUyV6JSXPSHVUpNo5RleSj+iJEy1G3+ZCrzHDjWs/1jUfrbnJKHdJdAx5BCEce/Ju379WqHhQk4w==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "chalk": "^4.0.0", @@ -12269,9 +14450,8 @@ }, "node_modules/jest-environment-node": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.6.0.tgz", - "integrity": "sha512-BOf5Q2/nFCdBOnyBM5c5/6DbdQYgc+0gyUQ8l8qhUAB8O7pM+4QJXIXJsRZJaxd5SHV6y5VArTVhOfogoqcP8Q==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.6.0", "@jest/fake-timers": "^29.6.0", @@ -12286,18 +14466,16 @@ }, "node_modules/jest-get-type": { "version": "29.4.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.4.3.tgz", - "integrity": "sha512-J5Xez4nRRMjk8emnTpWrlkyb9pfRQQanDrvWHhsR1+VUfbwxi30eVcZFlcdGInRibU4G5LwHXpI7IRHU0CY+gg==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-haste-map": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.6.0.tgz", - "integrity": "sha512-dY1DKufptj7hcJSuhpqlYPGcnN3XjlOy/g0jinpRTMsbb40ivZHiuIPzeminOZkrek8C+oDxC54ILGO3vMLojg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@types/graceful-fs": "^4.1.3", @@ -12320,9 +14498,8 @@ }, "node_modules/jest-leak-detector": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.6.0.tgz", - "integrity": "sha512-JdV6EZOPxHR1gd6ccxjNowuROkT2jtGU5G/g58RcJX1xe5mrtLj0g6/ZkyMoXF4cs+tTkHMFX6pcIrB1QPQwCw==", "dev": true, + "license": "MIT", "dependencies": { "jest-get-type": "^29.4.3", "pretty-format": "^29.6.0" @@ -12333,9 +14510,8 @@ }, "node_modules/jest-matcher-utils": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.6.0.tgz", - "integrity": "sha512-oSlqfGN+sbkB2Q5um/zL7z80w84FEAcLKzXBZIPyRk2F2Srg1ubhrHVKW68JCvb2+xKzAeGw35b+6gciS24PHw==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "jest-diff": "^29.6.0", @@ -12348,9 +14524,8 @@ }, "node_modules/jest-message-util": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.6.0.tgz", - "integrity": "sha512-mkCp56cETbpoNtsaeWVy6SKzk228mMi9FPHSObaRIhbR2Ujw9PqjW/yqVHD2tN1bHbC8ol6h3UEo7dOPmIYwIA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.12.13", "@jest/types": "^29.6.0", @@ -12368,9 +14543,8 @@ }, "node_modules/jest-mock": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.6.0.tgz", - "integrity": "sha512-2Pb7R2w24Q0aUVn+2/vdRDL6CqGqpheDZy7zrXav8FotOpSGw/4bS2hyVoKHMEx4xzOn6EyCAGwc5czWxXeN7w==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@types/node": "*", @@ -12382,9 +14556,8 @@ }, "node_modules/jest-pnp-resolver": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -12399,18 +14572,16 @@ }, "node_modules/jest-regex-util": { "version": "29.4.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.4.3.tgz", - "integrity": "sha512-O4FglZaMmWXbGHSQInfXewIsd1LMn9p3ZXB/6r4FOkyhX2/iP/soMG98jGvk/A3HAN78+5VWcBGO0BJAPRh4kg==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-resolve": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.6.0.tgz", - "integrity": "sha512-+hrpY4LzAONoZA/rvB6rnZLkOSA6UgJLpdCWrOZNSgGxWMumzRLu7dLUSCabAHzoHIDQ9qXfr3th1zYNJ0E8sQ==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "graceful-fs": "^4.2.9", @@ -12428,9 +14599,8 @@ }, "node_modules/jest-resolve-dependencies": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.6.0.tgz", - "integrity": "sha512-eOfPog9K3hJdJk/3i6O6bQhXS+3uXhMDkLJGX+xmMPp7T1d/zdcFofbDnHgNoEkhD/mSimC5IagLEP7lpLLu/A==", "dev": true, + "license": "MIT", "dependencies": { "jest-regex-util": "^29.4.3", "jest-snapshot": "^29.6.0" @@ -12441,9 +14611,8 @@ }, "node_modules/jest-runner": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.6.0.tgz", - "integrity": "sha512-4fZuGV2lOxS2BiqEG9/AI8E6O+jo+QZjMVcgi1x5E6aDql0Gd/EFIbUQ0pSS09y8cya1vJB/qC2xsE468jqtSg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/console": "^29.6.0", "@jest/environment": "^29.6.0", @@ -12473,9 +14642,8 @@ }, "node_modules/jest-runtime": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.6.0.tgz", - "integrity": "sha512-5FavYo3EeXLHIvnJf+r7Cj0buePAbe4mzRB9oeVxDS0uVmouSBjWeGgyRjZkw7ArxOoZI8gO6f8SGMJ2HFlwwg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.6.0", "@jest/fake-timers": "^29.6.0", @@ -12506,9 +14674,8 @@ }, "node_modules/jest-runtime/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -12526,9 +14693,8 @@ }, "node_modules/jest-snapshot": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.6.0.tgz", - "integrity": "sha512-H3kUE9NwWDEDoutcOSS921IqdlkdjgnMdj1oMyxAHNflscdLc9dB8OudZHV6kj4OHJxbMxL8CdI5DlwYrs4wQg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", "@babel/generator": "^7.7.2", @@ -12558,9 +14724,8 @@ }, "node_modules/jest-sonar": { "version": "0.2.16", - "resolved": "https://registry.npmjs.org/jest-sonar/-/jest-sonar-0.2.16.tgz", - "integrity": "sha512-ES6Z9BbIVDELtbz+/b6pv41B2qOfp38cQpoCLqei21FtlkG/GzhyQ0M3egEIM+erpJOkpRKM8Tc8/YQtHdiTXA==", "dev": true, + "license": "MIT", "dependencies": { "entities": "4.3.0", "strip-ansi": "6.0.1" @@ -12568,9 +14733,8 @@ }, "node_modules/jest-util": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.6.0.tgz", - "integrity": "sha512-S0USx9YwcvEm4pQ5suisVm/RVxBmi0GFR7ocJhIeaCuW5AXnAnffXbaVKvIFodyZNOc9ygzVtTxmBf40HsHXaA==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "@types/node": "*", @@ -12585,9 +14749,8 @@ }, "node_modules/jest-validate": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.6.0.tgz", - "integrity": "sha512-MLTrAJsb1+W7svbeZ+A7pAnyXMaQrjvPDKCy7OlfsfB6TMVc69v7WjUWfiR6r3snULFWZASiKgvNVDuATta1dg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.0", "camelcase": "^6.2.0", @@ -12602,9 +14765,8 @@ }, "node_modules/jest-validate/node_modules/camelcase": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -12614,9 +14776,8 @@ }, "node_modules/jest-watcher": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.6.0.tgz", - "integrity": "sha512-LdsQqFNX60mRdRRe+zsELnYRH1yX6KL+ukbh+u6WSQeTheZZe1TlLJNKRQiZ7e0VbvMkywmMWL/KV35noOJCcw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/test-result": "^29.6.0", "@jest/types": "^29.6.0", @@ -12633,18 +14794,16 @@ }, "node_modules/jest-when": { "version": "3.5.2", - "resolved": "https://registry.npmjs.org/jest-when/-/jest-when-3.5.2.tgz", - "integrity": "sha512-4rDvnhaWh08RcPsoEVXgxRnUIE9wVIbZtGqZ5x2Wm9Ziz9aQs89PipQFmOK0ycbEhVAgiV3MUeTXp3Ar4s2FcQ==", "dev": true, + "license": "MIT", "peerDependencies": { "jest": ">= 25" } }, "node_modules/jest-worker": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.6.0.tgz", - "integrity": "sha512-oiQHH1SnKmZIwwPnpOrXTq4kHBk3lKGY/07DpnH0sAu+x7J8rXlbLDROZsU6vy9GwB0hPiZeZpu6YlJ48QoKcA==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*", "jest-util": "^29.6.0", @@ -12657,9 +14816,8 @@ }, "node_modules/jest-worker/node_modules/supports-color": { "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -12670,10 +14828,16 @@ "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", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.9.2.tgz", - "integrity": "sha512-Itk/r+V4Dx0V3c7RLFdRh12IOjySm2/WGPMubBT92cQvRfYZhPM2W0hZlctjj72iES8jsRCwp7S/cRmWBnJ4nw==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0", "@hapi/topo": "^5.0.0", @@ -12684,18 +14848,15 @@ }, "node_modules/js-sha1": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/js-sha1/-/js-sha1-0.6.0.tgz", - "integrity": "sha512-01gwBFreYydzmU9BmZxpVk6svJJHrVxEN3IOiGl6VO93bVKYETJ0sIth6DASI6mIFdt7NmfX9UiByRzsYHGU9w==" + "license": "MIT" }, "node_modules/js-tokens": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "license": "MIT" }, "node_modules/js-yaml": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -12705,9 +14866,8 @@ }, "node_modules/jsesc": { "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true, + "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, @@ -12717,14 +14877,12 @@ }, "node_modules/json-buffer": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-diff": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/json-diff/-/json-diff-1.0.3.tgz", - "integrity": "sha512-W0yk/xzjz7bag9v9eS4qthvPG4O07uxNeXwirhvcOqmX4w8HLtB/Pw76o5Z7Pblwvf4vpCi4+iHOlHDnmav/rA==", + "license": "MIT", "dependencies": { "@ewoudenberg/difflib": "0.1.0", "colors": "^1.4.0", @@ -12739,45 +14897,38 @@ }, "node_modules/json-parse-better-errors": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + "license": "MIT" }, "node_modules/json-size": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-size/-/json-size-1.0.0.tgz", - "integrity": "sha512-sh8Ff4sNVI3FU1LjFXiNpcG9Er9bsn8WbeR79mGj4Ljd+/NBmxqYCV1sPzndUTGsWXa3LVUx3aLlZxpq1DzCBA==", + "license": "MIT", "dependencies": { "utf8-length": "0.0.1" } }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-stringify-safe": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/json5": { "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, + "license": "MIT", "bin": { "json5": "lib/cli.js" }, @@ -12787,23 +14938,20 @@ }, "node_modules/jsonata": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/jsonata/-/jsonata-2.0.3.tgz", - "integrity": "sha512-Up2H81MUtjqI/dWwWX7p4+bUMfMrQJVMN/jW6clFMTiYP528fBOBNtRu944QhKTs3+IsVWbgMeUTny5fw2VMUA==", + "license": "MIT", "engines": { "node": ">= 8" } }, "node_modules/jsonc-parser": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jsonfile": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, + "license": "MIT", "dependencies": { "universalify": "^2.0.0" }, @@ -12813,18 +14961,16 @@ }, "node_modules/jsonparse": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "dev": true, "engines": [ "node >= 0.2.0" - ] + ], + "license": "MIT" }, "node_modules/JSONStream": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", "dev": true, + "license": "(MIT OR Apache-2.0)", "dependencies": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" @@ -12838,16 +14984,14 @@ }, "node_modules/jsontoxml": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/jsontoxml/-/jsontoxml-1.0.1.tgz", - "integrity": "sha512-dtKGq0K8EWQBRqcAaePSgKR4Hyjfsz/LkurHSV3Cxk4H+h2fWDeaN2jzABz+ZmOJylgXS7FGeWmbZ6jgYUMdJQ==", + "license": "MIT", "engines": { "node": ">=0.2.0" } }, "node_modules/keygrip": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz", - "integrity": "sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==", + "license": "MIT", "dependencies": { "tsscmp": "1.0.6" }, @@ -12857,34 +15001,30 @@ }, "node_modules/keyv": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.0.0.tgz", - "integrity": "sha512-eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA==", "dev": true, + "license": "MIT", "dependencies": { "json-buffer": "3.0.0" } }, "node_modules/kind-of": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/kleur": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/koa": { "version": "2.14.1", - "resolved": "https://registry.npmjs.org/koa/-/koa-2.14.1.tgz", - "integrity": "sha512-USJFyZgi2l0wDgqkfD27gL4YGno7TfUkcmOe6UOLFOVuN+J7FwnNu4Dydl4CUQzraM1lBAiGed0M9OVJoT0Kqw==", + "license": "MIT", "dependencies": { "accepts": "^1.3.5", "cache-content-type": "^1.0.0", @@ -12916,8 +15056,7 @@ }, "node_modules/koa-bodyparser": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/koa-bodyparser/-/koa-bodyparser-4.4.0.tgz", - "integrity": "sha512-AXPY7wwKZUmbgb8VkTEUFoRNOlx6aWRJwEnQD+zfNf33/7KSAkN4Oo9BqlIk80D+5TvuqlhpQT5dPVcyxl5Zsw==", + "license": "MIT", "dependencies": { "co-body": "^6.0.0", "copy-to": "^2.0.1" @@ -12928,13 +15067,11 @@ }, "node_modules/koa-compose": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/koa-compose/-/koa-compose-4.1.0.tgz", - "integrity": "sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw==" + "license": "MIT" }, "node_modules/koa-convert": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/koa-convert/-/koa-convert-2.0.0.tgz", - "integrity": "sha512-asOvN6bFlSnxewce2e/DK3p4tltyfC4VM7ZwuTuepI7dEQVcvpyFuBcEARu1+Hxg8DIwytce2n7jrZtRlPrARA==", + "license": "MIT", "dependencies": { "co": "^4.6.0", "koa-compose": "^4.1.0" @@ -12945,8 +15082,7 @@ }, "node_modules/koa2-swagger-ui": { "version": "5.8.0", - "resolved": "https://registry.npmjs.org/koa2-swagger-ui/-/koa2-swagger-ui-5.8.0.tgz", - "integrity": "sha512-uVHh2hajX5Q/6+BkRrK0Rrf84Duc6dB73WIU1mb3cLfellMR1klAIYEX1p1bOsNjB97uqCwyn/cz3Sfi1/IxcQ==", + "license": "MIT", "dependencies": { "@types/koa": "^2.13.6", "handlebars": "^4.7.7", @@ -12956,32 +15092,28 @@ }, "node_modules/kuler": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" + "license": "MIT" }, "node_modules/lazy-ass": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz", - "integrity": "sha512-cc8oEVoctTvsFZ/Oje/kGnHbpWHYBe8IAJe4C0QNc3t8uM/0Y8+erSz/7Y1ALuXTEZTMvxXwO6YbX1ey3ujiZw==", "dev": true, + "license": "MIT", "engines": { "node": "> 0.8" } }, "node_modules/leven": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/levn": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" @@ -12992,23 +15124,20 @@ }, "node_modules/lilconfig": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", - "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/lines-and-columns": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + "license": "MIT" }, "node_modules/lint-staged": { "version": "13.2.2", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-13.2.2.tgz", - "integrity": "sha512-71gSwXKy649VrSU09s10uAT0rWCcY3aewhMaHyl2N84oBk4Xs9HgxvUp3AYu+bNsK4NrOYYxvSgg7FyGJ+jGcA==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "5.2.0", "cli-truncate": "^3.1.0", @@ -13036,9 +15165,8 @@ }, "node_modules/lint-staged/node_modules/chalk": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", - "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -13048,9 +15176,8 @@ }, "node_modules/lint-staged/node_modules/execa": { "version": "7.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", - "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.1", @@ -13071,18 +15198,16 @@ }, "node_modules/lint-staged/node_modules/human-signals": { "version": "4.3.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", - "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=14.18.0" } }, "node_modules/lint-staged/node_modules/is-stream": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -13092,9 +15217,8 @@ }, "node_modules/lint-staged/node_modules/mimic-fn": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -13104,9 +15228,8 @@ }, "node_modules/lint-staged/node_modules/npm-run-path": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^4.0.0" }, @@ -13119,18 +15242,16 @@ }, "node_modules/lint-staged/node_modules/object-inspect": { "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/lint-staged/node_modules/onetime": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", "dev": true, + "license": "MIT", "dependencies": { "mimic-fn": "^4.0.0" }, @@ -13143,9 +15264,8 @@ }, "node_modules/lint-staged/node_modules/path-key": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -13155,9 +15275,8 @@ }, "node_modules/lint-staged/node_modules/strip-final-newline": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -13167,9 +15286,8 @@ }, "node_modules/listr2": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-5.0.8.tgz", - "integrity": "sha512-mC73LitKHj9w6v30nLNGPetZIlfpUniNSsxxrbaPcWOjDb92SHPzJPi/t+v1YC/lxKz/AJ9egOjww0qUuFxBpA==", "dev": true, + "license": "MIT", "dependencies": { "cli-truncate": "^2.1.0", "colorette": "^2.0.19", @@ -13194,9 +15312,8 @@ }, "node_modules/listr2/node_modules/cli-truncate": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", - "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", "dev": true, + "license": "MIT", "dependencies": { "slice-ansi": "^3.0.0", "string-width": "^4.2.0" @@ -13210,18 +15327,16 @@ }, "node_modules/listr2/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/listr2/node_modules/slice-ansi": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", - "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", @@ -13233,9 +15348,8 @@ }, "node_modules/load-json-file": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^4.0.0", @@ -13248,9 +15362,8 @@ }, "node_modules/load-json-file/node_modules/parse-json": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", "dev": true, + "license": "MIT", "dependencies": { "error-ex": "^1.3.1", "json-parse-better-errors": "^1.0.1" @@ -13261,27 +15374,24 @@ }, "node_modules/load-json-file/node_modules/pify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/load-json-file/node_modules/strip-bom": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/locate-path": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^5.0.0" }, @@ -13294,96 +15404,80 @@ }, "node_modules/lodash": { "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "license": "MIT" }, "node_modules/lodash._reinterpolate": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.camelcase": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.defaults": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + "license": "MIT" }, "node_modules/lodash.isarguments": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==" + "license": "MIT" }, "node_modules/lodash.isfunction": { "version": "3.0.9", - "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz", - "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.ismatch": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", - "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.isplainobject": { "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.kebabcase": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", - "integrity": "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.map": { "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", - "integrity": "sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.memoize": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.mergewith": { "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", - "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.snakecase": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", - "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.startcase": { "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.startcase/-/lodash.startcase-4.4.0.tgz", - "integrity": "sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.template": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", - "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==", "dev": true, + "license": "MIT", "dependencies": { "lodash._reinterpolate": "^3.0.0", "lodash.templatesettings": "^4.0.0" @@ -13391,29 +15485,25 @@ }, "node_modules/lodash.templatesettings": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz", - "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==", "dev": true, + "license": "MIT", "dependencies": { "lodash._reinterpolate": "^3.0.0" } }, "node_modules/lodash.uniq": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==" + "license": "MIT" }, "node_modules/lodash.upperfirst": { "version": "4.3.1", - "resolved": "https://registry.npmjs.org/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz", - "integrity": "sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/log-symbols": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" @@ -13427,9 +15517,8 @@ }, "node_modules/log-update": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", - "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", "dev": true, + "license": "MIT", "dependencies": { "ansi-escapes": "^4.3.0", "cli-cursor": "^3.1.0", @@ -13445,18 +15534,16 @@ }, "node_modules/log-update/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/log-update/node_modules/slice-ansi": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", @@ -13471,9 +15558,8 @@ }, "node_modules/log-update/node_modules/wrap-ansi": { "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -13485,8 +15571,7 @@ }, "node_modules/logform": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.4.2.tgz", - "integrity": "sha512-W4c9himeAwXEdZ05dQNerhFz2XG80P9Oj0loPUMV23VC2it0orMHQhJm4hdnnor3rd1HsGf6a2lPwBM1zeXHGw==", + "license": "MIT", "dependencies": { "@colors/colors": "1.5.0", "fecha": "^4.2.0", @@ -13497,23 +15582,20 @@ }, "node_modules/long": { "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + "license": "Apache-2.0" }, "node_modules/longest": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/longest/-/longest-2.0.1.tgz", - "integrity": "sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/loud-rejection": { "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ==", "dev": true, + "license": "MIT", "dependencies": { "currently-unhandled": "^0.4.1", "signal-exit": "^3.0.0" @@ -13524,27 +15606,24 @@ }, "node_modules/lowercase-keys": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/lru-cache": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^3.0.2" } }, "node_modules/madge": { "version": "6.1.0", - "resolved": "https://registry.npmjs.org/madge/-/madge-6.1.0.tgz", - "integrity": "sha512-irWhT5RpFOc6lkzGHKLihonCVgM0YtfNUh4IrFeW3EqHpnt/JHUG3z26j8PeJEktCGB4tmGOOOJi1Rl/ACWucQ==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.1.1", "commander": "^7.2.0", @@ -13590,17 +15669,15 @@ }, "node_modules/madge/node_modules/commander": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 10" } }, "node_modules/make-dir": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "license": "MIT", "dependencies": { "semver": "^6.0.0" }, @@ -13613,32 +15690,28 @@ }, "node_modules/make-dir/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", "bin": { "semver": "bin/semver.js" } }, "node_modules/make-error": { "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/makeerror": { "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "tmpl": "1.0.5" } }, "node_modules/map-obj": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -13648,13 +15721,11 @@ }, "node_modules/match-json": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/match-json/-/match-json-1.3.5.tgz", - "integrity": "sha512-V5Jw1rIdjt37vfQRqvKtXW4dKbSTpvgwyEPKOBikY90xQ5Wr5yOmfpjcTm12d0Kqq+TfMqlXJkETf4yOF9JhUw==" + "license": "MIT" }, "node_modules/md5": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", - "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", + "license": "BSD-3-Clause", "dependencies": { "charenc": "0.0.2", "crypt": "0.0.2", @@ -13663,17 +15734,15 @@ }, "node_modules/media-typer": { "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/meow": { "version": "8.1.2", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, + "license": "MIT", "dependencies": { "@types/minimist": "^1.2.0", "camelcase-keys": "^6.2.2", @@ -13696,9 +15765,8 @@ }, "node_modules/meow/node_modules/type-fest": { "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -13708,38 +15776,33 @@ }, "node_modules/merge": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/merge/-/merge-2.1.1.tgz", - "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/merge-stream": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/merge2": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 8" } }, "node_modules/methods": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/micromatch": { "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dev": true, + "license": "MIT", "dependencies": { "braces": "^3.0.2", "picomatch": "^2.3.1" @@ -13750,9 +15813,8 @@ }, "node_modules/mime": { "version": "2.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", - "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", "dev": true, + "license": "MIT", "bin": { "mime": "cli.js" }, @@ -13762,16 +15824,14 @@ }, "node_modules/mime-db": { "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -13781,35 +15841,31 @@ }, "node_modules/mimic-fn": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/mimic-response": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/min-indent": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -13819,14 +15875,12 @@ }, "node_modules/minimist": { "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "license": "MIT" }, "node_modules/minimist-options": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", "dev": true, + "license": "MIT", "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", @@ -13838,17 +15892,15 @@ }, "node_modules/minipass": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", - "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", "dev": true, + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } }, "node_modules/minizlib": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "license": "MIT", "dependencies": { "minipass": "^3.0.0", "yallist": "^4.0.0" @@ -13859,8 +15911,7 @@ }, "node_modules/minizlib/node_modules/minipass": { "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -13870,13 +15921,11 @@ }, "node_modules/minizlib/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "license": "ISC" }, "node_modules/mkdirp": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" }, @@ -13886,9 +15935,8 @@ }, "node_modules/mocked-env": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/mocked-env/-/mocked-env-1.3.5.tgz", - "integrity": "sha512-GyYY6ynVOdEoRlaGpaq8UYwdWkvrsU2xRme9B+WPSuJcNjh17+3QIxSYU6zwee0SbehhV6f06VZ4ahjG+9zdrA==", "dev": true, + "license": "MIT", "dependencies": { "check-more-types": "2.24.0", "debug": "4.3.2", @@ -13901,9 +15949,8 @@ }, "node_modules/mocked-env/node_modules/debug": { "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -13918,8 +15965,7 @@ }, "node_modules/modclean": { "version": "3.0.0-beta.1", - "resolved": "https://registry.npmjs.org/modclean/-/modclean-3.0.0-beta.1.tgz", - "integrity": "sha512-NyJpuqXMUI190sZePU+dBcwlGaqhfFC+UL5WyNSxmNLOHATg9cVSgRpbY+mUbwUj7t5trb4vYscgXArKevYsdA==", + "license": "MIT", "dependencies": { "await-handler": "^1.1.0", "chalk": "^2.4.1", @@ -13947,16 +15993,14 @@ }, "node_modules/modclean/node_modules/ansi-regex": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", - "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/modclean/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -13966,8 +16010,7 @@ }, "node_modules/modclean/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -13979,8 +16022,7 @@ }, "node_modules/modclean/node_modules/cli-cursor": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==", + "license": "MIT", "dependencies": { "restore-cursor": "^2.0.0" }, @@ -13990,34 +16032,29 @@ }, "node_modules/modclean/node_modules/cli-spinners": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-1.3.1.tgz", - "integrity": "sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/modclean/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/modclean/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "license": "MIT" }, "node_modules/modclean/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + "license": "MIT" }, "node_modules/modclean/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -14035,16 +16072,14 @@ }, "node_modules/modclean/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/modclean/node_modules/log-symbols": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", - "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "license": "MIT", "dependencies": { "chalk": "^2.0.1" }, @@ -14054,16 +16089,14 @@ }, "node_modules/modclean/node_modules/mimic-fn": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/modclean/node_modules/onetime": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==", + "license": "MIT", "dependencies": { "mimic-fn": "^1.0.0" }, @@ -14073,8 +16106,7 @@ }, "node_modules/modclean/node_modules/ora": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-2.1.0.tgz", - "integrity": "sha512-hNNlAd3gfv/iPmsNxYoAPLvxg7HuPozww7fFonMZvL84tP6Ox5igfk5j/+a9rtJJwqMgKK+JgWsAQik5o0HTLA==", + "license": "MIT", "dependencies": { "chalk": "^2.3.1", "cli-cursor": "^2.1.0", @@ -14089,8 +16121,7 @@ }, "node_modules/modclean/node_modules/restore-cursor": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==", + "license": "MIT", "dependencies": { "onetime": "^2.0.0", "signal-exit": "^3.0.2" @@ -14101,8 +16132,7 @@ }, "node_modules/modclean/node_modules/rimraf": { "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -14112,8 +16142,7 @@ }, "node_modules/modclean/node_modules/strip-ansi": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", + "license": "MIT", "dependencies": { "ansi-regex": "^3.0.0" }, @@ -14123,8 +16152,7 @@ }, "node_modules/modclean/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -14134,18 +16162,16 @@ }, "node_modules/modify-values": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/module-definition": { "version": "3.4.0", - "resolved": "https://registry.npmjs.org/module-definition/-/module-definition-3.4.0.tgz", - "integrity": "sha512-XxJ88R1v458pifaSkPNLUTdSPNVGMP2SXVncVmApGO+gAfrLANiYe6JofymCzVceGOMwQE2xogxBSc8uB7XegA==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^3.0.0", "node-source-walk": "^4.0.0" @@ -14159,9 +16185,8 @@ }, "node_modules/module-lookup-amd": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/module-lookup-amd/-/module-lookup-amd-7.0.1.tgz", - "integrity": "sha512-w9mCNlj0S8qviuHzpakaLVc+/7q50jl9a/kmJ/n8bmXQZgDPkQHnPBb8MUOYh3WpAYkXuNc2c+khsozhIp/amQ==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.8.1", "debug": "^4.1.0", @@ -14178,15 +16203,13 @@ }, "node_modules/module-lookup-amd/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/module-lookup-amd/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -14204,16 +16227,14 @@ }, "node_modules/moment": { "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "license": "MIT", "engines": { "node": "*" } }, "node_modules/moment-timezone": { "version": "0.5.43", - "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.43.tgz", - "integrity": "sha512-72j3aNyuIsDxdF1i7CEgV2FfxM1r6aaqJyLB2vwb33mXYyoyLly+F1zbWqhA3/bVIoJ4szlUoMbUnVdid32NUQ==", + "license": "MIT", "dependencies": { "moment": "^2.29.4" }, @@ -14223,25 +16244,21 @@ }, "node_modules/ms": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "license": "MIT" }, "node_modules/mute-stream": { "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/nan": { "version": "2.17.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz", - "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==" + "license": "MIT" }, "node_modules/nanoid": { "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "dev": true, + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -14251,33 +16268,28 @@ }, "node_modules/natural-compare": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/natural-compare-lite": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/negotiator": { "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/neo-async": { "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + "license": "MIT" }, "node_modules/node-cache": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/node-cache/-/node-cache-5.1.2.tgz", - "integrity": "sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==", + "license": "MIT", "dependencies": { "clone": "2.x" }, @@ -14286,9 +16298,8 @@ } }, "node_modules/node-fetch": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", - "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", + "version": "2.7.0", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -14306,18 +16317,15 @@ }, "node_modules/node-fetch/node_modules/tr46": { "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "license": "MIT" }, "node_modules/node-fetch/node_modules/webidl-conversions": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "license": "BSD-2-Clause" }, "node_modules/node-fetch/node_modules/whatwg-url": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -14325,8 +16333,7 @@ }, "node_modules/node-gyp-build": { "version": "3.9.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.9.0.tgz", - "integrity": "sha512-zLcTg6P4AbcHPq465ZMFNXx7XpKKJh+7kkN699NiQWisR2uWYOWNWqRHAmbnmKiL4e9aLSlmy5U7rEMUXV59+A==", + "license": "MIT", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -14335,15 +16342,13 @@ }, "node_modules/node-int64": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/node-notifier": { "version": "10.0.1", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-10.0.1.tgz", - "integrity": "sha512-YX7TSyDukOZ0g+gmzjB6abKu+hTGvO8+8+gIFDsRCU2t8fLV/P2unmt+LGFaIa4y64aX98Qksa97rgz4vMNeLQ==", "dev": true, + "license": "MIT", "dependencies": { "growly": "^1.3.0", "is-wsl": "^2.2.0", @@ -14355,24 +16360,21 @@ }, "node_modules/node-notifier/node_modules/uuid": { "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "dev": true, + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/node-releases": { "version": "2.0.12", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.12.tgz", - "integrity": "sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/node-source-walk": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-4.3.0.tgz", - "integrity": "sha512-8Q1hXew6ETzqKRAs3jjLioSxNfT1cx74ooiF8RlAONwVMcfq+UdzLC2eB5qcPldUxaE5w3ytLkrmV1TGddhZTA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.0.0" }, @@ -14382,8 +16384,7 @@ }, "node_modules/nopt": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "license": "ISC", "dependencies": { "abbrev": "1" }, @@ -14396,9 +16397,8 @@ }, "node_modules/normalize-package-data": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^4.0.1", "is-core-module": "^2.5.0", @@ -14411,18 +16411,16 @@ }, "node_modules/normalize-path": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/normalize-url": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz", - "integrity": "sha512-D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw==", "dev": true, + "license": "MIT", "dependencies": { "prepend-http": "^2.0.0", "query-string": "^5.0.1", @@ -14434,9 +16432,8 @@ }, "node_modules/npm-run-path": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.0.0" }, @@ -14446,8 +16443,7 @@ }, "node_modules/npmlog": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", + "license": "ISC", "dependencies": { "are-we-there-yet": "^2.0.0", "console-control-strings": "^1.1.0", @@ -14457,63 +16453,54 @@ }, "node_modules/number-is-nan": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/oauth-1.0a": { "version": "2.2.6", - "resolved": "https://registry.npmjs.org/oauth-1.0a/-/oauth-1.0a-2.2.6.tgz", - "integrity": "sha512-6bkxv3N4Gu5lty4viIcIAnq5GbxECviMBeKR3WX/q87SPQ8E8aursPZUtsXDnxCs787af09WPRBLqYrf/lwoYQ==" + "license": "MIT" }, "node_modules/object-assign": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/object-hash": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "license": "MIT", "engines": { "node": ">= 6" } }, "node_modules/object-inspect": { "version": "1.12.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/object-keys": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" } }, "node_modules/object-sizeof": { "version": "2.6.3", - "resolved": "https://registry.npmjs.org/object-sizeof/-/object-sizeof-2.6.3.tgz", - "integrity": "sha512-GNkVRrLh11Qr5BGr73dwwPE200/78QG2rbx30cnXPnMvt7UuttH4Dup5t+LtcQhARkg8Hbr0c8Kiz52+CFxYmw==", + "license": "MIT", "dependencies": { "buffer": "^6.0.3" } }, "node_modules/object-sizeof/node_modules/buffer": { "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", "funding": [ { "type": "github", @@ -14528,6 +16515,7 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" @@ -14535,9 +16523,8 @@ }, "node_modules/object.assign": { "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -14553,9 +16540,8 @@ }, "node_modules/object.entries": { "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", - "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -14567,9 +16553,8 @@ }, "node_modules/object.values": { "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -14584,8 +16569,7 @@ }, "node_modules/on-finished": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", "dependencies": { "ee-first": "1.1.1" }, @@ -14595,25 +16579,22 @@ }, "node_modules/once": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", "dependencies": { "wrappy": "1" } }, "node_modules/one-time": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", + "license": "MIT", "dependencies": { "fn.name": "1.x.x" } }, "node_modules/onetime": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "dev": true, + "license": "MIT", "dependencies": { "mimic-fn": "^2.1.0" }, @@ -14625,22 +16606,18 @@ } }, "node_modules/only": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/only/-/only-0.0.2.tgz", - "integrity": "sha512-Fvw+Jemq5fjjyWz6CpKx6w9s7xxqo3+JCyM0WXWeCSOboZ8ABkyvP8ID4CZuChA/wxSx+XSJmdOm8rGVyJ1hdQ==" + "version": "0.0.2" }, "node_modules/openapi-types": { "version": "12.1.3", - "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", - "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==", "dev": true, + "license": "MIT", "peer": true }, "node_modules/optionator": { "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "dev": true, + "license": "MIT", "dependencies": { "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", @@ -14655,9 +16632,8 @@ }, "node_modules/ora": { "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", "dev": true, + "license": "MIT", "dependencies": { "bl": "^4.1.0", "chalk": "^4.1.0", @@ -14678,44 +16654,39 @@ }, "node_modules/os-tmpdir": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/p-cancelable": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.4.1.tgz", - "integrity": "sha512-HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/p-finally": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/p-is-promise": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz", - "integrity": "sha512-zL7VE4JVS2IFSkR2GQKDSPEVxkoH43/p7oEnwpdCndKYJO0HVeRB7fA8TJwuLOTBREtK0ea8eHaxdwcpob5dmg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/p-limit": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -14728,9 +16699,8 @@ }, "node_modules/p-locate": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^3.0.2" }, @@ -14743,9 +16713,8 @@ }, "node_modules/p-map": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, + "license": "MIT", "dependencies": { "aggregate-error": "^3.0.0" }, @@ -14758,9 +16727,8 @@ }, "node_modules/p-timeout": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-2.0.1.tgz", - "integrity": "sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA==", "dev": true, + "license": "MIT", "dependencies": { "p-finally": "^1.0.0" }, @@ -14770,17 +16738,15 @@ }, "node_modules/p-try": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/p-wait-for": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-wait-for/-/p-wait-for-3.2.0.tgz", - "integrity": "sha512-wpgERjNkLrBiFmkMEjuZJEWKKDrNfHCKA1OhyN1wg1FrLkULbviEy6py1AyJUgZ72YWFbZ38FIpnqvVqAlDUwA==", "dev": true, + "license": "MIT", "dependencies": { "p-timeout": "^3.0.0" }, @@ -14793,9 +16759,8 @@ }, "node_modules/p-wait-for/node_modules/p-timeout": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", "dev": true, + "license": "MIT", "dependencies": { "p-finally": "^1.0.0" }, @@ -14805,9 +16770,8 @@ }, "node_modules/parent-module": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, + "license": "MIT", "dependencies": { "callsites": "^3.0.0" }, @@ -14817,14 +16781,12 @@ }, "node_modules/parse-github-repo-url": { "version": "1.4.1", - "resolved": "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz", - "integrity": "sha512-bSWyzBKqcSL4RrncTpGsEKoJ7H8a4L3++ifTAbTFeMHyq2wRV+42DGmQcHIrJIvdcacjIOxEuKH/w4tthF17gg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/parse-json": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -14840,70 +16802,61 @@ }, "node_modules/parse-ms": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz", - "integrity": "sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/parse-passwd": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/parse-static-imports": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/parse-static-imports/-/parse-static-imports-1.1.0.tgz", - "integrity": "sha512-HlxrZcISCblEV0lzXmAHheH/8qEkKgmqkdxyHTPbSqsTUV8GzqmN1L+SSti+VbNPfbBO3bYLPHDiUs2avbAdbA==" + "license": "MIT" }, "node_modules/parseurl": { "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/path-exists": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/path-is-absolute": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/path-key": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/path-parse": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + "license": "MIT" }, "node_modules/path-scurry": { "version": "1.10.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", - "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^9.1.1 || ^10.0.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" @@ -14917,38 +16870,33 @@ }, "node_modules/path-scurry/node_modules/lru-cache": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", - "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==", "dev": true, + "license": "ISC", "engines": { "node": "14 || >=16.14" } }, "node_modules/path-to-regexp": { "version": "6.2.1", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", - "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==" + "license": "MIT" }, "node_modules/path-type": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/picocolors": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -14958,9 +16906,8 @@ }, "node_modules/pidtree": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", - "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", "dev": true, + "license": "MIT", "bin": { "pidtree": "bin/pidtree.js" }, @@ -14970,8 +16917,7 @@ }, "node_modules/pify": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", + "license": "MIT", "engines": { "node": ">=10" }, @@ -14981,18 +16927,16 @@ }, "node_modules/pinkie": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/pinkie-promise": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", "dev": true, + "license": "MIT", "dependencies": { "pinkie": "^2.0.0" }, @@ -15002,18 +16946,16 @@ }, "node_modules/pirates": { "version": "4.0.5", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", - "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 6" } }, "node_modules/pkg-dir": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^4.0.0" }, @@ -15023,9 +16965,8 @@ }, "node_modules/pkg-dir/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -15036,9 +16977,8 @@ }, "node_modules/pkg-dir/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -15048,9 +16988,8 @@ }, "node_modules/pkg-dir/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -15063,9 +17002,8 @@ }, "node_modules/pkg-dir/node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -15075,17 +17013,14 @@ }, "node_modules/pluralize": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", - "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/postcss": { "version": "8.4.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", - "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", "dev": true, "funding": [ { @@ -15097,6 +17032,7 @@ "url": "https://tidelift.com/funding/github/npm/postcss" } ], + "license": "MIT", "dependencies": { "nanoid": "^3.3.4", "picocolors": "^1.0.0", @@ -15108,9 +17044,8 @@ }, "node_modules/postcss-values-parser": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/postcss-values-parser/-/postcss-values-parser-6.0.2.tgz", - "integrity": "sha512-YLJpK0N1brcNJrs9WatuJFtHaV9q5aAOj+S4DI5S7jgHlRfm0PIbDCAFRYMQD5SHq7Fy6xsDhyutgS0QOAs0qw==", "dev": true, + "license": "MPL-2.0", "dependencies": { "color-name": "^1.1.4", "is-url-superb": "^4.0.0", @@ -15125,9 +17060,8 @@ }, "node_modules/pprof": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/pprof/-/pprof-3.2.1.tgz", - "integrity": "sha512-KnextTM3EHQ2zqN8fUjB0VpE+njcVR7cOfo7DjJSLKzIbKTPelDtokI04ScR/Vd8CLDj+M99tsaKV+K6FHzpzA==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "@mapbox/node-pre-gyp": "^1.0.0", "bindings": "^1.2.1", @@ -15146,22 +17080,19 @@ }, "node_modules/pprof-format": { "version": "2.0.7", - "resolved": "https://registry.npmjs.org/pprof-format/-/pprof-format-2.0.7.tgz", - "integrity": "sha512-1qWaGAzwMpaXJP9opRa23nPnt2Egi7RMNoNBptEE/XwHbcn4fC2b/4U4bKc5arkGkIh2ZabpF2bEb+c5GNHEKA==" + "license": "MIT" }, "node_modules/pprof/node_modules/source-map": { "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "license": "BSD-3-Clause", "engines": { "node": ">= 8" } }, "node_modules/precinct": { "version": "8.3.1", - "resolved": "https://registry.npmjs.org/precinct/-/precinct-8.3.1.tgz", - "integrity": "sha512-pVppfMWLp2wF68rwHqBIpPBYY8Kd12lDhk8LVQzOwqllifVR15qNFyod43YLyFpurKRZQKnE7E4pofAagDOm2Q==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.20.3", "debug": "^4.3.3", @@ -15186,9 +17117,8 @@ }, "node_modules/precinct/node_modules/@typescript-eslint/types": { "version": "4.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.33.0.tgz", - "integrity": "sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==", "dev": true, + "license": "MIT", "engines": { "node": "^8.10.0 || ^10.13.0 || >=11.10.1" }, @@ -15199,9 +17129,8 @@ }, "node_modules/precinct/node_modules/@typescript-eslint/typescript-estree": { "version": "4.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz", - "integrity": "sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@typescript-eslint/types": "4.33.0", "@typescript-eslint/visitor-keys": "4.33.0", @@ -15226,9 +17155,8 @@ }, "node_modules/precinct/node_modules/@typescript-eslint/visitor-keys": { "version": "4.33.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz", - "integrity": "sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/types": "4.33.0", "eslint-visitor-keys": "^2.0.0" @@ -15243,15 +17171,13 @@ }, "node_modules/precinct/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/precinct/node_modules/detective-amd": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-3.1.2.tgz", - "integrity": "sha512-jffU26dyqJ37JHR/o44La6CxtrDf3Rt9tvd2IbImJYxWKTMdBjctp37qoZ6ZcY80RHg+kzWz4bXn39e4P7cctQ==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^3.0.0", "escodegen": "^2.0.0", @@ -15267,9 +17193,8 @@ }, "node_modules/precinct/node_modules/detective-cjs": { "version": "3.1.3", - "resolved": "https://registry.npmjs.org/detective-cjs/-/detective-cjs-3.1.3.tgz", - "integrity": "sha512-ljs7P0Yj9MK64B7G0eNl0ThWSYjhAaSYy+fQcpzaKalYl/UoQBOzOeLCSFEY1qEBhziZ3w7l46KG/nH+s+L7BQ==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^3.0.0", "node-source-walk": "^4.0.0" @@ -15280,9 +17205,8 @@ }, "node_modules/precinct/node_modules/detective-es6": { "version": "2.2.2", - "resolved": "https://registry.npmjs.org/detective-es6/-/detective-es6-2.2.2.tgz", - "integrity": "sha512-eZUKCUsbHm8xoeoCM0z6JFwvDfJ5Ww5HANo+jPR7AzkFpW9Mun3t/TqIF2jjeWa2TFbAiGaWESykf2OQp3oeMw==", "dev": true, + "license": "MIT", "dependencies": { "node-source-walk": "^4.0.0" }, @@ -15292,9 +17216,8 @@ }, "node_modules/precinct/node_modules/detective-postcss": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/detective-postcss/-/detective-postcss-4.0.0.tgz", - "integrity": "sha512-Fwc/g9VcrowODIAeKRWZfVA/EufxYL7XfuqJQFroBKGikKX83d2G7NFw6kDlSYGG3LNQIyVa+eWv1mqre+v4+A==", "dev": true, + "license": "Apache-2.0", "dependencies": { "debug": "^4.1.1", "is-url": "^1.2.4", @@ -15307,9 +17230,8 @@ }, "node_modules/precinct/node_modules/detective-sass": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/detective-sass/-/detective-sass-3.0.2.tgz", - "integrity": "sha512-DNVYbaSlmti/eztFGSfBw4nZvwsTaVXEQ4NsT/uFckxhJrNRFUh24d76KzoCC3aarvpZP9m8sC2L1XbLej4F7g==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^4.0.0" @@ -15320,9 +17242,8 @@ }, "node_modules/precinct/node_modules/detective-scss": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/detective-scss/-/detective-scss-2.0.2.tgz", - "integrity": "sha512-hDWnWh/l0tht/7JQltumpVea/inmkBaanJUcXRB9kEEXVwVUMuZd6z7eusQ6GcBFrfifu3pX/XPyD7StjbAiBg==", "dev": true, + "license": "MIT", "dependencies": { "gonzales-pe": "^4.3.0", "node-source-walk": "^4.0.0" @@ -15333,15 +17254,13 @@ }, "node_modules/precinct/node_modules/detective-stylus": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-1.0.3.tgz", - "integrity": "sha512-4/bfIU5kqjwugymoxLXXLltzQNeQfxGoLm2eIaqtnkWxqbhap9puDVpJPVDx96hnptdERzS5Cy6p9N8/08A69Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/precinct/node_modules/detective-typescript": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-7.0.2.tgz", - "integrity": "sha512-unqovnhxzvkCz3m1/W4QW4qGsvXCU06aU2BAm8tkza+xLnp9SOFnob2QsTxUv5PdnQKfDvWcv9YeOeFckWejwA==", "dev": true, + "license": "MIT", "dependencies": { "@typescript-eslint/typescript-estree": "^4.33.0", "ast-module-types": "^2.7.1", @@ -15354,24 +17273,21 @@ }, "node_modules/precinct/node_modules/detective-typescript/node_modules/ast-module-types": { "version": "2.7.1", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-2.7.1.tgz", - "integrity": "sha512-Rnnx/4Dus6fn7fTqdeLEAn5vUll5w7/vts0RN608yFa6si/rDOUonlIIiwugHBFWjylHjxm9owoSZn71KwG4gw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/precinct/node_modules/eslint-visitor-keys": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=10" } }, "node_modules/precinct/node_modules/get-amd-module-type": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/get-amd-module-type/-/get-amd-module-type-3.0.2.tgz", - "integrity": "sha512-PcuKwB8ouJnKuAPn6Hk3UtdfKoUV3zXRqVEvj8XGIXqjWfgd1j7QGdXy5Z9OdQfzVt1Sk29HVe/P+X74ccOuqw==", "dev": true, + "license": "MIT", "dependencies": { "ast-module-types": "^3.0.0", "node-source-walk": "^4.2.2" @@ -15382,9 +17298,8 @@ }, "node_modules/precinct/node_modules/postcss-values-parser": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/postcss-values-parser/-/postcss-values-parser-2.0.1.tgz", - "integrity": "sha512-2tLuBsA6P4rYTNKCXYG/71C7j1pU6pK503suYOmn4xYrQIzW+opD+7FAFNuGSdZC/3Qfy334QbeMu7MEb8gOxg==", "dev": true, + "license": "MIT", "dependencies": { "flatten": "^1.0.2", "indexes-of": "^1.0.1", @@ -15396,9 +17311,8 @@ }, "node_modules/precinct/node_modules/typescript": { "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -15409,27 +17323,24 @@ }, "node_modules/prelude-ls": { "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/prepend-http": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/prettier": { "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin-prettier.js" }, @@ -15442,9 +17353,8 @@ }, "node_modules/pretty-bytes": { "version": "5.6.0", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", - "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -15454,9 +17364,8 @@ }, "node_modules/pretty-format": { "version": "29.6.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.6.0.tgz", - "integrity": "sha512-XH+D4n7Ey0iSR6PdAnBs99cWMZdGsdKrR33iUHQNr79w1szKTCIZDVdXuccAsHVwDBp0XeWPfNEoaxP9EZgRmQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.0", "ansi-styles": "^5.0.0", @@ -15468,9 +17377,8 @@ }, "node_modules/pretty-format/node_modules/ansi-styles": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -15480,15 +17388,13 @@ }, "node_modules/pretty-format/node_modules/react-is": { "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/pretty-ms": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-7.0.1.tgz", - "integrity": "sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==", "dev": true, + "license": "MIT", "dependencies": { "parse-ms": "^2.1.0" }, @@ -15501,22 +17407,19 @@ }, "node_modules/process-nextick-args": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/progress": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/prom-client": { "version": "14.2.0", - "resolved": "https://registry.npmjs.org/prom-client/-/prom-client-14.2.0.tgz", - "integrity": "sha512-sF308EhTenb/pDRPakm+WgiN+VdM/T1RaHj1x+MvAuT8UiQP8JmOEbxVqtkbfR4LrvOg5n7ic01kRBDGXjYikA==", + "license": "Apache-2.0", "dependencies": { "tdigest": "^0.1.1" }, @@ -15526,9 +17429,8 @@ }, "node_modules/prompts": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", "dev": true, + "license": "MIT", "dependencies": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" @@ -15539,9 +17441,8 @@ }, "node_modules/protobufjs": { "version": "7.2.5", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz", - "integrity": "sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==", "hasInstallScript": true, + "license": "BSD-3-Clause", "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -15562,13 +17463,11 @@ }, "node_modules/proxy-from-env": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + "license": "MIT" }, "node_modules/pump": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -15576,16 +17475,13 @@ }, "node_modules/punycode": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/pure-rand": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.2.tgz", - "integrity": "sha512-6Yg0ekpKICSjPswYOuC5sku/TSWaRYlA0qsXqJgM/d/4pLPHPuTxK7Nbf7jFKzAeedUhR8C7K9Uv63FBsSo8xQ==", "dev": true, "funding": [ { @@ -15596,13 +17492,13 @@ "type": "opencollective", "url": "https://opencollective.com/fast-check" } - ] + ], + "license": "MIT" }, "node_modules/q": { "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.6.0", "teleport": ">=0.2.0" @@ -15610,8 +17506,7 @@ }, "node_modules/qs": { "version": "6.11.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.1.tgz", - "integrity": "sha512-0wsrzgTz/kAVIeuxSjnpGC56rzYtr6JT/2BwEvMaPhFIoYa1aGO8LbzuU1R0uUYQkLpWBTOj0l/CLAJB64J6nQ==", + "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.0.4" }, @@ -15624,9 +17519,8 @@ }, "node_modules/query-string": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", - "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==", "dev": true, + "license": "MIT", "dependencies": { "decode-uri-component": "^0.2.0", "object-assign": "^4.1.0", @@ -15636,10 +17530,14 @@ "node": ">=0.10.0" } }, + "node_modules/querystring": { + "version": "0.2.0", + "engines": { + "node": ">=0.4.x" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dev": true, "funding": [ { @@ -15654,33 +17552,30 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/quick-lru": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/quote-unquote": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/quote-unquote/-/quote-unquote-1.0.0.tgz", - "integrity": "sha512-twwRO/ilhlG/FIgYeKGFqyHhoEhqgnKVkcmqMKi2r524gz3ZbDTcyFt38E9xjJI2vT+KbRNHVbnJ/e0I25Azwg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/ramda": { "version": "0.27.1", - "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.27.1.tgz", - "integrity": "sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/raw-body": { "version": "2.5.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", - "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "license": "MIT", "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", @@ -15693,8 +17588,7 @@ }, "node_modules/raw-body/node_modules/http-errors": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", @@ -15708,17 +17602,15 @@ }, "node_modules/raw-body/node_modules/statuses": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/rc": { "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "dev": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", "dependencies": { "deep-extend": "^0.6.0", "ini": "~1.3.0", @@ -15731,17 +17623,15 @@ }, "node_modules/rc/node_modules/strip-json-comments": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/read-pkg": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "license": "MIT", "dependencies": { "@types/normalize-package-data": "^2.4.0", "normalize-package-data": "^2.5.0", @@ -15754,8 +17644,7 @@ }, "node_modules/read-pkg-up": { "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "license": "MIT", "dependencies": { "find-up": "^4.1.0", "read-pkg": "^5.2.0", @@ -15770,8 +17659,7 @@ }, "node_modules/read-pkg-up/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -15782,8 +17670,7 @@ }, "node_modules/read-pkg-up/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -15793,8 +17680,7 @@ }, "node_modules/read-pkg-up/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -15807,8 +17693,7 @@ }, "node_modules/read-pkg-up/node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -15818,13 +17703,11 @@ }, "node_modules/read-pkg/node_modules/hosted-git-info": { "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + "license": "ISC" }, "node_modules/read-pkg/node_modules/normalize-package-data": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -15834,25 +17717,22 @@ }, "node_modules/read-pkg/node_modules/semver": { "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "license": "ISC", "bin": { "semver": "bin/semver" } }, "node_modules/read-pkg/node_modules/type-fest": { "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/readable-stream": { "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "dev": true, + "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -15865,15 +17745,13 @@ }, "node_modules/readable-stream/node_modules/safe-buffer": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/redent": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", "dev": true, + "license": "MIT", "dependencies": { "indent-string": "^4.0.0", "strip-indent": "^3.0.0" @@ -15884,16 +17762,14 @@ }, "node_modules/redis-errors": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/redis-parser": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "license": "MIT", "dependencies": { "redis-errors": "^1.0.0" }, @@ -15903,23 +17779,20 @@ }, "node_modules/regenerator-runtime": { "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + "license": "MIT" }, "node_modules/regexp-tree": { "version": "0.1.24", - "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.24.tgz", - "integrity": "sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==", "dev": true, + "license": "MIT", "bin": { "regexp-tree": "bin/regexp-tree" } }, "node_modules/regexp.prototype.flags": { "version": "1.4.3", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", - "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", @@ -15934,9 +17807,8 @@ }, "node_modules/regjsparser": { "version": "0.9.1", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", - "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "jsesc": "~0.5.0" }, @@ -15946,8 +17818,6 @@ }, "node_modules/regjsparser/node_modules/jsesc": { "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", "dev": true, "bin": { "jsesc": "bin/jsesc" @@ -15955,9 +17825,8 @@ }, "node_modules/repeating": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A==", "dev": true, + "license": "MIT", "dependencies": { "is-finite": "^1.0.0" }, @@ -15967,32 +17836,28 @@ }, "node_modules/require-directory": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/require-from-string": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/require-main-filename": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/requirejs": { "version": "2.3.6", - "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.6.tgz", - "integrity": "sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==", "dev": true, + "license": "MIT", "bin": { "r_js": "bin/r.js", "r.js": "bin/r.js" @@ -16003,9 +17868,8 @@ }, "node_modules/requirejs-config-file": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/requirejs-config-file/-/requirejs-config-file-4.0.0.tgz", - "integrity": "sha512-jnIre8cbWOyvr8a5F2KuqBnY+SDA4NXr/hzEZJG79Mxm2WiFQz2dzhC8ibtPJS7zkmBEl1mxSwp5HhC1W4qpxw==", "dev": true, + "license": "MIT", "dependencies": { "esprima": "^4.0.0", "stringify-object": "^3.2.1" @@ -16016,8 +17880,7 @@ }, "node_modules/resolve": { "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "license": "MIT", "dependencies": { "is-core-module": "^2.9.0", "path-parse": "^1.0.7", @@ -16032,9 +17895,8 @@ }, "node_modules/resolve-cwd": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, + "license": "MIT", "dependencies": { "resolve-from": "^5.0.0" }, @@ -16044,18 +17906,16 @@ }, "node_modules/resolve-dependency-path": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-dependency-path/-/resolve-dependency-path-2.0.0.tgz", - "integrity": "sha512-DIgu+0Dv+6v2XwRaNWnumKu7GPufBBOr5I1gRPJHkvghrfCGOooJODFvgFimX/KRxk9j0whD2MnKHzM1jYvk9w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/resolve-dir": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", - "integrity": "sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==", "dev": true, + "license": "MIT", "dependencies": { "expand-tilde": "^2.0.0", "global-modules": "^1.0.0" @@ -16066,18 +17926,16 @@ }, "node_modules/resolve-from": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/resolve-global": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-1.0.0.tgz", - "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==", "dev": true, + "license": "MIT", "dependencies": { "global-dirs": "^0.1.1" }, @@ -16087,27 +17945,24 @@ }, "node_modules/resolve.exports": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", - "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/responselike": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==", "dev": true, + "license": "MIT", "dependencies": { "lowercase-keys": "^1.0.0" } }, "node_modules/restore-cursor": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", "dev": true, + "license": "MIT", "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" @@ -16118,9 +17973,8 @@ }, "node_modules/reusify": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true, + "license": "MIT", "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" @@ -16128,23 +17982,20 @@ }, "node_modules/rfdc": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", - "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/right-pad": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz", - "integrity": "sha512-bYBjgxmkvTAfgIYy328fmkwhp39v8lwVgWhhrzxPV3yHtcSqyYKe9/XOhvW48UFjATg3VuJbpsp5822ACNvkmw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.10" } }, "node_modules/rimraf": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -16157,8 +18008,7 @@ }, "node_modules/rimraf/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -16176,9 +18026,8 @@ }, "node_modules/roarr": { "version": "7.15.0", - "resolved": "https://registry.npmjs.org/roarr/-/roarr-7.15.0.tgz", - "integrity": "sha512-CV9WefQfUXTX6wr8CrEMhfNef3sjIt9wNhE/5PNu4tNWsaoDNDXqq+OGn/RW9A1UPb0qc7FQlswXRaJJJsqn8A==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "boolean": "^3.1.4", "fast-json-stringify": "^2.7.10", @@ -16193,8 +18042,7 @@ }, "node_modules/rudder-transformer-cdk": { "version": "1.4.11", - "resolved": "https://registry.npmjs.org/rudder-transformer-cdk/-/rudder-transformer-cdk-1.4.11.tgz", - "integrity": "sha512-u2t/L47tNe9wyzSpQptLkiECT0/P5Xx8BLmZisfuXQx3lXco57oaDX/Ii1ZhEiHM2zht+NiyrGkvhBKMt1IAyA==", + "license": "ISC", "dependencies": { "get-value": "^3.0.1", "handlebars": "^4.7.7", @@ -16210,17 +18058,14 @@ }, "node_modules/run-async": { "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } }, "node_modules/run-parallel": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", "dev": true, "funding": [ { @@ -16236,23 +18081,21 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "dependencies": { "queue-microtask": "^1.2.2" } }, "node_modules/rxjs": { "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/safe-buffer": { "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "funding": [ { "type": "github", @@ -16266,22 +18109,21 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/safe-regex": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-2.1.1.tgz", - "integrity": "sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==", "dev": true, + "license": "MIT", "dependencies": { "regexp-tree": "~0.1.1" } }, "node_modules/safe-regex-test": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -16293,22 +18135,19 @@ }, "node_modules/safe-stable-stringify": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.2.tgz", - "integrity": "sha512-gMxvPJYhP0O9n2pvcfYfIuYgbledAOJFcqRThtPRmjscaipiwcwPPKLytpVzMkG2HAN87Qmo2d4PtGiri1dSLA==", + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/safer-buffer": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + "license": "MIT" }, "node_modules/sass-lookup": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/sass-lookup/-/sass-lookup-3.0.0.tgz", - "integrity": "sha512-TTsus8CfFRn1N44bvdEai1no6PqdmDiQUiqW5DlpmtT+tYnIt1tXtDIph5KA1efC+LmioJXSnCtUVpcK9gaKIg==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.16.0" }, @@ -16321,14 +18160,16 @@ }, "node_modules/sass-lookup/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" + }, + "node_modules/sax": { + "version": "1.2.1", + "license": "ISC" }, "node_modules/semver": { "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" }, @@ -16341,15 +18182,13 @@ }, "node_modules/semver-compare": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/semver-regex": { "version": "3.1.4", - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.4.tgz", - "integrity": "sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -16359,8 +18198,7 @@ }, "node_modules/semver/node_modules/lru-cache": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -16370,23 +18208,20 @@ }, "node_modules/semver/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "license": "ISC" }, "node_modules/set-blocking": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" + "license": "ISC" }, "node_modules/set-value": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-4.1.0.tgz", - "integrity": "sha512-zTEg4HL0RwVrqcWs3ztF+x1vkxfm0lP+MQQFPiMJTKVceBwEV0A569Ou8l9IYQG8jOZdMVI1hGsc0tmeD2o/Lw==", "funding": [ "https://github.com/sponsors/jonschlinkert", "https://paypal.me/jonathanschlinkert", "https://jonschlinkert.dev/sponsor" ], + "license": "MIT", "dependencies": { "is-plain-object": "^2.0.4", "is-primitive": "^3.0.1" @@ -16397,13 +18232,10 @@ }, "node_modules/setprototypeof": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + "license": "ISC" }, "node_modules/sha256": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/sha256/-/sha256-0.2.0.tgz", - "integrity": "sha512-kTWMJUaez5iiT9CcMv8jSq6kMhw3ST0uRdcIWl3D77s6AsLXNXRp3heeqqfu5+Dyfu4hwpQnMzhqHh8iNQxw0w==", "dependencies": { "convert-hex": "~0.1.0", "convert-string": "~0.1.0" @@ -16411,9 +18243,8 @@ }, "node_modules/shebang-command": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -16423,23 +18254,20 @@ }, "node_modules/shebang-regex": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/shellwords": { "version": "0.1.1", - "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", - "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/side-channel": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -16451,42 +18279,36 @@ }, "node_modules/signal-exit": { "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" + "license": "ISC" }, "node_modules/simple-swizzle": { "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", + "license": "MIT", "dependencies": { "is-arrayish": "^0.3.1" } }, "node_modules/simple-swizzle/node_modules/is-arrayish": { "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" + "license": "MIT" }, "node_modules/sisteransi": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/slash": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/slice-ansi": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", - "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.0.0", "is-fullwidth-code-point": "^4.0.0" @@ -16500,9 +18322,8 @@ }, "node_modules/slice-ansi/node_modules/ansi-styles": { "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -16512,9 +18333,8 @@ }, "node_modules/sort-keys": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", - "integrity": "sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==", "dev": true, + "license": "MIT", "dependencies": { "is-plain-obj": "^1.0.0" }, @@ -16524,26 +18344,23 @@ }, "node_modules/source-map": { "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/source-map-js": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, "node_modules/source-map-support": { "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", "dev": true, + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -16551,8 +18368,7 @@ }, "node_modules/spdx-correct": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "license": "Apache-2.0", "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -16560,13 +18376,11 @@ }, "node_modules/spdx-exceptions": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" + "license": "CC-BY-3.0" }, "node_modules/spdx-expression-parse": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "license": "MIT", "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -16574,13 +18388,11 @@ }, "node_modules/spdx-license-ids": { "version": "3.0.12", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==" + "license": "CC0-1.0" }, "node_modules/split": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "license": "MIT", "dependencies": { "through": "2" }, @@ -16590,18 +18402,16 @@ }, "node_modules/split2": { "version": "3.2.2", - "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", - "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", "dev": true, + "license": "ISC", "dependencies": { "readable-stream": "^3.0.0" } }, "node_modules/split2/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -16613,31 +18423,27 @@ }, "node_modules/sprintf-js": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/stack-generator": { "version": "2.0.10", - "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.10.tgz", - "integrity": "sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } }, "node_modules/stack-trace": { "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", + "license": "MIT", "engines": { "node": "*" } }, "node_modules/stack-utils": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^2.0.0" }, @@ -16647,22 +18453,19 @@ }, "node_modules/stack-utils/node_modules/escape-string-regexp": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/stackframe": { "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" + "license": "MIT" }, "node_modules/stacktrace-parser": { "version": "0.1.10", - "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz", - "integrity": "sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==", + "license": "MIT", "dependencies": { "type-fest": "^0.7.1" }, @@ -16672,22 +18475,19 @@ }, "node_modules/stacktrace-parser/node_modules/type-fest": { "version": "0.7.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz", - "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/standard-as-callback": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + "license": "MIT" }, "node_modules/standard-version": { "version": "9.5.0", - "resolved": "https://registry.npmjs.org/standard-version/-/standard-version-9.5.0.tgz", - "integrity": "sha512-3zWJ/mmZQsOaO+fOlsa0+QK90pwhNd042qEcw6hKFNoLFs7peGyvPffpEBbK/DSGPbyOvli0mUIFv5A4qTjh2Q==", "dev": true, + "license": "ISC", "dependencies": { "chalk": "^2.4.2", "conventional-changelog": "3.1.25", @@ -16713,9 +18513,8 @@ }, "node_modules/standard-version/node_modules/ansi-styles": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -16725,9 +18524,8 @@ }, "node_modules/standard-version/node_modules/chalk": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -16739,9 +18537,8 @@ }, "node_modules/standard-version/node_modules/cliui": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -16750,33 +18547,29 @@ }, "node_modules/standard-version/node_modules/color-convert": { "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/standard-version/node_modules/color-name": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/standard-version/node_modules/has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/standard-version/node_modules/supports-color": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -16786,9 +18579,8 @@ }, "node_modules/standard-version/node_modules/yargs": { "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -16804,31 +18596,26 @@ }, "node_modules/stats-accumulator": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/stats-accumulator/-/stats-accumulator-1.1.3.tgz", - "integrity": "sha512-ys8OR2RWx4Y9xC/fkFUKI3t2ElHpR4Xdp8rIWVCTl4DWmfS80gvxl0LwNKYUio/ibBUpsoMaUYbWldonVfPBFQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8" } }, "node_modules/statsd-client": { "version": "0.4.7", - "resolved": "https://registry.npmjs.org/statsd-client/-/statsd-client-0.4.7.tgz", - "integrity": "sha512-+sGCE6FednJ/vI7vywErOg/mhVqmf6Zlktz7cdGRnF/cQWXD9ifMgtqU1CIIXmhSwm11SCk4zDN+bwNCvIR/Kg==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info." + "license": "MIT" }, "node_modules/statuses": { "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/stream-browserify": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", - "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", + "license": "MIT", "dependencies": { "inherits": "~2.0.4", "readable-stream": "^3.5.0" @@ -16836,8 +18623,7 @@ }, "node_modules/stream-browserify/node_modules/readable-stream": { "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -16849,49 +18635,43 @@ }, "node_modules/stream-to-array": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/stream-to-array/-/stream-to-array-2.3.0.tgz", - "integrity": "sha512-UsZtOYEn4tWU2RGLOXr/o/xjRBftZRlG3dEWoaHr8j4GuypJ3isitGbVyjQKAuMu+xbiop8q224TjiZWc4XTZA==", "dev": true, + "license": "MIT", "dependencies": { "any-promise": "^1.1.0" } }, "node_modules/strict-uri-encode": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "integrity": "sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" } }, "node_modules/string_decoder/node_modules/safe-buffer": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + "license": "MIT" }, "node_modules/string-argv": { "version": "0.3.1", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", - "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.6.19" } }, "node_modules/string-length": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", "dev": true, + "license": "MIT", "dependencies": { "char-regex": "^1.0.2", "strip-ansi": "^6.0.0" @@ -16902,15 +18682,12 @@ }, "node_modules/string-similarity": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/string-similarity/-/string-similarity-4.0.4.tgz", - "integrity": "sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -16923,9 +18700,8 @@ "node_modules/string-width-cjs": { "name": "string-width", "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -16937,37 +18713,32 @@ }, "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/string-width/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "license": "MIT" }, "node_modules/string-width/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/string.prototype.trimend": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", - "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -16979,9 +18750,8 @@ }, "node_modules/string.prototype.trimstart": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", - "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -16993,9 +18763,8 @@ }, "node_modules/stringify-object": { "version": "3.3.0", - "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", - "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "get-own-enumerable-property-symbols": "^3.0.0", "is-obj": "^1.0.1", @@ -17007,24 +18776,20 @@ }, "node_modules/stringify-object/node_modules/is-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/stringify-package": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stringify-package/-/stringify-package-1.0.1.tgz", - "integrity": "sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg==", - "deprecated": "This module is not used anymore, and has been replaced by @npmcli/package-json", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -17035,9 +18800,8 @@ "node_modules/strip-ansi-cjs": { "name": "strip-ansi", "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -17047,27 +18811,24 @@ }, "node_modules/strip-bom": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/strip-final-newline": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/strip-indent": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", "dev": true, + "license": "MIT", "dependencies": { "min-indent": "^1.0.0" }, @@ -17077,9 +18838,8 @@ }, "node_modules/strip-json-comments": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -17089,14 +18849,12 @@ }, "node_modules/strnum": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", - "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + "license": "MIT" }, "node_modules/stylus-lookup": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/stylus-lookup/-/stylus-lookup-3.0.2.tgz", - "integrity": "sha512-oEQGHSjg/AMaWlKe7gqsnYzan8DLcGIHe0dUaFkucZZ14z4zjENRlQMCHT4FNsiWnJf17YN9OvrCfCoi7VvOyg==", "dev": true, + "license": "MIT", "dependencies": { "commander": "^2.8.1", "debug": "^4.1.0" @@ -17110,23 +18868,20 @@ }, "node_modules/stylus-lookup/node_modules/commander": { "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/subdirs": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/subdirs/-/subdirs-1.0.1.tgz", - "integrity": "sha512-KSbUKpwQIRcb5Th+l4EzxEZYpCwV/g0pQ348EV7CIM5YEEgzz2L1KJD8FCeTckTiE/TKn2u09DCxpdAL6/iFbg==", + "license": "MIT", "dependencies": { "es6-promise": "^3.0.2" } }, "node_modules/superagent": { "version": "8.0.9", - "resolved": "https://registry.npmjs.org/superagent/-/superagent-8.0.9.tgz", - "integrity": "sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA==", "dev": true, + "license": "MIT", "dependencies": { "component-emitter": "^1.3.0", "cookiejar": "^2.1.4", @@ -17145,9 +18900,8 @@ }, "node_modules/supertest": { "version": "6.3.3", - "resolved": "https://registry.npmjs.org/supertest/-/supertest-6.3.3.tgz", - "integrity": "sha512-EMCG6G8gDu5qEqRQ3JjjPs6+FYT1a7Hv5ApHvtSghmOFJYtsU5S+pSb6Y2EUeCEY3CmEL3mmQ8YWlPOzQomabA==", "dev": true, + "license": "MIT", "dependencies": { "methods": "^1.1.2", "superagent": "^8.0.5" @@ -17158,9 +18912,8 @@ }, "node_modules/supports-color": { "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -17170,8 +18923,7 @@ }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -17181,9 +18933,8 @@ }, "node_modules/swagger-cli": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/swagger-cli/-/swagger-cli-4.0.4.tgz", - "integrity": "sha512-Cp8YYuLny3RJFQ4CvOBTaqmOOgYsem52dPx1xM5S4EUWFblIh2Q8atppMZvXKUr1e9xH5RwipYpmdUzdPcxWcA==", "dev": true, + "license": "MIT", "dependencies": { "@apidevtools/swagger-cli": "4.0.4" }, @@ -17196,9 +18947,8 @@ }, "node_modules/swagger-cli/node_modules/@apidevtools/swagger-cli": { "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@apidevtools/swagger-cli/-/swagger-cli-4.0.4.tgz", - "integrity": "sha512-hdDT3B6GLVovCsRZYDi3+wMcB1HfetTU20l2DC8zD3iFRNMC6QNAZG5fo/6PYeHWBEv7ri4MvnlKodhNB0nt7g==", "dev": true, + "license": "MIT", "dependencies": { "@apidevtools/swagger-parser": "^10.0.1", "chalk": "^4.1.0", @@ -17214,18 +18964,16 @@ }, "node_modules/swagger-cli/node_modules/argparse": { "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } }, "node_modules/swagger-cli/node_modules/cliui": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -17234,9 +18982,8 @@ }, "node_modules/swagger-cli/node_modules/find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -17247,9 +18994,8 @@ }, "node_modules/swagger-cli/node_modules/js-yaml": { "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -17260,9 +19006,8 @@ }, "node_modules/swagger-cli/node_modules/locate-path": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -17272,9 +19017,8 @@ }, "node_modules/swagger-cli/node_modules/p-limit": { "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -17287,9 +19031,8 @@ }, "node_modules/swagger-cli/node_modules/p-locate": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -17299,9 +19042,8 @@ }, "node_modules/swagger-cli/node_modules/wrap-ansi": { "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -17313,15 +19055,13 @@ }, "node_modules/swagger-cli/node_modules/y18n": { "version": "4.0.3", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", - "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/swagger-cli/node_modules/yargs": { "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^6.0.0", "decamelize": "^1.2.0", @@ -17341,9 +19081,8 @@ }, "node_modules/swagger-cli/node_modules/yargs-parser": { "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "dev": true, + "license": "ISC", "dependencies": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" @@ -17354,17 +19093,15 @@ }, "node_modules/tapable": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/tar": { "version": "6.1.15", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz", - "integrity": "sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A==", + "license": "ISC", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", @@ -17379,30 +19116,26 @@ }, "node_modules/tar/node_modules/minipass": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "license": "ISC", "engines": { "node": ">=8" } }, "node_modules/tar/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "license": "ISC" }, "node_modules/tdigest": { "version": "0.1.2", - "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", - "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "license": "MIT", "dependencies": { "bintrees": "1.0.2" } }, "node_modules/test-exclude": { "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, + "license": "ISC", "dependencies": { "@istanbuljs/schema": "^0.1.2", "glob": "^7.1.4", @@ -17414,9 +19147,8 @@ }, "node_modules/test-exclude/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -17434,43 +19166,37 @@ }, "node_modules/text-extensions": { "version": "1.9.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", - "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10" } }, "node_modules/text-hex": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" + "license": "MIT" }, "node_modules/text-table": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/through": { "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" + "license": "MIT" }, "node_modules/through2": { "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, + "license": "MIT", "dependencies": { "readable-stream": "3" } }, "node_modules/through2/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -17482,18 +19208,16 @@ }, "node_modules/timed-out": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", - "integrity": "sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/tmp": { "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, + "license": "MIT", "dependencies": { "os-tmpdir": "~1.0.2" }, @@ -17503,32 +19227,27 @@ }, "node_modules/tmpl": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/to-fast-properties": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/to-function": { "version": "2.0.6", - "resolved": "https://registry.npmjs.org/to-function/-/to-function-2.0.6.tgz", - "integrity": "sha512-LWfUmW851x5T8+78Nl82CA2j6w0trhoFj4rpS6pFUMgfUMUySDAKPgTvQkUqlWuH3Lihlk5sPyDHSVwmKDSc5Q==", "dependencies": { "component-props": "*" } }, "node_modules/to-regex-range": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, + "license": "MIT", "dependencies": { "is-number": "^7.0.0" }, @@ -17538,39 +19257,34 @@ }, "node_modules/toidentifier": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", "engines": { "node": ">=0.6" } }, "node_modules/trim-newlines": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/triple-beam": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz", - "integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==" + "license": "MIT" }, "node_modules/truncate-utf8-bytes": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz", - "integrity": "sha512-95Pu1QXQvruGEhv62XCMO3Mm90GscOCClvrIUwCM0PYOXK3kaF3l3sIHxx71ThJfcbM2O5Au6SO3AWCSEfW4mQ==", + "license": "WTFPL", "dependencies": { "utf8-byte-length": "^1.0.1" } }, "node_modules/ts-graphviz": { "version": "1.5.5", - "resolved": "https://registry.npmjs.org/ts-graphviz/-/ts-graphviz-1.5.5.tgz", - "integrity": "sha512-abon0Tlcgvxcqr8x+p8QH1fTbR2R4cEXKGZfT4OJONZWah2YfqkmERb6hrr82omAc1IHwk5PlF8g4BS/ECYvwQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -17581,9 +19295,8 @@ }, "node_modules/ts-jest": { "version": "29.1.1", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.1.tgz", - "integrity": "sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==", "dev": true, + "license": "MIT", "dependencies": { "bs-logger": "0.x", "fast-json-stable-stringify": "2.x", @@ -17624,18 +19337,16 @@ }, "node_modules/ts-jest/node_modules/yargs-parser": { "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/ts-node": { "version": "10.9.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", - "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", "dev": true, + "license": "MIT", "dependencies": { "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", @@ -17676,18 +19387,16 @@ }, "node_modules/ts-node/node_modules/acorn-walk": { "version": "8.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/tsconfig-paths": { "version": "3.14.2", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", - "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", "dev": true, + "license": "MIT", "dependencies": { "@types/json5": "^0.0.29", "json5": "^1.0.2", @@ -17697,9 +19406,8 @@ }, "node_modules/tsconfig-paths/node_modules/json5": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.0" }, @@ -17709,31 +19417,27 @@ }, "node_modules/tsconfig-paths/node_modules/strip-bom": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/tslib": { "version": "2.5.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", - "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==" + "license": "0BSD" }, "node_modules/tsscmp": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz", - "integrity": "sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==", + "license": "MIT", "engines": { "node": ">=0.6.x" } }, "node_modules/tsutils": { "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", "dev": true, + "license": "MIT", "dependencies": { "tslib": "^1.8.1" }, @@ -17746,15 +19450,13 @@ }, "node_modules/tsutils/node_modules/tslib": { "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true + "dev": true, + "license": "0BSD" }, "node_modules/type-check": { "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -17764,25 +19466,22 @@ }, "node_modules/type-detect": { "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/type-fest": { "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=8" } }, "node_modules/type-is": { "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "license": "MIT", "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" @@ -17793,9 +19492,8 @@ }, "node_modules/typed-array-length": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "for-each": "^0.3.3", @@ -17807,15 +19505,13 @@ }, "node_modules/typedarray": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/typescript": { "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -17826,8 +19522,6 @@ }, "node_modules/ua-parser-js": { "version": "1.0.35", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.35.tgz", - "integrity": "sha512-fKnGuqmTBnIE+/KXSzCn4db8RTigUzw1AN0DmdU6hJovUTbYJKyqj+8Mt1c4VfRDnOVJnENmfYkIPZ946UrSAA==", "funding": [ { "type": "opencollective", @@ -17838,14 +19532,14 @@ "url": "https://paypal.me/faisalman" } ], + "license": "MIT", "engines": { "node": "*" } }, "node_modules/uglify-js": { "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "license": "BSD-2-Clause", "optional": true, "bin": { "uglifyjs": "bin/uglifyjs" @@ -17856,9 +19550,8 @@ }, "node_modules/unbox-primitive": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -17871,31 +19564,27 @@ }, "node_modules/uniq": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", - "integrity": "sha512-Gw+zz50YNKPDKXs+9d+aKAjVwpjNwqzvNpLigIruT4HA9lMZNdMqs9x07kKHB/L9WRzqp4+DlTU5s4wG2esdoA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/universalify": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 10.0.0" } }, "node_modules/unpipe": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/unset-value": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-2.0.1.tgz", - "integrity": "sha512-2hvrBfjUE00PkqN+q0XP6yRAOGrR06uSiUoIQGZkc7GxvQ9H7v8quUPNtZjMg4uux69i8HWpIjLPUKwCuRGyNg==", + "license": "MIT", "dependencies": { "has-value": "^2.0.2", "isobject": "^4.0.0" @@ -17906,16 +19595,13 @@ }, "node_modules/unset-value/node_modules/isobject": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", - "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/update-browserslist-db": { "version": "1.0.11", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", - "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", "dev": true, "funding": [ { @@ -17931,6 +19617,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "escalade": "^3.1.1", "picocolors": "^1.0.0" @@ -17944,17 +19631,23 @@ }, "node_modules/uri-js": { "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "license": "BSD-2-Clause", "dependencies": { "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", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==", "dev": true, + "license": "MIT", "dependencies": { "prepend-http": "^2.0.0" }, @@ -17964,47 +19657,55 @@ }, "node_modules/url-to-options": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz", - "integrity": "sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } }, + "node_modules/url/node_modules/punycode": { + "version": "1.3.2", + "license": "MIT" + }, "node_modules/utf8-byte-length": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz", - "integrity": "sha512-4+wkEYLBbWxqTahEsWrhxepcoVOJ+1z5PGIjPZxRkytcdSUaNjIjBM7Xn8E+pdSuV7SzvWovBFA54FO0JSoqhA==" + "license": "WTFPL" }, "node_modules/utf8-length": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/utf8-length/-/utf8-length-0.0.1.tgz", - "integrity": "sha512-j/XH2ftofBiobnyApxlN/J6j/ixwT89WEjDcjT66d2i0+GIn9RZfzt8lpEXXE4jUe4NsjBSUq70kS2euQ4nnMw==" + "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", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + "license": "MIT" }, "node_modules/uuid": { "version": "9.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/v8-to-istanbul": { "version": "9.1.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", - "integrity": "sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==", "dev": true, + "license": "ISC", "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", @@ -18015,14 +19716,11 @@ } }, "node_modules/valid-url": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/valid-url/-/valid-url-1.0.9.tgz", - "integrity": "sha512-QQDsV8OnSf5Uc30CKSwG9lnhMPe6exHtTXLRYX8uMwKENy640pU+2BgBL0LRbDh/eYRahNCS7aewCx0wf3NYVA==" + "version": "1.0.9" }, "node_modules/validate-npm-package-license": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "license": "Apache-2.0", "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" @@ -18030,17 +19728,15 @@ }, "node_modules/vary": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/vscode-json-languageservice": { "version": "4.2.1", - "resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-4.2.1.tgz", - "integrity": "sha512-xGmv9QIWs2H8obGbWg+sIPI/3/pFgj/5OWBhNzs00BkYQ9UaB2F6JJaGB/2/YOZJ3BvLXQTC4Q7muqU25QgAhA==", "dev": true, + "license": "MIT", "dependencies": { "jsonc-parser": "^3.0.0", "vscode-languageserver-textdocument": "^1.0.3", @@ -18051,59 +19747,51 @@ }, "node_modules/vscode-languageserver-textdocument": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.8.tgz", - "integrity": "sha512-1bonkGqQs5/fxGT5UchTgjGVnfysL0O8v1AYMBjqTbWQTFn721zaPGDYFkOKtfDgFiSgXM3KwaG3FMGfW4Ed9Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vscode-languageserver-types": { "version": "3.17.2", - "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.2.tgz", - "integrity": "sha512-zHhCWatviizPIq9B7Vh9uvrH6x3sK8itC84HkamnBWoDFJtzBf7SWlpLCZUit72b3os45h6RWQNC9xHRDF8dRA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vscode-nls": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-5.2.0.tgz", - "integrity": "sha512-RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vscode-uri": { "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.7.tgz", - "integrity": "sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/walkdir": { "version": "0.4.1", - "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.4.1.tgz", - "integrity": "sha512-3eBwRyEln6E1MSzcxcVpQIhRG8Q1jLvEqRmCZqS3dsfXEDR/AhOF4d+jHg1qvDCpYaVRZjENPQyrVxAkQqxPgQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/walker": { "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "makeerror": "1.0.12" } }, "node_modules/wcwidth": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "license": "MIT", "dependencies": { "defaults": "^1.0.3" } }, "node_modules/which": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -18116,9 +19804,8 @@ }, "node_modules/which-boxed-primitive": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", "dev": true, + "license": "MIT", "dependencies": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -18132,15 +19819,12 @@ }, "node_modules/which-module": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", - "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/which-typed-array": { "version": "1.1.9", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", - "dev": true, + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -18158,17 +19842,15 @@ }, "node_modules/wide-align": { "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "license": "ISC", "dependencies": { "string-width": "^1.0.2 || 2 || 3 || 4" } }, "node_modules/widest-line": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", "dev": true, + "license": "MIT", "dependencies": { "string-width": "^4.0.0" }, @@ -18178,8 +19860,7 @@ }, "node_modules/winston": { "version": "3.8.2", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.8.2.tgz", - "integrity": "sha512-MsE1gRx1m5jdTTO9Ld/vND4krP2To+lgDoMEHGGa4HIlAUyXJtfc7CxQcGXVyz2IBpw5hbFkj2b/AtUdQwyRew==", + "license": "MIT", "dependencies": { "@colors/colors": "1.5.0", "@dabh/diagnostics": "^2.0.2", @@ -18199,8 +19880,7 @@ }, "node_modules/winston-transport": { "version": "4.5.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz", - "integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==", + "license": "MIT", "dependencies": { "logform": "^2.3.2", "readable-stream": "^3.6.0", @@ -18212,8 +19892,7 @@ }, "node_modules/winston-transport/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -18225,8 +19904,7 @@ }, "node_modules/winston/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -18238,23 +19916,20 @@ }, "node_modules/word-wrap": { "version": "1.2.5", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", - "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/wordwrap": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" + "license": "MIT" }, "node_modules/wrap-ansi": { "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -18270,9 +19945,8 @@ "node_modules/wrap-ansi-cjs": { "name": "wrap-ansi", "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -18287,47 +19961,59 @@ }, "node_modules/wrappy": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "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", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.4" } }, "node_modules/y18n": { "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/yallist": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/yaml": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz", - "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==", "dev": true, + "license": "ISC", "engines": { "node": ">= 14" } }, "node_modules/yargs": { "version": "17.7.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", - "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", @@ -18343,43 +20029,38 @@ }, "node_modules/yargs-parser": { "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/yargs/node_modules/yargs-parser": { "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, + "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/ylru": { "version": "1.3.2", - "resolved": "https://registry.npmjs.org/ylru/-/ylru-1.3.2.tgz", - "integrity": "sha512-RXRJzMiK6U2ye0BlGGZnmpwJDPgakn6aNQ0A7gHRbD4I0uvK4TW6UqkK1V0pp9jskjJBAXd3dRrbzWkqJ+6cxA==", + "license": "MIT", "engines": { "node": ">= 4.0.0" } }, "node_modules/yn": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/yocto-queue": { "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "license": "MIT", "engines": { "node": ">=10" }, diff --git a/package.json b/package.json index 66d00600ad..8f23db4f7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.43.1", + "version": "1.44.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { @@ -36,6 +36,7 @@ "test:js:silent": "npm run test:js -- --silent", "test:js:ci": "npm run test:js -- --coverage --expand --maxWorkers=50%", "test:ts": "jest -c jest.config.typescript.js --detectOpenHandles", + "test:ts:component:generateNwMocks": "npm run test:ts -- component --generate=true", "test:ts:silent": "npm run test:ts -- --silent", "test:ts:ci": "npm run test:ts -- --coverage --expand --maxWorkers=50%", "test:ut:integration": "jest \"user_transformation.integration.test.js\" --detectOpenHandles --notify", @@ -51,10 +52,10 @@ }, "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", - "@aws-sdk/client-personalize": "^3.363.0", + "@aws-sdk/client-personalize": "^3.391.0", "@aws-sdk/client-s3": "^3.370.0", - "@aws-sdk/credential-providers": "^3.363.0", - "@aws-sdk/lib-storage": "^3.370.0", + "@aws-sdk/credential-providers": "^3.391.0", + "@aws-sdk/lib-storage": "^3.391.0", "@bugsnag/js": "^7.20.2", "@datadog/pprof": "^3.1.0", "@koa/router": "^12.0.0", @@ -93,7 +94,7 @@ "moment": "^2.29.4", "moment-timezone": "^0.5.43", "node-cache": "^5.1.2", - "node-fetch": "^2.6.9", + "node-fetch": "^2.6.12", "oauth-1.0a": "^2.2.6", "object-hash": "^3.0.0", "parse-static-imports": "^1.1.0", @@ -113,6 +114,7 @@ "devDependencies": { "@commitlint/config-conventional": "^17.6.3", "@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1", + "@types/fast-json-stable-stringify": "^2.1.0", "@types/jest": "^29.5.1", "@types/koa": "^2.13.6", "@types/koa-bodyparser": "^4.3.10", @@ -120,6 +122,7 @@ "@types/node": "^20.2.5", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.59.2", + "axios-mock-adapter": "^1.22.0", "benchmark-suite": "^0.1.8", "commander": "^10.0.1", "commitizen": "^4.3.0", diff --git a/src/adapters/network.js b/src/adapters/network.js index 78552048f0..375d9dc908 100644 --- a/src/adapters/network.js +++ b/src/adapters/network.js @@ -1,7 +1,7 @@ /* eslint-disable no-restricted-syntax */ /* eslint-disable no-undef */ -const _ = require('lodash'); +const lodash = require('lodash'); const http = require('http'); const https = require('https'); const axios = require('axios'); @@ -9,6 +9,8 @@ const log = require('../logger'); const stats = require('../util/stats'); const { removeUndefinedValues } = require('../v0/util'); const { processAxiosResponse } = require('./utils/networkUtils'); +// Only for tests +const { setResponsesForMockAxiosAdapter } = require('../../test/testHelper'); const MAX_CONTENT_LENGTH = parseInt(process.env.MAX_CONTENT_LENGTH, 10) || 100000000; const MAX_BODY_LENGTH = parseInt(process.env.MAX_BODY_LENGTH, 10) || 100000000; @@ -84,6 +86,7 @@ const httpSend = async (options, statTags = {}) => { const requestOptions = enhanceRequestOptions(options); const startTime = new Date(); + const { url, data, method } = requestOptions; try { const response = await axios(requestOptions); clientResponse = { success: true, response }; @@ -92,6 +95,8 @@ const httpSend = async (options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + + setResponsesForMockAxiosAdapter({ url, data, method, options }, clientResponse); return clientResponse; }; @@ -117,6 +122,7 @@ const httpGET = async (url, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, options, method: 'GET' }, clientResponse); return clientResponse; }; @@ -142,6 +148,7 @@ const httpDELETE = async (url, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, options, method: 'DELETE' }, clientResponse); return clientResponse; }; @@ -168,6 +175,7 @@ const httpPOST = async (url, data, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, data, options, method: 'POST' }, clientResponse); return clientResponse; }; @@ -194,6 +202,7 @@ const httpPUT = async (url, data, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, data, options, method: 'PUT' }, clientResponse); return clientResponse; }; @@ -220,6 +229,7 @@ const httpPATCH = async (url, data, options, statTags = {}) => { } finally { fireHTTPStats(clientResponse, startTime, statTags); } + setResponsesForMockAxiosAdapter({ url, data, options, method: 'PATCH' }, clientResponse); return clientResponse; }; @@ -227,7 +237,7 @@ const getPayloadData = (body) => { let payload; let payloadFormat; Object.entries(body).forEach(([key, value]) => { - if (!_.isEmpty(value)) { + if (!lodash.isEmpty(value)) { payload = value; payloadFormat = key; } @@ -388,4 +398,5 @@ module.exports = { getPayloadData, getFormData, handleHttpRequest, + enhanceRequestOptions, }; diff --git a/src/adapters/utils/networkUtils.js b/src/adapters/utils/networkUtils.js index 39b0e0504a..a88d803fac 100644 --- a/src/adapters/utils/networkUtils.js +++ b/src/adapters/utils/networkUtils.js @@ -1,5 +1,5 @@ /* eslint-disable eqeqeq */ -const _ = require('lodash'); +const lodash = require('lodash'); const { isEmpty } = require('lodash'); const { isHttpStatusRetryable, @@ -100,7 +100,7 @@ const parseDestResponse = (destResponse, destination = '') => { if ( !isDefinedAndNotNull(responseBody) || !isDefinedAndNotNull(status) || - !_.isNumber(status) || + !lodash.isNumber(status) || status === 0 ) { throw new AbortedError( diff --git a/src/cdk/v1/dcm_floodlight/transform.js b/src/cdk/v1/dcm_floodlight/transform.js index 4025c3cc01..d5835d3e2b 100644 --- a/src/cdk/v1/dcm_floodlight/transform.js +++ b/src/cdk/v1/dcm_floodlight/transform.js @@ -1,6 +1,6 @@ /* eslint-disable no-param-reassign */ const get = require('get-value'); -const _ = require('lodash'); +const lodash = require('lodash'); const { removeUndefinedAndNullValues, isDefinedAndNotNull, @@ -44,7 +44,7 @@ const transformCustomVariable = (customFloodlightVariable, message) => { if ( // the value is not null - !_.isNil(itemValue) && + !lodash.isNil(itemValue) && // the value is string and doesn't have any blacklisted characters !( typeof itemValue === 'string' && BLACKLISTED_CHARACTERS.some((k) => itemValue.includes(k)) diff --git a/src/cdk/v1/new_relic/transform.js b/src/cdk/v1/new_relic/transform.js index 67858910ad..43cebd548f 100644 --- a/src/cdk/v1/new_relic/transform.js +++ b/src/cdk/v1/new_relic/transform.js @@ -1,3 +1,4 @@ +/* eslint-disable no-param-reassign */ const { isBoolean } = require('lodash'); const { Utils } = require('rudder-transformer-cdk'); diff --git a/src/cdk/v2/destinations/dcm_floodlight/utils.js b/src/cdk/v2/destinations/dcm_floodlight/utils.js index e50f4f3b40..bee45bdea3 100644 --- a/src/cdk/v2/destinations/dcm_floodlight/utils.js +++ b/src/cdk/v2/destinations/dcm_floodlight/utils.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { getValueFromPropertiesOrTraits, getHashFromArray } = require('../../../../v0/util'); const { GENERIC_TRUE_VALUES, GENERIC_FALSE_VALUES } = require('../../../../constants'); const { InstrumentationError } = require('../../../../v0/util/errorTypes'); @@ -35,7 +35,7 @@ const transformCustomVariable = (customFloodlightVariable, message) => { if ( // the value is not null - !_.isNil(itemValue) && + !lodash.isNil(itemValue) && // the value is string and doesn't have any blacklisted characters !( typeof itemValue === 'string' && BLACKLISTED_CHARACTERS.some((k) => itemValue.includes(k)) diff --git a/src/cdk/v2/destinations/eloqua/utils.js b/src/cdk/v2/destinations/eloqua/utils.js index baecffc6dc..a8e2afb3f8 100644 --- a/src/cdk/v2/destinations/eloqua/utils.js +++ b/src/cdk/v2/destinations/eloqua/utils.js @@ -1,10 +1,11 @@ const stringifyValues = (data) => { - Object.keys(data).forEach((key) => { - if (typeof data[key] !== 'string') { - data[key] = JSON.stringify(data[key]); + const output = data; + Object.keys(output).forEach((key) => { + if (typeof output[key] !== 'string') { + output[key] = JSON.stringify(output[key]); } }); - return data; + return output; }; module.exports = { stringifyValues, diff --git a/src/cdk/v2/destinations/launchdarkly_audience/utils.js b/src/cdk/v2/destinations/launchdarkly_audience/utils.js index 5bbcdfb6a3..6128fdfbfc 100644 --- a/src/cdk/v2/destinations/launchdarkly_audience/utils.js +++ b/src/cdk/v2/destinations/launchdarkly_audience/utils.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { ACTION_TYPES, IDENTIFIER_KEY, MAX_IDENTIFIERS } = require('./config'); /** @@ -61,7 +61,7 @@ const batchIdentifiersList = (listData) => { ...audienceList.remove.map((item) => ({ ...item, type: 'remove' })), ]; - const chunkedData = _.chunk(combinedList, MAX_IDENTIFIERS); + const chunkedData = lodash.chunk(combinedList, MAX_IDENTIFIERS); // Group the chunks by action type (add/remove) const groupedData = chunkedData.map((chunk) => { diff --git a/src/cdk/v2/handler.ts b/src/cdk/v2/handler.ts index 898e83f7b8..4b3868b85b 100644 --- a/src/cdk/v2/handler.ts +++ b/src/cdk/v2/handler.ts @@ -5,6 +5,7 @@ import { ExecutionBindings, StepOutput, } from '@rudderstack/workflow-engine'; +import { FixMe } from '../../util/types'; import tags from '../../v0/util/tags'; @@ -25,7 +26,7 @@ export function getEmptyExecutionBindings() { return { outputs: {}, context, - setContext: (key: string, value: any) => { + setContext: (key: string, value: FixMe) => { context[key] = value; }, }; @@ -34,7 +35,7 @@ export function getEmptyExecutionBindings() { export async function getWorkflowEngine( destName: string, feature: string, - bindings: Record = {}, + bindings: Record = {}, ) { const destRootDir = getRootPathForDestination(destName); const workflowPath = await getWorkflowPath(destRootDir, feature); @@ -52,7 +53,7 @@ const workflowEnginePromiseMap = new Map(); export function getCachedWorkflowEngine( destName: string, feature: string, - bindings: Record = {}, + bindings: Record = {}, ): WorkflowEngine { // Create a new instance of the engine for the destination if needed // TODO: Use cache to avoid long living engine objects @@ -63,7 +64,7 @@ export function getCachedWorkflowEngine( return workflowEnginePromiseMap[destName][feature]; } -export async function executeWorkflow(workflowEngine: WorkflowEngine, parsedEvent: any) { +export async function executeWorkflow(workflowEngine: WorkflowEngine, parsedEvent: FixMe) { try { const result = await workflowEngine.execute(parsedEvent); // TODO: Handle remaining output scenarios @@ -75,9 +76,9 @@ export async function executeWorkflow(workflowEngine: WorkflowEngine, parsedEven export async function processCdkV2Workflow( destType: string, - parsedEvent: any, + parsedEvent: FixMe, feature: string, - bindings: Record = {}, + bindings: Record = {}, ) { try { const workflowEngine = await getCachedWorkflowEngine(destType, feature, bindings); @@ -90,7 +91,7 @@ export async function processCdkV2Workflow( export function executeStep( workflowEngine: WorkflowEngine, stepName: string, - input: any, + input: FixMe, bindings?: ExecutionBindings, ): Promise { return workflowEngine diff --git a/src/cdk/v2/utils.ts b/src/cdk/v2/utils.ts index 9d46f3dace..3fb26c07e0 100644 --- a/src/cdk/v2/utils.ts +++ b/src/cdk/v2/utils.ts @@ -1,14 +1,11 @@ import path from 'path'; import fs from 'fs/promises'; -import { - WorkflowExecutionError, - WorkflowCreationError, - StatusError, -} from '@rudderstack/workflow-engine'; +import { WorkflowExecutionError, WorkflowCreationError } from '@rudderstack/workflow-engine'; 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'; const CDK_V2_ROOT_DIR = __dirname; @@ -83,7 +80,7 @@ export function getWorkflowEngineErrorMessage(err) { * @param {*} defTags default stat tags * @returns Error type object */ -export function getErrorInfo(err: any, isProd: boolean, defTags) { +export function getErrorInfo(err: CatchErr, isProd: boolean, defTags) { // Handle various CDK error types const message = isProd ? getWorkflowEngineErrorMessage(err) : err.message; @@ -91,7 +88,7 @@ export function getErrorInfo(err: any, isProd: boolean, defTags) { logger.error(`Error occurred during workflow step execution: ${message}`, err); // Determine the error instance - let errInstance: any = err; + let errInstance: CatchErr = err; if (err.originalError) { errInstance = err.originalError; errInstance.message = message; diff --git a/src/controllers/bulkUpload.ts b/src/controllers/bulkUpload.ts index e4d60b2021..85c4fe6b4f 100644 --- a/src/controllers/bulkUpload.ts +++ b/src/controllers/bulkUpload.ts @@ -1,5 +1,7 @@ +/* eslint-disable global-require, import/no-dynamic-require, @typescript-eslint/no-unused-vars */ import { client as errNotificationClient } from '../util/errorNotifier'; import logger from '../logger'; +import { CatchErr } from '../util/types'; // TODO: To be refactored and redisgned const getDestFileUploadHandler = (version, dest) => @@ -7,6 +9,7 @@ const getDestFileUploadHandler = (version, dest) => const getPollStatusHandler = (version, dest) => require(`../${version}/destinations/${dest}/poll`); const getJobStatusHandler = (version, dest) => require(`../${version}/destinations/${dest}/fetchJobStatus`); +const ERROR_MESSAGE_PROCESSOR_STRING = 'Error occurred while processing payload.'; const getCommonMetadata = (ctx) => // TODO: Parse information such as @@ -16,12 +19,23 @@ const getCommonMetadata = (ctx) => namespace: 'Unknown', cluster: 'Unknown', }); + +const getReqMetadata = (ctx) => { + try { + const reqBody = ctx.request.body; + return { destType: reqBody?.destType, importId: reqBody?.importId }; + } catch (error) { + // Do nothing + } + return {}; +}; + export const fileUpload = async (ctx) => { logger.debug( 'Native(Bulk-Upload): Request to transformer:: /fileUpload route', JSON.stringify(ctx.request.body), ); - const getReqMetadata = () => { + const getReqMetadataFileUpload = () => { try { const reqBody = ctx.request.body; return { destType: reqBody?.destType }; @@ -42,16 +56,16 @@ export const fileUpload = async (ctx) => { let response; try { response = await destFileUploadHandler.processFileData(ctx.request.body); - } catch (error: any) { + } catch (error: CatchErr) { response = { statusCode: error?.response?.status || error?.status || 400, - error: error.message || 'Error occurred while processing payload.', + error: error.message || ERROR_MESSAGE_PROCESSOR_STRING, metadata: error.response ? error.response.metadata : null, }; errNotificationClient.notify(error, 'File Upload', { ...response, ...getCommonMetadata(ctx), - ...getReqMetadata(), + ...getReqMetadata(ctx), }); } ctx.body = response; @@ -67,15 +81,6 @@ export const pollStatus = async (ctx) => { 'Native(Bulk-Upload): Request to transformer:: /pollStatus route', JSON.stringify(ctx.request.body), ); - const getReqMetadata = () => { - try { - const reqBody = ctx.request.body; - return { destType: reqBody?.destType, importId: reqBody?.importId }; - } catch (error) { - // Do nothing - } - return {}; - }; const { destType } = ctx.request.body; const destFileUploadHandler = getPollStatusHandler('v0', destType.toLowerCase()); @@ -87,15 +92,15 @@ export const pollStatus = async (ctx) => { } try { response = await destFileUploadHandler.processPolling(ctx.request.body); - } catch (error: any) { + } catch (error: CatchErr) { response = { - statusCode: error.response?.status || error?.status || 400, - error: error.message || 'Error occurred while processing payload.', + statusCode: error.response?.status || 400, + error: error.message || ERROR_MESSAGE_PROCESSOR_STRING, }; errNotificationClient.notify(error, 'Poll Status', { ...response, ...getCommonMetadata(ctx), - ...getReqMetadata(), + ...getReqMetadata(ctx), }); } ctx.body = response; @@ -111,15 +116,6 @@ export const getWarnJobStatus = async (ctx) => { 'Native(Bulk-Upload): Request to transformer:: /getWarningJobs route', JSON.stringify(ctx.request.body), ); - const getReqMetadata = () => { - try { - const reqBody = ctx.request.body; - return { destType: reqBody?.destType, importId: reqBody?.importId }; - } catch (error) { - // Do nothing - } - return {}; - }; const { destType } = ctx.request.body; const destFileUploadHandler = getJobStatusHandler('v0', destType.toLowerCase()); @@ -132,15 +128,15 @@ export const getWarnJobStatus = async (ctx) => { let response; try { response = await destFileUploadHandler.processJobStatus(ctx.request.body, 'warn'); - } catch (error: any) { + } catch (error: CatchErr) { response = { statusCode: error.response ? error.response.status : 400, - error: error.message || 'Error occurred while processing payload.', + error: error.message || ERROR_MESSAGE_PROCESSOR_STRING, }; errNotificationClient.notify(error, 'Job Status', { ...response, ...getCommonMetadata(ctx), - ...getReqMetadata(), + ...getReqMetadata(ctx), }); } ctx.body = response; @@ -156,15 +152,6 @@ export const getFailedJobStatus = async (ctx) => { 'Native(Bulk-Upload): Request to transformer:: /getFailedJobs route', JSON.stringify(ctx.request.body), ); - const getReqMetadata = () => { - try { - const reqBody = ctx.request.body; - return { destType: reqBody?.destType, importId: reqBody?.importId }; - } catch (error) { - // Do nothing - } - return {}; - }; const { destType } = ctx.request.body; const destFileUploadHandler = getJobStatusHandler('v0', destType.toLowerCase()); @@ -177,15 +164,15 @@ export const getFailedJobStatus = async (ctx) => { let response; try { response = await destFileUploadHandler.processJobStatus(ctx.request.body, 'fail'); - } catch (error: any) { + } catch (error: CatchErr) { response = { statusCode: error.response ? error.response.status : 400, - error: error.message || 'Error occurred while processing payload.', + error: error.message || ERROR_MESSAGE_PROCESSOR_STRING, }; errNotificationClient.notify(error, 'Job Status', { ...response, ...getCommonMetadata(ctx), - ...getReqMetadata(), + ...getReqMetadata(ctx), }); } ctx.body = response; diff --git a/src/controllers/delivery.ts b/src/controllers/delivery.ts index d9a514d961..5dee091c46 100644 --- a/src/controllers/delivery.ts +++ b/src/controllers/delivery.ts @@ -7,6 +7,7 @@ import ControllerUtility from './util'; import logger from '../logger'; import DestinationPostTransformationService from '../services/destination/postTransformation'; import tags from '../v0/util/tags'; +import { FixMe } from '../util/types'; export default class DeliveryController { public static async deliverToDestination(ctx: Context) { @@ -49,7 +50,7 @@ export default class DeliveryController { }: { deliveryPayload: ProcessorTransformationOutput; destinationRequestPayload: ProcessorTransformationOutput; - } = ctx.request.body as any; + } = ctx.request.body as FixMe; const response = await DeliveryTestService.doTestDelivery( destination, destinationRequestPayload, diff --git a/src/controllers/destination.ts b/src/controllers/destination.ts index a5137ba170..60eac8a56c 100644 --- a/src/controllers/destination.ts +++ b/src/controllers/destination.ts @@ -14,7 +14,7 @@ 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 { public static async destinationTransformAtProcessor(ctx: Context) { @@ -41,7 +41,9 @@ export default class DestinationController { ctx, ) as ProcessorTransformationRequest[]; const timestampCorrectEvents = ControllerUtility.handleTimestampInEvents(events); - events = DynamicConfigParser.process(timestampCorrectEvents) as ProcessorTransformationRequest[]; + events = DynamicConfigParser.process( + timestampCorrectEvents, + ) as ProcessorTransformationRequest[]; resplist = await integrationService.doProcessorTransformation( events, destination, @@ -194,7 +196,7 @@ export default class DestinationController { stats.timing('dest_transform_request_latency', startTime, { destination, feature: tags.FEATURES.BATCH, - version:"v0", + version: 'v0', }); return ctx; } diff --git a/src/controllers/eventTest.ts b/src/controllers/eventTest.ts index 6faf047d70..db6fc8cb6f 100644 --- a/src/controllers/eventTest.ts +++ b/src/controllers/eventTest.ts @@ -1,16 +1,18 @@ import { Context } from 'koa'; 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 { private static API_VERSION = '1'; public static async testEvent(ctx: Context) { const { version, destination }: { version: string; destination: string } = ctx.params as any; - const { events }: { events: any } = ctx.request.body as any; + const { events }: { events: FixMe } = ctx.request.body as FixMe; try { const respList = await EventTesterService.testEvent(events, version, destination); ctx.body = respList; - } catch (err: any) { + } catch (err: CatchErr) { // fail-safety error response ctx.body = { error: err.message || JSON.stringify(err), diff --git a/src/controllers/profile.ts b/src/controllers/profile.ts index 5f2dce4fe6..984f4ac645 100644 --- a/src/controllers/profile.ts +++ b/src/controllers/profile.ts @@ -1,5 +1,4 @@ import { Context } from 'koa'; -import MiscService from '../services/misc'; import ProfileService from '../services/profile'; import ControllerUtility from './util'; @@ -30,7 +29,6 @@ export default class ProfileController { }' */ public static async profile(ctx: Context) { - const requestMetadata = MiscService.getRequestMetadata(ctx); const format = ctx.request.query.format as string; const { credBucketDetails } = ctx.request.body as any; const response = await ProfileService.profile(credBucketDetails, format); diff --git a/src/controllers/regulation.ts b/src/controllers/regulation.ts index a36f1826b7..cefe1f748a 100644 --- a/src/controllers/regulation.ts +++ b/src/controllers/regulation.ts @@ -5,6 +5,8 @@ import ServiceSelector from '../helpers/serviceSelector'; import tags from '../v0/util/tags'; import stats from '../util/stats'; import PostTransformationDestinationService 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 { @@ -34,13 +36,14 @@ export default class RegulationController { ); ctx.body = resplist; ctx.status = resplist[0].statusCode; - } catch (error: any) { + } catch (error: CatchErr) { const metaTO = integrationService.getTags( userDeletionRequests[0].destType, 'unknown', 'unknown', tags.FEATURES.USER_DELETION, ); + // eslint-disable-next-line @typescript-eslint/no-unused-vars const errResp = PostTransformationDestinationService.handleUserDeletionFailureEvents( error, metaTO, @@ -50,7 +53,7 @@ export default class RegulationController { } stats.timing('dest_transform_request_latency', startTime, { feature: tags.FEATURES.USER_DELETION, - version:"v0", + version: 'v0', }); return ctx; } diff --git a/src/controllers/source.ts b/src/controllers/source.ts index a413426cc7..efb6dc746e 100644 --- a/src/controllers/source.ts +++ b/src/controllers/source.ts @@ -12,7 +12,7 @@ export default class SourceController { JSON.stringify(ctx.request.body), ); const requestMetadata = MiscService.getRequestMetadata(ctx); - const events = ctx.request.body as Object[]; + const events = ctx.request.body as object[]; const { version, source }: { version: string; source: string } = ctx.params; const integrationService = ServiceSelector.getNativeSourceService(); try { diff --git a/src/controllers/userTransform.ts b/src/controllers/userTransform.ts index cc64f5db1b..1592aa4755 100644 --- a/src/controllers/userTransform.ts +++ b/src/controllers/userTransform.ts @@ -1,7 +1,5 @@ import { Context } from 'koa'; -import MiscService from '../services/misc'; import { ProcessorTransformationRequest, UserTransformationServiceResponse } from '../types/index'; -import { compileUserLibrary } from '../util/ivmFactory'; import UserTransformService from '../services/userTransform'; import logger from '../logger'; import { @@ -17,7 +15,6 @@ export default class UserTransformController { '(User transform - router:/customTransform ):: Request to transformer', JSON.stringify(ctx.request.body), ); - const requestMetadata = MiscService.getRequestMetadata(ctx); const events = ctx.request.body as ProcessorTransformationRequest[]; const processedRespone: UserTransformationServiceResponse = await UserTransformService.transformRoutine(events); diff --git a/src/controllers/util/index.ts b/src/controllers/util/index.ts index 67a314bc75..e2071968d7 100644 --- a/src/controllers/util/index.ts +++ b/src/controllers/util/index.ts @@ -18,9 +18,9 @@ export default class ControllerUtility { `context.${RETL_TIMESTAMP}`, `context.traits.${RETL_TIMESTAMP}`, `traits.${RETL_TIMESTAMP}`, - ...genericFieldMap['timestamp'], + ...genericFieldMap.timestamp, ], - [EventType.TRACK]: [`properties.${RETL_TIMESTAMP}`, ...genericFieldMap['timestamp']], + [EventType.TRACK]: [`properties.${RETL_TIMESTAMP}`, ...genericFieldMap.timestamp], }; private static getCompatibleStatusCode(status: number): number { diff --git a/src/helpers/serviceSelector.ts b/src/helpers/serviceSelector.ts index 99f897cedc..bac1a17c16 100644 --- a/src/helpers/serviceSelector.ts +++ b/src/helpers/serviceSelector.ts @@ -8,6 +8,7 @@ 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'; export default class ServiceSelector { private static serviceMap: Map = new Map(); @@ -19,23 +20,23 @@ export default class ServiceSelector { [INTEGRATION_SERVICE.NATIVE_SOURCE]: NativeIntegrationSourceService, }; - private static isCdkDestination(destinationDefinitionConfig: Object) { - return !!destinationDefinitionConfig?.['cdkEnabled']; + private static isCdkDestination(destinationDefinitionConfig: FixMe) { + return !!destinationDefinitionConfig?.cdkEnabled; } - private static isCdkV2Destination(destinationDefinitionConfig: Object) { - return Boolean(destinationDefinitionConfig?.['cdkV2Enabled']); + private static isCdkV2Destination(destinationDefinitionConfig: FixMe) { + return Boolean(destinationDefinitionConfig?.cdkV2Enabled); } - private static isComparatorEnabled(destinationDefinitionConfig: Object): boolean { + private static isComparatorEnabled(destinationDefinitionConfig: FixMe): boolean { return ( process.env.COMPARATOR_ENABLED === 'true' && - !!destinationDefinitionConfig['comparisonTestEnabeld'] + !!destinationDefinitionConfig.comparisonTestEnabeld ); } - private static getSecondaryServiceName(destinationDefinitionConfig: Object): string { - return destinationDefinitionConfig['comparisonService']; + private static getSecondaryServiceName(destinationDefinitionConfig: FixMe): string { + return destinationDefinitionConfig.comparisonService; } private static fetchCachedService(serviceType: string) { @@ -65,7 +66,7 @@ export default class ServiceSelector { private static getPrimaryDestinationService( events: ProcessorTransformationRequest[] | RouterTransformationRequestData[], ): DestinationService { - const destinationDefinitionConfig: Object = + const destinationDefinitionConfig: FixMe = events[0]?.destination?.DestinationDefinition?.Config; if (this.isCdkDestination(destinationDefinitionConfig)) { return this.fetchCachedService(INTEGRATION_SERVICE.CDK_V1_DEST); @@ -76,6 +77,7 @@ export default class ServiceSelector { return this.fetchCachedService(INTEGRATION_SERVICE.NATIVE_DEST); } + // eslint-disable-next-line @typescript-eslint/no-unused-vars public static getSourceService(arg: unknown) { // Implement source event based descision logic for selecting service } diff --git a/src/interfaces/DestinationService.ts b/src/interfaces/DestinationService.ts index b1cae047f8..123da35292 100644 --- a/src/interfaces/DestinationService.ts +++ b/src/interfaces/DestinationService.ts @@ -26,27 +26,27 @@ export default interface DestinationService { events: ProcessorTransformationRequest[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise; doRouterTransformation( events: RouterTransformationRequestData[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise; doBatchTransformation( events: RouterTransformationRequestData[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): RouterTransformationResponse[]; deliver( event: ProcessorTransformationOutput, destinationType: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise; processUserDeletion( diff --git a/src/interfaces/SourceService.ts b/src/interfaces/SourceService.ts index 28d72ee990..99b29f095b 100644 --- a/src/interfaces/SourceService.ts +++ b/src/interfaces/SourceService.ts @@ -4,9 +4,9 @@ export default interface SourceService { getTags(): MetaTransferObject; sourceTransformRoutine( - sourceEvents: Object[], + sourceEvents: NonNullable[], sourceType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise; } diff --git a/src/legacy/router.js b/src/legacy/router.js index 361823a185..a8c2b49a1a 100644 --- a/src/legacy/router.js +++ b/src/legacy/router.js @@ -4,7 +4,7 @@ /* eslint-disable import/no-dynamic-require */ /* eslint-disable global-require */ const Router = require('@koa/router'); -const _ = require('lodash'); +const lodash = require('lodash'); const fs = require('fs'); const path = require('path'); const logger = require('../logger'); @@ -88,7 +88,7 @@ const functionsEnabled = () => { return areFunctionsEnabled === 1; }; -// eslint-disable-next-line no-unused-vars +// eslint-disable-next-line @typescript-eslint/no-unused-vars function getCommonMetadata(ctx) { // TODO: Parse information such as // cluster, namespace, etc information @@ -358,7 +358,7 @@ async function routerHandleDest(ctx) { ctx.body = `${destType} doesn't support router transform`; return null; } - const allDestEvents = _.groupBy(input, (event) => event.destination.ID); + const allDestEvents = lodash.groupBy(input, (event) => event.destination.ID); await Promise.all( Object.values(allDestEvents).map(async (destInputArray) => { const newDestInputArray = processDynamicConfig(destInputArray, 'router'); @@ -389,7 +389,10 @@ async function routerHandleDest(ctx) { // Add default stat tags respEvents - .filter((resp) => 'error' in resp && _.isObject(resp.statTags) && !_.isEmpty(resp.statTags)) + .filter( + (resp) => + 'error' in resp && lodash.isObject(resp.statTags) && !lodash.isEmpty(resp.statTags), + ) .forEach((resp) => { // eslint-disable-next-line no-param-reassign resp.statTags = { @@ -526,13 +529,13 @@ if (startDestTransformer) { }); let groupedEvents; if (processSessions) { - groupedEvents = _.groupBy(events, (event) => { + groupedEvents = lodash.groupBy(events, (event) => { // to have the backward-compatibility and being extra careful. We need to remove this (message.anonymousId) in next release. const rudderId = event.metadata.rudderId || event.message.anonymousId; return `${event.destination.ID}_${event.metadata.sourceId}_${rudderId}`; }); } else { - groupedEvents = _.groupBy( + groupedEvents = lodash.groupBy( events, (event) => `${event.metadata.destinationId}_${event.metadata.sourceId}`, ); @@ -587,7 +590,7 @@ if (startDestTransformer) { return { statusCode: 400, error: ev.error, - metadata: _.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, + metadata: lodash.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, }; } if (!isNonFuncObject(ev.transformedEvent)) { @@ -596,12 +599,12 @@ if (startDestTransformer) { error: `returned event in events from user transformation is not an object. transformationVersionId:${transformationVersionId} and returned event: ${JSON.stringify( ev.transformedEvent, )}`, - metadata: _.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, + metadata: lodash.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, }; } return { output: ev.transformedEvent, - metadata: _.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, + metadata: lodash.isEmpty(ev.metadata) ? commonMetadata : ev.metadata, statusCode: 200, }; }), @@ -995,7 +998,7 @@ const batchHandler = (ctx) => { ctx.body = `${destType} doesn't support batching`; return null; } - const allDestEvents = _.groupBy(input, (event) => event.destination.ID); + const allDestEvents = lodash.groupBy(input, (event) => event.destination.ID); const response = { batchedRequests: [], errors: [] }; Object.entries(allDestEvents).forEach(([, destEvents]) => { diff --git a/src/middlewares/routeActivation.ts b/src/middlewares/routeActivation.ts index bf457b2faa..dfdaef964e 100644 --- a/src/middlewares/routeActivation.ts +++ b/src/middlewares/routeActivation.ts @@ -78,6 +78,7 @@ export default class RouteActivationMiddleware { ); } + // eslint-disable-next-line sonarjs/no-identical-functions public static destinationBatchFilter(ctx: Context, next: Next) { const routerRequest = ctx.request.body as RouterTransformationRequest; const destination = routerRequest.destType; diff --git a/src/routes/bulkUpload.ts b/src/routes/bulkUpload.ts index 386cf78c36..e7aaf897c8 100644 --- a/src/routes/bulkUpload.ts +++ b/src/routes/bulkUpload.ts @@ -12,4 +12,6 @@ router.post('/fileUpload', fileUpload); router.post('/pollStatus', pollStatus); router.post('/getFailedJobs', getFailedJobStatus); router.post('/getWarningJobs', getWarnJobStatus); -export const bulkUploadRoutes = router.routes(); +const bulkUploadRoutes = router.routes(); + +export default bulkUploadRoutes; \ No newline at end of file diff --git a/src/routes/delivery.ts b/src/routes/delivery.ts index de4ec65934..141700fd9f 100644 --- a/src/routes/delivery.ts +++ b/src/routes/delivery.ts @@ -17,4 +17,5 @@ router.post( DeliveryController.testDestinationDelivery, ); -export const proxyRoutes = router.routes(); +const proxyRoutes = router.routes(); +export default proxyRoutes; diff --git a/src/routes/destination.ts b/src/routes/destination.ts index bed2a1af20..ee19fd1246 100644 --- a/src/routes/destination.ts +++ b/src/routes/destination.ts @@ -26,4 +26,5 @@ router.post( router.post('/deleteUsers', RegulationController.deleteUsers); -export const destinationRoutes = router.routes(); +const destinationRoutes = router.routes(); +export default destinationRoutes; \ No newline at end of file diff --git a/src/routes/index.ts b/src/routes/index.ts index cfeb4db9ea..d77584bea3 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -4,20 +4,23 @@ import { existsSync, readFileSync } from 'fs'; import dotenv from 'dotenv'; import { koaSwagger } from 'koa2-swagger-ui'; import path from 'path'; -import { bulkUploadRoutes } from './bulkUpload'; -import { proxyRoutes } from './delivery'; -import { destinationRoutes } from './destination'; -import { miscRoutes } from './misc'; -import { sourceRoutes } from './source'; -import { testEventRoutes } from './testEvents'; +import userTransformRoutes from './userTransform'; +import bulkUploadRoutes from './bulkUpload'; +import proxyRoutes from './delivery'; +import destinationRoutes from './destination'; +import miscRoutes from './misc'; +import sourceRoutes from './source'; +import testEventRoutes from './testEvents'; import { trackingPlanRoutes } from './trackingPlan'; -import { userTransformRoutes } from './userTransform'; import logger from '../logger'; import { isNotEmpty } from '../v0/util'; dotenv.config(); -export function applicationRoutes(app: Koa) { +// eslint-disable-next-line @typescript-eslint/no-unused-vars +const enableSwagger = process.env.ENABLE_SWAGGER === 'true'; + +export function applicationRoutes(app: Koa) { app.use(bulkUploadRoutes); app.use(proxyRoutes); app.use(destinationRoutes); @@ -28,7 +31,7 @@ export function applicationRoutes(app: Koa) { app.use(userTransformRoutes); } -export function addSwaggerRoutes(app: Koa) { +export function addSwaggerRoutes(app: Koa) { // Ading swagger routes, check swagger docs in http://localhost:9090/docs try { diff --git a/src/routes/misc.ts b/src/routes/misc.ts index 3e30b9dd39..750c1194dd 100644 --- a/src/routes/misc.ts +++ b/src/routes/misc.ts @@ -13,4 +13,5 @@ router.get('/features', MiscController.features); router.get('/debug/pprof/profile', MiscController.getCPUProfile); router.get('/debug/pprof/heap', MiscController.getHeapProfile); -export const miscRoutes = router.routes(); +const miscRoutes = router.routes(); +export default miscRoutes; diff --git a/src/routes/source.ts b/src/routes/source.ts index 675e2286ce..ade26c8700 100644 --- a/src/routes/source.ts +++ b/src/routes/source.ts @@ -11,4 +11,5 @@ router.post( SourceController.sourceTransform, ); -export const sourceRoutes = router.routes(); +const sourceRoutes = router.routes(); +export default sourceRoutes; diff --git a/src/routes/testEvents.ts b/src/routes/testEvents.ts index cbfd78f3ec..f842887b91 100644 --- a/src/routes/testEvents.ts +++ b/src/routes/testEvents.ts @@ -6,4 +6,5 @@ const router = new Router({ prefix: '/test-router' }); router.post('/:version/:destination', EventTestController.testEvent); router.get('/:version/health', EventTestController.status); -export const testEventRoutes = router.routes(); +const testEventRoutes = router.routes(); +export default testEventRoutes; \ No newline at end of file diff --git a/src/routes/userTransform.ts b/src/routes/userTransform.ts index 2f6dcd417c..2727d9ef05 100644 --- a/src/routes/userTransform.ts +++ b/src/routes/userTransform.ts @@ -30,4 +30,5 @@ router.post( UserTransformController.extractLibhandle, ); -export const userTransformRoutes = router.routes(); +const userTransformRoutes = router.routes(); +export default userTransformRoutes; \ No newline at end of file diff --git a/src/services/comparator.ts b/src/services/comparator.ts index ae6e1bcf57..3495b7bbfd 100644 --- a/src/services/comparator.ts +++ b/src/services/comparator.ts @@ -1,3 +1,4 @@ +/* eslint-disable class-methods-use-this */ import IntegrationDestinationService from '../interfaces/DestinationService'; import { DeliveryResponse, @@ -62,7 +63,7 @@ export default class ComparatorService implements IntegrationDestinationService } private getTestThreshold(destination: Destination) { - return destination.DestinationDefinition?.Config['camparisonTestThreshold'] || 0; + return destination.DestinationDefinition?.Config?.camparisonTestThreshold || 0; } private getComparisonLogs( @@ -81,6 +82,7 @@ export default class ComparatorService implements IntegrationDestinationService return; } + // eslint-disable-next-line no-restricted-syntax for (const [index, element] of primaryResplist.entries()) { const objectDiff = CommonUtils.objectDiff(element, secondaryResplist[index]); if (Object.keys(objectDiff).length > 0) { @@ -129,6 +131,7 @@ export default class ComparatorService implements IntegrationDestinationService } let hasComparisonFailed = false; + // eslint-disable-next-line no-restricted-syntax for (const [index, element] of primaryResplist.entries()) { const objectDiff = CommonUtils.objectDiff(element, secondaryResplist[index]); if (Object.keys(objectDiff).length > 0) { @@ -156,7 +159,7 @@ export default class ComparatorService implements IntegrationDestinationService secondaryServiceCallback: any, destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, feature: string, destinationId: string, ): Promise { @@ -194,7 +197,7 @@ export default class ComparatorService implements IntegrationDestinationService events: ProcessorTransformationRequest[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise { const destinationId = events[0].destination.ID; const primaryStartTime = process.hrtime(); @@ -252,7 +255,7 @@ export default class ComparatorService implements IntegrationDestinationService events: RouterTransformationRequestData[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise { const destinationId = events[0].destination.ID; const primaryStartTime = process.hrtime(); @@ -310,7 +313,7 @@ export default class ComparatorService implements IntegrationDestinationService events: RouterTransformationRequestData[], destinationType: string, version: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): RouterTransformationResponse[] { const destinationId = events[0].destination.ID; const primaryStartTime = process.hrtime(); @@ -367,7 +370,7 @@ export default class ComparatorService implements IntegrationDestinationService public async deliver( event: ProcessorTransformationOutput, destinationType: string, - requestMetadata: Object, + requestMetadata: NonNullable, ): Promise { const primaryResplist = await this.primaryService.deliver( event, diff --git a/src/services/delivertTest/deliveryTest.ts b/src/services/delivertTest/deliveryTest.ts index 051b67b568..e5713073c1 100644 --- a/src/services/delivertTest/deliveryTest.ts +++ b/src/services/delivertTest/deliveryTest.ts @@ -29,6 +29,7 @@ export default class DeliveryTestService { // This is to make sure we encode `~` in the data coming from the router. // The data coming from the router is already a query parameter string const routerDataVal = new URLSearchParams(routerDestReqPayload.data); + // eslint-disable-next-line no-param-reassign routerDestReqPayload.data = routerDataVal; const proxyDataVal = new URLSearchParams(); diff --git a/src/services/destination/cdkV1Integration.ts b/src/services/destination/cdkV1Integration.ts index 44842fdddb..a016665afb 100644 --- a/src/services/destination/cdkV1Integration.ts +++ b/src/services/destination/cdkV1Integration.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ import { ConfigFactory, Executor, RudderBaseConfig } from 'rudder-transformer-cdk'; import path from 'path'; import IntegrationDestinationService from '../../interfaces/DestinationService'; @@ -17,6 +18,7 @@ import { TransformationError } from '../../v0/util/errorTypes'; 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 { public init() { @@ -63,7 +65,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe events: ProcessorTransformationRequest[], destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { const tfConfig = await ConfigFactory.getConfig(destinationType); const respList: ProcessorTransformationResponse[][] = await Promise.all( @@ -76,7 +78,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe transformedPayloads, undefined, ); - } catch (error: any) { + } catch (error: CatchErr) { const metaTO = this.getTags( destinationType, event.metadata.destinationId, @@ -100,7 +102,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe _events: RouterTransformationRequestData[], _destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { throw new TransformationError('CDKV1 Does not Implement Router Transform Routine'); } @@ -109,7 +111,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe _events: RouterTransformationRequestData[], _destinationType: string, _version: any, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): RouterTransformationResponse[] { throw new TransformationError('CDKV1 Does not Implement Batch Transform Routine'); } @@ -117,7 +119,7 @@ export default class CDKV1DestinationService implements IntegrationDestinationSe public deliver( _event: ProcessorTransformationOutput, _destinationType: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { throw new TransformationError('CDV1 Does not Implement Delivery Routine'); } diff --git a/src/services/destination/cdkV2Integration.ts b/src/services/destination/cdkV2Integration.ts index 04a2dcb799..b4c0a15e87 100644 --- a/src/services/destination/cdkV2Integration.ts +++ b/src/services/destination/cdkV2Integration.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable class-methods-use-this */ import groupBy from 'lodash/groupBy'; import { processCdkV2Workflow } from '../../cdk/v2/handler'; import IntegrationDestinationService from '../../interfaces/DestinationService'; @@ -17,6 +19,7 @@ import { TransformationError } from '../../v0/util/errorTypes'; import tags from '../../v0/util/tags'; import DestinationPostTransformationService from './postTransformation'; import stats from '../../util/stats'; +import { CatchErr } from '../../util/types'; export default class CDKV2DestinationService implements IntegrationDestinationService { public init() {} @@ -49,7 +52,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe events: ProcessorTransformationRequest[], destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { // TODO: Change the promise type const respList: ProcessorTransformationResponse[][] = await Promise.all( @@ -78,7 +81,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe transformedPayloads, undefined, ); - } catch (error: any) { + } catch (error: CatchErr) { const metaTo = this.getTags( destinationType, event.metadata.destinationId, @@ -105,9 +108,9 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe events: RouterTransformationRequestData[], destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { - const allDestEvents: Object = groupBy( + const allDestEvents: object = groupBy( events, (ev: RouterTransformationRequestData) => ev.destination?.ID, ); @@ -131,7 +134,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe tags.IMPLEMENTATIONS.CDK_V2, destinationType.toUpperCase(), ); - } catch (error: any) { + } catch (error: CatchErr) { metaTo.metadatas = destInputArray.map((input) => input.metadata); const erroredResp = DestinationPostTransformationService.handleRouterTransformFailureEvents( @@ -150,7 +153,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe _events: RouterTransformationRequestData[], _destinationType: string, _version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): RouterTransformationResponse[] { throw new TransformationError('CDKV2 Does not Implement Batch Transform Routine'); } @@ -158,7 +161,7 @@ export default class CDKV2DestinationService implements IntegrationDestinationSe public deliver( _event: ProcessorTransformationOutput, _destinationType: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { throw new TransformationError('CDKV2 Does not Implement Delivery Routine'); } diff --git a/src/services/destination/nativeIntegration.ts b/src/services/destination/nativeIntegration.ts index 8cec0f573f..49fb806094 100644 --- a/src/services/destination/nativeIntegration.ts +++ b/src/services/destination/nativeIntegration.ts @@ -1,5 +1,6 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ import groupBy from 'lodash/groupBy'; -import cloneDeep from 'lodash/cloneDeep' +import cloneDeep from 'lodash/cloneDeep'; import IntegrationDestinationService from '../../interfaces/DestinationService'; import { DeliveryResponse, @@ -49,7 +50,7 @@ export default class NativeIntegrationDestinationService implements IntegrationD events: ProcessorTransformationRequest[], destinationType: string, version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { const destHandler = FetchHandler.getDestHandler(destinationType, version); const respList: ProcessorTransformationResponse[][] = await Promise.all( @@ -87,10 +88,10 @@ export default class NativeIntegrationDestinationService implements IntegrationD events: RouterTransformationRequestData[], destinationType: string, version: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { const destHandler = FetchHandler.getDestHandler(destinationType, version); - const allDestEvents: Object = groupBy( + const allDestEvents: NonNullable = groupBy( events, (ev: RouterTransformationRequestData) => ev.destination?.ID, ); @@ -131,13 +132,13 @@ export default class NativeIntegrationDestinationService implements IntegrationD events: RouterTransformationRequestData[], destinationType: string, version: any, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): RouterTransformationResponse[] { const destHandler = FetchHandler.getDestHandler(destinationType, version); if (!destHandler.batch) { throw new Error(`${destinationType} does not implement batch`); } - const allDestEvents: Object = groupBy( + const allDestEvents: NonNullable = groupBy( events, (ev: RouterTransformationRequestData) => ev.destination?.ID, ); @@ -167,7 +168,7 @@ export default class NativeIntegrationDestinationService implements IntegrationD public async deliver( destinationRequest: ProcessorTransformationOutput, destinationType: string, - _requestMetadata: Object, + _requestMetadata: NonNullable, ): Promise { try { const networkHandler = networkHandlerFactory.getNetworkHandler(destinationType); diff --git a/src/services/destination/postTransformation.ts b/src/services/destination/postTransformation.ts index 9e04f97fac..090e39b059 100644 --- a/src/services/destination/postTransformation.ts +++ b/src/services/destination/postTransformation.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-param-reassign */ import cloneDeep from 'lodash/cloneDeep'; import isObject from 'lodash/isObject'; import isEmpty from 'lodash/isEmpty'; @@ -47,7 +48,7 @@ export default class DestinationPostTransformationService { } public static handleProcessorTransformFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): ProcessorTransformationResponse { const errObj = generateErrorObject(error, metaTo.errorDetails); @@ -105,7 +106,7 @@ export default class DestinationPostTransformationService { } public static handleRouterTransformFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): RouterTransformationResponse { const errObj = generateErrorObject(error, metaTo.errorDetails); @@ -122,7 +123,7 @@ export default class DestinationPostTransformationService { } public static handleBatchTransformFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): RouterTransformationResponse { const errObj = generateErrorObject(error, metaTo.errorDetails); @@ -138,7 +139,7 @@ export default class DestinationPostTransformationService { } public static handleDeliveryFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): DeliveryResponse { const errObj = generateErrorObject(error, metaTo.errorDetails, false); @@ -156,7 +157,7 @@ export default class DestinationPostTransformationService { } public static handleUserDeletionFailureEvents( - error: Object, + error: NonNullable, metaTo: MetaTransferObject, ): UserDeletionResponse { const errObj = generateErrorObject(error, metaTo.errorDetails, false); diff --git a/src/services/destination/preTransformation.ts b/src/services/destination/preTransformation.ts index 61ca20f7fe..dd5579b7b9 100644 --- a/src/services/destination/preTransformation.ts +++ b/src/services/destination/preTransformation.ts @@ -1,6 +1,5 @@ import { Context } from 'koa'; import { ProcessorTransformationRequest, RouterTransformationRequestData } from '../../types/index'; -import { DynamicConfigParser } from '../../util/dynamicConfigParser'; export default class PreTransformationDestinationService { public static preProcess( @@ -8,12 +7,13 @@ export default class PreTransformationDestinationService { ctx: Context, ) { const reqParams = ctx.request.query; - events = events.map( + const eventsProcessed = events.map( (event: ProcessorTransformationRequest | RouterTransformationRequestData) => { + // eslint-disable-next-line no-param-reassign event.request = { query: reqParams }; return event; }, ); - return events; + return eventsProcessed; } } diff --git a/src/services/errorReporting.ts b/src/services/errorReporting.ts index ba0bd9b21c..2d3c84ff30 100644 --- a/src/services/errorReporting.ts +++ b/src/services/errorReporting.ts @@ -1,7 +1,7 @@ import { client } from '../util/errorNotifier'; export default class ErrorReportingService { - public static reportError(error: Object, context: string, errorResp: Object) { + 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 3055b947af..d4f30fff78 100644 --- a/src/services/eventTest/eventTester.ts +++ b/src/services/eventTest/eventTester.ts @@ -1,7 +1,9 @@ import { sendToDestination, userTransformHandler } from '../../routerUtils'; +import { FixMe } from '../../util/types'; export default class EventTesterService { private static getDestHandler(version, destination) { + // eslint-disable-next-line global-require, import/no-dynamic-require return require(`../../${version}/destinations/${destination}/transform`); } @@ -9,7 +11,7 @@ export default class EventTesterService { function capitalize(s) { return s === 'id' ? s.toUpperCase() : s.charAt(0).toUpperCase() + s.slice(1); } - const transformedObj = {}; + let transformedObj: FixMe; const { destinationDefinition } = dest; Object.keys(dest).forEach((key) => { transformedObj[capitalize(key)] = dest[key]; @@ -19,7 +21,7 @@ export default class EventTesterService { Object.keys(destinationDefinition).forEach((key) => { destDef[capitalize(key)] = destinationDefinition[key]; }); - transformedObj['DestinationDefinition'] = destDef; + transformedObj.DestinationDefinition = destDef; return transformedObj; } @@ -52,19 +54,19 @@ export default class EventTesterService { libraries, }; - let response = {}; + let response: FixMe; let errorFound = false; if (stage.user_transform) { let librariesVersionIDs = []; - if (event.libraries) { + if (libraries) { librariesVersionIDs = events[0].libraries.map((library) => library.versionId); } const transformationVersionId = ev.destination && - ev.destination['Transformations'] && - ev.destination['Transformations'][0] && - ev.destination['Transformations'][0].versionId; + ev.destination.Transformations && + ev.destination.Transformations[0] && + ev.destination.Transformations[0].versionId; if (transformationVersionId) { try { @@ -78,16 +80,16 @@ export default class EventTesterService { throw new Error(userTransformedEvent.error); } - response['user_transformed_payload'] = userTransformedEvent.transformedEvent; + response.user_transformed_payload = userTransformedEvent.transformedEvent; ev.message = userTransformedEvent.transformedEvent; } catch (err: any) { errorFound = true; - response['user_transformed_payload'] = { + response.user_transformed_payload = { error: err.message || JSON.stringify(err), }; } } else { - response['user_transformed_payload'] = { + response.user_transformed_payload = { error: 'Transformation VersionID not found', }; } @@ -99,18 +101,18 @@ export default class EventTesterService { const desthandler = this.getDestHandler(version, dest); const transformedOutput = await desthandler.process(ev); if (Array.isArray(transformedOutput)) { - response['dest_transformed_payload'] = transformedOutput; + response.dest_transformed_payload = transformedOutput; } else { - response['dest_transformed_payload'] = [transformedOutput]; + response.dest_transformed_payload = [transformedOutput]; } } catch (err: any) { errorFound = true; - response['dest_transformed_payload'] = { + response.dest_transformed_payload = { error: err.message || JSON.stringify(err), }; } } else { - response['dest_transformed_payload'] = { + response.dest_transformed_payload = { error: 'error encountered in user_transformation stage. Aborting.', }; } @@ -119,27 +121,27 @@ export default class EventTesterService { if (stage.dest_transform && stage.send_to_destination) { // send event to destination only after transformation if (!errorFound) { - const destResponses: any[] = []; - const destResponseStatuses: any[] = []; + const destResponses: FixMe[] = []; + const destResponseStatuses: FixMe[] = []; - const transformedPayloads = response['dest_transformed_payload']; + const transformedPayloads = response.dest_transformed_payload; // eslint-disable-next-line no-restricted-syntax for (const payload of transformedPayloads) { // eslint-disable-next-line no-await-in-loop const parsedResponse = await sendToDestination(dest, payload); let contentType = ''; - let response = ''; + let responsePayload = ''; if (parsedResponse.headers) { contentType = parsedResponse.headers['content-type']; if (this.isSupportedContentType(contentType)) { - response = parsedResponse.response; + responsePayload = parsedResponse.response; } } else if (parsedResponse.networkFailure) { - response = parsedResponse.response; + responsePayload = parsedResponse.response; } - destResponses.push(response); + destResponses.push(responsePayload); destResponseStatuses.push(parsedResponse.status); // TODO: Use updated handleResponseTransform function @@ -162,7 +164,7 @@ export default class EventTesterService { destination_response_status: destResponseStatuses, }; } else { - response['destination_response'] = { + response.destination_response = { error: 'error encountered in dest_transformation stage. Aborting.', }; } diff --git a/src/services/misc.ts b/src/services/misc.ts index 2805f58584..fe38b5b2bd 100644 --- a/src/services/misc.ts +++ b/src/services/misc.ts @@ -1,9 +1,10 @@ +/* eslint-disable global-require, import/no-dynamic-require */ import fs from 'fs'; import path from 'path'; import { Context } from 'koa'; import { DestHandlerMap } from '../constants/destinationCanonicalNames'; import { Metadata } from '../types'; -import { getCPUProfile, getHeapProfile, } from '../middleware'; +import { getCPUProfile, getHeapProfile } from '../middleware'; export default class MiscService { public static getDestHandler(dest: string, version: string) { @@ -21,6 +22,7 @@ export default class MiscService { return require(`../${version}/destinations/${dest}/deleteUsers`); } + // eslint-disable-next-line @typescript-eslint/no-unused-vars public static getRequestMetadata(ctx: Context) { // TODO: Parse information such as // cluster, namespace, etc information @@ -69,6 +71,6 @@ export default class MiscService { } public static async getHeapProfile() { - return getHeapProfile() + return getHeapProfile(); } } diff --git a/src/services/profile.ts b/src/services/profile.ts index 5f02b5c2fa..4d7a7104e7 100644 --- a/src/services/profile.ts +++ b/src/services/profile.ts @@ -7,6 +7,8 @@ import v8 from 'v8'; import pprof, { heap } from '@datadog/pprof'; import { promisify } from 'util'; import logger from '../logger'; +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import { CatchErr } from '../util/types'; // The average number of bytes between samples. // 512*1024 = 524288 @@ -22,6 +24,7 @@ heap.start(intervalBytes, stackDepth); export default class ProfileService { private static async promisifiedRead(readable: any) { + // eslint-disable-next-line no-new new Promise((resolve, reject) => { // Instructions for reading data const chunks: any[] = []; @@ -81,11 +84,13 @@ export default class ProfileService { const shouldGenerateLocally = !credBucketDetails.sendTo; logger.info('Before Heapsnapshot converted into a readable stream'); let fileName = ''; - let format = 'pb.gz'; + // eslint-disable-next-line no-param-reassign + format = 'pb.gz'; let profile; if (format && format === 'v8') { const readable = v8.getHeapSnapshot(); snapshotReadableStream = await this.promisifiedRead(readable); + // eslint-disable-next-line no-param-reassign format = 'heapsnapshot'; } else { profile = heap.profile(); @@ -99,7 +104,7 @@ export default class ProfileService { logger.info('Before pipeline'); try { await writeFileProm(fileName, snapshotReadableStream); - } catch (error: any) { + } catch (error: CatchErr) { logger.error('Error occurred:', error); throw new Error(error); } @@ -123,7 +128,7 @@ export default class ProfileService { credBucketDetails.sendTo ? credBucketDetails.sendTo : 'locally' } with filename: ${fileName}`, }; - } catch (error: any) { + } catch (error: CatchErr) { logger.error(error); return { success: false, diff --git a/src/services/source/nativeIntegration.ts b/src/services/source/nativeIntegration.ts index e654940fec..f29d68d054 100644 --- a/src/services/source/nativeIntegration.ts +++ b/src/services/source/nativeIntegration.ts @@ -5,6 +5,7 @@ import { RudderMessage, SourceTransformationResponse, } from '../../types/index'; +import { FixMe } from '../../util/types'; import PostTransformationServiceSource from './postTransformation'; import FetchHandler from '../../helpers/fetchHandlers'; import tags from '../../v0/util/tags'; @@ -25,19 +26,20 @@ export default class NativeIntegrationSourceService implements IntegrationSource } public async sourceTransformRoutine( - sourceEvents: Object[], + sourceEvents: NonNullable[], sourceType: string, version: string, - _requestMetadata: Object, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + _requestMetadata: NonNullable, ): Promise { const sourceHandler = FetchHandler.getSourceHandler(sourceType, version); - const respList: SourceTransformationResponse[] = await Promise.all( + const respList: SourceTransformationResponse[] = await Promise.all( sourceEvents.map(async (sourceEvent) => { try { const respEvents: RudderMessage | RudderMessage[] | SourceTransformationResponse = await sourceHandler.process(sourceEvent); return PostTransformationServiceSource.handleSuccessEventsSource(respEvents); - } catch (error: any) { + } catch (error: FixMe) { const metaTO = this.getTags(); stats.increment('source_transform_errors', { sourceType, diff --git a/src/services/source/postTransformation.ts b/src/services/source/postTransformation.ts index 603f1b1c0a..f732cac3a7 100644 --- a/src/services/source/postTransformation.ts +++ b/src/services/source/postTransformation.ts @@ -1,10 +1,11 @@ import { MetaTransferObject, RudderMessage, SourceTransformationResponse } from '../../types/index'; +import { CatchErr } from '../../util/types'; import { generateErrorObject } from '../../v0/util'; import ErrorReportingService from '../errorReporting'; export default class PostTransformationSourceService { public static handleFailureEventsSource( - error: Object, + error: CatchErr, metaTO: MetaTransferObject, ): SourceTransformationResponse { const errObj = generateErrorObject(error, metaTO.errorDetails); diff --git a/src/services/userTransform.ts b/src/services/userTransform.ts index 74d9203188..14c6d9b9aa 100644 --- a/src/services/userTransform.ts +++ b/src/services/userTransform.ts @@ -8,20 +8,24 @@ import { UserTransformationResponse, UserTransformationServiceResponse, } from '../types/index'; -import { RespStatusError, RetryRequestError, extractStackTraceUptoLastSubstringMatch } from '../util/utils'; +import { + RespStatusError, + RetryRequestError, + extractStackTraceUptoLastSubstringMatch, +} from '../util/utils'; import { getMetadata, isNonFuncObject } from '../v0/util'; import { SUPPORTED_FUNC_NAMES } from '../util/ivmFactory'; import logger from '../logger'; import stats from '../util/stats'; +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import { CatchErr, FixMe } from '../util/types'; export default class UserTransformService { public static async transformRoutine( events: ProcessorTransformationRequest[], ): Promise { - - const startTime = new Date(); let retryStatus = 200; - const groupedEvents: Object = groupBy( + const groupedEvents: NonNullable = groupBy( events, (event: ProcessorTransformationRequest) => `${event.metadata.destinationId}_${event.metadata.sourceId}`, @@ -29,14 +33,14 @@ export default class UserTransformService { stats.counter('user_transform_function_group_size', Object.entries(groupedEvents).length, {}); stats.histogram('user_transform_input_events', events.length, {}); - const transformedEvents: any[] = []; - let librariesVersionIDs: any[] = []; + const transformedEvents: FixMe[] = []; + let librariesVersionIDs: FixMe[] = []; if (events[0].libraries) { librariesVersionIDs = events[0].libraries.map( (library: UserTransformationLibrary) => library.VersionID, ); } - const responses = await Promise.all( + const responses = await Promise.all( Object.entries(groupedEvents).map(async ([dest, destEvents]) => { logger.debug(`dest: ${dest}`); const eventsToProcess = destEvents as ProcessorTransformationRequest[]; @@ -83,7 +87,7 @@ export default class UserTransformService { statusCode: 400, error: ev.error, metadata: isEmpty(ev.metadata) ? commonMetadata : ev.metadata, - } as ProcessorTransformationResponse; + } as unknown as ProcessorTransformationResponse; } if (!isNonFuncObject(ev.transformedEvent)) { return { @@ -101,7 +105,7 @@ export default class UserTransformService { } as ProcessorTransformationResponse; }), ); - } catch (error: any) { + } catch (error: CatchErr) { logger.error(error); let status = 400; const errorString = error.toString(); @@ -150,7 +154,7 @@ export default class UserTransformService { } public static async testTransformRoutine(events, trRevCode, libraryVersionIDs) { - const response: any = {}; + const response: FixMe = {}; try { if (!trRevCode || !trRevCode.code || !trRevCode.codeVersion) { throw new Error('Invalid Request. Missing parameters in transformation code block'); @@ -160,6 +164,7 @@ export default class UserTransformService { } logger.debug(`[CT] Test Input Events: ${JSON.stringify(events)}`); + // eslint-disable-next-line no-param-reassign trRevCode.versionId = 'testVersionId'; response.body = await userTransformHandler()( events, @@ -170,9 +175,11 @@ export default class UserTransformService { ); logger.debug(`[CT] Test Output Events: ${JSON.stringify(response.body.transformedEvents)}`); response.status = 200; - } catch (error: any) { + } catch (error: CatchErr) { response.status = 400; - response.body = { error: extractStackTraceUptoLastSubstringMatch(error.stack, SUPPORTED_FUNC_NAMES) }; + response.body = { + error: extractStackTraceUptoLastSubstringMatch(error.stack, SUPPORTED_FUNC_NAMES), + }; } return response; } diff --git a/src/testRouter.js b/src/testRouter.js index 5c9d56e78d..6080816663 100644 --- a/src/testRouter.js +++ b/src/testRouter.js @@ -28,8 +28,8 @@ const isSupportedContentType = (contentType) => { const testRouter = new Router({ prefix: '/test-router' }); -const getDestHandler = (version, destination) => - require(`./${version}/destinations/${destination}/transform`); +const getDestHandler = (ver, destination) => + require(`./${ver}/destinations/${destination}/transform`); const getDestinations = () => fs.readdirSync(path.resolve(__dirname, version, 'destinations')); diff --git a/src/types/index.ts b/src/types/index.ts index 38ce52f017..ff0c1f88b9 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,3 +1,6 @@ +import { CatchErr, FixMe } from '../util/types'; + +/* eslint-disable @typescript-eslint/no-explicit-any */ type ProcessorTransformationOutput = { version: string; type: string; @@ -25,8 +28,8 @@ type Metadata = { sourceCategory: string; trackingPlanId: string; trackingPlanVersion: number; - sourceTpConfig: Object; - mergedTpConfig: Object; + sourceTpConfig: object; + mergedTpConfig: object; destinationId: string; jobRunId: string; jobId: number; @@ -35,7 +38,7 @@ type Metadata = { sourceJobRunId: string; sourceTaskId: string; sourceTaskRunId: string; - recordId: Object; + recordId: object; destinationType: string; messageId: string; oauthAccessToken: string; @@ -52,21 +55,21 @@ type Metadata = { type UserTransformationInput = { VersionID: string; ID: string; - Config: Object; + Config: object; }; type DestinationDefinition = { ID: string; Name: string; DisplayName: string; - Config: Object; + Config: FixMe; }; type Destination = { ID: string; Name: string; DestinationDefinition: DestinationDefinition; - Config: Object; + Config: FixMe; Enabled: boolean; WorkspaceID: string; Transformations: UserTransformationInput[]; @@ -78,16 +81,16 @@ type UserTransformationLibrary = { }; type ProcessorTransformationRequest = { - request?: Object; - message: Object; + request?: object; + message: object; metadata: Metadata; destination: Destination; libraries: UserTransformationLibrary[]; }; type RouterTransformationRequestData = { - request?: Object; - message: Object; + request?: object; + message: object; metadata: Metadata; destination: Destination; }; @@ -102,7 +105,7 @@ type ProcessorTransformationResponse = { metadata: Metadata; statusCode: number; error?: string; - statTags: Object; + statTags: object; }; type RouterTransformationResponse = { @@ -112,7 +115,7 @@ type RouterTransformationResponse = { batched: boolean; statusCode: number; error: string; - statTags: Object; + statTags: object; }; type SourceTransformationOutput = { @@ -121,17 +124,17 @@ type SourceTransformationOutput = { type SourceTransformationResponse = { output: SourceTransformationOutput; - error: Object; + error: CatchErr; statusCode: number; - outputToSource: Object; - statTags: Object; + outputToSource: object; + statTags: object; }; type DeliveryResponse = { status: number; message: string; - destinationResponse: Object; - statTags: Object; + destinationResponse: object; + statTags: object; authErrorCategory?: string; }; @@ -150,15 +153,15 @@ type RudderMessage = { anonymousId: string; type: MessageType; channel: string; - context: Object; + context: object; originalTimestamp: Date; sentAt: Date; timestamp: Date; event?: string; - integrations?: Object; + integrations?: object; messageId: string; - properties?: Object; - traits?: Object; + properties?: object; + traits?: object; }; type ErrorDetailer = { @@ -187,7 +190,7 @@ type MetaTransferObject = { type UserTransformationResponse = { transformedEvent: RudderMessage; metadata: Metadata; - error: Object; + error: CatchErr; }; type UserTransformationServiceResponse = { @@ -196,8 +199,8 @@ type UserTransformationServiceResponse = { }; type UserDeletionRequest = { - userAttributes: any[]; - config: Object; + userAttributes: FixMe[]; + config: object; destType: string; jobId: string; }; @@ -206,15 +209,15 @@ type UserDeletionResponse = { statusCode: number; error?: string; status?: string; - authErrorCategory: any; - statTags: Object; + authErrorCategory: FixMe; + statTags: object; }; type ComparatorInput = { events: ProcessorTransformationRequest[] | RouterTransformationRequestData[]; destination: string; version: string; - requestMetadata: Object; + requestMetadata: object; feature: string; }; diff --git a/src/util/customTransforrmationsStore.js b/src/util/customTransforrmationsStore.js index 46e2b9c9b5..08d417c07c 100644 --- a/src/util/customTransforrmationsStore.js +++ b/src/util/customTransforrmationsStore.js @@ -4,7 +4,7 @@ const logger = require('../logger'); const { responseStatusHandler } = require('./utils'); const stats = require('./stats'); -const myCache = new NodeCache(); +const myCache = new NodeCache({ stdTTL: 60 * 60 * 24 * 1 }); // const CONFIG_BACKEND_URL = "http://localhost:5000"; const CONFIG_BACKEND_URL = process.env.CONFIG_BACKEND_URL || 'https://api.rudderlabs.com'; diff --git a/src/util/dynamicConfigParser.ts b/src/util/dynamicConfigParser.ts index fc4a02bc84..73ad85a0d2 100644 --- a/src/util/dynamicConfigParser.ts +++ b/src/util/dynamicConfigParser.ts @@ -1,14 +1,15 @@ import cloneDeep from 'lodash/cloneDeep'; import { ProcessorTransformationRequest, RouterTransformationRequestData } from '../types/index'; +import { FixMe } from './types'; /* eslint-disable no-param-reassign */ const get = require('get-value'); const unset = require('unset-value'); -export class DynamicConfigParser { +export default class DynamicConfigParser { private static getDynamicConfigValue( event: ProcessorTransformationRequest | RouterTransformationRequestData, - value: any, + value: FixMe, ) { // this regex checks for pattern "only spaces {{ path || defaultvalue }} only spaces" . // " {{message.traits.key || \"email\" }} " @@ -38,7 +39,7 @@ export class DynamicConfigParser { } private static configureVal( - value: any, + value: FixMe, event: ProcessorTransformationRequest | RouterTransformationRequestData, ) { if (value) { diff --git a/src/util/eventValidation.js b/src/util/eventValidation.js index a920b9bde5..68d895dcc5 100644 --- a/src/util/eventValidation.js +++ b/src/util/eventValidation.js @@ -10,9 +10,10 @@ const hash = require('object-hash'); const logger = require('../logger'); const trackingPlan = require('./trackingPlan'); +const SECONDS_IN_DAY = 60 * 60 * 24 * 1; const eventSchemaCache = new NodeCache(); -const ajv19Cache = new NodeCache({ useClones: false }); -const ajv4Cache = new NodeCache({ useClones: false }); +const ajv19Cache = new NodeCache({ useClones: false, stdTTL: SECONDS_IN_DAY }); +const ajv4Cache = new NodeCache({ useClones: false, stdTTL: SECONDS_IN_DAY }); const { isEmptyObject } = require('../v0/util'); const defaultOptions = { diff --git a/src/util/fetch.js b/src/util/fetch.js index efadc3c884..95856dd7fd 100644 --- a/src/util/fetch.js +++ b/src/util/fetch.js @@ -1,6 +1,7 @@ +/* eslint-disable @typescript-eslint/return-await */ const fetch = require('node-fetch'); const HttpsProxyAgent = require('https-proxy-agent'); -const _ = require('lodash'); +const lodash = require('lodash'); const { RetryRequestError } = require('./utils'); const fetchWithProxy = async (url, options = {}) => { @@ -13,7 +14,7 @@ const fetchWithProxy = async (url, options = {}) => { instanceOptions.agent = new HttpsProxyAgent(process.env.HTTPS_PROXY); } - if (_.isEmpty(instanceOptions)) { + if (lodash.isEmpty(instanceOptions)) { return await fetch(url); } return await fetch(url, instanceOptions); diff --git a/src/util/openfaas/index.js b/src/util/openfaas/index.js index 1b3e531ceb..60ad316e1b 100644 --- a/src/util/openfaas/index.js +++ b/src/util/openfaas/index.js @@ -20,6 +20,7 @@ const FAAS_MAX_INFLIGHT = process.env.FAAS_MAX_INFLIGHT || '4'; const FAAS_EXEC_TIMEOUT = process.env.FAAS_EXEC_TIMEOUT || '4s'; const FAAS_ENABLE_WATCHDOG_ENV_VARS = process.env.FAAS_ENABLE_WATCHDOG_ENV_VARS || 'true'; const CONFIG_BACKEND_URL = process.env.CONFIG_BACKEND_URL || 'https://api.rudderlabs.com'; +const GEOLOCATION_URL = process.env.GEOLOCATION_URL || ''; const FAAS_AST_VID = 'ast'; const FAAS_AST_FN_NAME = 'fn-ast'; @@ -128,6 +129,9 @@ const deployFaasFunction = async (functionName, code, versionId, libraryVersionI envVars.max_inflight = FAAS_MAX_INFLIGHT; envVars.exec_timeout = FAAS_EXEC_TIMEOUT; } + if (GEOLOCATION_URL) { + envVars.geolocation_url = GEOLOCATION_URL; + } // TODO: investigate and add more required labels and annotations const payload = { service: functionName, diff --git a/src/util/types.ts b/src/util/types.ts new file mode 100644 index 0000000000..579c35579c --- /dev/null +++ b/src/util/types.ts @@ -0,0 +1,25 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +export type FixMe = any; + +export type CatchErr = any; + +export interface Config { + cdkEnabled?: boolean; + cdkV2Enabled?: boolean; + comparisonTestEnabeld?: boolean; + comparisonService?: string; + camparisonTestThreshold?: number; +} + +export interface IDestDefinition { + id: string; + name: string; + displayName: string; + config: Config; + options: { + isBeta?: boolean; + hidden?: boolean; + } | null; + isPopular: boolean; + uiConfig: FixMe; +} diff --git a/src/util/utils.js b/src/util/utils.js index 160bbae3c9..0ba6008368 100644 --- a/src/util/utils.js +++ b/src/util/utils.js @@ -1,4 +1,4 @@ -/* eslint-disable max-classes-per-file */ +/* eslint-disable max-classes-per-file, @typescript-eslint/return-await */ const http = require('http'); const https = require('https'); const { Resolver } = require('dns').promises; @@ -36,6 +36,7 @@ const staticLookup = (transformerVersionId) => async (hostname, _, cb) => { return; } + // eslint-disable-next-line no-restricted-syntax for (const ip of ips) { if (ip.startsWith(LOCALHOST_OCTET)) { cb(null, `cannot use ${ip} as IP address`, RECORD_TYPE_A); diff --git a/src/v0/destinations/active_campaign/transform.js b/src/v0/destinations/active_campaign/transform.js index f995254730..905a8e897f 100644 --- a/src/v0/destinations/active_campaign/transform.js +++ b/src/v0/destinations/active_campaign/transform.js @@ -283,7 +283,7 @@ const customFieldProcessor = async (message, category, destination) => { const storedFields = Object.keys(fieldMap); const filteredFieldKeys = []; - fieldKeys.map((fieldKey) => { + fieldKeys.forEach((fieldKey) => { // If the field is present in fieldMap push it to filteredFieldKeys else ignore if (storedFields.includes(fieldKey)) { filteredFieldKeys.push(fieldKey); @@ -297,7 +297,7 @@ const customFieldProcessor = async (message, category, destination) => { // Creating a field array list conating field id and field value which will be merged to the contact // Ref: https://developers.activecampaign.com/reference/sync-a-contacts-data const fieldsArrValues = []; - filteredFieldKeys.map((key) => { + filteredFieldKeys.forEach((key) => { let fPayload; if (Array.isArray(fieldInfo[key])) { fPayload = '||'; @@ -327,7 +327,7 @@ const customListProcessor = async (message, category, destination, contactId) => // The list info is pushed into a list object array const listArr = []; if (Array.isArray(listInfo)) { - listInfo.map((list) => { + listInfo.forEach((list) => { listArr.push(list); }); } else { @@ -337,7 +337,8 @@ const customListProcessor = async (message, category, destination, contactId) => // status information // Ref: https://developers.activecampaign.com/reference/update-list-status-for-contact/ const promises = []; - listArr.map(async (li) => { + // eslint-disable-next-line no-restricted-syntax + for (const li of listArr) { if (li.status === 'subscribe' || li.status === 'unsubscribe') { const endpoint = `${destination.Config.apiUrl}${category.mergeListWithContactUrl}`; const requestData = { @@ -356,7 +357,7 @@ const customListProcessor = async (message, category, destination, contactId) => }); promises.push(res); } - }); + } const responses = await Promise.all(promises); responses.forEach((respItem) => { if (respItem.success === false) { diff --git a/src/v0/destinations/adj/transform.js b/src/v0/destinations/adj/transform.js index 1862012bb1..695654e58a 100644 --- a/src/v0/destinations/adj/transform.js +++ b/src/v0/destinations/adj/transform.js @@ -21,7 +21,12 @@ const rejectParams = ['revenue', 'currency']; function responseBuilderSimple(message, category, destination) { const payload = constructPayload(message, MAPPING_CONFIG[category.name]); - const { appToken, customMappings, environment } = destination.Config; + const { appToken, customMappings, environment, partnerParamsKeys } = destination.Config; + if (!appToken) { + throw new ConfigurationError( + 'App Token is not present. Please configure your app token from config dashbaord', + ); + } const platform = get(message, 'context.device.type'); const id = get(message, 'context.device.id'); if (typeof platform !== 'string' || !platform || !id) { @@ -37,7 +42,7 @@ function responseBuilderSimple(message, category, destination) { throw new InstrumentationError('Device type not valid'); } if (payload.revenue) { - payload.currency = message.properties.currency || 'USD'; + payload.currency = message?.properties?.currency || 'USD'; } const hashMap = getHashFromArray(customMappings, 'from', 'to', false); if (payload && message.event && hashMap[message.event]) { @@ -46,11 +51,11 @@ function responseBuilderSimple(message, category, destination) { Accept: '*/*', }; - const partnerParamsKeysMap = getHashFromArray(destination?.Config?.partnerParamsKeys); + const partnerParamsKeysMap = getHashFromArray(partnerParamsKeys); if (partnerParamsKeysMap) { payload.partner_params = {}; Object.keys(partnerParamsKeysMap).forEach((key) => { - if (message.properties[key]) { + if (message?.properties?.[key]) { payload.partner_params[partnerParamsKeysMap[key]] = message.properties[key].toString(); } }); @@ -81,9 +86,8 @@ function responseBuilderSimple(message, category, destination) { // fail-safety for developer error if (!message.event || !hashMap[message.event]) { throw new ConfigurationError('No event token mapped for this event'); - } else { - throw new TransformationError('Payload could not be constructed'); } + throw new TransformationError('Payload could not be constructed'); } const processEvent = (message, destination) => { diff --git a/src/v0/destinations/adobe_analytics/transform.js b/src/v0/destinations/adobe_analytics/transform.js index c477b4c93c..54806bf578 100644 --- a/src/v0/destinations/adobe_analytics/transform.js +++ b/src/v0/destinations/adobe_analytics/transform.js @@ -36,7 +36,13 @@ const responseBuilderSimple = async (message, destinationConfig, basicPayload) = const { event, context, properties } = message; // set default value of properties.overridePageView to false if not provided properties.overridePageView = properties.overridePageView ?? false; - const { overrideEvars, overrideHiers, overrideLists, overrideCustomProperties } = properties; + const { + overrideEvars, + overrideHiers, + overrideLists, + overrideCustomProperties, + overridePageView, + } = properties; // handle contextData payload = handleContextData(payload, destinationConfig, message); @@ -60,7 +66,7 @@ const responseBuilderSimple = async (message, destinationConfig, basicPayload) = // handle link values // default linktype to 'o', linkName to event name, linkURL to ctx.page.url if not passed in integrations object const adobeIntegrationsObject = getIntegrationsObj(message, 'adobe_analytics'); - if (!properties?.overridePageView) { + if (!overridePageView) { payload.linkType = adobeIntegrationsObject?.linkType || 'o'; payload.linkName = adobeIntegrationsObject?.linkName || event; // setting linkname to page view for page calls @@ -86,7 +92,7 @@ const responseBuilderSimple = async (message, destinationConfig, basicPayload) = // handle pageName, pageUrl const contextPageUrl = context?.page?.url; - if (properties?.overridePageView) { + if (overridePageView) { const propertiesPageUrl = properties?.pageUrl; const pageUrl = contextPageUrl || propertiesPageUrl; if (isDefinedAndNotNullAndNotEmpty(pageUrl)) { @@ -337,7 +343,7 @@ const processTrackEvent = (message, adobeEventName, destinationConfig, extras = const handleTrack = (message, destinationConfig) => { const ORDER_ID_KEY = 'properties.order_id'; - const { event: rawEvent } = message; + const { event: rawEvent, properties } = message; let payload = null; // handle ecommerce events separately // generic events should go to the default @@ -378,12 +384,8 @@ const handleTrack = (message, destinationConfig) => { destinationConfig.rudderEventsToAdobeEvents[event]?.trim(), destinationConfig, ); - } else if (message?.properties?.overrideEventName) { - payload = processTrackEvent( - message, - message?.properties?.overrideEventName, - destinationConfig, - ); + } else if (properties?.overrideEventName) { + payload = processTrackEvent(message, properties.overrideEventName, destinationConfig); } else { throw new ConfigurationError( 'The event is not a supported ECOM event or a mapped custom event. Aborting.', diff --git a/src/v0/destinations/bqstream/transform.js b/src/v0/destinations/bqstream/transform.js index 4db1856535..55679b08a8 100644 --- a/src/v0/destinations/bqstream/transform.js +++ b/src/v0/destinations/bqstream/transform.js @@ -1,14 +1,16 @@ /* eslint-disable no-console */ -const _ = require('lodash'); +const lodash = require('lodash'); const { EventType } = require('../../../constants'); const { defaultBatchRequestConfig, getSuccessRespEvents, checkInvalidRtTfEvents, handleRtTfSingleEventError, + groupEventsByType, } = require('../../util'); const { MAX_ROWS_PER_REQUEST, DESTINATION } = require('./config'); const { InstrumentationError } = require('../../util/errorTypes'); +const { getRearrangedEvents } = require('./util'); const getInsertIdColValue = (properties, insertIdCol) => { if ( @@ -50,11 +52,11 @@ const process = (event) => { }; }; -const batchEvents = (eventsChunk) => { +const batchEachUserSuccessEvents = (eventsChunk) => { const batchedResponseList = []; // arrayChunks = [[e1,e2, ..batchSize], [e1,e2, ..batchSize], ...] - const arrayChunks = _.chunk(eventsChunk, MAX_ROWS_PER_REQUEST); + const arrayChunks = lodash.chunk(eventsChunk, MAX_ROWS_PER_REQUEST); // list of chunks [ [..], [..] ] arrayChunks.forEach((chunk) => { @@ -68,7 +70,7 @@ const batchEvents = (eventsChunk) => { chunk.forEach((ev) => { // Pixel code must be added above "batch": [..] batchResponseList.push(ev.message.properties); - metadata.push(ev.metadata); + metadata.push(ev.metadata[0]); }); batchEventResponse.batchedRequest = { @@ -97,26 +99,23 @@ const batchEvents = (eventsChunk) => { return batchedResponseList; }; -const processRouterDest = (inputs) => { - const errorRespEvents = checkInvalidRtTfEvents(inputs, DESTINATION); - if (errorRespEvents.length > 0) { - return errorRespEvents; - } - - const eventsChunk = []; // temporary variable to divide payload into chunks - const errorRespList = []; - - inputs.forEach((event) => { +const processEachTypedEventList = ( + typedEventList, + eachTypeSuccessEventList, + eachTypeErrorEventsList, +) => { + typedEventList.forEach((event) => { try { if (event.message.statusCode) { // already transformed event - eventsChunk.push(event); + eachTypeSuccessEventList.push(event); } else { // if not transformed - let response = process(event); - response = Array.isArray(response) ? response : [response]; - response.forEach((res) => { - eventsChunk.push({ + const response = process(event); + const transformedEvents = Array.isArray(response) ? response : [response]; + + transformedEvents.forEach((res) => { + eachTypeSuccessEventList.push({ message: res, metadata: event.metadata, destination: event.destination, @@ -124,16 +123,44 @@ const processRouterDest = (inputs) => { }); } } catch (error) { - const errRespEvent = handleRtTfSingleEventError(event, error, DESTINATION); - errorRespList.push(errRespEvent); + const eachUserErrorEvent = handleRtTfSingleEventError(event, error, DESTINATION); + eachTypeErrorEventsList.push(eachUserErrorEvent); } }); +}; - let batchedResponseList = []; - if (eventsChunk.length > 0) { - batchedResponseList = batchEvents(eventsChunk); +const processRouterDest = (inputs) => { + const errorRespEvents = checkInvalidRtTfEvents(inputs, DESTINATION); + if (errorRespEvents.length > 0) { + return errorRespEvents; } - return [...batchedResponseList, ...errorRespList]; + const finalResp = []; + + const batchedEvents = groupEventsByType(inputs); + + batchedEvents.forEach((typedEventList) => { + const eachTypeSuccessEventList = []; // list of events that are transformed successfully + const eachTypeErrorEventsList = []; // list of events that are errored out + processEachTypedEventList(typedEventList, eachTypeSuccessEventList, eachTypeErrorEventsList); + + const orderedEventsList = getRearrangedEvents( + eachTypeSuccessEventList, + eachTypeErrorEventsList, + ); + + orderedEventsList.forEach((eventList) => { + // no error event list will have more than one items in the list + if (eventList[0].error) { + finalResp.push([...eventList]); + } else { + // batch the successful events + const eachTypeBatchedResponse = batchEachUserSuccessEvents(eventList); + finalResp.push([...eachTypeBatchedResponse]); + } + }); + }); + + return finalResp.flat(); }; module.exports = { process, processRouterDest }; diff --git a/src/v0/destinations/bqstream/util.js b/src/v0/destinations/bqstream/util.js index 2448d72d76..4fa926e54e 100644 --- a/src/v0/destinations/bqstream/util.js +++ b/src/v0/destinations/bqstream/util.js @@ -1,149 +1,84 @@ /* eslint-disable no-param-reassign */ -const getValue = require('get-value'); -const { - getDynamicErrorType, - processAxiosResponse, -} = require('../../../adapters/utils/networkUtils'); -const { - REFRESH_TOKEN, - AUTH_STATUS_INACTIVE, -} = require('../../../adapters/networkhandler/authConstants'); -const { isHttpStatusSuccess } = require('../../util'); -const { proxyRequest } = require('../../../adapters/network'); -const { UnhandledStatusCodeError, NetworkError, AbortedError } = require('../../util/errorTypes'); -const tags = require('../../util/tags'); - -const DESTINATION_NAME = 'bqstream'; - -const trimBqStreamResponse = (response) => ({ - code: getValue(response, 'response.response.data.error.code'), // data.error.status which contains PERMISSION_DENIED - status: getValue(response, 'response.response.status'), - statusText: getValue(response, 'response.response.statusText'), - headers: getValue(response, 'response.response.headers'), - data: getValue(response, 'response.response.data'), // Incase of errors, this contains error data - success: getValue(response, 'suceess'), -}); +const { isDefinedAndNotNull } = require('../../util'); /** - * Obtains the Destination OAuth Error Category based on the error code obtained from destination + * Optimizes the error response by merging the metadata of the same error type and adding it to the result array. * - * - If an error code is such that the user will not be allowed inside the destination, - * such error codes fall under AUTH_STATUS_INACTIVE - * - If an error code is such that upon refresh we can get a new token which can be used to send event, - * such error codes fall under REFRESH_TOKEN category - * - If an error code doesn't fall under both categories, we can return an empty string - * @param {string} errorCategory - The error code obtained from the destination - * @returns Destination OAuth Error Category + * @param {Object} item - An object representing an error event with properties like `error`, `jobId`, and `metadata`. + * @param {Map} errorMap - A Map object to store the error events and their metadata. + * @param {Array} resultArray - An array to store the optimized error response. + * @returns {void} */ -const getDestAuthCategory = (errorCategory) => { - switch (errorCategory) { - case 'PERMISSION_DENIED': - return AUTH_STATUS_INACTIVE; - case 'UNAUTHENTICATED': - return REFRESH_TOKEN; - default: - return ''; +const optimizeErrorResponse = (item, errorMap, resultArray) => { + const currentError = item.error; + if (errorMap.has(currentError)) { + // If the error already exists in the map, merge the metadata + const existingErrDetails = errorMap.get(currentError); + existingErrDetails.metadata.push(...item.metadata); + } else { + // Otherwise, add it to the map + errorMap.set(currentError, { ...item }); + resultArray.push([errorMap.get(currentError)]); } }; -const destToRudderStatusMap = { - 403: { - rateLimitExceeded: 429, - default: 400, - }, - 400: { - tableUnavailable: 500, - default: 400, - }, - 500: { default: 500 }, - 503: { default: 500 }, - 401: { default: 500 }, - 404: { default: 400 }, - 501: { default: 400 }, +const convertMetadataToArray = (eventList) => { + const processedEvents = eventList.map((event) => ({ + ...event, + metadata: Array.isArray(event.metadata) ? event.metadata : [event.metadata], + })); + return processedEvents; }; -const getStatusAndCategory = (dresponse, status) => { - const authErrorCategory = getDestAuthCategory(dresponse.error.status); - const reason = - dresponse.error.errors && - Array.isArray(dresponse.error.errors) && - dresponse.error.errors.length > 0 && - dresponse.error.errors[0].reason; +/** + * Formats a list of error events into a composite response. + * + * @param {Array} errorEvents - A list of error events, where each event can have an `error` property and a `metadata` array. + * @returns {Array} The formatted composite response, where each element is an array containing the error details. + */ +const formatCompositeResponse = (errorEvents) => { + const resultArray = []; + const errorMap = new Map(); - const trStatus = destToRudderStatusMap[status] - ? destToRudderStatusMap[status][reason] || destToRudderStatusMap[status].default - : 500; - return { status: trStatus, authErrorCategory }; + // eslint-disable-next-line no-restricted-syntax + for (const item of errorEvents) { + if (isDefinedAndNotNull(item.error)) { + optimizeErrorResponse(item, errorMap, resultArray); + } + } + return resultArray; }; /** - * This class actually handles the response for BigQuery Stream API - * It can also be used for any Google related API but an API related handling has to be done separately - * - * Here we are only trying to handle OAuth related error(s) - * Any destination specific error handling has to be done in their own way - * - * Reference doc for OAuth Errors - * 1. https://cloud.google.com/apigee/docs/api-platform/reference/policies/oauth-http-status-code-reference - * 2. https://cloud.google.com/bigquery/docs/error-messages - * - * Summary: - * Abortable -> 403, 501, 400 - * Retryable -> 5[0-9][02-9], 401(UNAUTHENTICATED) - * "Special Cases": - * status=200, resp.insertErrors.length > 0 === Failure - * 403 => AccessDenied -> AUTH_STATUS_INACTIVE, other 403 => Just abort + * Rearranges the events based on their success or error status. + * If there are no successful events, it groups error events with the same error and their metadata. + * If there are successful events, it returns the batched response of successful events. * + * @param {Array} successEventList - An array of objects representing successful events. + * Each object should have an `id` and `metadata` property. + * @param {Array} errorEventList - An array of objects representing error events. + * Each object should have an `id`, `metadata`, and `error` property. + * @returns {Array} - An array of rearranged events. */ -const processResponse = ({ dresponse, status } = {}) => { - const isSuccess = - !dresponse.error && - isHttpStatusSuccess(status) && - (!dresponse.insertErrors || (dresponse.insertErrors && dresponse.insertErrors.length === 0)); +const getRearrangedEvents = (successEventList, errorEventList) => { + // Convert 'metadata' to an array if it's not already + const processedSuccessfulEvents = convertMetadataToArray(successEventList); + const processedErrorEvents = convertMetadataToArray(errorEventList); - if (!isSuccess) { - if (dresponse.error) { - const { status: trStatus } = getStatusAndCategory(dresponse, status); - throw new NetworkError( - dresponse.error.message || `Request failed for ${DESTINATION_NAME} with status: ${status}`, - trStatus, - { - [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(trStatus), - }, - dresponse, - ); - } else if (dresponse.insertErrors && dresponse.insertErrors.length > 0) { - const temp = trimBqStreamResponse(dresponse); - throw new AbortedError( - 'Problem during insert operation', - 400, - { - [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(temp.status || 400), - }, - temp, - getDestAuthCategory(temp.code), - ); - } - throw new UnhandledStatusCodeError('Unhandled error type while sending to destination'); + // if there are no error events, then return the batched response + if (errorEventList.length === 0) { + return [processedSuccessfulEvents]; + } + // if there are no batched response, then return the error events + if (successEventList.length === 0) { + return formatCompositeResponse(processedErrorEvents); } -}; -const responseHandler = (respTransformPayload) => { - const { response, status } = respTransformPayload; - processResponse({ - dresponse: response, - status, - }); - return { - status, - destinationResponse: response, - message: 'Request Processed Successfully', - }; + // if there are both batched response and error events, then order them + const combinedTransformedEventList = [ + [...processedSuccessfulEvents], + ...formatCompositeResponse(processedErrorEvents), + ]; + return combinedTransformedEventList; }; -function networkHandler() { - this.responseHandler = responseHandler; - this.proxy = proxyRequest; - this.processAxiosResponse = processAxiosResponse; -} - -module.exports = { networkHandler }; +module.exports = { getRearrangedEvents }; diff --git a/src/v0/destinations/bqstream/util.test.js b/src/v0/destinations/bqstream/util.test.js new file mode 100644 index 0000000000..c7635772ac --- /dev/null +++ b/src/v0/destinations/bqstream/util.test.js @@ -0,0 +1,267 @@ +const { getRearrangedEvents } = require('./util'); + +describe('getRearrangedEvents', () => { + // Tests that the function returns an array of transformed events when there are no error events + it('should return an array of transformed events when all events are track and successfully transformed', () => { + const eachUserSuccessEventslist = [ + { message: { type: 'track' }, metadata: { jobId: 1 } }, + { message: { type: 'track' }, metadata: { jobId: 3 } }, + { message: { type: 'track' }, metadata: { jobId: 5 } }, + ]; + const eachUserErrorEventsList = []; + const expected = [ + [ + { message: { type: 'track' }, metadata: [{ jobId: 1 }] }, + { message: { type: 'track' }, metadata: [{ jobId: 3 }] }, + { message: { type: 'track' }, metadata: [{ jobId: 5 }] }, + ], + ]; + const result = getRearrangedEvents(eachUserSuccessEventslist, eachUserErrorEventsList); + expect(result).toEqual(expected); + }); + + // Tests that the function returns an empty array when both input arrays are empty + it('should return an empty array when both input arrays are empty', () => { + const eachUserSuccessEventslist = []; + const eachUserErrorEventsList = []; + const expected = [[]]; + const result = getRearrangedEvents(eachUserSuccessEventslist, eachUserErrorEventsList); + expect(result).toEqual(expected); + }); + + // Tests that the function returns an array with only error events when all events are erroneous + it('should return an array with only error events when all events are erroneous', () => { + const eachUserSuccessEventslist = []; + const eachUserErrorEventsList = [ + { + batched: false, + destination: {}, + error: 'Message Type not supported: identify', + metadata: [{ jobId: 3, userId: 'user12345' }], + }, + { + batched: false, + destination: {}, + error: 'Message Type not supported: identify', + metadata: [{ jobId: 4, userId: 'user12345' }], + }, + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [{ jobId: 5, userId: 'user12345' }], + }, + ]; + const expected = [ + [ + { + batched: false, + destination: {}, + error: 'Message Type not supported: identify', + metadata: [ + { jobId: 3, userId: 'user12345' }, + { jobId: 4, userId: 'user12345' }, + ], + }, + ], + [ + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [ + { + jobId: 5, + userId: 'user12345', + }, + ], + }, + ], + ]; + const result = getRearrangedEvents(eachUserSuccessEventslist, eachUserErrorEventsList); + expect(result).toEqual(expected); + }); + // Tests that the function does not return an ordered array of events with both successful and erroneous events + it('case 1 : 1--> success, 2 --> fail, 3 --> success, 4 --> fail, 5 --> success', () => { + const errorEventsList = [ + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [{ jobId: 2, userId: 'user12345' }], + }, + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [{ jobId: 4, userId: 'user12345' }], + }, + ]; + const successEventslist = [ + { message: { type: 'track' }, metadata: { jobId: 1 } }, + { message: { type: 'track' }, metadata: { jobId: 3 } }, + { message: { type: 'track' }, metadata: { jobId: 5 } }, + ]; + const expected = [ + [ + { message: { type: 'track' }, metadata: [{ jobId: 1 }] }, + { message: { type: 'track' }, metadata: [{ jobId: 3 }] }, + { message: { type: 'track' }, metadata: [{ jobId: 5 }] }, + ], + [ + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [ + { jobId: 2, userId: 'user12345' }, + { jobId: 4, userId: 'user12345' }, + ], + }, + ], + ]; + const result = getRearrangedEvents(successEventslist, errorEventsList); + expect(result).toEqual(expected); + }); + + it('case 2 : 1--> success, 2 --> success, 3 --> fail, 4 --> fail, 5 --> success', () => { + const errorEventsList = [ + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [{ jobId: 3, userId: 'user12345' }], + }, + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [{ jobId: 4, userId: 'user12345' }], + }, + ]; + const successEventslist = [ + { message: { type: 'track' }, metadata: { jobId: 1 } }, + { message: { type: 'track' }, metadata: { jobId: 2 } }, + { message: { type: 'track' }, metadata: { jobId: 5 } }, + ]; + const expected = [ + [ + { + message: { + type: 'track', + }, + metadata: [ + { + jobId: 1, + }, + ], + }, + { + message: { + type: 'track', + }, + metadata: [ + { + jobId: 2, + }, + ], + }, + { + message: { + type: 'track', + }, + metadata: [ + { + jobId: 5, + }, + ], + }, + ], + [ + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [ + { + jobId: 3, + userId: 'user12345', + }, + { + jobId: 4, + userId: 'user12345', + }, + ], + }, + ], + ]; + const result = getRearrangedEvents(successEventslist, errorEventsList); + console.log(JSON.stringify(result)); + expect(result).toEqual(expected); + }); + + it('case 3 : 1--> fail, 2 --> success, 3 --> success, 4 --> fail', () => { + const errorEventsList = [ + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [{ jobId: 1, userId: 'user12345' }], + }, + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [{ jobId: 4, userId: 'user12345' }], + }, + ]; + const successEventslist = [ + { message: { type: 'track' }, metadata: { jobId: 2 } }, + { message: { type: 'track' }, metadata: { jobId: 3 } }, + ]; + const expected = [ + [ + { + message: { + type: 'track', + }, + metadata: [ + { + jobId: 2, + }, + ], + }, + { + message: { + type: 'track', + }, + metadata: [ + { + jobId: 3, + }, + ], + }, + ], + [ + { + batched: false, + destination: {}, + error: 'Invalid payload for the destination', + metadata: [ + { + jobId: 1, + userId: 'user12345', + }, + { + jobId: 4, + userId: 'user12345', + }, + ], + }, + ], + ]; + const result = getRearrangedEvents(successEventslist, errorEventsList); + console.log(JSON.stringify(result)); + expect(result).toEqual(expected); + }); +}); diff --git a/src/v0/destinations/branch/transform.js b/src/v0/destinations/branch/transform.js index 362f6cc840..0d47fbd791 100644 --- a/src/v0/destinations/branch/transform.js +++ b/src/v0/destinations/branch/transform.js @@ -44,7 +44,7 @@ function getCategoryAndName(rudderEventName) { for (const category of categoriesList) { let requiredName = null; let requiredCategory = null; - // eslint-disable-next-line array-callback-return + // eslint-disable-next-line array-callback-return, sonarjs/no-ignored-return Object.keys(category.name).find((branchKey) => { if ( typeof branchKey === 'string' && @@ -53,7 +53,9 @@ function getCategoryAndName(rudderEventName) { ) { requiredName = category.name[branchKey]; requiredCategory = category; + return true; } + return false; }); if (requiredName != null && requiredCategory != null) { return { evName: requiredName, category: requiredCategory }; @@ -112,6 +114,7 @@ function mapPayload(category, rudderProperty, rudderPropertiesObj) { let valFound = false; if (category.content_items) { + // eslint-disable-next-line sonarjs/no-ignored-return Object.keys(category.content_items).find((branchMappingProperty) => { if (branchMappingProperty === rudderProperty) { const tmpKeyName = category.content_items[branchMappingProperty]; @@ -168,7 +171,7 @@ function getCommonPayload(message, category, evName) { productObj = {}; for (let i = 0; i < rudderPropertiesObj.products.length; i += 1) { const product = rudderPropertiesObj.products[i]; - // eslint-disable-next-line no-loop-func + // eslint-disable-next-line @typescript-eslint/no-loop-func Object.keys(product).forEach((productProp) => { const { contentItemsObj, eventDataObj, customDataObj } = mapPayload( category, diff --git a/src/v0/destinations/braze/networkHandler.js b/src/v0/destinations/braze/networkHandler.js index 48034af487..cf6d36c2b4 100644 --- a/src/v0/destinations/braze/networkHandler.js +++ b/src/v0/destinations/braze/networkHandler.js @@ -10,6 +10,7 @@ const { NetworkError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); const stats = require('../../../util/stats'); +// eslint-disable-next-line @typescript-eslint/no-unused-vars const responseHandler = (destinationResponse, _dest) => { const message = `Request for ${DESTINATION} Processed Successfully`; const { response, status } = destinationResponse; diff --git a/src/v0/destinations/braze/transform.js b/src/v0/destinations/braze/transform.js index 7650f03b8f..5f651041ea 100644 --- a/src/v0/destinations/braze/transform.js +++ b/src/v0/destinations/braze/transform.js @@ -1,5 +1,5 @@ /* eslint-disable no-nested-ternary,no-param-reassign */ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const { BrazeDedupUtility, @@ -80,7 +80,7 @@ function getIdentifyPayload(message) { let payload = {}; payload = setAliasObjectWithAnonId(payload, message); payload = setExternalId(payload, message); - return { aliases_to_identify: [payload], merge_behavior: "merge" }; + return { aliases_to_identify: [payload], merge_behavior: 'merge' }; } function populateCustomAttributesWithOperation( @@ -379,6 +379,7 @@ function processGroup(message, destination) { } else if (email) { subscriptionGroup.emails = [email]; } + // eslint-disable-next-line @typescript-eslint/naming-convention const subscription_groups = [subscriptionGroup]; const response = defaultRequestConfig(); response.endpoint = getSubscriptionGroupEndPoint(getEndpointFromConfig(destination)); @@ -518,7 +519,7 @@ const processRouterDest = async (inputs, reqMetadata) => { BrazeDedupUtility.updateUserStore(userStore, lookedUpUsers, destination.ID); } // group events by userId or anonymousId and then call process - const groupedInputs = _.groupBy( + const groupedInputs = lodash.groupBy( inputs, (input) => input.message.userId || input.message.anonymousId, ); @@ -537,7 +538,7 @@ const processRouterDest = async (inputs, reqMetadata) => { const output = await Promise.all(allResps); - const allTransfomredEvents = _.flatMap(output); + const allTransfomredEvents = lodash.flatMap(output); return processBatch(allTransfomredEvents); }; diff --git a/src/v0/destinations/braze/util.js b/src/v0/destinations/braze/util.js index d772503b58..0793ca5891 100644 --- a/src/v0/destinations/braze/util.js +++ b/src/v0/destinations/braze/util.js @@ -1,4 +1,4 @@ -/* eslint-disable camelcase */ +/* eslint-disable */ const _ = require('lodash'); const get = require('get-value'); const stats = require('../../../util/stats'); diff --git a/src/v0/destinations/campaign_manager/networkHandler.js b/src/v0/destinations/campaign_manager/networkHandler.js index a80fff6fe4..cd98de253e 100644 --- a/src/v0/destinations/campaign_manager/networkHandler.js +++ b/src/v0/destinations/campaign_manager/networkHandler.js @@ -52,7 +52,7 @@ const responseHandler = (destinationResponse) => { } throw new NetworkError( - `Campaign Manager: ${response.error.message} during CAMPAIGN_MANAGER response transformation 3`, + `Campaign Manager: ${response.error?.message} during CAMPAIGN_MANAGER response transformation 3`, status, { [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(status), diff --git a/src/v0/destinations/canny/util.js b/src/v0/destinations/canny/util.js index 9666f143df..002d9aa69f 100644 --- a/src/v0/destinations/canny/util.js +++ b/src/v0/destinations/canny/util.js @@ -25,7 +25,7 @@ const retrieveUserId = async (apiKey, message) => { message.traits?.email || message.context?.traits?.email || message.properties?.email; const { userId } = message; - const header = { + const headers = { 'Content-Type': 'application/x-www-form-urlencoded', Accept: JSON_MIME_TYPE, }; @@ -38,10 +38,15 @@ const retrieveUserId = async (apiKey, message) => { } else { requestBody.userID = `${userId}`; } - const response = await httpPOST(url, qs.stringify(requestBody), header, { - destType: 'canny', - feature: 'transformation', - }); + const response = await httpPOST( + url, + qs.stringify(requestBody), + { headers }, + { + destType: 'canny', + feature: 'transformation', + }, + ); logger.debug(response); // If the request fails, throwing error. if (response.success === false) { diff --git a/src/v0/destinations/clevertap/networkHandler.js b/src/v0/destinations/clevertap/networkHandler.js index aafe77e792..35c972e502 100644 --- a/src/v0/destinations/clevertap/networkHandler.js +++ b/src/v0/destinations/clevertap/networkHandler.js @@ -43,6 +43,7 @@ const responseHandler = (destinationResponse) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = responseHandler; diff --git a/src/v0/destinations/clevertap/transform.js b/src/v0/destinations/clevertap/transform.js index 7ce864aae2..e3d9ca1083 100644 --- a/src/v0/destinations/clevertap/transform.js +++ b/src/v0/destinations/clevertap/transform.js @@ -232,7 +232,7 @@ const getClevertapProfile = (message, category) => { if (message.traits?.overrideFields) { const { overrideFields } = message.traits; Object.assign(profile, overrideFields); - } else if (message.context.traits?.overrideFields) { + } else if (message.context?.traits?.overrideFields) { const { overrideFields } = message.context.traits; Object.assign(profile, overrideFields); } diff --git a/src/v0/destinations/criteo_audience/networkHandler.js b/src/v0/destinations/criteo_audience/networkHandler.js index 5bf29f63c5..83cde5028f 100644 --- a/src/v0/destinations/criteo_audience/networkHandler.js +++ b/src/v0/destinations/criteo_audience/networkHandler.js @@ -81,6 +81,7 @@ const responseHandler = (destinationResponse) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = responseHandler; diff --git a/src/v0/destinations/criteo_audience/util.js b/src/v0/destinations/criteo_audience/util.js index ab58560fb1..a7541f7911 100644 --- a/src/v0/destinations/criteo_audience/util.js +++ b/src/v0/destinations/criteo_audience/util.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { isDefinedAndNotNullAndNotEmpty } = require('../../util'); const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const { MAX_IDENTIFIERS } = require('./config'); @@ -14,7 +14,7 @@ const populateIdentifiers = (audienceList, audienceType) => { } identifiers.push(userTraits[audienceType]); }); - const identifierChunks = _.chunk(identifiers, MAX_IDENTIFIERS); + const identifierChunks = lodash.chunk(identifiers, MAX_IDENTIFIERS); return identifierChunks; }; diff --git a/src/v0/destinations/customerio/util.js b/src/v0/destinations/customerio/util.js index dec16b355e..735b6a73d9 100644 --- a/src/v0/destinations/customerio/util.js +++ b/src/v0/destinations/customerio/util.js @@ -102,7 +102,7 @@ const isdeviceRelatedEventName = (eventName, destination) => const identifyResponseBuilder = (userId, message) => { const rawPayload = {}; // if userId is not there simply drop the payload - const id = userId || getFieldValueFromMessage(message, "email"); + const id = userId || getFieldValueFromMessage(message, 'email'); if (!id) { throw new InstrumentationError('userId or email is not present'); } @@ -177,6 +177,7 @@ const aliasResponseBuilder = (message, userId) => { if (validateEmail(userId)) { cioProperty = 'email'; } + // eslint-disable-next-line @typescript-eslint/naming-convention let prev_cioProperty = 'id'; if (validateEmail(message.previousId)) { prev_cioProperty = 'email'; @@ -229,12 +230,11 @@ const defaultResponseBuilder = (message, evName, userId, evType, destination, me let requestConfig = defaultPostRequestConfig; // any other event type except identify const token = get(message, 'context.device.token'); - const id = userId || getFieldValueFromMessage(message, "email"); + const id = userId || getFieldValueFromMessage(message, 'email'); // use this if only top level keys are to be sent // DEVICE DELETE from CustomerIO const isDeviceDeleteEvent = deviceDeleteRelatedEventName === evName; if (isDeviceDeleteEvent) { - if (!id || !token) { throw new InstrumentationError('userId/email or device_token not present'); } @@ -253,7 +253,7 @@ const defaultResponseBuilder = (message, evName, userId, evType, destination, me last_used: Math.floor(new Date(timestamp).getTime() / 1000), }; const deviceType = get(message, 'context.device.type'); - if (deviceType && typeof deviceType === "string") { + if (deviceType && typeof deviceType === 'string') { // Ref - https://www.customer.io/docs/api/#operation/add_device // supported platform are "ios", "android" devProps.platform = isAppleFamily(deviceType) ? 'ios' : deviceType.toLowerCase(); @@ -306,9 +306,9 @@ const defaultResponseBuilder = (message, evName, userId, evType, destination, me return { rawPayload, endpoint, requestConfig }; }; -const validateConfigFields = destination => { +const validateConfigFields = (destination) => { const { Config } = destination; - configFieldsToCheck.forEach(configProperty => { + configFieldsToCheck.forEach((configProperty) => { if (!Config[configProperty]) { throw new ConfigurationError(`${configProperty} not found in Configs`); } @@ -323,5 +323,5 @@ module.exports = { defaultResponseBuilder, populateSpecedTraits, isdeviceRelatedEventName, - validateConfigFields + validateConfigFields, }; diff --git a/src/v0/destinations/fb/networkHandler.js b/src/v0/destinations/fb/networkHandler.js index b79b2ab493..06235fab40 100644 --- a/src/v0/destinations/fb/networkHandler.js +++ b/src/v0/destinations/fb/networkHandler.js @@ -11,6 +11,7 @@ const destResponseHandler = (destinationResponse) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.prepareProxyRequest = prepareProxyRequest; diff --git a/src/v0/destinations/fb/transform.js b/src/v0/destinations/fb/transform.js index a6a8b71e8d..756c74ba83 100644 --- a/src/v0/destinations/fb/transform.js +++ b/src/v0/destinations/fb/transform.js @@ -161,7 +161,7 @@ function sanityCheckPayloadForTypesAndModifications(updatedEvent) { return clonedUpdatedEvent; } -function getCorrectedTypedValue(pathToKey, value, originalPath) { +function getCorrectedTypedValue(pathToKey, value) { const type = eventPropToTypeMapping[pathToKey]; // TODO: we should remove this eslint rule or comeup with a better way // eslint-disable-next-line valid-typeof @@ -169,10 +169,12 @@ function getCorrectedTypedValue(pathToKey, value, originalPath) { return value; } + const mappingKey = Object.keys(eventPropsMapping).find( + (key) => eventPropsMapping[key] === pathToKey, + ); + throw new InstrumentationError( - `${ - typeof originalPath === 'object' ? JSON.stringify(originalPath) : originalPath - } is not of valid type`, + `Value of ${mappingKey} is not of valid type. It should be of type ${type}`, ); } @@ -221,7 +223,6 @@ function processEventTypeGeneric(message, baseEvent, fbEventName) { updatedEvent.custom_events[0][fbEventPath][length] = getCorrectedTypedValue( fbEventPath, intendValue, - parentArray[length], ); length += 1; count -= 1; @@ -233,7 +234,7 @@ function processEventTypeGeneric(message, baseEvent, fbEventName) { set( updatedEvent.custom_events[0], fbEventPath, - getCorrectedTypedValue(fbEventPath, intendValue, rudderEventPath), + getCorrectedTypedValue(fbEventPath, intendValue), ); } } else { diff --git a/src/v0/destinations/fb_custom_audience/transform.js b/src/v0/destinations/fb_custom_audience/transform.js index 64125ffc3b..f31a3dd42e 100644 --- a/src/v0/destinations/fb_custom_audience/transform.js +++ b/src/v0/destinations/fb_custom_audience/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const { defaultRequestConfig, @@ -62,7 +62,7 @@ const preparePayload = ( disableFormat, destinationId, ) => { - const prepareFinalPayload = _.cloneDeep(paramsPayload); + const prepareFinalPayload = lodash.cloneDeep(paramsPayload); if (Array.isArray(userSchema)) { prepareFinalPayload.schema = userSchema; } else { diff --git a/src/v0/destinations/fb_custom_audience/util.js b/src/v0/destinations/fb_custom_audience/util.js index 8ec15fe670..9e7198e393 100644 --- a/src/v0/destinations/fb_custom_audience/util.js +++ b/src/v0/destinations/fb_custom_audience/util.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const sha256 = require('sha256'); const get = require('get-value'); const jsonSize = require('json-size'); @@ -31,7 +31,7 @@ const batchingWithPayloadSize = (payload) => { const revisedPayloadArray = []; const noOfBatches = Math.ceil(payloadSize / maxPayloadSize); const revisedRecordsPerPayload = Math.floor(payload.data.length / noOfBatches); - const revisedDataArray = _.chunk(payload.data, revisedRecordsPerPayload); + const revisedDataArray = lodash.chunk(payload.data, revisedRecordsPerPayload); revisedDataArray.forEach((data) => { revisedPayloadArray.push({ ...payload, data }); }); diff --git a/src/v0/destinations/ga/networkHandler.js b/src/v0/destinations/ga/networkHandler.js index ac244fb4a7..a12f9594cd 100644 --- a/src/v0/destinations/ga/networkHandler.js +++ b/src/v0/destinations/ga/networkHandler.js @@ -1,4 +1,7 @@ -const { REFRESH_TOKEN } = require('../../../adapters/networkhandler/authConstants'); +const { + REFRESH_TOKEN, + AUTH_STATUS_INACTIVE, +} = require('../../../adapters/networkhandler/authConstants'); const { processAxiosResponse, getDynamicErrorType, @@ -29,6 +32,18 @@ const gaResponseHandler = (gaResponse) => { if (isInvalidCredsError || response?.error?.status === 'UNAUTHENTICATED') { throw new InvalidAuthTokenError('invalid credentials', 500, response, REFRESH_TOKEN); } + const isInvalidGrantError = + response?.error.code === 403 && + response.error?.errors?.some((errObj) => errObj.reason === 'insufficientPermissions'); + if (isInvalidGrantError) { + throw new InvalidAuthTokenError( + response?.error?.message || 'insufficent permissions', + 400, + response, + AUTH_STATUS_INACTIVE, + ); + } + throw new NetworkError( `Error occurred while completing deletion request: ${response.error?.message}`, status, diff --git a/src/v0/destinations/ga/transform.js b/src/v0/destinations/ga/transform.js index 0c2a0f8a49..c10697c4e1 100644 --- a/src/v0/destinations/ga/transform.js +++ b/src/v0/destinations/ga/transform.js @@ -443,7 +443,7 @@ function processRefundEvent(message, destination) { let { enhancedEcommerce } = destination.Config; enhancedEcommerce = enhancedEcommerce || false; - // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { products, order_id } = message.properties; if (products && products.length > 0) { const productParams = setProductLevelProperties( @@ -598,7 +598,7 @@ function processProductEvent(message, destination) { const customParamKeys = getCustomParamKeys(destination.Config); Object.assign(parameters, getProductLevelCustomParams(message.properties, 1, customParamKeys)); } - // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { sku, product_id } = message.properties; // eslint-disable-next-line camelcase const productId = product_id; diff --git a/src/v0/destinations/ga360/transform.js b/src/v0/destinations/ga360/transform.js index a9d4f6b210..c60ea47551 100644 --- a/src/v0/destinations/ga360/transform.js +++ b/src/v0/destinations/ga360/transform.js @@ -401,7 +401,7 @@ function processRefundEvent(message, destination) { let { enhancedEcommerce } = destination.Config; enhancedEcommerce = enhancedEcommerce || false; - // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { products, order_id } = message.properties; if (products && products.length > 0) { const productParams = setProductLevelProperties( @@ -545,7 +545,7 @@ function processProductEvent(message, destination) { const customParamKeys = getCustomParamKeys(destination.Config); Object.assign(parameters, getProductLevelCustomParams(message.properties, 1, customParamKeys)); } - // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { sku, product_id } = message.properties; // eslint-disable-next-line camelcase const productId = product_id; diff --git a/src/v0/destinations/ga4/transform.js b/src/v0/destinations/ga4/transform.js index dc89927085..d1d0790fa9 100644 --- a/src/v0/destinations/ga4/transform.js +++ b/src/v0/destinations/ga4/transform.js @@ -106,7 +106,7 @@ const responseBuilder = (message, { Config }) => { } break; default: - throw ConfigurationError('Invalid type of client'); + throw new ConfigurationError('Invalid type of client'); } let payload = {}; @@ -119,7 +119,7 @@ const responseBuilder = (message, { Config }) => { payload.name = evConfigEvent; payload.params = constructPayload(message, mappingConfig[name]); - const { items, mapRootLevelPropertiesToGA4ItemsArray } = getItemsArray(message, item, itemList) + const { items, mapRootLevelPropertiesToGA4ItemsArray } = getItemsArray(message, item, itemList); if (items.length > 0) { payload.params.items = items; @@ -233,7 +233,7 @@ const responseBuilder = (message, { Config }) => { } // Prepare GA4 user properties - const userProperties = prepareUserProperties(message); + const userProperties = prepareUserProperties(message, Config.piiPropertiesToIgnore); if (!isEmptyObject(userProperties)) { rawPayload.user_properties = userProperties; } diff --git a/src/v0/destinations/ga4/utils.js b/src/v0/destinations/ga4/utils.js index b86d14ef1b..d356300ff7 100644 --- a/src/v0/destinations/ga4/utils.js +++ b/src/v0/destinations/ga4/utils.js @@ -166,13 +166,15 @@ const GA4_ITEM_EXCLUSION = [ ]; /** - * Remove arrays and objects from transformed payload - * @param {*} params - * @returns + * Remove arrays and objects from transformed payload + * @param {*} params + * @returns */ const removeInvalidParams = (params) => Object.fromEntries( - Object.entries(params).filter(([key, value]) => key === 'items' || (typeof value !== 'object' && !isEmpty(value))), + Object.entries(params).filter( + ([key, value]) => key === 'items' || (typeof value !== 'object' && !isEmpty(value)), + ), ); /** @@ -244,10 +246,10 @@ const getItem = (message, isItemsRequired) => { /** * Returns items array for ga4 event payload - * @param {*} message - * @param {*} item - * @param {*} itemList - * @returns + * @param {*} message + * @param {*} item + * @param {*} itemList + * @returns */ const getItemsArray = (message, item, itemList) => { let items = []; @@ -269,7 +271,7 @@ const getItemsArray = (message, item, itemList) => { } return { items, mapRootLevelPropertiesToGA4ItemsArray }; -} +}; /** * get exclusion list for a particular event * ga4ExclusionList contains the sourceKeys that are already mapped @@ -398,21 +400,33 @@ const isValidUserProperty = (key, value) => { /** * Function to validate and prepare user_properties * @param {*} message + * @param {*} piiPropertiesToIgnore + * @returns */ -const prepareUserProperties = (message) => { +const prepareUserProperties = (message, piiPropertiesToIgnore = []) => { + // Exclude PII user traits + const piiProperties = []; + if (piiPropertiesToIgnore.length > 0) { + piiPropertiesToIgnore.forEach((property) => { + if (typeof property.piiProperty === 'string' && property.piiProperty.trim() !== '') { + piiProperties.push(property.piiProperty.trim()); + } + }); + } + const userProperties = extractCustomFields( message, {}, ['properties.user_properties', 'context.traits'], - GA4_RESERVED_USER_PROPERTY_EXCLUSION, + [...GA4_RESERVED_USER_PROPERTY_EXCLUSION, ...piiProperties], ); const validatedUserProperties = Object.entries(userProperties) .filter(([key, value]) => isValidUserProperty(key, value)) .reduce((acc, [key, value]) => { - const userProperties = acc; - userProperties[key] = { value }; - return userProperties; + const userPropertiesObj = acc; + userPropertiesObj[key] = { value }; + return userPropertiesObj; }, {}); return validatedUserProperties; diff --git a/src/v0/destinations/ga4/utils.test.js b/src/v0/destinations/ga4/utils.test.js index a39fef6f5e..7826c23d35 100644 --- a/src/v0/destinations/ga4/utils.test.js +++ b/src/v0/destinations/ga4/utils.test.js @@ -2,7 +2,7 @@ const { validateEventName, prepareUserProperties, removeInvalidParams } = requir const userPropertyData = [ { - description: "Should validate and prepare user_properties", + description: 'Should validate and prepare user_properties', input: { userId: 'user@1', group_id: 'group@1', @@ -163,6 +163,256 @@ describe('Google Analytics 4 utils test', () => { }); describe('prepareUserProperties function tests', () => { + // Empty message and context returns empty object + it('should return empty object when message and context are empty', () => { + // Arrange + const message = {}; + const context = {}; + + // Act + const result = prepareUserProperties(message, []); + + // Assert + expect(result).toEqual({}); + }); + + // Filters out reserved and PII properties + it('should filter out reserved and PII properties', () => { + // Arrange + const message = { + context: { + traits: { + property3: 'value3', + property4: 'value4', + pii_property3: 'pii_value3', + pii_property4: 'pii_value4', + }, + }, + properties: { + user_properties: { + property1: 'value1', + property2: 'value2', + pii_property1: 'pii_value1', + pii_property2: 'pii_value2', + }, + }, + }; + + const piiPropertiesToIgnore = [ + { piiProperty: 'pii_property1' }, + { piiProperty: 'pii_property2' }, + { piiProperty: 'pii_property3' }, + { piiProperty: 'pii_property4' }, + ]; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + property1: { value: 'value1' }, + property2: { value: 'value2' }, + property3: { value: 'value3' }, + property4: { value: 'value4' }, + }); + }); + + // Validates user properties and returns them in expected format + it('should validate user properties and return them in expected format', () => { + // Arrange + const message = { + context: { + traits: { + valid_property3: 'value3', + _invalid_property3: '12_invalid_value3', + valid_property4: 'value4', + invalid_property4: [], + }, + }, + properties: { + user_properties: { + valid_property1: 'value1', + '12invalid_property1': 'ga_invalid_value1', + valid_property2: 'value2', + ga_invalid_property2: 'google_invalid_value2', + }, + }, + }; + // Act + const result = prepareUserProperties(message, []); + + // Assert + expect(result).toEqual({ + valid_property1: { value: 'value1' }, + valid_property2: { value: 'value2' }, + valid_property3: { value: 'value3' }, + valid_property4: { value: 'value4' }, + }); + }); + + // Invalid user properties are filtered out + + // User properties with invalid value types are filtered out + it('should filter out user properties with invalid value types', () => { + // Arrange + const message = { + context: { + traits: { + valid_property3: 'value3', + invalid_property3: { 456: 'value3' }, + valid_property4: 'value4', + invalid_property4: '01234567890123456789012345678901234567890123456789', + }, + }, + properties: { + user_properties: { + valid_property1: 'value1', + invalid_property1: [123, 456], + valid_property2: 'value2', + }, + }, + }; + + // Act + const result = prepareUserProperties(message, []); + + // Assert + expect(result).toEqual({ + valid_property1: { value: 'value1' }, + valid_property2: { value: 'value2' }, + valid_property3: { value: 'value3' }, + valid_property4: { value: 'value4' }, + }); + }); + + // PII properties are filtered out + it('should filter out PII properties from user_properties', () => { + // Arrange + const message = { + properties: { + user_properties: { + property1: 'value1', + property2: 'value2', + pii_property1: 'pii_value1', + pii_property2: 'pii_value2', + }, + }, + }; + const piiPropertiesToIgnore = [ + { piiProperty: 'pii_property1' }, + { piiProperty: 'pii_property2' }, + ]; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + property1: { value: 'value1' }, + property2: { value: 'value2' }, + }); + }); + + // PII properties are undefined + it('should return undefined when user_properties is undefined', () => { + // Arrange + const message = { + properties: { + user_properties: { + property1: 'value1', + property2: 'value2', + pii_property1: 'pii_value1', + pii_property2: 'pii_value2', + }, + }, + }; + const piiPropertiesToIgnore = undefined; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + pii_property1: { value: 'pii_value1' }, + pii_property2: { value: 'pii_value2' }, + property1: { value: 'value1' }, + property2: { value: 'value2' }, + }); + }); + + // User properties with valid keys and values are returned in expected format + it('should return user properties with valid keys and values in expected format', () => { + // Arrange + const message = { + properties: { + user_properties: { + property1: 'value1', + property2: 'value2', + }, + }, + }; + + // Act + const result = prepareUserProperties(message, []); + + // Assert + expect(result).toEqual({ + property1: { value: 'value1' }, + property2: { value: 'value2' }, + }); + }); + + // User properties with valid keys but invalid values are filtered out + it('should filter out user properties with invalid values', () => { + // Arrange + const message = { + properties: { + user_properties: { + validKey1: 'validValue1', + validKey2: 'validValue2', + invalidKey1: '', + invalidKey2: + 'invalidValueThatIsTooLongInvalidValueThatIsTooLongInvalidValueThatIsTooLongInvalidValueThatIsTooLong', + validKey4: true, + }, + }, + }; + const piiPropertiesToIgnore = []; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + validKey1: { value: 'validValue1' }, + validKey2: { value: 'validValue2' }, + validKey4: { value: true }, + }); + }); + // User properties with keys starting with reserved prefixes are filtered out + it('should filter out user properties with keys starting with reserved prefixes', () => { + // Arrange + const message = { + properties: { + user_properties: { + google_property: 'value1', + ga_property: 'value2', + firebase_property: 'value3', + valid_property: 'value4', + }, + }, + }; + const piiPropertiesToIgnore = []; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + valid_property: { value: 'value4' }, + }); + }); + userPropertyData.forEach((dataPoint) => { it(`${dataPoint.description}`, () => { try { diff --git a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js index e79c568238..1f59eb9e40 100644 --- a/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js +++ b/src/v0/destinations/google_adwords_enhanced_conversions/networkHandler.js @@ -18,6 +18,8 @@ const { BASE_ENDPOINT } = require('./config'); const { NetworkError, NetworkInstrumentationError } = require('../../util/errorTypes'); const tags = require('../../util/tags'); +const ERROR_MSG_PATH = 'response[0].error.message'; + /** * This function is used for collecting the conversionActionId using the conversion name * @param {*} method @@ -49,8 +51,8 @@ const getConversionActionId = async (method, headers, params) => { if (!isHttpStatusSuccess(gaecConversionActionIdResponse.status)) { throw new NetworkError( `"${JSON.stringify( - get(gaecConversionActionIdResponse, 'response[0].error.message', '') - ? get(gaecConversionActionIdResponse, 'response[0].error.message', '') + get(gaecConversionActionIdResponse, ERROR_MSG_PATH, '') + ? get(gaecConversionActionIdResponse, ERROR_MSG_PATH, '') : gaecConversionActionIdResponse.response, )} during Google_adwords_enhanced_conversions response transformation"`, gaecConversionActionIdResponse.status, @@ -60,7 +62,7 @@ const getConversionActionId = async (method, headers, params) => { gaecConversionActionIdResponse.response, getAuthErrCategoryFromErrDetailsAndStCode( get(gaecConversionActionIdResponse, 'status'), - get(gaecConversionActionIdResponse, 'response[0].error.message'), + get(gaecConversionActionIdResponse, ERROR_MSG_PATH), ), ); } @@ -107,7 +109,23 @@ const responseHandler = (destinationResponse) => { const message = 'Request Processed Successfully'; const { status } = destinationResponse; if (isHttpStatusSuccess(status)) { - // Mostly any error will not have a status of 2xx + // for google ads enhance conversions the partialFailureError returns with status 200 + const { partialFailureError } = destinationResponse.response; + // non-zero code signifies partialFailure + // Ref - https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto + if (partialFailureError && partialFailureError.code !== 0) { + throw new NetworkError( + `[Google Ads Offline Conversions]:: partialFailureError - ${JSON.stringify( + partialFailureError, + )}`, + 400, + { + [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(400), + }, + partialFailureError, + ); + } + return { status, message, @@ -127,7 +145,8 @@ const responseHandler = (destinationResponse) => { getAuthErrCategoryFromErrDetailsAndStCode(status, response), ); }; -// eslint-disable-next-line func-names + +// eslint-disable-next-line func-names, @typescript-eslint/naming-convention class networkHandler { constructor() { this.proxy = ProxyRequest; @@ -136,4 +155,5 @@ class networkHandler { this.prepareProxy = prepareProxyRequest; } } + module.exports = { networkHandler }; diff --git a/src/v0/destinations/google_adwords_enhanced_conversions/transform.js b/src/v0/destinations/google_adwords_enhanced_conversions/transform.js index 24993a3006..898c3f95b0 100644 --- a/src/v0/destinations/google_adwords_enhanced_conversions/transform.js +++ b/src/v0/destinations/google_adwords_enhanced_conversions/transform.js @@ -11,10 +11,7 @@ const { getAccessToken, } = require('../../util'); -const { - InstrumentationError, - ConfigurationError, -} = require('../../util/errorTypes'); +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/transform.js b/src/v0/destinations/google_adwords_offline_conversions/transform.js index db87d2488e..93b4592c33 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/transform.js +++ b/src/v0/destinations/google_adwords_offline_conversions/transform.js @@ -139,6 +139,7 @@ const process = async (event) => { const getEventChunks = (event, storeSalesEvents, clickCallEvents) => { const { message, metadata, destination } = event; + // eslint-disable-next-line @typescript-eslint/no-shadow message.forEach((message) => { if (message.body.JSON?.isStoreConversion) { storeSalesEvents.push({ message, metadata, destination }); @@ -166,7 +167,7 @@ const batchEvents = (storeSalesEvents) => { if (index === 0) { return; } - batchEventResponse.batchedRequest?.body?.JSON['addConversionPayload']?.operations?.push( + batchEventResponse.batchedRequest?.body?.JSON.addConversionPayload?.operations?.push( storeSalesEvent.message?.body?.JSON?.addConversionPayload?.operations, ); batchEventResponse.metadatas.push(storeSalesEvent.metadata); diff --git a/src/v0/destinations/google_adwords_offline_conversions/utils.js b/src/v0/destinations/google_adwords_offline_conversions/utils.js index 37f17c9fd0..6bdedcc0d4 100644 --- a/src/v0/destinations/google_adwords_offline_conversions/utils.js +++ b/src/v0/destinations/google_adwords_offline_conversions/utils.js @@ -25,11 +25,7 @@ const { } = require('./config'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); const Cache = require('../../util/cache'); -const { - AbortedError, - ConfigurationError, - InstrumentationError, -} = require('../../util/errorTypes'); +const { AbortedError, ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const conversionActionIdCache = new Cache(CONVERSION_ACTION_ID_CACHE_TTL); diff --git a/src/v0/destinations/google_cloud_function/transform.js b/src/v0/destinations/google_cloud_function/transform.js index e74d539e3f..b218615b44 100644 --- a/src/v0/destinations/google_cloud_function/transform.js +++ b/src/v0/destinations/google_cloud_function/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { getSuccessRespEvents, checkInvalidRtTfEvents, @@ -22,7 +22,7 @@ function batchEvents(successRespList, maxBatchSize = 10) { const batchedResponseList = []; // arrayChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const arrayChunks = _.chunk(successRespList, maxBatchSize); + const arrayChunks = lodash.chunk(successRespList, maxBatchSize); arrayChunks.forEach((chunk) => { const batchEventResponse = generateBatchedPayload(chunk); batchedResponseList.push( diff --git a/src/v0/destinations/hs/HSTransform-v1.js b/src/v0/destinations/hs/HSTransform-v1.js index 13eeabbc45..387ecbf63f 100644 --- a/src/v0/destinations/hs/HSTransform-v1.js +++ b/src/v0/destinations/hs/HSTransform-v1.js @@ -1,5 +1,5 @@ const get = require('get-value'); -const _ = require('lodash'); +const lodash = require('lodash'); const { MappedToDestinationKey, GENERIC_TRUE_VALUES } = require('../../../constants'); const { defaultGetRequestConfig, @@ -286,9 +286,9 @@ const legacyBatchEvents = (destEvents) => { eventsChunk.push(event); } }); - const arrayChunksIdentifyCreateObjects = _.chunk(createAllObjectsEventChunk, maxBatchSize); + const arrayChunksIdentifyCreateObjects = lodash.chunk(createAllObjectsEventChunk, maxBatchSize); - const arrayChunksIdentifyUpdateObjects = _.chunk(updateAllObjectsEventChunk, maxBatchSize); + const arrayChunksIdentifyUpdateObjects = lodash.chunk(updateAllObjectsEventChunk, maxBatchSize); // batching up 'create' all objects endpoint chunks if (arrayChunksIdentifyCreateObjects.length > 0) { batchedResponseList = batchIdentifyForrETL( @@ -308,7 +308,7 @@ const legacyBatchEvents = (destEvents) => { } // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const arrayChunksIdentify = _.chunk(eventsChunk, MAX_BATCH_SIZE); + const arrayChunksIdentify = lodash.chunk(eventsChunk, MAX_BATCH_SIZE); // list of chunks [ [..], [..] ] arrayChunksIdentify.forEach((chunk) => { diff --git a/src/v0/destinations/hs/HSTransform-v2.js b/src/v0/destinations/hs/HSTransform-v2.js index 8cea4611e5..75696b4e96 100644 --- a/src/v0/destinations/hs/HSTransform-v2.js +++ b/src/v0/destinations/hs/HSTransform-v2.js @@ -1,5 +1,5 @@ const get = require('get-value'); -const _ = require('lodash'); +const lodash = require('lodash'); const { MappedToDestinationKey, GENERIC_TRUE_VALUES } = require('../../../constants'); const { defaultPostRequestConfig, @@ -417,23 +417,23 @@ const batchEvents = (destEvents) => { } }); - const arrayChunksIdentifyCreateObjects = _.chunk(createAllObjectsEventChunk, maxBatchSize); + const arrayChunksIdentifyCreateObjects = lodash.chunk(createAllObjectsEventChunk, maxBatchSize); - const arrayChunksIdentifyUpdateObjects = _.chunk(updateAllObjectsEventChunk, maxBatchSize); + const arrayChunksIdentifyUpdateObjects = lodash.chunk(updateAllObjectsEventChunk, maxBatchSize); // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] // CRM create contact endpoint chunks - const arrayChunksIdentifyCreateContact = _.chunk( + const arrayChunksIdentifyCreateContact = lodash.chunk( createContactEventsChunk, MAX_BATCH_SIZE_CRM_CONTACT, ); // CRM update contact endpoint chunks - const arrayChunksIdentifyUpdateContact = _.chunk( + const arrayChunksIdentifyUpdateContact = lodash.chunk( updateContactEventsChunk, MAX_BATCH_SIZE_CRM_CONTACT, ); - const arrayChunksIdentifyCreateAssociations = _.chunk( + const arrayChunksIdentifyCreateAssociations = lodash.chunk( associationObjectsEventChunk, MAX_BATCH_SIZE_CRM_OBJECT, ); diff --git a/src/v0/destinations/hs/util.js b/src/v0/destinations/hs/util.js index 11f7a892d5..ca92ed13cd 100644 --- a/src/v0/destinations/hs/util.js +++ b/src/v0/destinations/hs/util.js @@ -407,6 +407,9 @@ const getEventAndPropertiesFromConfig = (message, destination, payload) => { if (!event) { throw new InstrumentationError('event name is required for track call'); } + if (!hubspotEvents) { + throw new InstrumentationError('Event and property mappings are required for track call'); + } event = event.trim().toLowerCase(); let eventName; let eventProperties; diff --git a/src/v0/destinations/intercom/networkHandler.js b/src/v0/destinations/intercom/networkHandler.js index 4133fbe4dc..33f78e8cf6 100644 --- a/src/v0/destinations/intercom/networkHandler.js +++ b/src/v0/destinations/intercom/networkHandler.js @@ -23,6 +23,7 @@ const destResponseHandler = (destinationResponse, dest) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = destResponseHandler; diff --git a/src/v0/destinations/intercom/transform.js b/src/v0/destinations/intercom/transform.js index aa088ee5db..552c80527c 100644 --- a/src/v0/destinations/intercom/transform.js +++ b/src/v0/destinations/intercom/transform.js @@ -94,16 +94,17 @@ function validateTrack(payload) { } const checkIfEmailOrUserIdPresent = (message, Config) => { - let user_id = message.userId; - if (Config.sendAnonymousId && !user_id) { - user_id = message.anonymousId; + const { context, anonymousId } = message; + let { userId } = message; + if (Config.sendAnonymousId && !userId) { + userId = anonymousId; } - return !!(user_id || message.context?.traits?.email); + return !!(userId || context.traits?.email); }; function attachUserAndCompany(message, Config) { const email = message.context?.traits?.email; - const { userId, anonymousId } = message; + const { userId, anonymousId, traits, groupId } = message; const requestBody = {}; if (userId) { requestBody.user_id = userId; @@ -115,10 +116,10 @@ function attachUserAndCompany(message, Config) { requestBody.email = email; } const companyObj = { - company_id: message.groupId, + company_id: groupId, }; - if (message.traits?.name) { - companyObj.name = message.traits.name; + if (traits?.name) { + companyObj.name = traits.name; } requestBody.companies = [companyObj]; const response = defaultRequestConfig(); diff --git a/src/v0/destinations/iterable/deleteUsers.js b/src/v0/destinations/iterable/deleteUsers.js new file mode 100644 index 0000000000..834cccd4cb --- /dev/null +++ b/src/v0/destinations/iterable/deleteUsers.js @@ -0,0 +1,80 @@ +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'); + +// Ref-> https://developers.intercom.com/intercom-api-reference/v1.3/reference/permanently-delete-a-user +const userDeletionHandler = async (userAttributes, config) => { + if (!config) { + throw new ConfigurationError('Config for deletion not present'); + } + const { apiKey } = config; + if (!apiKey) { + throw new ConfigurationError('api key for deletion not present'); + } + const validUserIds = []; + userAttributes.forEach((userAttribute) => { + // Dropping the user if userId is not present + if (userAttribute.userId) { + validUserIds.push(userAttribute.userId); + } + }); + const failedUserDeletions = []; + await Promise.all( + validUserIds.map(async (uId) => { + const url = `https://api.iterable.com/api/users/byUserId/${uId}`; + const requestOptions = { + headers: { + 'Content-Type': JSON_MIME_TYPE, + api_key: apiKey, + }, + }; + const resp = await httpDELETE(url, requestOptions, { + destType: 'iterable', + feature: 'deleteUsers', + }); + const handledDelResponse = processAxiosResponse(resp); + if (!isHttpStatusSuccess(handledDelResponse.status) && handledDelResponse.status !== 404) { + if (handledDelResponse.status !== 400) { + // Generic errors such as invalid api key + throw new NetworkError( + `User deletion request failed : ${handledDelResponse.response.msg}`, + handledDelResponse.status, + { + [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(handledDelResponse.status), + }, + handledDelResponse, + ); + } else { + // Specific errors such as user is not found + failedUserDeletions.push({ userId: uId, Reason: handledDelResponse.response.msg }); + } + } + }), + ); + + if (failedUserDeletions.length > 0) { + throw new NetworkError( + `User deletion request failed for userIds : ${JSON.stringify(failedUserDeletions)}`, + 400, + { + [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(400), + }, + failedUserDeletions, + ); + } + + return { statusCode: 200, status: 'successful' }; +}; +const processDeleteUsers = async (event) => { + const { userAttributes, config } = event; + executeCommonValidations(userAttributes); + const resp = await userDeletionHandler(userAttributes, config); + return resp; +}; + +module.exports = { processDeleteUsers }; diff --git a/src/v0/destinations/iterable/transform.js b/src/v0/destinations/iterable/transform.js index 907030db9f..c54b579a52 100644 --- a/src/v0/destinations/iterable/transform.js +++ b/src/v0/destinations/iterable/transform.js @@ -1,7 +1,6 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const { - batchEvents, getCatalogEndpoint, hasMultipleResponses, pageEventPayloadBuilder, @@ -23,6 +22,7 @@ const { handleRtTfSingleEventError, removeUndefinedAndNullValues, getDestinationExternalIDInfoForRetl, + groupEventsByType: batchEvents, } = require('../../util'); const { JSON_MIME_TYPE } = require('../../util/constant'); const { mappingConfig, ConfigCategory } = require('./config'); @@ -213,10 +213,10 @@ const processRouterDest = async (inputs, reqMetadata) => { * ] */ - const responses = process(event); - const transformedPayloads = Array.isArray(responses) ? responses : [responses]; - return transformedPayloads.map((response) => ({ - message: response, + const responsesFn = process(event); + const transformedPayloadsArr = Array.isArray(responsesFn) ? responsesFn : [responsesFn]; + return transformedPayloadsArr.map((res) => ({ + message: res, metadata: event.metadata, destination: event.destination, })); @@ -230,13 +230,13 @@ const processRouterDest = async (inputs, reqMetadata) => { * Before flat map : transformedPayloads = [{e1}, {e2}, [{e3}, {e4}, {e5}], {e6}] * After flat map : transformedPayloads = [{e1}, {e2}, {e3}, {e4}, {e5}, {e6}] */ - transformedPayloads = _.flatMap(transformedPayloads); + transformedPayloads = lodash.flatMap(transformedPayloads); return filterEventsAndPrepareBatchRequests(transformedPayloads); }), ); // Flatten the response array containing batched events from multiple groups - const allBatchedEvents = _.flatMap(response); + const allBatchedEvents = lodash.flatMap(response); return allBatchedEvents; }; diff --git a/src/v0/destinations/iterable/util.js b/src/v0/destinations/iterable/util.js index abff7f2838..0b7e402f01 100644 --- a/src/v0/destinations/iterable/util.js +++ b/src/v0/destinations/iterable/util.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const jsonSize = require('json-size'); const { @@ -22,6 +22,8 @@ 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'; + /** * Returns preferUserId param * @param {*} config @@ -168,7 +170,8 @@ const pageOrScreenEventPayloadBuilder = (message, destination, category) => { let rawPayload = {}; const eventType = message.type.toLowerCase(); - const { trackAllPages, trackCategorisedPages, trackNamedPages } = destination.Config; + const { trackAllPages, trackCategorisedPages, trackNamedPages, mapToSingleEvent } = + destination.Config; if (trackAllPages) { rawPayload = constructPayload(message, mappingConfig[category.name]); } else if (trackCategorisedPages && (message.properties?.category || message.category)) { @@ -185,7 +188,7 @@ const pageOrScreenEventPayloadBuilder = (message, destination, category) => { rawPayload.campaignId = rawPayload.campaignId ? parseInt(rawPayload.campaignId, 10) : undefined; rawPayload.templateId = rawPayload.templateId ? parseInt(rawPayload.templateId, 10) : undefined; rawPayload.eventName = - destination.Config.mapToSingleEvent === true + mapToSingleEvent === true ? `Loaded a ${eventType.charAt(0).toUpperCase()}${eventType.slice(1)}` : `${rawPayload.eventName} ${eventType}`; @@ -368,7 +371,7 @@ const prepareAndSplitUpdateUserBatchesBasedOnPayloadSize = ( let nonBatchedRequests = []; chunk.forEach((event) => { - size += jsonSize(get(event, 'message.body.JSON')); + size += jsonSize(get(event, `${MESSAGE_JSON_PATH}`)); if (size > IDENTIFY_MAX_BODY_SIZE_IN_BYTES) { batches.push({ users: usersChunk, @@ -380,7 +383,7 @@ const prepareAndSplitUpdateUserBatchesBasedOnPayloadSize = ( usersChunk = []; metadataChunk = []; nonBatchedRequests = []; - size = jsonSize(get(event, 'message.body.JSON')); + size = jsonSize(get(event, `${MESSAGE_JSON_PATH}`)); } if (registerDeviceOrBrowserTokenEvents[event.metadata.jobId]) { @@ -389,7 +392,7 @@ const prepareAndSplitUpdateUserBatchesBasedOnPayloadSize = ( } metadataChunk.push(event.metadata); - usersChunk.push(get(event, 'message.body.JSON')); + usersChunk.push(get(event, `${MESSAGE_JSON_PATH}`)); }); if (usersChunk.length > 0) { @@ -467,7 +470,7 @@ const processUpdateUserBatch = (chunk, registerDeviceOrBrowserTokenEvents) => { const batchUpdateUserEvents = (updateUserEvents, registerDeviceOrBrowserTokenEvents) => { // Batching update user events // arrayChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const updateUserEventsChunks = _.chunk(updateUserEvents, IDENTIFY_MAX_BATCH_SIZE); + const updateUserEventsChunks = lodash.chunk(updateUserEvents, IDENTIFY_MAX_BATCH_SIZE); return updateUserEventsChunks.reduce((batchedResponseList, chunk) => { const batchedResponse = processUpdateUserBatch(chunk, registerDeviceOrBrowserTokenEvents); return batchedResponseList.concat(batchedResponse); @@ -532,7 +535,7 @@ const processCatalogBatch = (chunk) => { const batchCatalogEvents = (catalogEvents) => { // Batching catalog events // arrayChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const catalogEventsChunks = _.chunk(catalogEvents, IDENTIFY_MAX_BATCH_SIZE); + const catalogEventsChunks = lodash.chunk(catalogEvents, IDENTIFY_MAX_BATCH_SIZE); return catalogEventsChunks.reduce((batchedResponseList, chunk) => { const batchedResponse = processCatalogBatch(chunk); return batchedResponseList.concat(batchedResponse); @@ -553,7 +556,7 @@ const processTrackBatch = (chunk) => { chunk.forEach((event) => { metadata.push(event.metadata); - events.push(get(event, 'message.body.JSON')); + events.push(get(event, `${MESSAGE_JSON_PATH}`)); }); const batchEventResponse = defaultBatchRequestConfig(); @@ -579,7 +582,7 @@ const processTrackBatch = (chunk) => { const batchTrackEvents = (trackEvents) => { // Batching track events // arrayChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const trackEventsChunks = _.chunk(trackEvents, TRACK_MAX_BATCH_SIZE); + const trackEventsChunks = lodash.chunk(trackEvents, TRACK_MAX_BATCH_SIZE); return trackEventsChunks.reduce((batchedResponseList, chunk) => { const batchedResponse = processTrackBatch(chunk); return batchedResponseList.concat(batchedResponse); @@ -649,9 +652,9 @@ const mapRegisterDeviceOrBrowserTokenEventsWithJobId = (events) => { * @returns */ const categorizeEvent = (event) => { - const { message, metadata, destination } = event; + const { message, metadata, destination, error } = event; - if (event?.error) { + if (error) { return { type: 'error', data: event }; } @@ -736,41 +739,7 @@ const filterEventsAndPrepareBatchRequests = (transformedEvents) => { return prepareBatchRequests(filteredEvents); }; -/** - * Groups events with the same message type together in batches. - * Each batch contains events that have the same message type and are from different users. - * - * @param {Array} inputs - An array of events - * @returns {Array} - An array of batches - */ -const batchEvents = (inputs) => { - const batches = []; - let currentInputsArray = inputs; - while (currentInputsArray.length > 0) { - const remainingInputsArray = []; - const userOrderTracker = {}; - const event = currentInputsArray.shift(); - const messageType = event.message.type; - const batch = [event]; - currentInputsArray.forEach((currentInput) => { - const currentMessageType = currentInput.message.type; - const currentUser = currentInput.metadata.userId; - if (currentMessageType === messageType && !userOrderTracker[currentUser]) { - batch.push(currentInput); - } else { - remainingInputsArray.push(currentInput); - userOrderTracker[currentUser] = true; - } - }); - batches.push(batch); - currentInputsArray = remainingInputsArray; - } - - return batches; -}; - module.exports = { - batchEvents, getCatalogEndpoint, hasMultipleResponses, pageEventPayloadBuilder, diff --git a/src/v0/destinations/iterable/util.test.js b/src/v0/destinations/iterable/util.test.js index e7a1ea5862..098960ac77 100644 --- a/src/v0/destinations/iterable/util.test.js +++ b/src/v0/destinations/iterable/util.test.js @@ -1,5 +1,4 @@ const { - batchEvents, pageEventPayloadBuilder, trackEventPayloadBuilder, screenEventPayloadBuilder, @@ -108,103 +107,6 @@ const getTestEcommMessage = () => { return message; }; -const orderEventsFuncData = [ - { - inputs: [ - { message: { type: 'identify' }, metadata: { userId: '1' } }, - { message: { type: 'track' }, metadata: { userId: '1' } }, - { message: { type: 'identify' }, metadata: { userId: '2' } }, - { message: { type: 'track' }, metadata: { userId: '2' } }, - { message: { type: 'track' }, metadata: { userId: '2' } }, - { message: { type: 'identify' }, metadata: { userId: '3' } }, - { message: { type: 'track' }, metadata: { userId: '3' } }, - { message: { type: 'identify' }, metadata: { userId: '4' } }, - { message: { type: 'track' }, metadata: { userId: '4' } }, - { message: { type: 'identify' }, metadata: { userId: '5' } }, - { message: { type: 'track' }, metadata: { userId: '5' } }, - { message: { type: 'identify' }, metadata: { userId: '5' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - ], - output: [ - [ - { message: { type: 'identify' }, metadata: { userId: '1' } }, - { message: { type: 'identify' }, metadata: { userId: '2' } }, - { message: { type: 'identify' }, metadata: { userId: '3' } }, - { message: { type: 'identify' }, metadata: { userId: '4' } }, - { message: { type: 'identify' }, metadata: { userId: '5' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - ], - [ - { message: { type: 'track' }, metadata: { userId: '1' } }, - { message: { type: 'track' }, metadata: { userId: '2' } }, - { message: { type: 'track' }, metadata: { userId: '2' } }, - { message: { type: 'track' }, metadata: { userId: '3' } }, - { message: { type: 'track' }, metadata: { userId: '4' } }, - { message: { type: 'track' }, metadata: { userId: '5' } }, - ], - [ - { message: { type: 'identify' }, metadata: { userId: '5' } }, - ] - ] - }, - { - inputs: [ - { message: { type: 'track' }, metadata: { userId: '3' } }, - { message: { type: 'identify' }, metadata: { userId: '3' } }, - { message: { type: 'identify' }, metadata: { userId: '1' } }, - { message: { type: 'track' }, metadata: { userId: '1' } }, - { message: { type: 'identify' }, metadata: { userId: '5' } }, - { message: { type: 'track' }, metadata: { userId: '5' } }, - { message: { type: 'identify' }, metadata: { userId: '5' } }, - { message: { type: 'identify' }, metadata: { userId: '2' } }, - { message: { type: 'track' }, metadata: { userId: '2' } }, - { message: { type: 'track' }, metadata: { userId: '2' } }, - { message: { type: 'track' }, metadata: { userId: '4' } }, - { message: { type: 'identify' }, metadata: { userId: '4' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - ], - output: [ - [ - { message: { type: 'track' }, metadata: { userId: '3' } }, - { message: { type: 'track' }, metadata: { userId: '4' } }, - ], - [ - { message: { type: 'identify' }, metadata: { userId: '3' } }, - { message: { type: 'identify' }, metadata: { userId: '1' } }, - { message: { type: 'identify' }, metadata: { userId: '5' } }, - { message: { type: 'identify' }, metadata: { userId: '2' } }, - { message: { type: 'identify' }, metadata: { userId: '4' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - { message: { type: 'identify' }, metadata: { userId: '6' } }, - ], - [ - { message: { type: 'track' }, metadata: { userId: '1' } }, - { message: { type: 'track' }, metadata: { userId: '5' } }, - { message: { type: 'track' }, metadata: { userId: '2' } }, - { message: { type: 'track' }, metadata: { userId: '2' } }, - ], - [ - { message: { type: 'identify' }, metadata: { userId: '5' } }, - ] - ] - } -] - -describe('Order Event Tests', () => { - it('Order Event func tests', () => { - orderEventsFuncData.forEach((data) => { - expect(batchEvents(data.inputs)).toEqual(data.output); - }) - }); -}); - describe('iterable utils test', () => { describe('Unit test cases for iterable registerDeviceTokenEventPayloadBuilder', () => { it('for no device type', async () => { diff --git a/src/v0/destinations/klaviyo/transform.js b/src/v0/destinations/klaviyo/transform.js index bb19c5f8fd..86d5880e4c 100644 --- a/src/v0/destinations/klaviyo/transform.js +++ b/src/v0/destinations/klaviyo/transform.js @@ -53,7 +53,7 @@ const { JSON_MIME_TYPE } = require('../../util/constant'); */ const identifyRequestHandler = async (message, category, destination) => { // If listId property is present try to subscribe/member user in list - const { privateApiKey, enforceEmailAsPrimary, flattenProperties } = destination.Config; + const { privateApiKey, enforceEmailAsPrimary, listId, flattenProperties } = destination.Config; const mappedToDestination = get(message, MappedToDestinationKey); if (mappedToDestination) { addExternalIdToTraits(message); @@ -111,10 +111,7 @@ const identifyRequestHandler = async (message, category, destination) => { const responseArray = [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 || destination.Config?.listId) - ) { + if (traitsInfo?.properties?.subscribe && (traitsInfo.properties?.listId || listId)) { responseArray.push(subscribeUserToList(message, traitsInfo, destination)); return responseArray; } diff --git a/src/v0/destinations/klaviyo/util.js b/src/v0/destinations/klaviyo/util.js index 3c4882b834..21a492739b 100644 --- a/src/v0/destinations/klaviyo/util.js +++ b/src/v0/destinations/klaviyo/util.js @@ -1,5 +1,5 @@ const { defaultRequestConfig } = require('rudder-transformer-cdk/build/utils'); -const _ = require('lodash'); +const lodash = require('lodash'); const { WhiteListedTraits } = require('../../../constants'); const { @@ -21,6 +21,8 @@ const tags = require('../../util/tags'); const { handleHttpRequest } = require('../../../adapters/network'); const { client: errNotificationClient } = require('../../../util/errorNotifier'); +const REVISION_CONSTANT = '2023-02-22'; + /** * This function calls the create user endpoint ref: https://developers.klaviyo.com/en/reference/create_profile * If the user doesn't exist, it creates a profile for the user and return 201 status code and the response which contains all the profile data @@ -88,7 +90,7 @@ const profileUpdateResponseBuilder = (payload, profileId, category, privateApiKe Authorization: `Klaviyo-API-Key ${privateApiKey}`, 'Content-Type': JSON_MIME_TYPE, Accept: JSON_MIME_TYPE, - revision: '2023-02-22', + revision: REVISION_CONSTANT, }; identifyResponse.body.JSON = removeUndefinedAndNullValues(payload); return identifyResponse; @@ -148,7 +150,7 @@ const subscribeUserToList = (message, traitsInfo, destination) => { Authorization: `Klaviyo-API-Key ${privateApiKey}`, 'Content-Type': JSON_MIME_TYPE, Accept: JSON_MIME_TYPE, - revision: '2023-02-22', + revision: REVISION_CONSTANT, }; response.body.JSON = removeUndefinedAndNullValues(payload); @@ -220,7 +222,7 @@ const generateBatchedPaylaodForArray = (events) => { Authorization: `Klaviyo-API-Key ${destination.Config.privateApiKey}`, 'Content-Type': JSON_MIME_TYPE, Accept: JSON_MIME_TYPE, - revision: '2023-02-22', + revision: REVISION_CONSTANT, }; batchEventResponse = { @@ -237,7 +239,7 @@ const generateBatchedPaylaodForArray = (events) => { * @returns */ const groupSubsribeResponsesUsingListId = (subscribeResponseList) => { - const subscribeEventGroups = _.groupBy( + const subscribeEventGroups = lodash.groupBy( subscribeResponseList, (event) => event.message.body.JSON.data.attributes.list_id, ); @@ -248,7 +250,7 @@ const getBatchedResponseList = (subscribeEventGroups, identifyResponseList) => { let batchedResponseList = []; Object.keys(subscribeEventGroups).forEach((listId) => { // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const eventChunks = _.chunk(subscribeEventGroups[listId], MAX_BATCH_SIZE); + const eventChunks = lodash.chunk(subscribeEventGroups[listId], MAX_BATCH_SIZE); const batchedResponse = eventChunks.map((chunk) => { const batchEventResponse = generateBatchedPaylaodForArray(chunk); return getSuccessRespEvents( diff --git a/src/v0/destinations/kustomer/util.js b/src/v0/destinations/kustomer/util.js index dd89f8ed5d..31157b2738 100644 --- a/src/v0/destinations/kustomer/util.js +++ b/src/v0/destinations/kustomer/util.js @@ -1,5 +1,5 @@ /* eslint-disable eqeqeq */ -const _ = require('lodash'); +const lodash = require('lodash'); const set = require('set-value'); const get = require('get-value'); const myAxios = require('../../../util/myAxios'); @@ -26,7 +26,7 @@ const ISO_8601 = /^\d{4}(-\d\d(-\d\d(t\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)| const transformNumberField = (fieldName) => { const typeDelim = ''; const transformedFieldName = fieldName.trim().replace(/\s+/g, '-'); - if (_.endsWith(transformedFieldName, 'Num')) { + if (lodash.endsWith(transformedFieldName, 'Num')) { return transformedFieldName; } return `${transformedFieldName}${typeDelim}Num`; @@ -35,7 +35,7 @@ const transformNumberField = (fieldName) => { const transformDateField = (fieldName) => { const typeDelim = ''; const transformedFieldName = fieldName.trim().replace(/\s+/g, '-'); - if (_.endsWith(transformedFieldName, 'At')) { + if (lodash.endsWith(transformedFieldName, 'At')) { return transformedFieldName; } return `${transformedFieldName}${typeDelim}At`; @@ -62,7 +62,7 @@ const transformField = (fieldName) => { }; const handleAdvancedtransformations = (event) => { - let cloneEvent = _.cloneDeep(event); + let cloneEvent = lodash.cloneDeep(event); const transformedMeta = {}; let eventName = get(cloneEvent, 'name'); const { meta } = cloneEvent; diff --git a/src/v0/destinations/mailchimp/transform.js b/src/v0/destinations/mailchimp/transform.js index 3ceb669da1..70b37200f4 100644 --- a/src/v0/destinations/mailchimp/transform.js +++ b/src/v0/destinations/mailchimp/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { defaultPutRequestConfig, handleRtTfSingleEventError, @@ -130,10 +130,10 @@ const batchEvents = (successRespList) => { // audienceId1: [...events] // audienceId2: [...events] // } - const audienceEventGroups = _.groupBy(successRespList, (event) => event.message.audienceId); + const audienceEventGroups = lodash.groupBy(successRespList, (event) => event.message.audienceId); Object.keys(audienceEventGroups).forEach((audienceId) => { // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] - const eventChunks = _.chunk(audienceEventGroups[audienceId], MAX_BATCH_SIZE); + const eventChunks = lodash.chunk(audienceEventGroups[audienceId], MAX_BATCH_SIZE); eventChunks.forEach((chunk) => { const batchEventResponse = generateBatchedPaylaodForArray(audienceId, chunk); batchedResponseList.push( diff --git a/src/v0/destinations/mailjet/transform.js b/src/v0/destinations/mailjet/transform.js index fa87b3ed2a..3e3cfe5c81 100644 --- a/src/v0/destinations/mailjet/transform.js +++ b/src/v0/destinations/mailjet/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { getErrorRespEvents, getSuccessRespEvents, @@ -98,12 +98,12 @@ const batchEvents = (successRespList) => { "listId2&&Action2": [{message : {}, metadata : {}, destination: {}}], "listId2&&Action1": [{message : {}, metadata : {}, destination: {}}] */ - const eventGroups = _.groupBy(successRespList, (event) => { + const eventGroups = lodash.groupBy(successRespList, (event) => { const { listId, action } = event.message; return `${listId}&&${action}`; }); Object.keys(eventGroups).forEach((combination) => { - const eventChunks = _.chunk(eventGroups[combination], MAX_BATCH_SIZE); + const eventChunks = lodash.chunk(eventGroups[combination], MAX_BATCH_SIZE); // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] eventChunks.forEach((chunk) => { const batchEventResponse = generateBatchedPaylaodForArray(chunk, combination); diff --git a/src/v0/destinations/mailmodo/transform.js b/src/v0/destinations/mailmodo/transform.js index 4f1a3d7e8c..39783c864f 100644 --- a/src/v0/destinations/mailmodo/transform.js +++ b/src/v0/destinations/mailmodo/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const get = require('get-value'); const { isEmpty } = require('lodash'); const { EventType } = require('../../../constants'); @@ -112,7 +112,7 @@ const process = (event) => processEvent(event.message, event.destination); function batchEvents(eventsChunk) { const batchedResponseList = []; - const arrayChunks = _.chunk(eventsChunk, IDENTIFY_MAX_BATCH_SIZE); + const arrayChunks = lodash.chunk(eventsChunk, IDENTIFY_MAX_BATCH_SIZE); // list of chunks [ [..], [..] ] arrayChunks.forEach((chunk) => { diff --git a/src/v0/destinations/marketo/networkHandler.js b/src/v0/destinations/marketo/networkHandler.js index c25a7a246c..7abcc65c02 100644 --- a/src/v0/destinations/marketo/networkHandler.js +++ b/src/v0/destinations/marketo/networkHandler.js @@ -3,7 +3,6 @@ const { marketoResponseHandler } = require('./util'); const { proxyRequest, prepareProxyRequest } = require('../../../adapters/network'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); -// eslint-disable-next-line no-unused-vars const responseHandler = (destinationResponse, destType) => { const message = 'Request Processed Successfully'; const { status, rudderJobMetadata } = destinationResponse; diff --git a/src/v0/destinations/marketo_bulk_upload/util.js b/src/v0/destinations/marketo_bulk_upload/util.js index 0b4eb1e48a..a60f57e50b 100644 --- a/src/v0/destinations/marketo_bulk_upload/util.js +++ b/src/v0/destinations/marketo_bulk_upload/util.js @@ -410,8 +410,9 @@ const getFieldSchemaMap = async (accessToken, munchkinId) => { const checkEventStatusViaSchemaMatching = (event, fieldMap) => { const mismatchedFields = {}; const events = event.input; - events.forEach((event) => { - const { message, metadata } = event; + events.forEach((ev) => { + const { message, metadata } = ev; + // eslint-disable-next-line @typescript-eslint/naming-convention const { job_id } = metadata; Object.entries(message).forEach(([paramName, paramValue]) => { diff --git a/src/v0/destinations/marketo_static_list/networkHandler.js b/src/v0/destinations/marketo_static_list/networkHandler.js index 5a783086b8..30b053b9d3 100644 --- a/src/v0/destinations/marketo_static_list/networkHandler.js +++ b/src/v0/destinations/marketo_static_list/networkHandler.js @@ -4,7 +4,6 @@ const v0Utils = require('../../util'); const { processAxiosResponse } = require('../../../adapters/utils/networkUtils'); const { DESTINATION } = require('./config'); -// eslint-disable-next-line no-unused-vars const responseHandler = (destinationResponse, destType) => { const message = 'Request Processed Successfully'; const { status, rudderJobMetadata } = destinationResponse; @@ -25,6 +24,7 @@ const responseHandler = (destinationResponse, destType) => { }; }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = responseHandler; diff --git a/src/v0/destinations/marketo_static_list/transform.js b/src/v0/destinations/marketo_static_list/transform.js index 7175b5241f..156e26270b 100644 --- a/src/v0/destinations/marketo_static_list/transform.js +++ b/src/v0/destinations/marketo_static_list/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const cloneDeep = require('lodash/cloneDeep'); const { defaultPostRequestConfig, @@ -50,7 +50,7 @@ const batchResponseBuilder = (message, Config, token, leadIds, operation) => { throw new InstrumentationError('No static listId is provided'); } const response = []; - const leadIdsChunks = _.chunk(leadIds, MAX_LEAD_IDS_SIZE); + const leadIdsChunks = lodash.chunk(leadIds, MAX_LEAD_IDS_SIZE); leadIdsChunks.forEach((ids) => { response.push(responseBuilder(endpoint, ids, operation, token)); }); diff --git a/src/v0/destinations/mp/deleteUsers.js b/src/v0/destinations/mp/deleteUsers.js index 52be45f230..5b86cae6ae 100644 --- a/src/v0/destinations/mp/deleteUsers.js +++ b/src/v0/destinations/mp/deleteUsers.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { handleHttpRequest } = require('../../../adapters/network'); const { isHttpStatusSuccess } = require('../../util'); const { @@ -37,7 +37,7 @@ const deleteProfile = async (userAttributes, config) => { // batchEvents = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] // ref : https://developer.mixpanel.com/reference/delete-profile - const batchEvents = _.chunk(data, DEL_MAX_BATCH_SIZE); + const batchEvents = lodash.chunk(data, DEL_MAX_BATCH_SIZE); await Promise.all( batchEvents.map(async (batchEvent) => { const { processedResponse: handledDelResponse } = await handleHttpRequest( @@ -70,7 +70,7 @@ const deleteProfile = async (userAttributes, config) => { }; const createDeletionTask = async (userAttributes, config) => { - const { token, gdprApiToken } = config; + const { token, gdprApiToken, dataResidency } = config; if (!gdprApiToken) { throw new ConfigurationError( @@ -84,7 +84,7 @@ const createDeletionTask = async (userAttributes, config) => { 'Content-Type': JSON_MIME_TYPE, Authorization: `Bearer ${gdprApiToken}`, }; - const complianceType = config?.dataResidency === 'eu' ? 'GDPR' : 'CCPA'; + const complianceType = dataResidency === 'eu' ? 'GDPR' : 'CCPA'; // batchEvents = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] // ref : https://developer.mixpanel.com/docs/privacy-security#create-a-deletion-task diff --git a/src/v0/destinations/mp/transform.js b/src/v0/destinations/mp/transform.js index 4f55c3dcac..bdae00e1c2 100644 --- a/src/v0/destinations/mp/transform.js +++ b/src/v0/destinations/mp/transform.js @@ -1,3 +1,4 @@ +const lodash = require('lodash'); const get = require('get-value'); const { EventType } = require('../../../constants'); const { @@ -14,9 +15,7 @@ const { getFieldValueFromMessage, checkInvalidRtTfEvents, handleRtTfSingleEventError, - batchMultiplexedEvents, - getSuccessRespEvents, - defaultBatchRequestConfig, + groupEventsByType, } = require('../../util'); const { ConfigCategory, @@ -32,6 +31,8 @@ const { createIdentifyResponse, isImportAuthCredentialsAvailable, combineBatchRequestsWithSameJobIds, + groupEventsByEndpoint, + batchEvents, } = require('./util'); const { InstrumentationError, ConfigurationError } = require('../../util/errorTypes'); const { CommonUtils } = require('../../../util/common'); @@ -380,29 +381,7 @@ const processGroupEvents = (message, type, destination) => { return returnValue; }; -const generateBatchedPayloadForArray = (events) => { - const { batchedRequest } = defaultBatchRequestConfig(); - 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; - return batchedRequest; -}; - -const batchEvents = (successRespList, maxBatchSize) => { - const batchResponseList = []; - const batchedEvents = batchMultiplexedEvents(successRespList, maxBatchSize); - batchedEvents.forEach((batch) => { - const batchedRequest = generateBatchedPayloadForArray(batch.events); - batchResponseList.push( - getSuccessRespEvents(batchedRequest, batch.metadata, batch.destination, true), - ); - }); - return batchResponseList; -}; - -const processSingleMessage = async (message, destination) => { +const processSingleMessage = (message, destination) => { const clonedMessage = { ...message }; if (clonedMessage.userId) { clonedMessage.userId = String(clonedMessage.userId); @@ -433,74 +412,7 @@ const processSingleMessage = async (message, destination) => { } }; -const process = async (event) => processSingleMessage(event.message, event.destination); - -const processEvents = async (inputs, reqMetadata) => - await Promise.all( - inputs.map(async (event) => { - try { - if (event.message.statusCode) { - // already transformed event - return { output: event }; - } - - // if not transformed - return { - output: { - message: await process(event), - metadata: event.metadata, - destination: event.destination, - }, - }; - } catch (error) { - const errRespEvent = handleRtTfSingleEventError(event, error, reqMetadata); - return { error: errRespEvent }; - } - }), - ); - -const processAndChunkEvents = async (inputs, reqMetadata) => { - const processedEvents = await processEvents(inputs, reqMetadata); - const engageEventChunks = []; - const groupsEventChunks = []; - const trackEventChunks = []; - const importEventChunks = []; - const batchErrorRespList = []; - processedEvents.forEach((result) => { - if (result.output) { - const event = result.output; - const { destination, metadata } = event; - let { message } = event; - message = CommonUtils.toArray(message); - message.forEach((msg) => { - // eslint-disable-next-line default-case - switch (true) { - case msg.endpoint.includes('engage'): - engageEventChunks.push({ message: msg, destination, metadata }); - break; - case msg.endpoint.includes('groups'): - groupsEventChunks.push({ message: msg, destination, metadata }); - break; - case msg.endpoint.includes('track'): - trackEventChunks.push({ message: msg, destination, metadata }); - break; - case msg.endpoint.includes('import'): - importEventChunks.push({ message: msg, destination, metadata }); - break; - } - }); - } else if (result.error) { - batchErrorRespList.push(result.error); - } - }); - return { - engageEventChunks, - groupsEventChunks, - trackEventChunks, - importEventChunks, - batchErrorRespList, - }; -}; +const process = (event) => processSingleMessage(event.message, event.destination); // Documentation about how Mixpanel handles the utm parameters // Ref: https://help.mixpanel.com/hc/en-us/articles/115004613766-Default-Properties-Collected-by-Mixpanel @@ -511,28 +423,56 @@ const processRouterDest = async (inputs, reqMetadata) => { return errorRespEvents; } - const { - engageEventChunks, - groupsEventChunks, - trackEventChunks, - importEventChunks, - batchErrorRespList, - } = await processAndChunkEvents(inputs, reqMetadata); - - const engageRespList = batchEvents(engageEventChunks, ENGAGE_MAX_BATCH_SIZE); - const groupsRespList = batchEvents(groupsEventChunks, GROUPS_MAX_BATCH_SIZE); - const trackRespList = batchEvents(trackEventChunks, TRACK_MAX_BATCH_SIZE); - const importRespList = batchEvents(importEventChunks, IMPORT_MAX_BATCH_SIZE); - - let batchSuccessRespList = [ - ...engageRespList, - ...groupsRespList, - ...trackRespList, - ...importRespList, - ]; - batchSuccessRespList = combineBatchRequestsWithSameJobIds(batchSuccessRespList); - - return [...batchSuccessRespList, ...batchErrorRespList]; + const groupedEvents = groupEventsByType(inputs); + const response = await Promise.all( + groupedEvents.map(async (listOfEvents) => { + let transformedPayloads = await Promise.all( + listOfEvents.map(async (event) => { + try { + if (event.message.statusCode) { + // already transformed event + return { + message: event.message, + metadata: event.metadata, + destination: event.destination, + }; + } + + let processedEvents = await process(event); + processedEvents = CommonUtils.toArray(processedEvents); + return processedEvents.map((res) => ({ + message: res, + metadata: event.metadata, + destination: event.destination, + })); + } catch (error) { + return handleRtTfSingleEventError(event, error, reqMetadata); + } + }), + ); + + transformedPayloads = lodash.flatMap(transformedPayloads); + 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 batchSuccessRespList = [ + ...engageRespList, + ...groupsRespList, + ...trackRespList, + ...importRespList, + ]; + + return [...batchSuccessRespList, ...batchErrorRespList]; + }), + ); + + // Flatten the response array containing batched events from multiple groups + const allBatchedEvents = lodash.flatMap(response); + return combineBatchRequestsWithSameJobIds(allBatchedEvents); }; module.exports = { process, processRouterDest }; diff --git a/src/v0/destinations/mp/util.js b/src/v0/destinations/mp/util.js index 5a96c8d64b..35c530855e 100644 --- a/src/v0/destinations/mp/util.js +++ b/src/v0/destinations/mp/util.js @@ -8,6 +8,9 @@ const { isAppleFamily, getBrowserInfo, toUnixTimestamp, + batchMultiplexedEvents, + getSuccessRespEvents, + defaultBatchRequestConfig, } = require('../../util'); const { ConfigCategory, @@ -16,6 +19,7 @@ const { mappingConfig, } = require('./config'); const { InstrumentationError } = require('../../util/errorTypes'); +const { CommonUtils } = require('../../../util/common'); const mPIdentifyConfigJson = mappingConfig[ConfigCategory.IDENTIFY.name]; const mPProfileAndroidConfigJson = mappingConfig[ConfigCategory.PROFILE_ANDROID.name]; @@ -139,6 +143,7 @@ const isImportAuthCredentialsAvailable = (destination) => const findExistingBatch = (batch, metadataMap) => { let existingBatch = null; + // eslint-disable-next-line no-restricted-syntax for (const metadataItem of batch.metadata) { if (metadataMap.has(metadataItem.jobId)) { existingBatch = metadataMap.get(metadataItem.jobId); @@ -154,8 +159,9 @@ const findExistingBatch = (batch, metadataMap) => { * @param {*} mergedBatches An array of merged batch objects. */ const removeDuplicateMetadata = (mergedBatches) => { - for (const batch of mergedBatches) { + mergedBatches.forEach((batch) => { const metadataSet = new Set(); + // eslint-disable-next-line no-param-reassign batch.metadata = batch.metadata.filter((metadataItem) => { if (!metadataSet.has(metadataItem.jobId)) { metadataSet.add(metadataItem.jobId); @@ -163,7 +169,65 @@ const removeDuplicateMetadata = (mergedBatches) => { } return false; }); - } + }); +}; + +/** + * Group events with the same endpoint together in batches + * @param {*} events - An array of events + * @returns + */ +const groupEventsByEndpoint = (events) => { + const eventMap = { + engage: [], + groups: [], + track: [], + import: [], + }; + 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, destination, metadata }); + } + }); + } else if (result.error) { + batchErrorRespList.push(result); + } + }); + + return { + engageEvents: eventMap.engage, + groupsEvents: eventMap.groups, + trackEvents: eventMap.track, + importEvents: eventMap.import, + batchErrorRespList, + }; +}; + +const generateBatchedPayloadForArray = (events) => { + const { batchedRequest } = defaultBatchRequestConfig(); + 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; + return batchedRequest; +}; + +const batchEvents = (successRespList, maxBatchSize) => { + const batchedEvents = batchMultiplexedEvents(successRespList, maxBatchSize); + return batchedEvents.map((batch) => { + const batchedRequest = generateBatchedPayloadForArray(batch.events); + return getSuccessRespEvents(batchedRequest, batch.metadata, batch.destination, true); + }); }; /** @@ -221,5 +285,7 @@ const combineBatchRequestsWithSameJobIds = (inputBatches) => { module.exports = { createIdentifyResponse, isImportAuthCredentialsAvailable, + groupEventsByEndpoint, + batchEvents, combineBatchRequestsWithSameJobIds, }; diff --git a/src/v0/destinations/mp/util.test.js b/src/v0/destinations/mp/util.test.js index c5cd5b61e8..43594fba6d 100644 --- a/src/v0/destinations/mp/util.test.js +++ b/src/v0/destinations/mp/util.test.js @@ -1,4 +1,9 @@ -const { combineBatchRequestsWithSameJobIds } = require('./util'); +const { + combineBatchRequestsWithSameJobIds, + groupEventsByType, + groupEventsByEndpoint, + batchEvents, +} = require('./util'); const destinationMock = { Config: { @@ -18,7 +23,243 @@ const destinationMock = { Transformations: [], }; +const maxBatchSizeMock = 2; + describe('Mixpanel utils test', () => { + describe('Unit test cases for groupEventsByEndpoint', () => { + it('should return an object with empty arrays for all properties when the events array is empty', () => { + const events = []; + const result = groupEventsByEndpoint(events); + expect(result).toEqual({ + engageEvents: [], + groupsEvents: [], + trackEvents: [], + importEvents: [], + batchErrorRespList: [], + }); + }); + + it('should return an object with all properties containing their respective events when the events array contains events of all types', () => { + const events = [ + { + message: { + endpoint: '/engage', + body: { + JSON_ARRAY: { + batch: '[{prop:1}]', + }, + }, + userId: 'user1', + }, + }, + { + message: { + endpoint: '/engage', + body: { + JSON_ARRAY: { + batch: '[{prop:2}]', + }, + }, + userId: 'user2', + }, + }, + { + message: { + endpoint: '/groups', + body: { + JSON_ARRAY: { + batch: '[{prop:3}]', + }, + }, + userId: 'user1', + }, + }, + { + message: { + endpoint: '/track', + body: { + JSON_ARRAY: { + batch: '[{prop:4}]', + }, + }, + userId: 'user1', + }, + }, + { + message: { + endpoint: '/import', + body: { + JSON_ARRAY: { + batch: '[{prop:5}]', + }, + }, + userId: 'user2', + }, + }, + { error: 'Message type abc not supported' }, + ]; + const result = groupEventsByEndpoint(events); + expect(result).toEqual({ + engageEvents: [ + { + message: { + endpoint: '/engage', + body: { + JSON_ARRAY: { + batch: '[{prop:1}]', + }, + }, + userId: 'user1', + }, + }, + { + message: { + endpoint: '/engage', + body: { + JSON_ARRAY: { + batch: '[{prop:2}]', + }, + }, + userId: 'user2', + }, + }, + ], + groupsEvents: [ + { + message: { + endpoint: '/groups', + body: { + JSON_ARRAY: { + batch: '[{prop:3}]', + }, + }, + userId: 'user1', + }, + }, + ], + trackEvents: [ + { + message: { + endpoint: '/track', + body: { + JSON_ARRAY: { + batch: '[{prop:4}]', + }, + }, + userId: 'user1', + }, + }, + ], + importEvents: [ + { + message: { + endpoint: '/import', + body: { + JSON_ARRAY: { + batch: '[{prop:5}]', + }, + }, + userId: 'user2', + }, + }, + ], + batchErrorRespList: [{ error: 'Message type abc not supported' }], + }); + }); + }); + + describe('Unit test cases for batchEvents', () => { + it('should return an array of batched events with correct payload and metadata', () => { + const successRespList = [ + { + message: { + endpoint: '/engage', + body: { + JSON_ARRAY: { + batch: '[{"prop":1}]', + }, + }, + headers: {}, + params: {}, + userId: 'user1', + }, + metadata: { jobId: 3 }, + }, + { + message: { + endpoint: '/engage', + body: { + JSON_ARRAY: { + batch: '[{"prop":2}]', + }, + }, + headers: {}, + params: {}, + userId: 'user2', + }, + metadata: { jobId: 4 }, + }, + { + message: { + endpoint: '/engage', + body: { + JSON_ARRAY: { + batch: '[{"prop":3}]', + }, + }, + headers: {}, + params: {}, + userId: 'user2', + }, + metadata: { jobId: 6 }, + }, + ]; + + const result = batchEvents(successRespList, maxBatchSizeMock); + + expect(result).toEqual([ + { + batched: true, + batchedRequest: { + body: { FORM: {}, JSON: {}, JSON_ARRAY: { batch: '[{"prop":1},{"prop":2}]' }, XML: {} }, + endpoint: '/engage', + files: {}, + headers: {}, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }, + destination: undefined, + metadata: [{ jobId: 3 }, { jobId: 4 }], + statusCode: 200, + }, + { + batched: true, + batchedRequest: { + body: { FORM: {}, JSON: {}, JSON_ARRAY: { batch: '[{"prop":3}]' }, XML: {} }, + endpoint: '/engage', + files: {}, + headers: {}, + method: 'POST', + params: {}, + type: 'REST', + version: '1', + }, + destination: undefined, + metadata: [{ jobId: 6 }], + statusCode: 200, + }, + ]); + }); + + it('should return an empty array when successRespList is empty', () => { + const successRespList = []; + const result = batchEvents(successRespList, maxBatchSizeMock); + expect(result).toEqual([]); + }); + }); + describe('Unit test cases for combineBatchRequestsWithSameJobIds', () => { it('Combine batch request with same jobIds', async () => { const input = [ diff --git a/src/v0/destinations/mssql/transform.test.js b/src/v0/destinations/mssql/transform.test.js new file mode 100644 index 0000000000..0892651b21 --- /dev/null +++ b/src/v0/destinations/mssql/transform.test.js @@ -0,0 +1,48 @@ +const { getDataType } = require('../../../../src/warehouse/index'); +const { getDataTypeOverride } = require('./transform'); + +const testCases = [ + { + name: 'normalInt', + data: 1, + type: 'int', + }, + { + name: 'normalFloat', + data: 2.01, + type: 'float', + }, + { + name: 'normalBoolean', + data: true, + type: 'boolean', + }, + { + name: 'normalString', + data: 'mssql transformation[*007}', + type: 'string', + }, + { + name: 'violationErrors', + data: [ + { + message: + 'no schema for eventName : Product Purchased new, eventType : track in trackingPlanID : tp_20dfXJDpotQWHe7hMxfQfgWMZDv::1', + meta: {}, + type: 'Unplanned-Event', + }, + ], + type: 'string', + }, +]; + +describe('MSSQL data types testing', () => { + const options = {}; + options.getDataTypeOverride = getDataTypeOverride; + testCases.forEach((testCase) => { + it(`should return data type ${testCase.type} for this input data ${testCase.data} everytime`, () => { + const dataType = getDataType(testCase.name, testCase.data, options); + expect(dataType).toEqual(testCase.type); + }); + }); +}); diff --git a/src/v0/destinations/ometria/transform.js b/src/v0/destinations/ometria/transform.js index d3a4d71753..6d3c2ab174 100644 --- a/src/v0/destinations/ometria/transform.js +++ b/src/v0/destinations/ometria/transform.js @@ -1,4 +1,4 @@ -/* eslint-disable one-var */ +/* eslint-disable one-var, @typescript-eslint/naming-convention */ /* eslint-disable camelcase */ const { EventType } = require('../../../constants'); const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); diff --git a/src/v0/destinations/pardot/transform.js b/src/v0/destinations/pardot/transform.js index b9f78a6c34..bfc7386ef9 100644 --- a/src/v0/destinations/pardot/transform.js +++ b/src/v0/destinations/pardot/transform.js @@ -48,10 +48,7 @@ const { getAccessToken, } = require('../../util'); const { CONFIG_CATEGORIES } = require('./config'); -const { - ConfigurationError, - InstrumentationError, -} = require('../../util/errorTypes'); +const { ConfigurationError, InstrumentationError } = require('../../util/errorTypes'); const buildResponse = (payload, url, destination, token) => { const responseBody = removeUndefinedValues(payload); diff --git a/src/v0/destinations/personalize/scripts/create-trackingid.js b/src/v0/destinations/personalize/scripts/create-trackingid.js index d2a513635a..efd8eaa2f9 100644 --- a/src/v0/destinations/personalize/scripts/create-trackingid.js +++ b/src/v0/destinations/personalize/scripts/create-trackingid.js @@ -10,60 +10,64 @@ const { const { fromEnv } = require('@aws-sdk/credential-providers'); const readline = require('readline'); -let rl = readline.createInterface(process.stdin, process.stdout); -function promtForInput(questionText, envName) { - if (!process.env[envName]) { - rl.question(questionText, (input) => (process.env[envName] = input)); +require('dotenv').config(); + +async function promtForInput(rl, questionText) { + return new Promise((resolve) => { + rl.question(questionText, (input) => { + resolve(input); + }); + }); +} + +async function checkEnvAndpromtForInput(rl, questionText, envVar) { + if (process.env[envVar]) { + return; } + process.env[envVar] = await promtForInput(rl, questionText); } -// get inputs from user -promtForInput('AWS Access Key ID: ', 'AWS_ACCESS_KEY_ID'); -promtForInput('AWS Secret Access Key: ', 'AWS_SECRET_ACCESS_KEY'); -promtForInput('AWS REGION: ', 'AWS_REGION'); -promtForInput('Name of Dataset Group:', 'DATASET_GROUP_NAME'); -promtForInput( - 'Number of fields in Schema in addition to USER_ID, TIMESTAMP, ITEM_ID: ', - 'NUMBER_OF_FIELDS', -); -rl.close(); -const datasetGroup = process.env.DATASET_GROUP_NAME; -const columns = []; -const type = []; - -// eslint-disable-next-line radix -const noOfFields = parseInt(process.env.NUMBER_OF_FIELDS); -columns[0] = 'USER_ID'; -columns[1] = 'ITEM_ID'; -columns[2] = 'TIMESTAMP'; -type[0] = 'string'; -type[1] = 'string'; -type[2] = 'long'; - -for (let i = 4; i <= noOfFields + 3; i += 1) { - columns[i - 1] = readline.question(`Name of field no. ${i}: `); - type[i - 1] = readline.question(`Type of field ${columns[i - 1]}: `); + +async function collectInputs(rl) { + await checkEnvAndpromtForInput(rl, 'AWS Access Key ID: ', 'AWS_ACCESS_KEY_ID'); + await checkEnvAndpromtForInput(rl, 'AWS Secret Access Key: ', 'AWS_SECRET_ACCESS_KEY'); + await checkEnvAndpromtForInput(rl, 'AWS REGION: ', 'AWS_REGION'); + await checkEnvAndpromtForInput(rl, 'Name of Dataset Group: ', 'DATASET_GROUP_NAME'); + await checkEnvAndpromtForInput( + rl, + 'Number of fields in Schema in addition to USER_ID, TIMESTAMP, ITEM_ID: ', + 'NUMBER_OF_FIELDS', + ); } -let schema = { - type: 'record', - name: 'Interactions', - namespace: 'com.amazonaws.personalize.schema', - fields: [ - { name: 'USER_ID', type: 'string' }, - { name: 'ITEM_ID', type: 'string' }, - { name: 'TIMESTAMP', type: 'long' }, - ], - version: '1.0', -}; - -if (noOfFields > 0) { - for (let i = 3; i < noOfFields + 3; i += 1) { - schema.fields.push({ name: columns[i], type: type[i] }); +async function collectFileds(rl) { + const noOfFields = parseInt(process.env.NUMBER_OF_FIELDS); + let schema = { + type: 'record', + name: 'Interactions', + namespace: 'com.amazonaws.personalize.schema', + fields: [ + { name: 'USER_ID', type: 'string' }, + { name: 'ITEM_ID', type: 'string' }, + { name: 'TIMESTAMP', type: 'long' }, + ], + version: '1.0', + }; + + for (let i = 4; i <= noOfFields + 3; i += 1) { + const fieldName = await promtForInput(rl, `Name of field no. ${i}: `); + const typeName = await promtForInput(rl, `Type of field ${fieldName}: `); + schema.fields.push({ name: fieldName, type: typeName }); } + return schema; } (async function () { + let rl = readline.createInterface(process.stdin, process.stdout); + await collectInputs(rl); + const schema = await collectFileds(rl); + rl.close(); + const datasetGroup = process.env.DATASET_GROUP_NAME; try { const client = new PersonalizeClient({ region: process.env.AWS_REGION, diff --git a/src/v0/destinations/personalize/transform.js b/src/v0/destinations/personalize/transform.js index c8eca2af2f..bb547f7b28 100644 --- a/src/v0/destinations/personalize/transform.js +++ b/src/v0/destinations/personalize/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { KEY_CHECK_LIST, MANDATORY_PROPERTIES } = require('./config'); const { EventType } = require('../../../constants'); const { @@ -42,28 +42,28 @@ const putEventsHandler = (message, destination) => { throw new InstrumentationError(`Mapped property ${keyMap[key]} not found`); } if (isDefined(disableStringify) && disableStringify) { - outputEvent.properties[_.camelCase(key)] = value; + outputEvent.properties[lodash.camelCase(key)] = value; } else { // users using old config will have stringified property by default - outputEvent.properties[_.camelCase(key)] = String(value); + outputEvent.properties[lodash.camelCase(key)] = String(value); } } else if (!MANDATORY_PROPERTIES.includes(key.toUpperCase())) { if ((!isDefinedAndNotNull(value) || isBlank(value)) && key.toUpperCase() !== 'ITEM_ID') { throw new InstrumentationError(`Null values cannot be sent for ${keyMap[key]} `); } if (!(key.toUpperCase() === 'IMPRESSION' || key.toUpperCase() === 'EVENT_VALUE')) - outputEvent[_.camelCase(key)] = String(value); + outputEvent[lodash.camelCase(key)] = String(value); else if (key.toUpperCase() === 'IMPRESSION') { - outputEvent[_.camelCase(key)] = Array.isArray(value) ? value.map(String) : [String(value)]; - outputEvent[_.camelCase(key)] = _.without( - outputEvent[_.camelCase(key)], + outputEvent[lodash.camelCase(key)] = Array.isArray(value) ? value.map(String) : [String(value)]; + outputEvent[lodash.camelCase(key)] = lodash.without( + outputEvent[lodash.camelCase(key)], undefined, null, '', ); } else if (!Number.isNaN(parseFloat(value))) { // for eventValue - outputEvent[_.camelCase(key)] = parseFloat(value); + outputEvent[lodash.camelCase(key)] = parseFloat(value); } else throw new InstrumentationError('EVENT_VALUE should be a float value'); } }); @@ -115,7 +115,7 @@ const putItemsHandler = (message, destination) => { // eslint-disable-next-line no-lonely-if if (!isDefinedAndNotNull(value) || isBlank(value)) { // itemId cannot be null - value = String(_.get(message, keyMap[key])); + value = String(lodash.get(message, keyMap[key])); } } if (!isDefined(value)) { @@ -123,7 +123,7 @@ const putItemsHandler = (message, destination) => { } if (key.toUpperCase() !== 'ITEM_ID') { // itemId is not allowed inside properties - outputItem.properties[_.camelCase(key)] = value; + outputItem.properties[lodash.camelCase(key)] = value; } else { outputItem.itemId = String(value); } @@ -185,7 +185,7 @@ const identifyRequestHandler = (message, destination, eventOperation) => { } if (key.toUpperCase() !== 'USER_ID') { // userId is not allowed inside properties - outputUser.properties[_.camelCase(key)] = value; + outputUser.properties[lodash.camelCase(key)] = value; } }); if (!outputUser.userId) { diff --git a/src/v0/destinations/postgres/transform.test.js b/src/v0/destinations/postgres/transform.test.js new file mode 100644 index 0000000000..9256d5bcde --- /dev/null +++ b/src/v0/destinations/postgres/transform.test.js @@ -0,0 +1,48 @@ +const { getDataType } = require('../../../../src/warehouse/index'); +const { getDataTypeOverride } = require('./transform'); + +const testCases = [ + { + name: 'normalInt', + data: 1, + type: 'int', + }, + { + name: 'normalFloat', + data: 2.01, + type: 'float', + }, + { + name: 'normalBoolean', + data: true, + type: 'boolean', + }, + { + name: 'normalString', + data: 'postgres transformation[*007}', + type: 'string', + }, + { + name: 'violationErrors', + data: [ + { + message: + 'no schema for eventName : Product Purchased new, eventType : track in trackingPlanID : tp_20dfXJDpotQWHe7hMxfQfgWMZDv::1', + meta: {}, + type: 'Unplanned-Event', + }, + ], + type: 'json', + }, +]; + +describe('Postgres data types testing', () => { + const options = {}; + options.getDataTypeOverride = getDataTypeOverride; + testCases.forEach((testCase) => { + it(`should return data type ${testCase.type} for this input data ${testCase.data} everytime`, () => { + const dataType = getDataType(testCase.name, testCase.data, options); + expect(dataType).toEqual(testCase.type); + }); + }); +}); diff --git a/src/v0/destinations/redis/transform.js b/src/v0/destinations/redis/transform.js index 124569c8e8..e9442d8487 100644 --- a/src/v0/destinations/redis/transform.js +++ b/src/v0/destinations/redis/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const flatten = require('flat'); const { isEmpty, isObject } = require('../../util'); @@ -17,7 +17,7 @@ const processValues = (obj) => { } const val = obj[key]; // eslint-disable-next-line no-param-reassign - obj[key] = _.isArray(val) ? JSON.stringify(val) : _.toString(val); + obj[key] = lodash.isArray(val) ? JSON.stringify(val) : lodash.toString(val); }); }; @@ -68,7 +68,7 @@ const process = (event) => { } const hmap = { - key: `${keyPrefix}user:${_.toString(message.userId)}`, + key: `${keyPrefix}user:${lodash.toString(message.userId)}`, fields: {}, }; diff --git a/src/v0/destinations/sendgrid/transform.js b/src/v0/destinations/sendgrid/transform.js index 0f944e5f28..4e68b34c7d 100644 --- a/src/v0/destinations/sendgrid/transform.js +++ b/src/v0/destinations/sendgrid/transform.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { EventType } = require('../../../constants'); const { ErrorMessage, @@ -211,10 +211,10 @@ const batchEvents = (successRespList) => { "contactListIds3": [{message : {}, metadata : {}, destination: {}}], "contactListIds4": [{message : {}, metadata : {}, destination: {}}] */ - const eventGroups = _.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 = _.chunk(eventGroups[combination], MAX_BATCH_SIZE); + const eventChunks = lodash.chunk(eventGroups[combination], MAX_BATCH_SIZE); // eventChunks = [[e1,e2,e3,..batchSize],[e1,e2,e3,..batchSize]..] eventChunks.forEach((chunk) => { const batchEventResponse = generateBatchedPaylaodForArray(chunk, combination); diff --git a/src/v0/destinations/sendinblue/transform.js b/src/v0/destinations/sendinblue/transform.js index 8e8645f32f..151304db22 100644 --- a/src/v0/destinations/sendinblue/transform.js +++ b/src/v0/destinations/sendinblue/transform.js @@ -1,4 +1,5 @@ /* eslint-disable camelcase */ +/* eslint-disable @typescript-eslint/naming-convention */ const { EventType } = require('../../../constants'); const { defaultRequestConfig, diff --git a/src/v0/destinations/singular/util.js b/src/v0/destinations/singular/util.js index c2a88a9c46..542b049a2e 100644 --- a/src/v0/destinations/singular/util.js +++ b/src/v0/destinations/singular/util.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); const { CONFIG_CATEGORIES, MAPPING_CONFIG, @@ -75,7 +75,7 @@ const exclusionList = { * @param {*} eventName */ const isSessionEvent = (Config, eventName) => { - const mappedSessionEvents = _.map(Config.sessionEventList, 'sessionEventName'); + const mappedSessionEvents = lodash.map(Config.sessionEventList, 'sessionEventName'); return mappedSessionEvents.includes(eventName) || SESSIONEVENTS.includes(eventName.toLowerCase()); }; diff --git a/src/v0/destinations/slack/transform.js b/src/v0/destinations/slack/transform.js index c913f3103e..8db934d71f 100644 --- a/src/v0/destinations/slack/transform.js +++ b/src/v0/destinations/slack/transform.js @@ -1,5 +1,4 @@ -/* eslint-disable no-nested-ternary */ -/* eslint-disable no-prototype-builtins */ +/* eslint-disable no-nested-ternary, no-restricted-syntax, no-prototype-builtins */ const Handlebars = require('handlebars'); const { EventType } = require('../../../constants'); const { diff --git a/src/v0/destinations/snapchat_custom_audience/networkHandler.js b/src/v0/destinations/snapchat_custom_audience/networkHandler.js index 49ea452550..196f9a87fb 100644 --- a/src/v0/destinations/snapchat_custom_audience/networkHandler.js +++ b/src/v0/destinations/snapchat_custom_audience/networkHandler.js @@ -1,9 +1,7 @@ const { removeUndefinedValues, getAuthErrCategoryFromErrDetailsAndStCode } = require('../../util'); const { prepareProxyRequest, getPayloadData, httpSend } = require('../../../adapters/network'); const { isHttpStatusSuccess } = require('../../util/index'); -const { - REFRESH_TOKEN, -} = require('../../../adapters/networkhandler/authConstants'); +const { REFRESH_TOKEN } = require('../../../adapters/networkhandler/authConstants'); const tags = require('../../util/tags'); const { getDynamicErrorType, diff --git a/src/v0/destinations/tiktok_ads/networkHandler.js b/src/v0/destinations/tiktok_ads/networkHandler.js index ade33e5133..1ec31e982a 100644 --- a/src/v0/destinations/tiktok_ads/networkHandler.js +++ b/src/v0/destinations/tiktok_ads/networkHandler.js @@ -40,6 +40,7 @@ const responseHandler = (destinationResponse) => { ); }; +// eslint-disable-next-line @typescript-eslint/naming-convention class networkHandler { constructor() { this.responseHandler = responseHandler; diff --git a/src/v0/destinations/tiktok_ads/transform.js b/src/v0/destinations/tiktok_ads/transform.js index 6bf9cd7270..4e99d83575 100644 --- a/src/v0/destinations/tiktok_ads/transform.js +++ b/src/v0/destinations/tiktok_ads/transform.js @@ -1,4 +1,5 @@ /* eslint-disable camelcase */ +/* eslint-disable @typescript-eslint/naming-convention */ const _ = require('lodash'); const { SHA256 } = require('crypto-js'); const get = require('get-value'); diff --git a/src/v0/destinations/tiktok_ads/util.js b/src/v0/destinations/tiktok_ads/util.js index 98acb794a5..4050a9fe34 100644 --- a/src/v0/destinations/tiktok_ads/util.js +++ b/src/v0/destinations/tiktok_ads/util.js @@ -8,6 +8,7 @@ const { removeUndefinedAndNullValues } = require('../../util'); const getContents = (message) => { const contents = []; const { properties } = message; + // eslint-disable-next-line @typescript-eslint/naming-convention const { products, content_type, contentType } = properties; if (products && Array.isArray(products) && products.length > 0) { products.forEach((product) => { diff --git a/src/v0/destinations/tiktok_ads_offline_events/transform.js b/src/v0/destinations/tiktok_ads_offline_events/transform.js index 0ade5bbfbb..3539c856a3 100644 --- a/src/v0/destinations/tiktok_ads_offline_events/transform.js +++ b/src/v0/destinations/tiktok_ads_offline_events/transform.js @@ -1,6 +1,6 @@ const { SHA256 } = require('crypto-js'); const set = require('set-value'); -const _ = require('lodash'); +const lodash = require('lodash'); const { EventType } = require('../../../constants'); const { constructPayload, @@ -191,7 +191,7 @@ const batchEvents = (eventChunksArray) => { // event_set_id1: [...events] // event_set_id2: [...events] // } - const groupedEventChunks = _.groupBy(eventChunksArray, ({ message }) => { + const groupedEventChunks = lodash.groupBy(eventChunksArray, ({ message }) => { if (Array.isArray(message)) return message[0].event_set_id; return message.event_set_id; }); diff --git a/src/v0/destinations/yahoo_dsp/util.js b/src/v0/destinations/yahoo_dsp/util.js index f47717df51..a069660bde 100644 --- a/src/v0/destinations/yahoo_dsp/util.js +++ b/src/v0/destinations/yahoo_dsp/util.js @@ -1,7 +1,7 @@ const qs = require('qs'); const sha256 = require('sha256'); const { generateJWTToken } = require('../../../util/jwtTokenGenerator'); -const { httpPOST } = require('../../../adapters/network'); +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'); @@ -119,7 +119,7 @@ const getAccessToken = async (destination) => { }; const request = { - header: { + headers: { 'Content-Type': 'application/x-www-form-urlencoded', Accept: JSON_MIME_TYPE, }, @@ -134,7 +134,7 @@ const getAccessToken = async (destination) => { }), method: 'POST', }; - const dspAuthorisationData = await httpPOST(request.url, request.data, request.header, { + const dspAuthorisationData = await httpSend(request, { destType: 'yahoo_dsp', feature: 'transformation', }); diff --git a/src/v0/sources/auth0/transform.js b/src/v0/sources/auth0/transform.js index 8a0013036b..d2721780d8 100644 --- a/src/v0/sources/auth0/transform.js +++ b/src/v0/sources/auth0/transform.js @@ -41,6 +41,7 @@ function processEvents(eventList) { eventList.forEach((event) => { let response = {}; // eslint-disable-next-line camelcase + // eslint-disable-next-line @typescript-eslint/naming-convention const { data, log_id } = event; // Dropping the event if type is not present if (data && data.type) { diff --git a/src/v0/sources/shopify/transform.js b/src/v0/sources/shopify/transform.js index 5c26bfd844..7bbb928fd8 100644 --- a/src/v0/sources/shopify/transform.js +++ b/src/v0/sources/shopify/transform.js @@ -1,4 +1,5 @@ -const _ = require('lodash'); +/* eslint-disable @typescript-eslint/naming-convention */ +const lodash = require('lodash'); const get = require('get-value'); const stats = require('../../../util/stats'); const { @@ -125,8 +126,8 @@ const trackPayloadBuilder = (event, shopifyTopic) => { const processEvent = async (inputEvent, metricMetadata) => { let message; + const event = lodash.cloneDeep(inputEvent); let redisData; - const event = _.cloneDeep(inputEvent); const shopifyTopic = getShopifyTopic(event); delete event.query_parameters; switch (shopifyTopic) { diff --git a/src/v0/sources/shopify/util.js b/src/v0/sources/shopify/util.js index 76cc255f38..0d81ddc185 100644 --- a/src/v0/sources/shopify/util.js +++ b/src/v0/sources/shopify/util.js @@ -1,8 +1,15 @@ /* eslint-disable camelcase */ +/* eslint-disable @typescript-eslint/naming-convention */ const { v5 } = require('uuid'); const sha256 = require('sha256'); const stats = require('../../../util/stats'); -const { constructPayload, extractCustomFields, flattenJson, generateUUID, isDefinedAndNotNull, } = require('../../util'); +const { + constructPayload, + extractCustomFields, + flattenJson, + generateUUID, + isDefinedAndNotNull, +} = require('../../util'); const { RedisDB } = require('../../../util/redis/redisConnector'); const logger = require('../../../logger'); const { @@ -13,11 +20,10 @@ const { SHOPIFY_TRACK_MAP, SHOPIFY_ADMIN_ONLY_EVENTS, useRedisDatabase, - maxTimeToIdentifyRSGeneratedCall + maxTimeToIdentifyRSGeneratedCall, } = require('./config'); const { TransformationError } = require('../../util/errorTypes'); - const getDataFromRedis = async (key, metricMetadata) => { try { stats.increment('shopify_redis_calls', { @@ -32,8 +38,7 @@ const getDataFromRedis = async (key, metricMetadata) => { }); } return redisData; - } - catch (e) { + } catch (e) { logger.debug(`{{SHOPIFY::}} Get call Failed due redis error ${e}`); stats.increment('shopify_redis_failures', { type: 'get', @@ -112,11 +117,11 @@ const extractEmailFromPayload = (event) => { }; const getCartToken = (message) => { - const { event } = message; + const { event, properties } = message; if (event === SHOPIFY_TRACK_MAP.carts_update) { - return message.properties?.id || message.properties?.token; + return properties?.id || properties?.token; } - return message.properties?.cart_token || null; + return properties?.cart_token || null; }; /** @@ -141,9 +146,9 @@ const getRudderIdFromNoteAtrributes = (noteAttributes, field) => { * -> if true we return `null`; * -> else we don't have any identifer (very edge case) we return `random anonymousId` * No Random SessionId is generated as its not a required field - * @param {*} message - * @param {*} metricMetadata - * @returns + * @param {*} message + * @param {*} metricMetadata + * @returns */ const getAnonymousIdAndSessionId = async (message, metricMetadata, redisData = null) => { let anonymousId; @@ -151,8 +156,8 @@ const getAnonymousIdAndSessionId = async (message, metricMetadata, redisData = n const noteAttributes = message.properties?.note_attributes; // Giving Priority to note_attributes to fetch rudderAnonymousId over Redis due to better efficiency if (isDefinedAndNotNull(noteAttributes)) { - anonymousId = getRudderIdFromNoteAtrributes(noteAttributes, "rudderAnonymousId"); - sessionId = getRudderIdFromNoteAtrributes(noteAttributes, "rudderSessionId"); + anonymousId = getRudderIdFromNoteAtrributes(noteAttributes, 'rudderAnonymousId'); + sessionId = getRudderIdFromNoteAtrributes(noteAttributes, 'rudderSessionId'); } // falling back to cartToken mapping or its hash in case no rudderAnonymousId or rudderSessionId is found if (isDefinedAndNotNull(anonymousId) && isDefinedAndNotNull(sessionId)) { @@ -163,7 +168,10 @@ const getAnonymousIdAndSessionId = async (message, metricMetadata, redisData = n if (SHOPIFY_ADMIN_ONLY_EVENTS.includes(message.event)) { return { anonymousId, sessionId }; } - return { anonymousId: isDefinedAndNotNull(anonymousId) ? anonymousId : generateUUID(), sessionId }; + return { + anonymousId: isDefinedAndNotNull(anonymousId) ? anonymousId : generateUUID(), + sessionId, + }; } if (useRedisDatabase) { if (!isDefinedAndNotNull(redisData)) { @@ -196,8 +204,7 @@ const updateCartItemsInRedis = async (cartToken, newCartItemsHash, metricMetadat ...metricMetadata, }); await RedisDB.setVal(`${cartToken}`, value); - } - catch (e) { + } catch (e) { logger.debug(`{{SHOPIFY::}} itemsHash set call Failed due redis error ${e}`); stats.increment('shopify_redis_failures', { type: 'set', @@ -228,10 +235,10 @@ const checkAndUpdateCartItems = async (inputEvent, redisData, metricMetadata) => } await updateCartItemsInRedis(cartToken, newCartItemsHash, metricMetadata); } else { - const { created_at, updated_at } = inputEvent; + const { created_at, updated_at, line_items } = inputEvent; const timeDifference = Date.parse(updated_at) - Date.parse(created_at); const isTimeWithinThreshold = timeDifference < maxTimeToIdentifyRSGeneratedCall; - const isLineItemsEmpty = inputEvent?.line_items?.length === 0; + const isLineItemsEmpty = line_items?.length === 0; if (isTimeWithinThreshold && isLineItemsEmpty) { return false; diff --git a/src/v0/util/deleteUserUtils.js b/src/v0/util/deleteUserUtils.js index 81607aeb3d..6cf16d7f9e 100644 --- a/src/v0/util/deleteUserUtils.js +++ b/src/v0/util/deleteUserUtils.js @@ -1,4 +1,4 @@ -const _ = require('lodash'); +const lodash = require('lodash'); /** * Takes the userAttributes array fetches userIds at root level of each element * and make batches of Ids accoring to MAX_BATCH_SIZE @@ -14,7 +14,7 @@ const getUserIdBatches = (userAttributes, MAX_BATCH_SIZE) => { userIds.push(userAttribute.userId); } }); - const userIdBatches = _.chunk(userIds, MAX_BATCH_SIZE); + const userIdBatches = lodash.chunk(userIds, MAX_BATCH_SIZE); return userIdBatches; }; diff --git a/src/v0/util/index.js b/src/v0/util/index.js index 8a20104dd0..42a4100510 100644 --- a/src/v0/util/index.js +++ b/src/v0/util/index.js @@ -9,7 +9,7 @@ const Handlebars = require('handlebars'); const fs = require('fs'); const path = require('path'); -const _ = require('lodash'); +const lodash = require('lodash'); const set = require('set-value'); const get = require('get-value'); const uaParser = require('ua-parser-js'); @@ -36,17 +36,18 @@ const { // INLINERS // ======================================================================== -const isDefined = (x) => !_.isUndefined(x); -const isNotEmpty = (x) => !_.isEmpty(x); +const isDefined = (x) => !lodash.isUndefined(x); +const isNotEmpty = (x) => !lodash.isEmpty(x); const isNotNull = (x) => x != null; const isDefinedAndNotNull = (x) => isDefined(x) && isNotNull(x); const isDefinedAndNotNullAndNotEmpty = (x) => isDefined(x) && isNotNull(x) && isNotEmpty(x); -const removeUndefinedValues = (obj) => _.pickBy(obj, isDefined); -const removeNullValues = (obj) => _.pickBy(obj, isNotNull); -const removeUndefinedAndNullValues = (obj) => _.pickBy(obj, isDefinedAndNotNull); -const removeUndefinedAndNullAndEmptyValues = (obj) => _.pickBy(obj, isDefinedAndNotNullAndNotEmpty); -const isBlank = (value) => _.isEmpty(_.toString(value)); -const flattenMap = (collection) => _.flatMap(collection, (x) => x); +const removeUndefinedValues = (obj) => lodash.pickBy(obj, isDefined); +const removeNullValues = (obj) => lodash.pickBy(obj, isNotNull); +const removeUndefinedAndNullValues = (obj) => lodash.pickBy(obj, isDefinedAndNotNull); +const removeUndefinedAndNullAndEmptyValues = (obj) => + lodash.pickBy(obj, isDefinedAndNotNullAndNotEmpty); +const isBlank = (value) => lodash.isEmpty(lodash.toString(value)); +const flattenMap = (collection) => lodash.flatMap(collection, (x) => x); // ======================================================================== // GENERIC UTLITY // ======================================================================== @@ -108,7 +109,7 @@ const isObject = (value) => { }; function isEmpty(input) { - return _.isEmpty(_.toString(input).trim()); + return lodash.isEmpty(lodash.toString(input).trim()); } /** @@ -126,8 +127,8 @@ function isEmptyObject(obj) { /** * Function to check if value is Defined, Not null and Not Empty. - * Create this function, Because existing isDefinedAndNotNullAndNotEmpty(123) is returning false due to lodash _.isEmpty function. - * _.isEmpty is used to detect empty collections/objects and it will return true for Integer, Boolean values. + * Create this function, Because existing isDefinedAndNotNullAndNotEmpty(123) is returning false due to lodash lodash.isEmpty function. + * lodash.isEmpty is used to detect empty collections/objects and it will return true for Integer, Boolean values. * ref: https://github.com/lodash/lodash/issues/496 * @param {*} value 123 * @returns yes @@ -141,7 +142,7 @@ const isDefinedNotNullNotEmpty = (value) => (typeof value === 'string' && value.trim().length === 0) ); -const removeUndefinedNullEmptyExclBoolInt = (obj) => _.pickBy(obj, isDefinedNotNullNotEmpty); +const removeUndefinedNullEmptyExclBoolInt = (obj) => lodash.pickBy(obj, isDefinedNotNullNotEmpty); /** * Recursively removes undefined, null, empty objects, and empty arrays from the given object at all levels. @@ -149,6 +150,7 @@ const removeUndefinedNullEmptyExclBoolInt = (obj) => _.pickBy(obj, isDefinedNotN * @returns */ const removeUndefinedNullValuesAndEmptyObjectArray = (obj) => { + // eslint-disable-next-line @typescript-eslint/no-shadow function recursive(obj) { if (Array.isArray(obj)) { const cleanedArray = obj @@ -239,16 +241,46 @@ const getHashFromArrayWithValueAsObject = (arrays, fromKey = 'from', isLowerCase const getValueFromPropertiesOrTraits = ({ message, key }) => { const keySet = ['properties', 'traits', 'context.traits']; - const val = _.find( - _.map(keySet, (k) => get(message, `${k}.${key}`)), - (v) => !_.isNil(v), + const val = lodash.find( + lodash.map(keySet, (k) => get(message, `${k}.${key}`)), + (v) => !lodash.isNil(v), ); - return !_.isNil(val) ? val : null; + return !lodash.isNil(val) ? val : null; +}; + +/** + * Checks if an object contains a circular reference. + * + * @param {object} obj - The object to check for circular references. + * @param {array} [seen=[]] - An array that keeps track of objects already seen during the recursive traversal. Defaults to an empty array. + * @returns {boolean} - True if a circular reference is found, false otherwise. + */ +const hasCircularReference = (obj, seen = []) => { + if (typeof obj !== 'object' || obj === null) { + return false; + } + + if (seen.includes(obj)) { + return true; + } + + seen.push(obj); + // eslint-disable-next-line no-restricted-syntax + for (const value of Object.values(obj)) { + if (hasCircularReference(value, seen)) { + return true; + } + } + seen.pop(); + return false; }; // function to flatten a json function flattenJson(data, separator = '.', mode = 'normal', flattenArrays = true) { const result = {}; + if (hasCircularReference(data)) { + throw new InstrumentationError("Event has circular reference. Can't flatten the event"); + } // a recursive function to loop through the array of the data function recurse(cur, prop) { @@ -527,7 +559,7 @@ const handleSourceKeysOperation = ({ message, operationObject }) => { // quick sanity check for the undefined values in the list. // if there is any undefined values, return null // without going further for operations - const isAllDefined = _.every(argValues, (v) => !_.isNil(v)); + const isAllDefined = lodash.every(argValues, (v) => !lodash.isNil(v)); if (!isAllDefined) { return null; } @@ -539,9 +571,9 @@ const handleSourceKeysOperation = ({ message, operationObject }) => { result = 1; // eslint-disable-next-line no-restricted-syntax for (const v of argValues) { - if (_.isNumber(v)) { + if (lodash.isNumber(v)) { result *= v; - } else if (_.isString(v) && /^[+-]?(\d+(\.\d*)?|\.\d+)([Ee][+-]?\d+)?$/.test(v)) { + } else if (lodash.isString(v) && /^[+-]?(\d+(\.\d*)?|\.\d+)([Ee][+-]?\d+)?$/.test(v)) { result *= parseFloat(v); } else { // if there is a non number argument simply return null @@ -554,7 +586,7 @@ const handleSourceKeysOperation = ({ message, operationObject }) => { result = 0; // eslint-disable-next-line no-restricted-syntax for (const v of argValues) { - if (_.isNumber(v)) { + if (lodash.isNumber(v)) { result += v; } else { // if there is a non number argument simply return null @@ -1022,7 +1054,7 @@ const constructPayload = (message, mappingJson, destinationName = null) => { if (value || value === 0 || value === false) { if (destKey) { // set the value only if correct - _.set(payload, destKey, value); + lodash.set(payload, destKey, value); } else { // to set to root and flatten later payload[''] = value; @@ -1399,12 +1431,12 @@ const errorStatusCodeKeys = ['response.status', 'code', 'status']; const getErrorStatusCode = (error, defaultStatusCode = HTTP_STATUS_CODES.INTERNAL_SERVER_ERROR) => { try { let defaultStCode = defaultStatusCode; - if (!_.isNumber(defaultStatusCode)) { + if (!lodash.isNumber(defaultStatusCode)) { defaultStCode = HTTP_STATUS_CODES.INTERNAL_SERVER_ERROR; } const errStCode = errorStatusCodeKeys .map((statusKey) => get(error, statusKey)) - .find((stCode) => _.isNumber(stCode)); + .find((stCode) => lodash.isNumber(stCode)); return errStCode || defaultStCode; } catch (err) { logger.error('Failed in getErrorStatusCode', err); @@ -1902,7 +1934,7 @@ const batchMultiplexedEvents = (transformedEventsList, maxBatchSize) => { } if (batchedEvents.length === 0 || eventsNotBatched) { if (transformedMessage.length > maxBatchSize) { - transformedMessage = _.chunk(transformedMessage, maxBatchSize); + transformedMessage = lodash.chunk(transformedMessage, maxBatchSize); } batchedEvents.push({ events: transformedMessage, @@ -1916,6 +1948,38 @@ const batchMultiplexedEvents = (transformedEventsList, maxBatchSize) => { return batchedEvents; }; +/** + * Groups events with the same message type together in batches. + * Each batch contains events that have the same message type and are from different users. + * @param {*} inputs - An array of events + * @returns {*} - An array of batches + */ +const groupEventsByType = (inputs) => { + const batches = []; + let currentInputsArray = inputs; + while (currentInputsArray.length > 0) { + const remainingInputsArray = []; + const userOrderTracker = {}; + const event = currentInputsArray.shift(); + const messageType = event.message.type; + const batch = [event]; + currentInputsArray.forEach((currentInput) => { + const currentMessageType = currentInput.message.type; + const currentUser = currentInput.metadata.userId; + if (currentMessageType === messageType && !userOrderTracker[currentUser]) { + batch.push(currentInput); + } else { + remainingInputsArray.push(currentInput); + userOrderTracker[currentUser] = true; + } + }); + batches.push(batch); + currentInputsArray = remainingInputsArray; + } + + return batches; +}; + /** * This function helps to detarmine type of error occured. According to the response * we set authErrorCategory to take decision if we need to refresh the access_token @@ -2061,6 +2125,8 @@ module.exports = { checkAndCorrectUserId, getAccessToken, formatValues, + groupEventsByType, + hasCircularReference, getAuthErrCategoryFromErrDetailsAndStCode, getAuthErrCategoryFromStCode, }; diff --git a/src/v0/util/index.test.js b/src/v0/util/index.test.js index b575f006fa..ce341e8187 100644 --- a/src/v0/util/index.test.js +++ b/src/v0/util/index.test.js @@ -1,5 +1,6 @@ const utilities = require('.'); const { getFuncTestData } = require('../../../test/testHelper'); +const { hasCircularReference, flattenJson } = require('./index'); // Names of the utility functions to test const functionNames = [ @@ -11,6 +12,7 @@ const functionNames = [ 'extractCustomFields', 'batchMultiplexedEvents', 'removeUndefinedNullValuesAndEmptyObjectArray', + 'groupEventsByType', ]; // Names of the utility functions to test which expects multiple arguments as values and not objects @@ -67,3 +69,49 @@ describe('Utility Functions Tests', () => { }); //Test cases which can't be fit in above test suite, have individual function level test blocks + +describe('hasCircularReference', () => { + it('should return false when object has no circular reference', () => { + const obj = { a: 1, b: 2, c: 3 }; + expect(hasCircularReference(obj)).toBe(false); + }); + + it('should return true when object has circular reference', () => { + const obj = { a: 1, b: 2 }; + obj.c = obj; + expect(hasCircularReference(obj)).toBe(true); + }); + + it('should return true when object has nested objects containing circular reference', () => { + const obj1 = { a: 1 }; + const obj2 = { b: 2 }; + obj1.c = obj2; + obj2.d = obj1; + expect(hasCircularReference(obj1)).toBe(true); + }); + + it('should return false when input is null', () => { + expect(hasCircularReference(null)).toBe(false); + }); + + it('should return false when input is not an object', () => { + expect(hasCircularReference(123)).toBe(false); + }); + + it('should return true when object has self-reference', () => { + const obj = { a: 1 }; + obj.b = obj; + expect(hasCircularReference(obj)).toBe(true); + }); +}); + +// extra test cases for flattenJson +describe('flattenJson', () => { + it('should throw an error when flattening a json object with circular reference', () => { + const data = { name: 'John' }; + data.self = data; + expect(() => flattenJson(data)).toThrow( + "Event has circular reference. Can't flatten the event", + ); + }); +}); diff --git a/src/v0/util/testdata/groupEventsByType.json b/src/v0/util/testdata/groupEventsByType.json new file mode 100644 index 0000000000..168b875036 --- /dev/null +++ b/src/v0/util/testdata/groupEventsByType.json @@ -0,0 +1,624 @@ +[ + { + "description": "Should return an empty array when given an empty events array", + "input": [[]], + "output": [] + }, + { + "description": "Should group multiple events with the different message type and different users together in a batch: Scenario 1", + "input": [ + [ + { + "message": { + "type": "identify", + "userId": "user1" + }, + "metadata": { + "jobId": "1" + } + }, + { + "message": { + "type": "identify", + "userId": "user2" + }, + "metadata": { + "jobId": "2" + } + }, + { + "message": { + "type": "track", + "userId": "user1" + }, + "metadata": { + "jobId": "3" + } + }, + { + "message": { + "type": "identify", + "userId": "user1" + }, + "metadata": { + "jobId": "4" + } + }, + { + "message": { + "type": "identify", + "userId": "user2" + }, + "metadata": { + "jobId": "5" + } + } + ] + ], + "output": [ + [ + { + "message": { + "type": "identify", + "userId": "user1" + }, + "metadata": { + "jobId": "1" + } + }, + { + "message": { + "type": "identify", + "userId": "user2" + }, + "metadata": { + "jobId": "2" + } + } + ], + [ + { + "message": { + "type": "track", + "userId": "user1" + }, + "metadata": { + "jobId": "3" + } + } + ], + [ + { + "message": { + "type": "identify", + "userId": "user1" + }, + "metadata": { + "jobId": "4" + } + }, + { + "message": { + "type": "identify", + "userId": "user2" + }, + "metadata": { + "jobId": "5" + } + } + ] + ] + }, + { + "description": "Should group multiple events with the different message type and different users together in a batch: Scenario 2", + "input": [ + [ + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "1" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "1" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "3" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "3" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "4" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "4" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "5" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "5" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "5" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + } + ] + ], + "output": [ + [ + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "1" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "3" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "4" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "5" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + } + ], + [ + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "1" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "3" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "4" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "5" + } + } + ], + [ + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "5" + } + } + ] + ] + }, + { + "description": "Should group multiple events with the different message type and different users together in a batch: Scenario 3", + "input": [ + [ + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "3" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "3" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "1" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "1" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "5" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "5" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "5" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "4" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "4" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + } + ] + ], + "output": [ + [ + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "3" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "4" + } + } + ], + [ + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "3" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "1" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "5" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "4" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + }, + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "6" + } + } + ], + [ + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "1" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "5" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "2" + } + }, + { + "message": { + "type": "track" + }, + "metadata": { + "userId": "2" + } + } + ], + [ + { + "message": { + "type": "identify" + }, + "metadata": { + "userId": "5" + } + } + ] + ] + } +] diff --git a/test/__mocks__/axios.js b/test/__mocks__/axios.js index dc3005d909..6a3139c4e9 100644 --- a/test/__mocks__/axios.js +++ b/test/__mocks__/axios.js @@ -40,7 +40,6 @@ const { sendgridGetRequestHandler } = require("./sendgrid.mock"); const { sendinblueGetRequestHandler } = require("./sendinblue.mock"); const { courierGetRequestHandler } = require("./courier.mock"); const { brazePostRequestHandler } = require("./braze.mock"); -const {optimizelyFullStackGetRequestHandler} = require("./optimizely_fullstack.mock"); const urlDirectoryMap = { "api.hubapi.com": "hs", @@ -55,7 +54,6 @@ const urlDirectoryMap = { "api.sendinblue.com": "sendinblue", "api.criteo.com": "criteo_audience", "api.courier.com": "courier", - "cdn.optimizely.com": "optimizely_fullstack", }; const fs = require("fs"); diff --git a/test/__mocks__/data/marketo_static_list/proxy_response.json b/test/__mocks__/data/marketo_static_list/proxy_response.json index 2a58d99da2..290a4f5fbf 100644 --- a/test/__mocks__/data/marketo_static_list/proxy_response.json +++ b/test/__mocks__/data/marketo_static_list/proxy_response.json @@ -96,4 +96,4 @@ }, "status": 200 } -} \ No newline at end of file +} diff --git a/test/__mocks__/data/optimizely_fullstack/response.json b/test/__mocks__/data/optimizely_fullstack/response.json deleted file mode 100644 index e83dd8197f..0000000000 --- a/test/__mocks__/data/optimizely_fullstack/response.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "https://cdn.optimizely.com/datafiles/abc.json": { - "accountId": "test_account_id", - "projectId": "test_project_id", - "revision": "45", - "attributes": [ - { - "id": "test_attribute_id_1", - "key": "gender" - }, - { - "id": "test_attribute_id_2", - "key": "name" - }, - { - "id": "test_attribute_id_3", - "key": "userId" - }, - { - "id": "test_attribute_id_4", - "key": "anonymousId" - }, - { - "id": "test_attribute_id_5", - "key": "company" - } - ], - "audiences": [ - { - "id": "$opt_test_audience", - "name": "Optimizely-Generated Audience for Backwards Compatibility", - "conditions": "[\"or\", {\"match\": \"exact\", \"name\": \"$opt_test_attribute\", \"type\": \"custom_attribute\", \"value\": \"$opt_test_value\"}]" - } - ], - "version": "4", - "events": [ - { - "id": "test_event_id_1", - "experimentIds": ["test_experiment_id"], - "key": "Product Added" - }, - { - "id": "test_event_id_2", - "experimentIds": ["test_experiment_id"], - "key": "Product Removed" - }, - { - "id": "test_event_id_3", - "experimentIds": ["test_experiment_id"], - "key": "Order Placed" - }, - { - "id": "test_event_id_4", - "experimentIds": ["test_experiment_id"], - "key": "Viewed Meal page" - }, - { - "id": "test_event_id_5", - "experimentIds": ["test_experiment_id"], - "key": "Viewed food page" - }, - { - "id": "test_event_id_6", - "experimentIds": ["test_experiment_id"], - "key": "Viewed Main screen" - }, - { - "id": "test_event_id_7", - "experimentIds": ["test_experiment_id"], - "key": "Home" - }, - { - "id": "test_event_id_8", - "experimentIds": ["test_experiment_id"], - "key": "Index" - } - ], - "anonymizeIP": true, - "botFiltering": false, - "typedAudiences": [], - "variables": [], - "environmentKey": "production", - "sdkKey": "test_sdk_key", - "featureFlags": [ - { - "id": "test_feature_flag_id", - "key": "testfeature", - "experimentIds": ["test_experiment_id"], - "rolloutId": "test_rollout_id", - "variables": [ - { - "id": "test_variable_id", - "key": "sort_method", - "type": "string", - "defaultValue": "alphabetical" - } - ] - } - ], - "rollouts": [ - { - "id": "test_rollout_id", - "experiments": [ - { - "forcedVariations": {}, - "id": "test_experiment_id", - "key": "test_experiment_key", - "status": "Running", - "trafficAllocation": [ - { - "entityId": "test_variation_id", - "endOfRange": 10000 - } - ], - "variations": [ - { - "id": "test_variation_id", - "key": "test_variation_key", - "variables": [ - { - "id": "test_variable_id", - "value": "alphabetical" - } - ], - "featureEnabled": true - } - ], - "layerId": "test_layer_id", - "audienceIds": [] - } - ] - } - ], - "experiments": [ - { - "forcedVariations": {}, - "id": "test_experiment_id", - "key": "test_experiment_key", - "status": "Running", - "trafficAllocation": [ - { - "entityId": "test_variation_id_1", - "endOfRange": 5000 - }, - { - "entityId": "test_variation_id_2", - "endOfRange": 10000 - } - ], - "variations": [ - { - "id": "test_variation_id_1", - "key": "variation_1", - "variables": [ - { - "id": "test_variable_id", - "value": "popular_first" - } - ], - "featureEnabled": true - }, - { - "id": "test_variation_id_2", - "key": "variation_2", - "variables": [ - { - "id": "test_variable_id", - "value": "popular_first" - } - ], - "featureEnabled": true - } - ], - "layerId": "test_layer_id", - "audienceIds": [] - } - ], - "groups": [] - } -} diff --git a/test/__mocks__/data/pardot/proxy_response.json b/test/__mocks__/data/pardot/proxy_response.json deleted file mode 100644 index 53cf0d1255..0000000000 --- a/test/__mocks__/data/pardot/proxy_response.json +++ /dev/null @@ -1,352 +0,0 @@ -{ - "https://pi.pardot.com/api/prospect/version/4/do/upsert/id/123435": { - "data": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger12", - "last_name": "Federer12", - "email": "Roger12@waltair.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": null, - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": null, - "crm_last_sync": null, - "crm_url": null, - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 200, - "statusText": "OK" - }, - "https://pi.pardot.com/api/prospect/version/4/do/upsert/email/Roger_12@waltair.io": { - "data": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger_12", - "last_name": "Federer_12", - "email": "Roger_12@waltair.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": null, - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": null, - "crm_last_sync": null, - "crm_url": null, - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 201, - "statusText": "Created" - }, - "https://pi.pardot.com/api/prospect/version/4/do/upsert/fid/00Q6r000002LKhTPVR": { - "data": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger_12", - "last_name": "Federer_12", - "email": "Roger_12@federer.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": "00Q6r000002LKhTPVR", - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": "00Q6r000002LKhTPVR", - "crm_last_sync": "2022-01-21 18:47:37", - "crm_url": "https://testcompany.my.salesforce.com/00Q6r000002LKhTPVR", - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 200, - "statusText": "OK" - }, - "https://pi.pardot.com/api/prospect/version/4/do/upsert/email/rolex_waltair@mywebsite.io": { - "response": { - "data": { - "@attributes": { - "stat": "fail", - "version": 1, - "err_code": 184 - }, - "err": "access_token is invalid, unknown, or malformed: Inactive token" - } - }, - "status": 401, - "statusText": "Unauthorized" - } -} diff --git a/test/__mocks__/optimizely_fullstack.mock.js b/test/__mocks__/optimizely_fullstack.mock.js deleted file mode 100644 index f2eb3deb8c..0000000000 --- a/test/__mocks__/optimizely_fullstack.mock.js +++ /dev/null @@ -1,19 +0,0 @@ -const optimizelyFullStackGetRequestHandler = (url, mockData) => { - if (url === 'https://cdn.optimizely.com/datafiles/abc.json') { - return { data: mockData, status: 200 }; - } - - return Promise.reject({ - response: { - data: { - code: 'document_not_found', - message: 'document_not_found', - }, - status: 404, - }, - }); -}; - -module.exports = { - optimizelyFullStackGetRequestHandler, -}; diff --git a/test/__tests__/data/clevertap_input.json b/test/__tests__/data/clevertap_input.json index e8aaa4b528..e0bb1241e2 100644 --- a/test/__tests__/data/clevertap_input.json +++ b/test/__tests__/data/clevertap_input.json @@ -2,7 +2,56 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", + "accountId": "476550467", + "trackAnonymous": true, + "enableObjectIdMapping": false + } + }, + "message": { + "channel": "web", + "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", + "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": { + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -65,7 +114,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -91,7 +140,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -116,7 +165,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -139,7 +188,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -161,7 +210,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -184,7 +233,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -279,7 +328,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": false, "enableObjectIdMapping": false @@ -302,7 +351,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -365,7 +414,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -428,7 +477,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -499,7 +548,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -566,7 +615,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -587,7 +636,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -608,7 +657,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -682,7 +731,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -750,7 +799,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -772,7 +821,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -850,7 +899,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -930,7 +979,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -1015,7 +1064,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true diff --git a/test/__tests__/data/clevertap_output.json b/test/__tests__/data/clevertap_output.json index fc6a4ee2c3..947cc2da21 100644 --- a/test/__tests__/data/clevertap_output.json +++ b/test/__tests__/data/clevertap_output.json @@ -6,7 +6,52 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "d": [ + { + "type": "profile", + "profileData": { + "Email": "jamesDoe@gmail.com", + "Name": "James Doe", + "Phone": "92374162212", + "Gender": "M", + "Employed": true, + "DOB": "1614775793", + "Education": "Science", + "Married": true, + "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": {} + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.clevertap.com/1/upload", + "headers": { + "X-CleverTap-Account-Id": "476550467", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -69,7 +114,7 @@ "params": {}, "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "version": "1", @@ -99,7 +144,7 @@ "params": {}, "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "version": "1", @@ -130,7 +175,7 @@ "params": {}, "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "version": "1", @@ -149,7 +194,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -212,7 +257,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -257,7 +302,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -302,7 +347,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -334,7 +379,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -365,7 +410,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -414,7 +459,7 @@ "params": {}, "headers": { "Content-Type": "application/json", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "X-CleverTap-Account-Id": "476550467" }, "version": "1", @@ -445,7 +490,7 @@ "params": {}, "headers": { "Content-Type": "application/json", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "X-CleverTap-Account-Id": "476550467" }, "version": "1", @@ -458,7 +503,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -505,7 +550,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -537,7 +582,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -585,7 +630,7 @@ "params": {}, "headers": { "Content-Type": "application/json", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "X-CleverTap-Account-Id": "476550467" }, "version": "1", @@ -598,7 +643,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -645,7 +690,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, diff --git a/test/__tests__/data/customerio_input.json b/test/__tests__/data/customerio_input.json index ea89411524..e2d987fc5a 100644 --- a/test/__tests__/data/customerio_input.json +++ b/test/__tests__/data/customerio_input.json @@ -2584,21 +2584,11 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU" - ], - "web": [ - "useNativeSDK" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU"], + "web": ["useNativeSDK"] }, "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU" - ], + "includeKeys": ["apiKey", "siteID", "datacenterEU"], "saveDestinationResponse": true, "secretKeys": [], "supportedSourceTypes": [ @@ -2674,21 +2664,11 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU" - ], - "web": [ - "useNativeSDK" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU"], + "web": ["useNativeSDK"] }, "excludeKeys": [], - "includeKeys": [ - "apiKey", - "siteID", - "datacenterEU" - ], + "includeKeys": ["apiKey", "siteID", "datacenterEU"], "saveDestinationResponse": true, "secretKeys": [], "supportedSourceTypes": [ @@ -2804,17 +2784,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -2826,12 +2797,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -2945,17 +2911,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -2967,12 +2924,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3085,17 +3037,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3107,12 +3050,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3225,17 +3163,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3247,12 +3176,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3362,17 +3286,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3384,12 +3299,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3503,17 +3413,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3525,12 +3426,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3644,17 +3540,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3666,12 +3553,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3785,17 +3667,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3807,12 +3680,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -3925,17 +3793,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -3947,12 +3806,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4062,17 +3916,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4084,12 +3929,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4203,17 +4043,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4225,12 +4056,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4308,17 +4134,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4330,12 +4147,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4413,17 +4225,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4435,12 +4238,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4521,17 +4319,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4543,12 +4332,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4629,17 +4413,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4651,12 +4426,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4738,17 +4508,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4760,12 +4521,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4847,17 +4603,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4869,12 +4616,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -4956,17 +4698,8 @@ "DisplayName": "Customer IO", "Config": { "destConfig": { - "defaultConfig": [ - "apiKey", - "siteID", - "datacenterEU", - "deviceTokenEventName" - ], - "web": [ - "useNativeSDK", - "blackListedEvents", - "whiteListedEvents" - ] + "defaultConfig": ["apiKey", "siteID", "datacenterEU", "deviceTokenEventName"], + "web": ["useNativeSDK", "blackListedEvents", "whiteListedEvents"] }, "excludeKeys": [], "includeKeys": [ @@ -4978,12 +4711,7 @@ ], "saveDestinationResponse": true, "secretKeys": [], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "supportedSourceTypes": [ "android", "ios", @@ -5167,4 +4895,4 @@ } } } -] \ No newline at end of file +] diff --git a/test/__tests__/data/fb_output.json b/test/__tests__/data/fb_output.json index a974fffe7e..2923e1720e 100644 --- a/test/__tests__/data/fb_output.json +++ b/test/__tests__/data/fb_output.json @@ -3,10 +3,10 @@ "message": "If properties.revenue is present, properties.currency is required." }, { - "message": "{\"product_id\":123} is not of valid type" + "message": "Value of properties.products.sub.product_id is not of valid type. It should be of type string" }, { - "message": "properties.revenue is not of valid type" + "message": "Value of properties.revenue is not of valid type. It should be of type number" }, { "body": { @@ -307,4 +307,4 @@ "userId": "c82cbdff-e5be-4009-ac78-cdeea09ab4b1", "statusCode": 200 } -] \ No newline at end of file +] diff --git a/test/__tests__/data/fb_router_output.json b/test/__tests__/data/fb_router_output.json index 508d83cc60..5dd568cca5 100644 --- a/test/__tests__/data/fb_router_output.json +++ b/test/__tests__/data/fb_router_output.json @@ -35,6 +35,6 @@ }, "batched": false, "statusCode": 400, - "error": "{\"product_id\":123} is not of valid type" + "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/google_adwords_enhanced_conversions_proxy_input.json b/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json index 612efeb99a..430cfbd05f 100644 --- a/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json +++ b/test/__tests__/data/google_adwords_enhanced_conversions_proxy_input.json @@ -158,4 +158,4 @@ }, "files": {} } -] \ No newline at end of file +] diff --git a/test/__tests__/data/google_adwords_offline_conversions.json b/test/__tests__/data/google_adwords_offline_conversions.json index 9bdb5cda45..3c7b54ac4c 100644 --- a/test/__tests__/data/google_adwords_offline_conversions.json +++ b/test/__tests__/data/google_adwords_offline_conversions.json @@ -4600,4 +4600,4 @@ } ] } -] \ No newline at end of file +] diff --git a/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json b/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json index 3cd282ec2a..ff74720bc3 100644 --- a/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json +++ b/test/__tests__/data/google_adwords_remarketing_lists_proxy_input.json @@ -135,4 +135,4 @@ }, "files": {} } -] \ No newline at end of file +] diff --git a/test/__tests__/data/hs_input.json b/test/__tests__/data/hs_input.json index 9889503dee..0dab49824f 100644 --- a/test/__tests__/data/hs_input.json +++ b/test/__tests__/data/hs_input.json @@ -3139,5 +3139,47 @@ }, "Enabled": true } + }, + { + "description": "[HS] (New API v3) - (newPrivateAppApi) sample track call when hubspotEvents is undefined", + "message": { + "type": "track", + "traits": {}, + "context": { + "externalId": [ + { + "id": "osvaldocostaferreira98@gmail.com", + "type": "HS-contacts", + "identifierType": "email" + } + ] + }, + "event": "Purchase", + "properties": { + "Revenue": "name1" + } + }, + "destination": { + "Config": { + "authorizationType": "newPrivateAppApi", + "hubID": "", + "apiKey": "", + "accessToken": "dummy-access-token", + "apiVersion": "newApi", + "lookupField": "lookupField", + "eventFilteringOption": "disable", + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ] + }, + "Enabled": true + } } ] diff --git a/test/__tests__/data/hs_output.json b/test/__tests__/data/hs_output.json index 6167ea69f3..72fe50ba0d 100644 --- a/test/__tests__/data/hs_output.json +++ b/test/__tests__/data/hs_output.json @@ -826,5 +826,18 @@ "type": "REST", "version": "1" } - ] + ], + + { + "statusCode": 400, + "error": "Event and property mappings are required for track call", + "statTags": { + "errorCategory": "dataValidation", + "errorType": "instrumentation", + "destType": "HS", + "module": "destination", + "implementation": "native", + "feature": "processor" + } + } ] diff --git a/test/__tests__/data/marketo_static_list_proxy_output.json b/test/__tests__/data/marketo_static_list_proxy_output.json index 8ac482b5be..ec52d0c37c 100644 --- a/test/__tests__/data/marketo_static_list_proxy_output.json +++ b/test/__tests__/data/marketo_static_list_proxy_output.json @@ -126,4 +126,4 @@ } } } -] \ No newline at end of file +] diff --git a/test/__tests__/data/mp_router_output.json b/test/__tests__/data/mp_router_output.json index acd6912c01..d1af209e8b 100644 --- a/test/__tests__/data/mp_router_output.json +++ b/test/__tests__/data/mp_router_output.json @@ -1,4 +1,55 @@ [ + { + "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": { + "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": "Mixpanel", + "Transformations": [] + } + }, { "batchedRequest": [ { @@ -11,7 +62,7 @@ "body": { "JSON": {}, "JSON_ARRAY": { - "batch": "[{\"$append\":{\"$transactions\":{\"$time\":\"2023-07-06T06:29:02.402Z\",\"$amount\":18.9}},\"$token\":\"test_api_token\",\"$distinct_id\":\"userId01\"},{\"$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}]" + "batch": "[{\"$append\":{\"$transactions\":{\"$time\":\"2023-07-06T06:29:02.402Z\",\"$amount\":18.9}},\"$token\":\"test_api_token\",\"$distinct_id\":\"userId01\"}]" }, "XML": {}, "FORM": {} @@ -33,7 +84,7 @@ "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\"}},{\"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\"}}]" + "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": {} @@ -45,18 +96,6 @@ { "jobId": 2, "additionalProp": 2 - }, - { - "jobId": 3, - "additionalProp": 3 - }, - { - "jobId": 4, - "additionalProp": 4 - }, - { - "jobId": 1, - "additionalProp": 1 } ], "batched": true, @@ -92,7 +131,7 @@ "body": { "JSON": {}, "JSON_ARRAY": { - "batch": "[{\"$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},{\"$token\":\"test_api_token\",\"$distinct_id\":\"userId06\",\"$set\":{\"company\":[\"testComp\"]},\"$ip\":\"0.0.0.0\"}]" + "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": {} @@ -103,13 +142,74 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://api.mixpanel.com/groups/", + "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": { + "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": "Mixpanel", + "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\",\"$group_key\":\"company\",\"$group_id\":\"testComp\",\"$set\":{\"company\":\"testComp\"}}]" + "batch": "[{\"$token\":\"test_api_token\",\"$distinct_id\":\"userId06\",\"$set\":{\"company\":[\"testComp\"]},\"$ip\":\"0.0.0.0\"}]" }, "XML": {}, "FORM": {} @@ -120,18 +220,13 @@ "version": "1", "type": "REST", "method": "POST", - "endpoint": "https://api.mixpanel.com/import/", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic dGVzdF9hcGlfc2VjcmV0Og==" - }, - "params": { - "strict": 1 - }, + "endpoint": "https://api.mixpanel.com/groups/", + "headers": {}, + "params": {}, "body": { "JSON": {}, "JSON_ARRAY": { - "batch": "[{\"event\":\"$merge\",\"properties\":{\"$distinct_ids\":[\"test_user_id\",\"5094f5704b9cf2b3\"],\"token\":\"test_api_token\"}}]" + "batch": "[{\"$token\":\"test_api_token\",\"$group_key\":\"company\",\"$group_id\":\"testComp\",\"$set\":{\"company\":\"testComp\"}}]" }, "XML": {}, "FORM": {} @@ -140,10 +235,6 @@ } ], "metadata": [ - { - "jobId": 5, - "additionalProp": 5 - }, { "jobId": 6, "additionalProp": 6 @@ -155,8 +246,11 @@ "Config": { "apiSecret": "test_api_secret", "token": "test_api_token", - "prefixProperties": true, - "useNativeSDK": false, + "groupKeySettings": [ + { + "groupKey": "company" + } + ], "strictMode": true }, "DestinationDefinition": { diff --git a/test/__tests__/data/optimizely_fullstack.json b/test/__tests__/data/optimizely_fullstack.json deleted file mode 100644 index 1331d38033..0000000000 --- a/test/__tests__/data/optimizely_fullstack.json +++ /dev/null @@ -1,1641 +0,0 @@ -[ - { - "description": "Missing Data File URL", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Data File Url is not present. Aborting" - } - }, - { - "description": "Identify call: Missing Variation ID in integration object", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Variation ID is not present in the integrations object" - } - }, - { - "description": "Missing Account ID", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Account ID is not present. Aborting" - } - }, - { - "description": "Missing Campaign ID", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Campaign ID is not present. Aborting" - } - }, - { - "description": "Missing Experiment ID", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id" - } - } - }, - "output": { - "error": "Experiment ID is not present. Aborting" - } - }, - { - "description": "Page: Track Categorized Page and Track Named Pages toggle are disabled", - "input": { - "message": { - "type": "page", - "channel": "web", - "name": "Home", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id", - "trackCategorizedPages": false, - "trackNamedPages": false - } - } - }, - "output": { - "error": "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." - } - }, - { - "description": "Invalid Configuration (Track known users toggle is on and userId is missing in request)", - "input": { - "message": { - "type": "track", - "channel": "web", - "event": "Product Added", - "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", - "optimizely_fullstack": { - "variationId": "123" - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id", - "trackCategorizedPages": false, - "trackNamedPages": false, - "trackKnownUsers": true - } - } - }, - "output": { - "error": "UserId is required for event tracking when the 'Track Known Users' setting is enabled. Please include a 'userId' in your event payload" - } - }, - { - "description": "Invalid Configuration (Track known users toggle is off and anonymousId is missing in request)", - "input": { - "message": { - "type": "track", - "channel": "web", - "event": "Product Added", - "properties": { - "price": 999, - "quantity": 1 - }, - "context": { - "traits": { - "firstName": "John", - "age": 27 - } - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "AnonymousId is required when 'Track Known Users' setting is disabled" - } - }, - { - "description": "Track call without event", - "input": { - "message": { - "type": "track", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Event is not present. Aborting." - } - }, - { - "description": "Invalid data file url", - "input": { - "message": { - "type": "track", - "event": "Product Added", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35" - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/wrong_cdn.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "error": "Data File Lookup Failed due to {\"code\":\"document_not_found\",\"message\":\"document_not_found\"}" - } - }, - { - "description": "Invalid data file url", - "input": { - "message": { - "type": "track", - "event": "Product Added", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id", - "eventMapping": [ - { - "from": "Product Added", - "to": "product_added" - } - ] - } - } - }, - "output": { - "error": "Event 'product_added' is not present in data file. Make sure event exists in Optimizely." - } - }, - { - "description": "Identify call (Decision Event) with userId", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe", - "country": "US" - }, - "sessionId": 1685626914716 - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "userId": "userId123", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [ - { - "campaign_id": "test_campaign_id", - "experiment_id": "test_experiment_id", - "variation_id": "test_variation_id_1" - } - ], - "events": [ - { - "entity_id": "test_campaign_id", - "type": "campaign_activated", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff" - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Identify call (Decision Event) with anonymousId", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe", - "country": "US" - }, - "sessionId": 1685626914716 - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "userId": "userId123", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": false - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "97c46c81-3140-456d-b2a9-690d70aaca35", - "snapshots": [ - { - "decisions": [ - { - "campaign_id": "test_campaign_id", - "experiment_id": "test_experiment_id", - "variation_id": "test_variation_id_1" - } - ], - "events": [ - { - "entity_id": "test_campaign_id", - "type": "campaign_activated", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff" - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Identify call (Decision Event) with projectId is empty", - "input": { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe", - "country": "US" - }, - "sessionId": 1685626914716 - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "userId": "userId123", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "projectId": "", - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [ - { - "campaign_id": "test_campaign_id", - "experiment_id": "test_experiment_id", - "variation_id": "test_variation_id_1" - } - ], - "events": [ - { - "entity_id": "test_campaign_id", - "type": "campaign_activated", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff" - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call (Conversion event) with userId", - "input": { - "message": { - "type": "track", - "event": "product_added", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "revenue": 123, - "quantity": 2 - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_2" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "eventMapping": [ - { - "from": "Product Searched", - "to": "Searched" - }, - { - "from": "product_added", - "to": "Product Added" - } - ], - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "quantity": 2, - "revenue": 12300, - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call (Conversion event) without event mapping configured in webapp", - "input": { - "message": { - "type": "track", - "event": "Product Added", - "channel": "web", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id" - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "97c46c81-3140-456d-b2a9-690d70aaca35", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": {} - } - ] - } - ] - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track call: Missing Variation ID in integration object ", - "input": { - "message": { - "type": "track", - "event": "product_added", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "revenue": 123, - "quantity": 2 - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "eventMapping": [ - { - "from": "Product Searched", - "to": "Searched" - }, - { - "from": "product_added", - "to": "Product Added" - } - ], - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "quantity": 2, - "revenue": 12300, - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Categorized and Named Page", - "input": { - "message": { - "type": "page", - "name": "Meal", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "food" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "food" - } - }, - { - "entity_id": "test_event_id_4", - "key": "Viewed Meal page", - "timestamp": 1676031367251, - "uuid": "generated_uuid", - "tags": { - "foo": "bar", - "category": "food" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Categorized and Named Page without event mapping configured in webapp", - "input": { - "message": { - "type": "page", - "name": "home", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "index" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "", - "to": "" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_8", - "key": "Index", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "index" - } - }, - { - "entity_id": "test_event_id_7", - "key": "Home", - "timestamp": 1676031367251, - "uuid": "generated_uuid", - "tags": { - "foo": "bar", - "category": "index" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Categorized Page: trackCategorizedPages,trackNamedPages toggle are enabled and name is not provided", - "input": { - "message": { - "type": "page", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "food" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "food" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Named Page: trackCategorizedPages,trackNamedPages toggle are enabled and category is not provided", - "input": { - "message": { - "type": "page", - "userId": "userId123", - "name": "Meal", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_4", - "key": "Viewed Meal page", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Named Page: trackCategorizedPages,trackNamedPages toggle are enabled and category mapping is wrong", - "input": { - "message": { - "type": "page", - "userId": "userId123", - "name": "Meal", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "ABC" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_4", - "key": "Viewed Meal page", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - }, - { - "description": "Track Named Page: mapping is not provided for page name in webapp", - "input": { - "message": { - "type": "page", - "userId": "userId123", - "name": "Meal", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": false, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "Home", - "to": "Viewed Home Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "error": "Events [meal] are not present in the data file. Make sure events exist in Optimizely." - } - }, - { - "description": "Track Categorized and Named Screen", - "input": { - "message": { - "type": "screen", - "name": "Home", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "food" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": true, - "pageMapping": [ - { - "from": "home", - "to": "Viewed Main Screen" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - } - }, - "output": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "food" - } - }, - { - "entity_id": "test_event_id_6", - "key": "Viewed Main screen", - "timestamp": 1676031367251, - "uuid": "generated_uuid", - "tags": { - "foo": "bar", - "category": "food" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - } - } -] diff --git a/test/__tests__/data/optimizely_fullstack_router.json b/test/__tests__/data/optimizely_fullstack_router.json deleted file mode 100644 index 6be928afc9..0000000000 --- a/test/__tests__/data/optimizely_fullstack_router.json +++ /dev/null @@ -1,494 +0,0 @@ -[ - { - "input": [ - { - "message": { - "type": "identify", - "channel": "web", - "properties": {}, - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe", - "country": "US" - }, - "sessionId": 1685626914716 - }, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "timestamp": "2023-02-10T12:16:07.251Z", - "userId": "userId123", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - }, - "metadata": { - "jobId": 1 - } - }, - { - "message": { - "type": "track", - "event": "product_added", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "revenue": 123, - "quantity": 2 - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_2" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "eventMapping": [ - { - "from": "Product Searched", - "to": "Searched" - }, - { - "from": "product_added", - "to": "Product Added" - } - ], - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - }, - "metadata": { - "jobId": 2 - } - }, - { - "message": { - "type": "page", - "userId": "userId123", - "channel": "web", - "context": { - "traits": { - "organization": "RudderStack", - "fullName": "John Doe" - }, - "sessionId": 1685626914716 - }, - "rudderId": "5354b3f2-cb72-4355-a2b5-a298c3837c7d", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "timestamp": "2023-02-10T12:16:07.251Z", - "properties": { - "foo": "bar", - "category": "food" - }, - "anonymousId": "856365b8-da4b-4c13-9098-84df18559446", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "test_variation_id_1" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": false, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - }, - "metadata": { - "jobId": 3 - } - }, - { - "message": { - "type": "page", - "channel": "web", - "name": "Home", - "properties": {}, - "context": {}, - "rudderId": "8f8fa6b5-8e24-489c-8e22-61f23f2e364f", - "messageId": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "anonymousId": "97c46c81-3140-456d-b2a9-690d70aaca35", - "integrations": { - "All": true, - "optimizely_fullstack": { - "variationId": "123" - } - } - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "experimentId": "test_experiment_id", - "trackCategorizedPages": false, - "trackNamedPages": false - } - }, - "metadata": { - "jobId": 4 - } - } - ], - "output": [ - { - "batched": false, - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": false, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [ - { - "campaign_id": "test_campaign_id", - "experiment_id": "test_experiment_id", - "variation_id": "test_variation_id_1" - } - ], - "events": [ - { - "entity_id": "test_campaign_id", - "type": "campaign_activated", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff" - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - }, - "metadata": [ - { - "jobId": 1 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "attributes": [ - { - "entity_id": "test_attribute_id_5", - "key": "company", - "type": "custom", - "value": "RudderStack" - }, - { - "entity_id": "test_attribute_id_2", - "key": "name", - "type": "custom", - "value": "John Doe" - } - ], - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "quantity": 2, - "revenue": 12300, - "tags": { - "foo": "bar" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "eventMapping": [ - { - "from": "Product Searched", - "to": "Searched" - }, - { - "from": "product_added", - "to": "Product Added" - } - ], - "attributeMapping": [ - { - "from": "organization", - "to": "company" - }, - { - "from": "fullName", - "to": "name" - } - ] - } - }, - "metadata": [ - { - "jobId": 2 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "batchedRequest": { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://logx.optimizely.com/v1/events", - "headers": { - "Content-Type": "application/json" - }, - "params": {}, - "body": { - "JSON": { - "account_id": "test_account_id", - "anonymize_ip": true, - "enrich_decisions": true, - "client_name": "RudderStack", - "client_version": "1.0.0", - "visitors": [ - { - "visitor_id": "userId123", - "snapshots": [ - { - "decisions": [], - "events": [ - { - "entity_id": "test_event_id_1", - "key": "Product Added", - "timestamp": 1676031367251, - "uuid": "2116ef8c-efc3-4ca4-851b-02ee60dad6ff", - "tags": { - "foo": "bar", - "category": "food" - } - } - ] - } - ], - "session_id": "1685626914716" - } - ] - }, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": {} - }, - "files": {} - }, - "destination": { - "Config": { - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "accountId": "test_account_id", - "campaignId": "test_campaign_id", - "experimentId": "test_experiment_id", - "trackKnownUsers": true, - "anonymizeIp": true, - "trackCategorizedPages": true, - "trackNamedPages": false, - "pageMapping": [ - { - "from": "meal", - "to": "Viewed Meal Page" - }, - { - "from": "food", - "to": "Product Added" - } - ] - } - }, - "metadata": [ - { - "jobId": 3 - } - ], - "statusCode": 200 - }, - { - "batched": false, - "destination": { - "Config": { - "accountId": "test_account_id", - "campaignId": "test_campagin_id", - "dataFileUrl": "https://cdn.optimizely.com/datafiles/abc.json", - "experimentId": "test_experiment_id", - "trackCategorizedPages": false, - "trackNamedPages": false - } - }, - "error": "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.", - "metadata": [ - { - "jobId": 4 - } - ], - "statTags": { - "errorCategory": "dataValidation", - "errorType": "configuration" - }, - "statusCode": 400 - } - ] - } -] diff --git a/test/__tests__/data/pardot_proxy_input.json b/test/__tests__/data/pardot_proxy_input.json deleted file mode 100644 index f5f62dea72..0000000000 --- a/test/__tests__/data/pardot_proxy_input.json +++ /dev/null @@ -1,106 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://pi.pardot.com/api/prospect/version/4/do/upsert/id/123435", - "headers": { - "Authorization": "Bearer myToken", - "Pardot-Business-Unit-Id": "0Uv2v000000k9tHCAQ" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "first_name": "Roger12", - "last_name": "Federer12", - "website": "https://rudderstack.com", - "score": 14, - "campaign_id": 42213 - } - }, - "files": {}, - "params": { - "destination": "pardot" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://pi.pardot.com/api/prospect/version/4/do/upsert/email/Roger_12@waltair.io", - "headers": { - "Authorization": "Bearer myToken", - "Pardot-Business-Unit-Id": "0Uv2v000000k9tHCAQ" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "first_name": "Roger_12", - "last_name": "Federer_12", - "website": "https://rudderstack.com", - "score": 14, - "campaign_id": 42213 - } - }, - "files": {}, - "params": { - "destination": "pardot" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://pi.pardot.com/api/prospect/version/4/do/upsert/fid/00Q6r000002LKhTPVR", - "headers": { - "Authorization": "Bearer myToken", - "Pardot-Business-Unit-Id": "0Uv2v000000k9tHCAQ" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "first_name": "Nick", - "last_name": "Kyrgios", - "website": "https://rudderstack.com", - "score": 12, - "campaign_id": 42213 - } - }, - "files": {}, - "params": { - "destination": "pardot" - } - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://pi.pardot.com/api/prospect/version/4/do/upsert/email/rolex_waltair@mywebsite.io", - "headers": { - "Authorization": "Bearer myExpiredToken", - "Pardot-Business-Unit-Id": "0Uv2v000000k9tHCAQ" - }, - "body": { - "JSON": {}, - "JSON_ARRAY": {}, - "XML": {}, - "FORM": { - "first_name": "Rolex", - "last_name": "Waltair", - "website": "https://rudderstack.com", - "score": 15, - "campaign_id": 42213 - } - }, - "files": {}, - "params": { - "destination": "pardot" - } - } -] \ No newline at end of file diff --git a/test/__tests__/data/pardot_proxy_output.json b/test/__tests__/data/pardot_proxy_output.json deleted file mode 100644 index 46783b3d69..0000000000 --- a/test/__tests__/data/pardot_proxy_output.json +++ /dev/null @@ -1,378 +0,0 @@ -[ - { - "output": { - "message": "Request Processed Successfully", - "status": 200, - "destinationResponse": { - "response": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger12", - "last_name": "Federer12", - "email": "Roger12@waltair.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": null, - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": null, - "crm_last_sync": null, - "crm_url": null, - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 200 - } - } - }, - { - "output": { - "message": "Request Processed Successfully", - "status": 201, - "destinationResponse": { - "response": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger_12", - "last_name": "Federer_12", - "email": "Roger_12@waltair.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": null, - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": null, - "crm_last_sync": null, - "crm_url": null, - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 201 - } - } - }, - { - "output": { - "message": "Request Processed Successfully", - "status": 200, - "destinationResponse": { - "response": { - "@attributes": { - "stat": "ok", - "version": 1 - }, - "prospect": { - "id": 123435, - "campaign_id": 42213, - "salutation": null, - "first_name": "Roger_12", - "last_name": "Federer_12", - "email": "Roger_12@federer.io", - "password": null, - "company": null, - "website": "https://rudderstack.com", - "job_title": null, - "department": null, - "country": "AU", - "address_one": null, - "address_two": null, - "city": null, - "state": null, - "territory": null, - "zip": null, - "phone": null, - "fax": null, - "source": null, - "annual_revenue": null, - "employees": null, - "industry": null, - "years_in_business": null, - "comments": null, - "notes": null, - "score": 14, - "grade": null, - "last_activity_at": null, - "recent_interaction": "Never active.", - "crm_lead_fid": "00Q6r000002LKhTPVR", - "crm_contact_fid": null, - "crm_owner_fid": "00G2v000004WYXaEAO", - "crm_account_fid": null, - "salesforce_fid": "00Q6r000002LKhTPVR", - "crm_last_sync": "2022-01-21 18:47:37", - "crm_url": "https://testcompany.my.salesforce.com/00Q6r000002LKhTPVR", - "is_do_not_email": null, - "is_do_not_call": null, - "opted_out": null, - "is_reviewed": 1, - "is_starred": null, - "created_at": "2022-01-21 18:21:46", - "updated_at": "2022-01-21 18:48:41", - "campaign": { - "id": 42113, - "name": "Test", - "crm_fid": "7012y000000MNOCLL4" - }, - "assigned_to": { - "user": { - "id": 38443703, - "email": "test_rudderstack@testcompany.com", - "first_name": "Rudderstack", - "last_name": "User", - "job_title": null, - "role": "Administrator", - "account": 489853, - "created_at": "2021-02-26 06:25:17", - "updated_at": "2021-02-26 06:25:17" - } - }, - "Are_you_shipping_large_fragile_or_bulky_items": false, - "Calendly": false, - "Country_Code": "AU", - "Currency": "AUD", - "Inventory_or_Warehouse_Management_System": false, - "Lead_Status": "New", - "Marketing_Stage": "SAL", - "Record_Type_ID": "TestCompany Lead", - "profile": { - "id": 304, - "name": "Default", - "profile_criteria": [ - { - "id": 1500, - "name": "Shipping Volume", - "matches": "Unknown" - }, - { - "id": 1502, - "name": "Industry", - "matches": "Unknown" - }, - { - "id": 1506, - "name": "Job Title", - "matches": "Unknown" - }, - { - "id": 1508, - "name": "Department", - "matches": "Unknown" - } - ] - }, - "visitors": null, - "visitor_activities": null, - "lists": null - } - }, - "status": 200 - } - } - }, - { - "output": { - "message": "access_token is invalid, unknown, or malformed: Inactive token during Pardot response transformation", - "status": 500, - "authErrorCategory": "REFRESH_TOKEN", - "destinationResponse": { - "@attributes": { - "stat": "fail", - "version": 1, - "err_code": 184 - }, - "err": "access_token is invalid, unknown, or malformed: Inactive token" - }, - "statTags": { - "destType": "PARDOT", - "errorCategory": "network", - "destinationId": "Non-determininable", - "workspaceId": "Non-determininable", - "errorType": "retryable", - "feature": "dataDelivery", - "implementation": "native", - "module": "destination" - } - } - } -] diff --git a/test/__tests__/data/slack_input.json b/test/__tests__/data/slack_input.json index f9a0b49841..e29624490c 100644 --- a/test/__tests__/data/slack_input.json +++ b/test/__tests__/data/slack_input.json @@ -1412,4 +1412,4 @@ "sourceId": "1YhwKyDcKstudlGxkeN5p2wgsrp" } } -] \ No newline at end of file +] diff --git a/test/__tests__/data/slack_output.json b/test/__tests__/data/slack_output.json index 63d7934a00..c772aa3b19 100644 --- a/test/__tests__/data/slack_output.json +++ b/test/__tests__/data/slack_output.json @@ -161,4 +161,4 @@ { "error": "Event is denied. Please check configuration." } -] \ No newline at end of file +] diff --git a/test/__tests__/mssql.test.js b/test/__tests__/mssql.test.js deleted file mode 100644 index 7e883d2c30..0000000000 --- a/test/__tests__/mssql.test.js +++ /dev/null @@ -1,50 +0,0 @@ -const { getDataType } = require("../../src/warehouse/index"); -const { - getDataTypeOverride -} = require("../../src/v0/destinations/mssql/transform"); - -var testCases = [ - { - name: "normalInt", - data: 1, - type: "int" - }, - { - name: "normalFloat", - data: 2.01, - type: "float" - }, - { - name: "normalBoolean", - data: true, - type: "boolean" - }, - { - name: "normalString", - data: "mssql transformation[*007}", - type: "string" - }, - { - name: "violationErrors", - data: [ - { - message: - "no schema for eventName : Product Purchased new, eventType : track in trackingPlanID : tp_20dfXJDpotQWHe7hMxfQfgWMZDv::1", - meta: {}, - type: "Unplanned-Event" - } - ], - type: "string" - } -]; - -describe("MSSQL data types testing", () => { - let options = {}; - options.getDataTypeOverride = getDataTypeOverride; - testCases.forEach(testCase => { - it(`should return data type ${testCase.type} for this input data ${testCase.data} everytime`, () => { - var dataType = getDataType(testCase.name, testCase.data, options); - expect(dataType).toEqual(testCase.type); - }); - }); -}); diff --git a/test/__tests__/optimizely_fullstack-cdk.test.ts b/test/__tests__/optimizely_fullstack-cdk.test.ts deleted file mode 100644 index b51cd18b11..0000000000 --- a/test/__tests__/optimizely_fullstack-cdk.test.ts +++ /dev/null @@ -1,60 +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 = 'optimizely_fullstack'; -const destName = 'Optimizely Fullstack'; - -jest.mock('../../src/v0/util/index', () => { - const originalModule = jest.requireActual('../../src/v0/util/index'); - return { - ...originalModule, - generateUUID: jest.fn(() => 'generated_uuid'), - }; -}); - -// Processor Test files -const testDataFile = fs.readFileSync(path.resolve(__dirname, `./data/${integration}.json`), { - encoding: 'utf8', -}); -const testData = JSON.parse(testDataFile); - -// Router Test files -const routerTestDataFile = fs.readFileSync( - path.resolve(__dirname, `./data/${integration}_router.json`), - { encoding: 'utf8' }, -); -const routerTestData = JSON.parse(routerTestDataFile); - -describe(`${destName} Tests`, () => { - describe('Processor Tests', () => { - testData.forEach((dataPoint, index) => { - it(`${destName} - payload: ${index}`, async () => { - try { - const output = await processCdkV2Workflow( - integration, - dataPoint.input, - tags.FEATURES.PROCESSOR, - ); - expect(output).toEqual(dataPoint.output); - } catch (error: any) { - expect(error.message).toEqual(dataPoint.output.error); - } - }); - }); - }); - - describe('Router Tests', () => { - routerTestData.forEach((dataPoint) => { - it('Optimizely fullstack router test case', async () => { - const output = await processCdkV2Workflow( - integration, - dataPoint.input, - tags.FEATURES.ROUTER, - ); - expect(output).toEqual(dataPoint.output); - }); - }); - }); -}); diff --git a/test/__tests__/pardot.test.js b/test/__tests__/pardot.test.js deleted file mode 100644 index d766d3b856..0000000000 --- a/test/__tests__/pardot.test.js +++ /dev/null @@ -1,28 +0,0 @@ -const fs = require("fs"); -const path = require("path"); - -const integration = "pardot"; -const name = "pardot"; - -const version = "v0"; - -const transformer = require(`../../src/${version}/destinations/${integration}/transform`); - -//for router test -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} Router Tests`, () => { - describe("Router Tests", () => { - it(`${name} Payload`, async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/__tests__/postgres.test.js b/test/__tests__/postgres.test.js deleted file mode 100644 index 354fedba09..0000000000 --- a/test/__tests__/postgres.test.js +++ /dev/null @@ -1,50 +0,0 @@ -const { getDataType } = require("../../src/warehouse/index"); -const { - getDataTypeOverride -} = require("../../src/v0/destinations/postgres/transform"); - -var testCases = [ - { - name: "normalInt", - data: 1, - type: "int" - }, - { - name: "normalFloat", - data: 2.01, - type: "float" - }, - { - name: "normalBoolean", - data: true, - type: "boolean" - }, - { - name: "normalString", - data: "postgres transformation[*007}", - type: "string" - }, - { - name: "violationErrors", - data: [ - { - message: - "no schema for eventName : Product Purchased new, eventType : track in trackingPlanID : tp_20dfXJDpotQWHe7hMxfQfgWMZDv::1", - meta: {}, - type: "Unplanned-Event" - } - ], - type: "json" - } -]; - -describe("Postgres data types testing", () => { - let options = {}; - options.getDataTypeOverride = getDataTypeOverride; - testCases.forEach(testCase => { - it(`should return data type ${testCase.type} for this input data ${testCase.data} everytime`, () => { - var dataType = getDataType(testCase.name, testCase.data, options); - expect(dataType).toEqual(testCase.type); - }); - }); -}); diff --git a/test/__tests__/proxy.test.ts b/test/__tests__/proxy.test.ts index 9f13c198fc..15769fc8dc 100644 --- a/test/__tests__/proxy.test.ts +++ b/test/__tests__/proxy.test.ts @@ -1,12 +1,13 @@ const name = 'Proxy'; -import fs from 'fs'; -import path from 'path'; +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; @@ -37,7 +38,6 @@ const version = '1'; const destinations = [ 'marketo', 'braze', - 'pardot', 'google_adwords_remarketing_lists', 'google_adwords_enhanced_conversions', 'facebook_pixel', @@ -48,7 +48,7 @@ const destinations = [ 'marketo_static_list', 'criteo_audience', 'tiktok_ads', - 'intercom' + 'intercom', ]; // start of generic tests @@ -89,6 +89,20 @@ destinations.forEach((destination) => { 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/deleteUsers/README.md b/test/deleteUsers/README.md deleted file mode 100644 index c3170f3a8c..0000000000 --- a/test/deleteUsers/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# DeleteUsers Tests - -All the tests data for deleteUsers are to be present in **tests**/data/deleteUsers/${destination}/ - -### Files and their significance - -- **`handler_input.json`** - Input data for `handleDeletionOfUsers` function in `versionedRouter.js`(alias for `_deleteUsers_proxy_input.json`) -- **`handler_output.json`** - Output of `handleDeletionOfUsers` function in `versionedRouter.js`(alias for `_deleteUsers_proxy_output.json`) -- **`nw_client_data.json`** - the mock http responses(An example can be seen in the case of `ga`) - -### Fields in new files - -#### nw_client_data.json - -- Type: Array> -- The array of object is how many responses have to be sent back -- Each of the object contains below mentioned fields - - type: - - Indicates what type of http client invocation it is - - Recommended to be sent - - Supported values: - - post - - get - - delete - - constructor - - if nothing is mentioned, `post` is considered by default - - reqParams: - - Type: Array - - Optional - - Indicates the expected arguments that are to be sent to the http client instance - - We would `recommend` to also add this as part of your `nw_client_data.json` - - response: - - Type: object - - Required - - The response that needs to be returned from the http client diff --git a/test/deleteUsers/data/af/handler_input.json b/test/deleteUsers/data/af/handler_input.json deleted file mode 100644 index 7685ec7a73..0000000000 --- a/test/deleteUsers/data/af/handler_input.json +++ /dev/null @@ -1,177 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "userId": "test_user_id", - "android_advertising_id": "1665148898336-5539842602053895577" - } - ], - "config": { - "devKey": "ef1d42390426e3f7c90ac78272e74344", - "appleAppId": "123456789", - "androidAppId": "AnAID", - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "userId": "test_user_id", - "ios_advertising_id": "1665148898336-5539842602053895577" - } - ], - "config": { - "devKey": "ef1d42390426e3f7c90ac78272e74344", - "appleAppId": "123456789", - "androidAppId": "AnAID", - "apiToken": "dummyApiToken", - "statusCallbackUrls": "https://examplecontroller.com/opengdpr_callbacks" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "userId": "test_user_id", - "appsflyer_id": "jklhajksfh" - }, - { - "userId": "user_sdk2", - "appsflyer_id": "jklhajksfh" - } - ], - "config": { - "devKey": "ef1d42390426e3f7c90ac78272e74344", - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "userId": "test_user_id", - "appsflyer_id": "jklhajksfh" - }, - { - "userId": "user_sdk2", - "appsflyer_id": "jklhajksfh" - } - ], - "config": { - "devKey": "ef1d42390426e3f7c90ac78272e74344", - "appleAppId": "123456789", - "statusCallbackUrls": "https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks", - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "email": "testUser@testMail.com", - "android_advertising_id": "1234" - }, - { - "userId": "user_sdk2", - "android_advertising_id": "1234" - } - ], - "config": { - "devKey": "abcde", - "appleAppId": "asdfasdf", - "groupTypeTrait": "email", - "groupValueTrait": "age", - "trackProductsOnce": false, - "trackRevenuePerProduct": false, - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "email": "testUser@testMail.com", - "ios_advertising_id": "1234" - }, - { - "userId": "user_sdk2", - "ios_advertising_id": "1234" - } - ], - "config": { - "devKey": "abcde", - "androidAppId": "com.rudder.rs", - "groupTypeTrait": "email", - "groupValueTrait": "age", - "trackProductsOnce": false, - "trackRevenuePerProduct": false, - "apiToken": "dummyApiToken" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "AF", - "userAttributes": [ - { - "email": "testUser@testMail.com", - "userId": "user1234" - }, - { - "userId": "user_sdk2", - "ios_advertising_id": "1234" - } - ], - "config": { - "devKey": "abcde", - "androidAppId": "com.rudder.rs", - "groupTypeTrait": "email", - "groupValueTrait": "age", - "trackProductsOnce": false, - "trackRevenuePerProduct": false, - "apiToken": "dummyApiToken" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/af/handler_output.json b/test/deleteUsers/data/af/handler_output.json deleted file mode 100644 index 33363c69d3..0000000000 --- a/test/deleteUsers/data/af/handler_output.json +++ /dev/null @@ -1,44 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "API Token and one of Apple ID or Android App Id are required fields for user deletion" - } - ], - [ - { - "statusCode": 400, - "error": "You can send utmost 3 callBackUrls" - } - ], - [ - { - "statusCode": 400, - "error": "androidAppId is required for android_advertising_id type identifier" - } - ], - [ - { - "statusCode": 400, - "error": "appleAppId is required for ios_advertising_id type identifier" - } - ], - [ - { - "statusCode": 400, - "error": "none of the possible identityTypes i.e.(ios_advertising_id, android_advertising_id, appsflyer_id) is provided for deletion" - } - ] -] diff --git a/test/deleteUsers/data/af/nw_client_data.json b/test/deleteUsers/data/af/nw_client_data.json deleted file mode 100644 index b7ecfc1596..0000000000 --- a/test/deleteUsers/data/af/nw_client_data.json +++ /dev/null @@ -1,58 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://hq1.appsflyer.com/gdpr/opengdpr_requests?api_token=dummyApiToken", - { - "subject_request_type": "erasure", - "subject_identities": { - "identity_format": "raw", - "identity_type": "android_advertising_id", - "identity_value": "1665148898336-5539842602053895577" - }, - "property_id": "AnAID", - "subject_request_id": "f31a16f4-2357-47b5-aba0-d83742f2fd66", - "submitted_time": "2022-12-26T12:51:27.570Z" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "error": { - "code": 400, - "af_gdpr_code": "e411", - "message": "AppID given in 'property_id' is incorrect or does not belong to your account" - } - }, - "status": 400 - } - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://hq1.appsflyer.com/gdpr/opengdpr_requests?api_token=dummyApiToken", - { - "subject_request_type": "erasure", - "subject_identities": { - "identity_format": "raw", - "identity_type": "ios_advertising_id", - "identity_value": "1665148898336-5539842602053895577" - }, - "property_id": "123456789", - "subject_request_id": "f31a16f4-2357-47b5-aba0-d83742f2fd66", - "submitted_time": "2022-12-26T12:51:27.570Z" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ] -] diff --git a/test/deleteUsers/data/am/handler_input.json b/test/deleteUsers/data/am/handler_input.json deleted file mode 100644 index 66b97d4a4d..0000000000 --- a/test/deleteUsers/data/am/handler_input.json +++ /dev/null @@ -1,380 +0,0 @@ -[ - { - "request": { - "body": [ - { - "jobId": "423451324652346", - "destType": "AM", - "userAttributes": [ - { - "userIderror": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - } - ], - "config": { - "apiKey": "1234", - "apiSecret": "abcd" - } - } - ] - } - } -] - - diff --git a/test/deleteUsers/data/am/handler_output.json b/test/deleteUsers/data/am/handler_output.json deleted file mode 100644 index c453a831d9..0000000000 --- a/test/deleteUsers/data/am/handler_output.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "Config for deletion not present" - } - ], - [ - { - "statusCode": 400, - "error": "api key/secret for deletion not present" - } - ] -] diff --git a/test/deleteUsers/data/am/nw_client_data.json b/test/deleteUsers/data/am/nw_client_data.json deleted file mode 100644 index 3abf39691a..0000000000 --- a/test/deleteUsers/data/am/nw_client_data.json +++ /dev/null @@ -1,91 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://amplitude.com/api/2/deletions/users", - { - "userIds": ["Batch1"] - }, - { - "Content-Type": "application/json", - "Authorization": "Basic MTIzNDphYmNk" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 403, - "message": "HTTP 403: Forbidden (Invalid API Key)", - "status": "Forbidden" - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://amplitude.com/api/2/deletions/users", - { - "userIds": ["Batch2"] - }, - { - "Content-Type": "application/json", - "Authorization": "Basic MTIzNDphYmNk" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "Nothing scheduled due to invalid amplitude/user ids for app XXXXX" - } - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://amplitude.com/api/2/deletions/users", - { - "userIds": ["Batch1"] - }, - { - "Content-Type": "application/json", - "Authorization": "Basic MTIzNDphYmNk" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "Mocking" - } - } - }, - { - "type": "post", - "reqParams": [ - "https://amplitude.com/api/2/deletions/users", - { - "userIds": ["Batch2"] - }, - { - "Content-Type": "application/json", - "Authorization": "Basic MTIzNDphYmNk" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "Mocking" - } - } - } - ] -] diff --git a/test/deleteUsers/data/braze/handler_input.json b/test/deleteUsers/data/braze/handler_input.json deleted file mode 100644 index 6a8ad60f4d..0000000000 --- a/test/deleteUsers/data/braze/handler_input.json +++ /dev/null @@ -1,393 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - } - ], - "config": { - "dataCenter": "US-03", - "restApiKey": "1234" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - } - ], - "config": { - "dataCenter": "US-03", - "restApiKey": "1234" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ] - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "dataCenter": "US-03" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "BRAZE", - "userAttributes": [ - { - "name": "a" - } - ], - "config": { - "restApiKey": "b1bd90e2-d203-480a-962c-f7bb03ea0afe", - "dataCenter": "US-03" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/braze/handler_output.json b/test/deleteUsers/data/braze/handler_output.json deleted file mode 100644 index 7df562646a..0000000000 --- a/test/deleteUsers/data/braze/handler_output.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "Config for deletion not present" - } - ], - [ - { - "statusCode": 400, - "error": "data center / api key for deletion not present" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ] -] diff --git a/test/deleteUsers/data/braze/nw_client_data.json b/test/deleteUsers/data/braze/nw_client_data.json deleted file mode 100644 index 34b2d488da..0000000000 --- a/test/deleteUsers/data/braze/nw_client_data.json +++ /dev/null @@ -1,97 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://rest.iad-03.braze.com/users/delete", - { - "externalIds": ["Batch1"] - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer ${restApiKey}" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail Case" - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://rest.iad-03.braze.com/users/delete", - { - "externalIds": ["Batch2"] - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer ${restApiKey}" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://rest.iad-03.braze.com/users/delete", - { - "externalIds": ["Batch4"] - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer ${restApiKey}" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "deleted": 50, - "message": "success" - } - } - } - }, - { - "type": "post", - "reqParams": [ - "https://rest.iad-03.braze.com/users/delete", - { - "externalIds": ["Batch"] - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer ${restApiKey}" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "deleted": 50, - "message": "success" - } - } - } - } - ] -] diff --git a/test/deleteUsers/data/clevertap/handler_input.json b/test/deleteUsers/data/clevertap/handler_input.json deleted file mode 100644 index 61c9446cf7..0000000000 --- a/test/deleteUsers/data/clevertap/handler_input.json +++ /dev/null @@ -1,441 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "CLEVERTAP", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "accountId": "476550467", - "trackAnonymous": true, - "enableObjectIdMapping": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "CLEVERTAP", - "userAttributes": [ - { - "email": "testUser@testMail.com" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", - "trackAnonymous": true, - "enableObjectIdMapping": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "CLEVERTAP", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - }, - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "accountId": "testFail", - "passcode": "tofail", - "trackAnonymous": true, - "enableObjectIdMapping": false - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/clevertap/handler_output.json b/test/deleteUsers/data/clevertap/handler_output.json deleted file mode 100644 index cff9494cef..0000000000 --- a/test/deleteUsers/data/clevertap/handler_output.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "Project ID and Passcode is required for delete user" - } - ], - [ - { - "statusCode": 400, - "error": "Project ID and Passcode is required for delete user" - } - ], - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ] -] diff --git a/test/deleteUsers/data/clevertap/nw_client_data.json b/test/deleteUsers/data/clevertap/nw_client_data.json deleted file mode 100644 index 75a4f4550f..0000000000 --- a/test/deleteUsers/data/clevertap/nw_client_data.json +++ /dev/null @@ -1,177 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://api.clevertap.com/1/delete/profiles.json", - { - "identity": [ - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2" - ] - }, - { - "X-CleverTap-Account-Id": "testFail", - "X-CleverTap-Passcode": "tofail" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail Case" - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://api.clevertap.com/1/delete/profiles.json", - { - "identity": [ - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2", - "test_user_id", - "user_sdk2" - ] - }, - { - "X-CleverTap-Account-Id": "testFail", - "X-CleverTap-Passcode": "tofail" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "rpoxy" - } - } - } - ] -] diff --git a/test/deleteUsers/data/engage/handler_input.json b/test/deleteUsers/data/engage/handler_input.json deleted file mode 100644 index c999787e60..0000000000 --- a/test/deleteUsers/data/engage/handler_input.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "1" - }, - { - "userId": "2" - }, - { - "userId": "3" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "4" - }, - { - "userId": "5" - }, - { - "userId": "6" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "7" - }, - { - "userId": "8" - }, - { - "userId": "9" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "1" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "userId": "userid1" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "privateKey": "abcd" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "ENGAGE", - "userAttributes": [ - { - "email": "testUser@testMail.com" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "publicKey": "abcd", - "privateKey": "efgh" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/engage/handler_output.json b/test/deleteUsers/data/engage/handler_output.json deleted file mode 100644 index 1c3f854391..0000000000 --- a/test/deleteUsers/data/engage/handler_output.json +++ /dev/null @@ -1,39 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - - [ - { - "statusCode": 400, - "error": "Public key is a required field for user deletion" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ] -] diff --git a/test/deleteUsers/data/engage/nw_client_data.json b/test/deleteUsers/data/engage/nw_client_data.json deleted file mode 100644 index 833b440766..0000000000 --- a/test/deleteUsers/data/engage/nw_client_data.json +++ /dev/null @@ -1,197 +0,0 @@ -[ - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/1", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail first" - }, - "status": 400 - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/2", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/3", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/4", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/5", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/6", - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "fail 6 " - }, - "status": 400 - } - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/7", - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/8", - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "fail mid case 8" - }, - "status": 400 - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/9", - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/1", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.engage.so/v1/users/user_sdk2", - {}, - { - "Content-Type": "application/json", - "Authorization": "Basic YWJjZDplZmdo" - } - ], - "response": { - "status": 200, - "statusText": "success" - } - } - ] -] diff --git a/test/deleteUsers/data/ga/handler_input.json b/test/deleteUsers/data/ga/handler_input.json deleted file mode 100644 index 7470e3cc29..0000000000 --- a/test/deleteUsers/data/ga/handler_input.json +++ /dev/null @@ -1,83 +0,0 @@ -[ - { - "getValue": { - "x-rudder-dest-info": "{\"secret\": { \"access_token\": \"valid_token\" }}" - }, - "request": { - "body": [ - { - "destType": "GA", - "userAttributes": [ - { - "userId": "test_user_1" - }, - { - "userId": "test_user_2" - } - ], - "config": { - "trackingID": "UA-123456789-5", - "useNativeSDK": false - } - } - ] - } - }, - { - "getValue": { - "x-rudder-dest-info": "{\"secret\": { \"access_token\": \"expired_token\" }}" - }, - "request": { - "body": [ - { - "destType": "GA", - "userAttributes": [ - { - "userId": "test_user_3" - }, - { - "userId": "test_user_4" - } - ], - "config": { - "trackingID": "UA-123456789-6", - "useNativeSDK": false - } - } - ] - } - }, - { - "getValue": { - "x-rudder-dest-info": "{\"secret\": { \"access_token\": \"valid_token_1\" }}" - }, - "request": { - "body": [ - { - "destType": "GA", - "userAttributes": [ - { - "userId": "test_user_5" - }, - { - "userId": "test_user_6" - }, - { - "userId": "test_user_7" - }, - { - "userId": "test_user_8" - }, - { - "userId": "test_user_9" - } - ], - "config": { - "trackingID": "UA-123456789-7", - "useNativeSDK": false - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/ga/handler_output.json b/test/deleteUsers/data/ga/handler_output.json deleted file mode 100644 index db31670781..0000000000 --- a/test/deleteUsers/data/ga/handler_output.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 500, - "authErrorCategory": "REFRESH_TOKEN", - "error": "invalid credentials" - } - ], - [ - { - "statusCode": 403, - "error": "Error occurred while completing deletion request: [dummy response] The parameter used to query is not correct" - } - ] -] diff --git a/test/deleteUsers/data/ga/nw_client_data.json b/test/deleteUsers/data/ga/nw_client_data.json deleted file mode 100644 index 7cbeaf726c..0000000000 --- a/test/deleteUsers/data/ga/nw_client_data.json +++ /dev/null @@ -1,316 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_1" - }, - "webPropertyId": "UA-123456789-5" - }, - { - "headers": { - "Authorization": "Bearer valid_token", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_1" - }, - "webPropertyId": "UA-123456789-5", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_1" - }, - "webPropertyId": "UA-123456789-5" - }, - { - "headers": { - "Authorization": "Bearer valid_token", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_2" - }, - "webPropertyId": "UA-123456789-5", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_3" - }, - "webPropertyId": "UA-123456789-6" - }, - { - "headers": { - "Authorization": "Bearer expired_token", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "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": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_4" - }, - "webPropertyId": "UA-123456789-6" - }, - { - "headers": { - "Authorization": "Bearer expired_token", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "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": 200, - "statusText": "OK" - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_5" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_5" - }, - "webPropertyId": "UA-123456789-7", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_6" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_6" - }, - "webPropertyId": "UA-123456789-7", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_7" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "response": { - "data": { - "error": { - "errors": [ - { - "domain": "global", - "reason": "invalidParameter", - "message": "[dummy response] The parameter used to query is not correct" - } - ], - "code": 403, - "message": "[dummy response] The parameter used to query is not correct" - } - }, - "status": 403, - "statusText": "Bad Request" - } - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_8" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_8" - }, - "webPropertyId": "UA-123456789-7", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - }, - { - "type": "post", - "reqParams": [ - "https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert", - { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_9" - }, - "webPropertyId": "UA-123456789-7" - }, - { - "headers": { - "Authorization": "Bearer valid_token_1", - "Accept": "application/json", - "Content-Type": "application/json" - } - } - ], - "response": { - "data": { - "kind": "analytics#userDeletionRequest", - "id": { - "type": "USER_ID", - "userId": "test_user_9" - }, - "webPropertyId": "UA-123456789-7", - "deletionRequestTime": "2022-11-04T10:39:57.933Z" - }, - "status": 200, - "statusText": "OK" - } - } - ] -] diff --git a/test/deleteUsers/data/intercom/nw_client_data.json b/test/deleteUsers/data/intercom/nw_client_data.json deleted file mode 100644 index 462a68cbfd..0000000000 --- a/test/deleteUsers/data/intercom/nw_client_data.json +++ /dev/null @@ -1,96 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://api.intercom.io/users/1", - { - "intercom_user_id": 1 - }, - { - "Accept": "application/json", - "Authorization": "Bearer API_KEY" - } - ], - "response": { - "code": 401, - "statusText": "Unauthorized", - "response": { - "data": { - "type": "error.list", - "request_id": "0022e6v5qc7m04jeu5pg", - "errors": [ - { - "code": "unauthorized", - "message": "Access Token Invalid" - } - ] - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://api.intercom.io/user_delete_requests", - { - "intercom_user_id": 12 - }, - { - "Accept": "application/json", - "Authorization": "Bearer API_KEY" - } - ], - "response": { - "status": 200, - "statusText": "ok", - "data": { - "id": 12 - } - } - } - ], - [ - { - "type": "post", - "reqParams": [ - "https://api.intercom.io/user_delete_requests", - { - "intercom_user_id": 7 - }, - { - "Accept": "application/json", - "Authorization": "Bearer API_KEY" - } - ], - "response": { - "status": 200, - "statusText": "ok", - "data": { - "id": 7 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://api.intercom.io/user_delete_requests", - { - "intercom_user_id": 9 - }, - { - "Accept": "application/json", - "Authorization": "Bearer API_KEY" - } - ], - "response": { - "status": 200, - "statusText": "ok", - "data": { - "id": 9 - } - } - } - ] -] diff --git a/test/deleteUsers/data/intercom/handler_input.json b/test/deleteUsers/data/iterable/handler_input.json similarity index 56% rename from test/deleteUsers/data/intercom/handler_input.json rename to test/deleteUsers/data/iterable/handler_input.json index d843db83bc..8ebc859089 100644 --- a/test/deleteUsers/data/intercom/handler_input.json +++ b/test/deleteUsers/data/iterable/handler_input.json @@ -3,18 +3,12 @@ "request": { "body": [ { - "destType": "INTERCOM", + "destType": "ITERABLE", "userAttributes": [ { - "userId": "1" - }, - { - "userId": "12" + "userId": "rudder1" } - ], - "config": { - "apiKey": "API_KEY" - } + ] } ] } @@ -23,17 +17,14 @@ "request": { "body": [ { - "destType": "INTERCOM", + "destType": "ITERABLE", "userAttributes": [ { - "userId": "7" - }, - { - "userId": "9" + "userId": "rudder2" } ], "config": { - "apiKey": "API_KEY" + "apiToken": "dummyApiKey" } } ] @@ -43,15 +34,18 @@ "request": { "body": [ { - "destType": "INTERCOM", + "destType": "ITERABLE", "userAttributes": [ { - "userId": "6188c2c5f47e464b4abf3235" + "userId": "rudder1" }, { - "userId": "user_sdk2" + "userId": "rudder2" } - ] + ], + "config": { + "apiKey": "dummyApiKey" + } } ] } @@ -60,16 +54,18 @@ "request": { "body": [ { - "destType": "INTERCOM", + "destType": "ITERABLE", "userAttributes": [ { - "userId": "6188c2c5f47e464b4abf3235" + "userId": "rudder3" }, { - "userId": "user_sdk2" + "userId": "rudder4" } ], - "config": {} + "config": { + "apiKey": "invalidKey" + } } ] } @@ -78,10 +74,17 @@ "request": { "body": [ { - "destType": "INTERCOM", - "userAttributes": [{}], + "destType": "ITERABLE", + "userAttributes": [ + { + "userId": "rudder5" + }, + { + "userId": "rudder6" + } + ], "config": { - "apiKey": "a=" + "apiKey": "dummyApiKey" } } ] diff --git a/test/deleteUsers/data/intercom/handler_output.json b/test/deleteUsers/data/iterable/handler_output.json similarity index 58% rename from test/deleteUsers/data/intercom/handler_output.json rename to test/deleteUsers/data/iterable/handler_output.json index 156c6ec114..b053d04df4 100644 --- a/test/deleteUsers/data/intercom/handler_output.json +++ b/test/deleteUsers/data/iterable/handler_output.json @@ -2,25 +2,25 @@ [ { "statusCode": 400, - "error": "User deletion request failed" + "error": "Config for deletion not present" } ], [ { - "statusCode": 200, - "status": "successful" + "statusCode": 400, + "error": "api key for deletion not present" } ], [ { "statusCode": 400, - "error": "Config for deletion not present" + "error": "User deletion request failed for userIds : [{\"userId\":\"rudder2\",\"Reason\":\"User does not exist. Email: UserId: rudder2\"}]" } ], [ { - "statusCode": 400, - "error": "api key for deletion not present" + "error": "User deletion request failed : Invalid API key", + "statusCode": 401 } ], [ diff --git a/test/deleteUsers/data/iterable/nw_client_data.json b/test/deleteUsers/data/iterable/nw_client_data.json new file mode 100644 index 0000000000..159c301b11 --- /dev/null +++ b/test/deleteUsers/data/iterable/nw_client_data.json @@ -0,0 +1,138 @@ +[ + [ + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder1", + {}, + { + "Accept": "application/json", + "api_key": "dummyApiKey" + } + ], + "response": { + "response": { + "data": { + "msg": "All users associated with rudder1 were successfully deleted", + "code": "Success", + "params": null + }, + "status": 200 + } + } + }, + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder2", + {}, + { + "Accept": "application/json", + "api_key": "dummyApiKey" + } + ], + "response": { + "response": { + "data": { + "msg": "User does not exist. Email: UserId: rudder2", + "code": "BadParams", + "params": null + }, + "status": 400 + } + } + } + ], + [ + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder3", + {}, + { + "Accept": "application/json", + "api_key": "invalidKey" + } + ], + "response": { + "response": { + "data": { + "msg": "Invalid API key", + "code": "Success", + "params": { + "endpoint": "/api/users/byUserId/rudder3" + } + }, + "status": 401 + } + } + }, + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder4", + {}, + { + "Accept": "application/json", + "api_key": "invalidKey" + } + ], + "response": { + "response": { + "data": { + "msg": "Invalid API key", + "code": "Success", + "params": { + "endpoint": "/api/users/byUserId/rudder3" + } + }, + "status": 401 + } + } + } + ], + [ + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder5", + {}, + { + "Accept": "application/json", + "api_key": "dummyApiKey" + } + ], + "response": { + "response": { + "data": { + "msg": "All users associated with rudder5 were successfully deleted", + "code": "Success", + "params": null + }, + "status": 200 + } + } + }, + { + "type": "delete", + "reqParams": [ + "https://api.iterable.com/api/users/byUserId/rudder6", + {}, + { + "Accept": "application/json", + "api_key": "dummyApiKey" + } + ], + "response": { + "response": { + "data": { + "msg": "All users associated with rudder6 were successfully deleted", + "code": "Success", + "params": null + }, + "status": 200 + } + } + } + ] +] diff --git a/test/deleteUsers/data/mp/handler_input.json b/test/deleteUsers/data/mp/handler_input.json deleted file mode 100644 index 17bf5818c2..0000000000 --- a/test/deleteUsers/data/mp/handler_input.json +++ /dev/null @@ -1,3155 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - } - ], - "config": { - "token": "testToken", - "prefixProperties": true, - "useNativeSDK": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - }, - { - "userId": "rudder1" - } - ], - "config": { - "token": "testToken", - "prefixProperties": true, - "useNativeSDK": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "test_user_id" - }, - { - "userId": "user_sdk2" - } - ], - "config": { - "apiKey": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "name": "test1" - } - ], - "config": { - "token": "testToken", - "prefixProperties": true, - "useNativeSDK": false - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - }, - { - "userId": "rudder2" - }, - { - "userId": "rudder3" - } - ], - "config": { - "token": "test_token", - "prefixProperties": true, - "useNativeSDK": false, - "userDeletionApi": "task", - "gdprApiToken": "test_gdpr_token" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - } - ], - "config": { - "token": "test_token", - "prefixProperties": true, - "useNativeSDK": false, - "userDeletionApi": "task", - "dataResidency": "eu" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "MP", - "userAttributes": [ - { - "userId": "rudder1" - } - ], - "config": { - "token": "test_token", - "prefixProperties": true, - "useNativeSDK": false, - "dataResidency": "eu" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/mp/handler_output.json b/test/deleteUsers/data/mp/handler_output.json deleted file mode 100644 index ddf8387375..0000000000 --- a/test/deleteUsers/data/mp/handler_output.json +++ /dev/null @@ -1,44 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed for `delete profile` api" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "API Token is a required field for user deletion" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "GDPR API Token is a required field for creating deletion task in mixpanel" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ] -] diff --git a/test/deleteUsers/data/mp/nw_client_data.json b/test/deleteUsers/data/mp/nw_client_data.json deleted file mode 100644 index 7a045d9065..0000000000 --- a/test/deleteUsers/data/mp/nw_client_data.json +++ /dev/null @@ -1,6159 +0,0 @@ -[ - [ - { - "type": "post", - "reqParams": [ - "https://api.mixpanel.com/engage", - [ - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - } - ], - { - "Content-Type": "application/json", - "Accept": "text/plain" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail Case" - }, - "status": 400 - } - } - }, - { - "type": "post", - "reqParams": [ - "https://api.mixpanel.com/engage", - [ - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - } - ], - { - "Content-Type": "application/json", - "Accept": "text/plain" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - } - ], - { - "type": "post", - "reqParams": [ - "https://api.mixpanel.com/engage", - [ - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - }, - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - } - ], - { - "Content-Type": "application/json", - "Accept": "text/plain" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - }, - [ - { - "type": "post", - "reqParams": [ - "https://mixpanel.com/api/app/data-deletions/v3.0/?token=test_token", - { - "distinct_ids": ["rudder1", "rudder3"], - "compliance_type": "CCPA" - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer test_gdpr_token" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - }, - { - "type": "post", - "reqParams": [ - "https://mixpanel.com/api/app/data-deletions/v3.0/?token=test_token", - { - "distinct_ids": ["rudder2"], - "compliance_type": "GDPR" - }, - { - "Content-Type": "application/json", - "Authorization": "Bearer test_gdpr_token" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - } - ], - { - "type": "post", - "reqParams": [ - "https://api-eu.mixpanel.com/engage", - [ - { - "$distinct_id": "rudder1", - "$token": "dummyAccessToken", - "$delete": null, - "$ignore_alias": true - } - ], - { - "Content-Type": "application/json", - "Accept": "text/plain" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": "1" - } - } - } -] diff --git a/test/deleteUsers/data/sendgrid/handler_input.json b/test/deleteUsers/data/sendgrid/handler_input.json deleted file mode 100644 index 253657dbde..0000000000 --- a/test/deleteUsers/data/sendgrid/handler_input.json +++ /dev/null @@ -1,921 +0,0 @@ -[ - { - "request": { - "body": [ - { - "destType": "SENDGRID", - "userAttributes": [ - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - } - ], - "config": { - "apiKey": "1234" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "SENDGRID", - "userAttributes": [ - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - }, - { - "userId": "test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id" - }, - { - "userId": "user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2" - } - ], - "config": { - "apiKey": "1234" - } - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "SENDGRID", - "userAttributes": [ - { - "userId": "eab57ccf-6322-498e-9338-7761c6dc0656" - }, - { - "userId": "47983ca9-7cc6-4942-8ff0-ac443g95658d" - } - ], - "config": {} - } - ] - } - }, - { - "request": { - "body": [ - { - "destType": "SENDGRID", - "userAttributes": { - "userId": "eab57ccf-6322-498e-9338-7761c6dc0656" - }, - "config": { - "apiKey": "1234" - } - } - ] - } - } -] diff --git a/test/deleteUsers/data/sendgrid/handler_output.json b/test/deleteUsers/data/sendgrid/handler_output.json deleted file mode 100644 index 201821f50a..0000000000 --- a/test/deleteUsers/data/sendgrid/handler_output.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - [ - { - "statusCode": 400, - "error": "User deletion request failed" - } - ], - [ - { - "statusCode": 200, - "status": "successful" - } - ], - [ - { - "statusCode": 400, - "error": "apiKey is required for deleting user" - } - ], - [ - { - "statusCode": 400, - "error": "userAttributes is not an array" - } - ] -] diff --git a/test/deleteUsers/data/sendgrid/nw_client_data.json b/test/deleteUsers/data/sendgrid/nw_client_data.json deleted file mode 100644 index e6bc96bb7f..0000000000 --- a/test/deleteUsers/data/sendgrid/nw_client_data.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - [ - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch1]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - "message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch2]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "code": 400, - "statusText": "fail", - "response": { - "data": { - "code": 400, - "message": "Bad Req", - "status": "Fail Case" - }, - "status": 400 - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch3]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - } - ], - [ - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch1]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - "message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch2]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - }, - { - "type": "delete", - "reqParams": [ - "https://api.sendgrid.com/v3/marketing/contacts?ids=[batch3]", - { - "Authorization": "Bearer 1234" - } - ], - "response": { - "status": 200, - "statusText": "OK", - "data": { - " message": { - "job_id": "bb33b1f9-e7d6-4a6c-bf1c-a2143275e257" - } - } - } - } - ] -] diff --git a/test/deleteUsers/deleteUsers.test.ts b/test/deleteUsers/deleteUsers.test.ts deleted file mode 100644 index 18cebc7085..0000000000 --- a/test/deleteUsers/deleteUsers.test.ts +++ /dev/null @@ -1,67 +0,0 @@ -const name = 'DeleteUsers'; -import logger from '../../src/logger'; -import { formAxiosMock, validateMockAxiosClientReqParams } from '../__mocks__/gen-axios.mock'; -const deleteUserDestinations = [ - 'am', - 'braze', - 'intercom', - 'mp', - 'af', - 'clevertap', - 'engage', - 'ga', - 'sendgrid', -]; -// Note: Useful for troubleshooting not to be used in production -const exclusionDestList: string[] = []; -import RegulationController from '../../src/controllers/regulation'; - -// delete user tests -deleteUserDestinations - .filter((d) => !exclusionDestList.includes(d)) - .forEach((destination) => { - const inputData = require(`./data/${destination}/handler_input.json`); - const expectedData = require(`./data/${destination}/handler_output.json`); - - let axiosResponses; - describe(`${name} Tests: ${destination}`, () => { - jest.unmock('axios'); - beforeAll(() => { - try { - axiosResponses = require(`./data/${destination}/nw_client_data.json`); - } catch (error) { - // Do nothing - logger.error(`Error while reading /${destination}/nw_client_data.json: ${error}`); - } - if (Array.isArray(axiosResponses)) { - formAxiosMock(axiosResponses); - } else { - // backward compatibility - jest.mock('axios'); - } - }); - - inputData.forEach((input, index) => { - it(`Payload - ${index}`, async () => { - try { - input.get = jest.fn((destInfoKey) => { - return input.getValue && input.getValue[destInfoKey]; - }); - - const output = await RegulationController.deleteUsers(input); - // validate the axios arguments - if (Array.isArray(axiosResponses) && Array.isArray(axiosResponses[index])) { - axiosResponses[index].forEach((axsRsp) => { - validateMockAxiosClientReqParams({ - resp: axsRsp, - }); - }); - } - expect(output.body).toEqual(expectedData[index]); - } catch (error: any) { - expect(error.message).toEqual(expectedData[index].error); - } - }); - }); - }); - }); diff --git a/test/integrations/component.test.ts b/test/integrations/component.test.ts index 374649dfad..5e011e4115 100644 --- a/test/integrations/component.test.ts +++ b/test/integrations/component.test.ts @@ -1,21 +1,51 @@ import { join } from 'path'; import Koa from 'koa'; import request from 'supertest'; +// Mocking of axios calls +import axios from 'axios'; +// new-library we are using import bodyParser from 'koa-bodyparser'; import { Command } from 'commander'; import { createHttpTerminator } from 'http-terminator'; -import { TestCaseData } from './testTypes'; +import { MockHttpCallsData, TestCaseData } from './testTypes'; import { applicationRoutes } from '../../src/routes/index'; -import { getTestDataFilePaths, getTestData } from './testUtils'; -import tags from '../../src/v0/util/tags'; +import MockAxiosAdapter from 'axios-mock-adapter'; +import { + getTestDataFilePaths, + getTestData, + getMockHttpCallsData, + getAllTestMockDataFilePaths, + addMock, +} from './testUtils'; +import tags, { FEATURES } 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 + +// Use below command to generate mocks +// 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('-g, --generate ', 'Enter "true" If you want to generate network file') + .parse(); const opts = command.opts(); +if (opts.generate === 'true' && !opts.destination) { + throw new Error('Invalid option, generate should be true for a destination'); +} + +if (opts.generate === 'true') { + process.env.GEN_AXIOS_FOR_TESTS = 'true'; +} let server: Server; @@ -31,9 +61,38 @@ beforeAll(async () => { }); afterAll(async () => { + if (opts.generate === 'true') { + const callsDataStr = responses.join('\n'); + const calls = ` + export const networkCallsData = [ + ${callsDataStr} + ] + `; + appendFileSync(join(__dirname, 'destinations', opts.destination, 'network.ts'), calls); + } await createHttpTerminator({ server }).terminate(); }); +let mock; +if (!opts.generate || opts.generate === 'false') { + // unmock already existing axios-mocking + mock = new MockAxiosAdapter(axios, { onNoMatch: 'passthrough' }); + const registerAxiosMocks = (axiosMocks: MockHttpCallsData[]) => { + axiosMocks.forEach((axiosMock) => addMock(mock, 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; + }) + .flat(); + registerAxiosMocks(allAxiosRequests); +} + +// END const rootDir = __dirname; const allTestDataFilePaths = getTestDataFilePaths(rootDir, opts.destination); const DEFAULT_VERSION = 'v0'; @@ -65,7 +124,7 @@ const testRoute = async (route, tcData: TestCaseData) => { const outputResp = tcData.output.response || ({} as any); expect(response.status).toEqual(outputResp.status); - if (outputResp && outputResp.body) { + if (outputResp?.body) { expect(response.body).toEqual(outputResp.body); } @@ -87,7 +146,7 @@ const destinationTestHandler = async (tcData: TestCaseData) => { route = `/${join(tcData.version || DEFAULT_VERSION, 'destinations', tcData.name, 'proxy')}`; break; case tags.FEATURES.USER_DELETION: - route = 'deleteUsers'; + route = '/deleteUsers'; break; case tags.FEATURES.PROCESSOR: // Processor transformation @@ -114,8 +173,14 @@ const sourceTestHandler = async (tcData) => { // Trigger the test suites describe.each(allTestDataFilePaths)('%s Tests', (testDataPath) => { + beforeEach(() => { + jest.clearAllMocks(); + }); + // 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); diff --git a/test/integrations/destinations/active_campaign/network.ts b/test/integrations/destinations/active_campaign/network.ts new file mode 100644 index 0000000000..34834096b1 --- /dev/null +++ b/test/integrations/destinations/active_campaign/network.ts @@ -0,0 +1,1966 @@ +export const networkCallsData = [ + { + httpReq: { + data: { + contact: { + email: 'jamesDoe@gmail.com', + firstName: 'James', + lastName: 'Doe', + phone: '92374162212', + }, + }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contact/sync', + }, + httpRes: { + data: { + contact: { + cdate: '2018-09-28T13:50:41-05:00', + email: 'jamesDoe@gmail.com', + id: '2', + links: { + bounceLogs: 'https://:account.api-us1.com/api/:version/contacts/113/bounceLogs', + contactAutomations: + 'https://:account.api-us1.com/api/:version/contacts/113/contactAutomations', + contactData: 'https://:account.api-us1.com/api/:version/contacts/113/contactData', + contactDeals: 'https://:account.api-us1.com/api/:version/contacts/113/contactDeals', + contactGoals: 'https://:account.api-us1.com/api/:version/contacts/113/contactGoals', + contactLists: 'https://:account.api-us1.com/api/:version/contacts/113/contactLists', + contactLogs: 'https://:account.api-us1.com/api/:version/contacts/113/contactLogs', + contactTags: 'https://:account.api-us1.com/api/:version/contacts/113/contactTags', + deals: 'https://:account.api-us1.com/api/:version/contacts/113/deals', + fieldValues: 'https://:account.api-us1.com/api/:version/contacts/113/fieldValues', + geoIps: 'https://:account.api-us1.com/api/:version/contacts/113/geoIps', + notes: 'https://:account.api-us1.com/api/:version/contacts/113/notes', + organization: 'https://:account.api-us1.com/api/:version/contacts/113/organization', + plusAppend: 'https://:account.api-us1.com/api/:version/contacts/113/plusAppend', + scoreValues: 'https://:account.api-us1.com/api/:version/contacts/113/scoreValues', + trackingLogs: 'https://:account.api-us1.com/api/:version/contacts/113/trackingLogs', + }, + organization: '', + orgid: '', + udate: '2018-09-28T13:50:41-05:00', + }, + fieldValues: [ + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '1', + id: '11797', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11797/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11797/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: 'The Value for First Field', + }, + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '6', + id: '11798', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11798/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11798/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: '2008-01-20', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/tags?limit=100', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Test_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 1, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Test_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Interested_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 2, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Interested_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: '5' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 3, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: '5', + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 1 } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 4, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 1, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 2 } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 5, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 2, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 2, status: '1' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 2, status: '1' } }, status: 200 }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 3, status: '2' } }, + headers: { + 'Api-Token': 'dummyApiToken', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 3, status: '2' } }, status: 200 }, + }, + { + httpReq: { + headers: { Accept: 'application/json, text/plain, */*', 'Api-Token': 'dummyApiToken' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/fields?limit=100', + }, + httpRes: { + data: { + fieldOptions: [], + fieldRels: [], + fields: [ + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Random description', + id: '4', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Random', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Likes description', + id: '3', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Likes', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:43:38-06:00', + cols: '0', + defval: null, + descript: null, + id: '2', + isrequired: '0', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/2/options', + relations: 'https://:account.api-us1.com/api/:version/fields/2/relations', + }, + options: [], + ordernum: '2', + perstag: 'ANOTHER_TEST_TITLE', + relations: [], + rows: '0', + service: '', + show_in_list: '0', + title: 'Another Test Title', + type: '', + udate: '2018-11-15T21:43:38-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Country description', + id: '1', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Country', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Office description', + id: '0', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Office', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + ], + meta: { total: '4' }, + }, + status: 200, + }, + }, + { + httpReq: { + data: { + contact: { + email: 'jamesDoe@gmail.com', + firstName: 'James', + lastName: 'Doe', + phone: '92374162212', + }, + }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contact/sync', + }, + httpRes: { + data: { + contact: { + cdate: '2018-09-28T13:50:41-05:00', + email: 'jamesDoe@gmail.com', + id: '2', + links: { + bounceLogs: 'https://:account.api-us1.com/api/:version/contacts/113/bounceLogs', + contactAutomations: + 'https://:account.api-us1.com/api/:version/contacts/113/contactAutomations', + contactData: 'https://:account.api-us1.com/api/:version/contacts/113/contactData', + contactDeals: 'https://:account.api-us1.com/api/:version/contacts/113/contactDeals', + contactGoals: 'https://:account.api-us1.com/api/:version/contacts/113/contactGoals', + contactLists: 'https://:account.api-us1.com/api/:version/contacts/113/contactLists', + contactLogs: 'https://:account.api-us1.com/api/:version/contacts/113/contactLogs', + contactTags: 'https://:account.api-us1.com/api/:version/contacts/113/contactTags', + deals: 'https://:account.api-us1.com/api/:version/contacts/113/deals', + fieldValues: 'https://:account.api-us1.com/api/:version/contacts/113/fieldValues', + geoIps: 'https://:account.api-us1.com/api/:version/contacts/113/geoIps', + notes: 'https://:account.api-us1.com/api/:version/contacts/113/notes', + organization: 'https://:account.api-us1.com/api/:version/contacts/113/organization', + plusAppend: 'https://:account.api-us1.com/api/:version/contacts/113/plusAppend', + scoreValues: 'https://:account.api-us1.com/api/:version/contacts/113/scoreValues', + trackingLogs: 'https://:account.api-us1.com/api/:version/contacts/113/trackingLogs', + }, + organization: '', + orgid: '', + udate: '2018-09-28T13:50:41-05:00', + }, + fieldValues: [ + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '1', + id: '11797', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11797/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11797/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: 'The Value for First Field', + }, + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '6', + id: '11798', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11798/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11798/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: '2008-01-20', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 2, status: '1' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 2, status: '1' } }, status: 200 }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 3, status: '2' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 3, status: '2' } }, status: 200 }, + }, + { + httpReq: { + headers: { Accept: 'application/json, text/plain, */*', 'Api-Token': 'dummyApiKey' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/fields?limit=100', + }, + httpRes: { + data: { + fieldOptions: [], + fieldRels: [], + fields: [ + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Random description', + id: '4', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Random', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Likes description', + id: '3', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Likes', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:43:38-06:00', + cols: '0', + defval: null, + descript: null, + id: '2', + isrequired: '0', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/2/options', + relations: 'https://:account.api-us1.com/api/:version/fields/2/relations', + }, + options: [], + ordernum: '2', + perstag: 'ANOTHER_TEST_TITLE', + relations: [], + rows: '0', + service: '', + show_in_list: '0', + title: 'Another Test Title', + type: '', + udate: '2018-11-15T21:43:38-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Country description', + id: '1', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Country', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Office description', + id: '0', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Office', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + ], + meta: { total: '4' }, + }, + status: 200, + }, + }, + { + httpReq: { + data: { + contact: { + email: 'jamesDoe@gmail.com', + firstName: 'James', + lastName: 'Doe', + phone: '92374162212', + }, + }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contact/sync', + }, + httpRes: { + data: { + contact: { + cdate: '2018-09-28T13:50:41-05:00', + email: 'jamesDoe@gmail.com', + id: '2', + links: { + bounceLogs: 'https://:account.api-us1.com/api/:version/contacts/113/bounceLogs', + contactAutomations: + 'https://:account.api-us1.com/api/:version/contacts/113/contactAutomations', + contactData: 'https://:account.api-us1.com/api/:version/contacts/113/contactData', + contactDeals: 'https://:account.api-us1.com/api/:version/contacts/113/contactDeals', + contactGoals: 'https://:account.api-us1.com/api/:version/contacts/113/contactGoals', + contactLists: 'https://:account.api-us1.com/api/:version/contacts/113/contactLists', + contactLogs: 'https://:account.api-us1.com/api/:version/contacts/113/contactLogs', + contactTags: 'https://:account.api-us1.com/api/:version/contacts/113/contactTags', + deals: 'https://:account.api-us1.com/api/:version/contacts/113/deals', + fieldValues: 'https://:account.api-us1.com/api/:version/contacts/113/fieldValues', + geoIps: 'https://:account.api-us1.com/api/:version/contacts/113/geoIps', + notes: 'https://:account.api-us1.com/api/:version/contacts/113/notes', + organization: 'https://:account.api-us1.com/api/:version/contacts/113/organization', + plusAppend: 'https://:account.api-us1.com/api/:version/contacts/113/plusAppend', + scoreValues: 'https://:account.api-us1.com/api/:version/contacts/113/scoreValues', + trackingLogs: 'https://:account.api-us1.com/api/:version/contacts/113/trackingLogs', + }, + organization: '', + orgid: '', + udate: '2018-09-28T13:50:41-05:00', + }, + fieldValues: [ + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '1', + id: '11797', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11797/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11797/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: 'The Value for First Field', + }, + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '6', + id: '11798', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11798/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11798/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: '2008-01-20', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/tags?limit=100', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Test_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 6, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Test_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Interested_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 7, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Interested_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: '5' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 8, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: '5', + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 6 } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 9, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 6, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 7 } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 10, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 7, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 2, status: '1' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 2, status: '1' } }, status: 200 }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 3, status: '2' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 3, status: '2' } }, status: 200 }, + }, + { + httpReq: { + headers: { Accept: 'application/json, text/plain, */*', 'Api-Token': 'dummyApiKey' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/fields?limit=100', + }, + httpRes: { + data: { + fieldOptions: [], + fieldRels: [], + fields: [ + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Random description', + id: '4', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Random', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Likes description', + id: '3', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Likes', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:43:38-06:00', + cols: '0', + defval: null, + descript: null, + id: '2', + isrequired: '0', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/2/options', + relations: 'https://:account.api-us1.com/api/:version/fields/2/relations', + }, + options: [], + ordernum: '2', + perstag: 'ANOTHER_TEST_TITLE', + relations: [], + rows: '0', + service: '', + show_in_list: '0', + title: 'Another Test Title', + type: '', + udate: '2018-11-15T21:43:38-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Country description', + id: '1', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Country', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Office description', + id: '0', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Office', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + ], + meta: { total: '4' }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + 'Api-Token': 'dummyApiKey', + + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/eventTrackingEvents', + }, + httpRes: { + data: { + eventTrackingEvents: [{ name: '__pagevisit' }, { name: '__redir' }], + meta: { total: 2 }, + }, + status: 200, + }, + }, + { + httpReq: { + data: { eventTrackingEvent: { name: 'ScreenViewed' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/eventTrackingEvents', + }, + httpRes: { data: { eventTrackingEvent: { name: 'ScreenViewed' } }, status: 201 }, + }, + { + httpReq: { + headers: { 'Api-Token': 'dummyApiKey', Accept: 'application/json, text/plain, */*' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/eventTrackingEvents', + }, + httpRes: { + data: { + eventTrackingEvents: [{ name: '__pagevisit' }, { name: '__redir' }], + meta: { total: 2 }, + }, + status: 200, + }, + }, + { + httpReq: { + data: { eventTrackingEvent: { name: 'Tracking Action' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/eventTrackingEvents', + }, + httpRes: { data: { eventTrackingEvent: { name: 'Tracking Action' } }, status: 201 }, + }, + { + httpReq: { + data: { contact: { email: 'jamesDoe@gmail.com', phone: '92374162212' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contact/sync', + }, + httpRes: { + data: { + contact: { + cdate: '2018-09-28T13:50:41-05:00', + email: 'jamesDoe@gmail.com', + id: '2', + links: { + bounceLogs: 'https://:account.api-us1.com/api/:version/contacts/113/bounceLogs', + contactAutomations: + 'https://:account.api-us1.com/api/:version/contacts/113/contactAutomations', + contactData: 'https://:account.api-us1.com/api/:version/contacts/113/contactData', + contactDeals: 'https://:account.api-us1.com/api/:version/contacts/113/contactDeals', + contactGoals: 'https://:account.api-us1.com/api/:version/contacts/113/contactGoals', + contactLists: 'https://:account.api-us1.com/api/:version/contacts/113/contactLists', + contactLogs: 'https://:account.api-us1.com/api/:version/contacts/113/contactLogs', + contactTags: 'https://:account.api-us1.com/api/:version/contacts/113/contactTags', + deals: 'https://:account.api-us1.com/api/:version/contacts/113/deals', + fieldValues: 'https://:account.api-us1.com/api/:version/contacts/113/fieldValues', + geoIps: 'https://:account.api-us1.com/api/:version/contacts/113/geoIps', + notes: 'https://:account.api-us1.com/api/:version/contacts/113/notes', + organization: 'https://:account.api-us1.com/api/:version/contacts/113/organization', + plusAppend: 'https://:account.api-us1.com/api/:version/contacts/113/plusAppend', + scoreValues: 'https://:account.api-us1.com/api/:version/contacts/113/scoreValues', + trackingLogs: 'https://:account.api-us1.com/api/:version/contacts/113/trackingLogs', + }, + organization: '', + orgid: '', + udate: '2018-09-28T13:50:41-05:00', + }, + fieldValues: [ + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '1', + id: '11797', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11797/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11797/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: 'The Value for First Field', + }, + { + cdate: '2020-08-01T10:54:59-05:00', + contact: '113', + field: '6', + id: '11798', + links: { + field: 'https://:account.api-us1.com/api/3/fieldValues/11798/field', + owner: 'https://:account.api-us1.com/api/3/fieldValues/11798/owner', + }, + owner: '113', + udate: '2020-08-01T14:13:34-05:00', + value: '2008-01-20', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/tags?limit=100', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Test_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 11, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Test_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { tag: { description: '', tag: 'Interested_User', tagType: 'contact' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/tags', + }, + httpRes: { + data: { + meta: { total: '5' }, + tag: { + cdate: '2018-09-29T19:21:25-05:00', + description: '', + id: 12, + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/16/contactGoalTags', + }, + tag: 'Interested_User', + tagType: 'contact', + }, + tags: [ + { + cdate: '2018-08-17T09:43:15-05:00', + description: '', + id: '1', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/1/contactGoalTags', + }, + tag: 'one', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:16-05:00', + description: '', + id: '2', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/2/contactGoalTags', + }, + tag: 'two', + tagType: 'contact', + }, + { + cdate: '2018-08-17T13:41:18-05:00', + description: '', + id: '3', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/3/contactGoalTags', + }, + tag: 'three', + tagType: 'contact', + }, + { + cdate: '2018-08-28T11:54:36-05:00', + description: '', + id: '4', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/4/contactGoalTags', + }, + tag: 'test1', + tagType: 'template', + }, + { + cdate: '2018-08-28T11:54:38-05:00', + description: '', + id: '5', + links: { + contactGoalTags: 'https://:account.api-us1.com/api/:version/tags/5/contactGoalTags', + }, + tag: 'DIY_Hobby', + tagType: 'template', + }, + ], + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: '5' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 13, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: '5', + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 11 } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 14, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 11, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactTag: { contact: '2', tag: 12 } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactTags', + }, + httpRes: { + data: { + contactTag: { + cdate: '2017-06-08T16:11:53-05:00', + contact: '2', + id: 15, + links: { contact: '/1/contact', tag: '/1/tag' }, + }, + tag: 12, + }, + status: 201, + }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 2, status: '1' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 2, status: '1' } }, status: 200 }, + }, + { + httpReq: { + data: { contactList: { contact: '2', list: 3, status: '2' } }, + headers: { + 'Api-Token': 'dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'POST', + + url: 'https://active.campaigns.rudder.com/api/3/contactLists', + }, + httpRes: { data: { contactList: { contact: '2', list: 3, status: '2' } }, status: 200 }, + }, + { + httpReq: { + headers: { Accept: 'application/json, text/plain, */*', 'Api-Token': 'dummyApiKey' }, + + method: 'GET', + + url: 'https://active.campaigns.rudder.com/api/3/fields?limit=100', + }, + httpRes: { + data: { + fieldOptions: [], + fieldRels: [], + fields: [ + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Random description', + id: '4', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Random', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Likes description', + id: '3', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Likes', + type: 'multivalue', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:43:38-06:00', + cols: '0', + defval: null, + descript: null, + id: '2', + isrequired: '0', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/2/options', + relations: 'https://:account.api-us1.com/api/:version/fields/2/relations', + }, + options: [], + ordernum: '2', + perstag: 'ANOTHER_TEST_TITLE', + relations: [], + rows: '0', + service: '', + show_in_list: '0', + title: 'Another Test Title', + type: '', + udate: '2018-11-15T21:43:38-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Country description', + id: '1', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Country', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + { + cdate: '2018-11-15T21:42:40-06:00', + cols: '2', + defval: 'Defaut Value', + descript: 'Office description', + id: '0', + isrequired: '1', + links: { + options: 'https://:account.api-us1.com/api/:version/fields/1/options', + relations: 'https://:account.api-us1.com/api/:version/fields/1/relations', + }, + options: [], + ordernum: '3', + perstag: 'PERSONALIZEDTAG', + relations: [], + rows: '2', + service: 'google', + show_in_list: '1', + title: 'Office', + type: 'textarea', + udate: '2018-11-15T21:49:52-06:00', + visible: '1', + }, + ], + meta: { total: '4' }, + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/adj/processor/data.ts b/test/integrations/destinations/adj/processor/data.ts index 97fc3554f2..2c208d0d08 100644 --- a/test/integrations/destinations/adj/processor/data.ts +++ b/test/integrations/destinations/adj/processor/data.ts @@ -2084,7 +2084,7 @@ export const data = [ }, { name: 'adj', - description: 'Test 17', + description: 'Test 18 -> No adverstisingId present', feature: 'processor', module: 'destination', version: 'v0', @@ -2104,7 +2104,6 @@ export const data = [ }, device: { adTrackingEnabled: true, - advertisingId: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', manufacturer: 'Google', model: 'AOSP on IA Emulator', @@ -2160,12 +2159,101 @@ export const data = [ }, }, Config: { - appToken: 'testAppToken', customMappings: [ { from: 'Application Installed', to: '3fdmll' }, { from: 'First Investment', to: 'testEventToken' }, ], - partnerParamsKeys: [], + environment: true, + }, + Enabled: true, + Transformations: [], + IsProcessorEnabled: true, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: 'App Token is not present. Please configure your app token from config dashbaord', + statTags: { + destType: 'ADJ', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'adj', + description: 'Test 19 -> No properties object in message body', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + "type": "track", + "event": "Application Installed", + "sentAt": "2022-09-28T20:14:44.995Z", + "userId": "sample_user_id", + "context": { + "device": { + "id": "sample_device_id", + "type": "android", + "advertisingId": "_sample" + }, + "traits": { + "userId": "_sample_uid", + "anonymousId": "_sample_anonid" + } + }, + "timestamp": "2022-09-28T20:14:43.314Z", + "request_ip": "71.189.106.156", + "originalTimestamp": "2022-09-28T20:14:44.995Z" + }, + destination: { + ID: '1i3Em7GMU9xVEiDlZUN8c88BMS9', + Name: 'ADJ', + DestinationDefinition: { + ID: '1i3DeZo6eSUKrS3KzDUqjbBPCDJ', + Name: 'ADJ', + DisplayName: 'Adjust', + Config: { + destConfig: { + android: ['useNativeSDK'], + defaultConfig: ['appToken', 'customMappings', 'delay', 'environment'], + ios: ['useNativeSDK'], + reactnative: ['useNativeSDK'], + }, + excludeKeys: [], + includeKeys: ['appToken', 'customMappings', 'delay'], + supportedSourceTypes: ['android', 'ios', 'reactnative', 'cloud'], + }, + }, + Config: { + appToken: 'testAppToken', + customMappings: [ + { from: 'Application Installed', to: '3fdmll' }], + partnerParamsKeys: [ + { from: 'key1', to: 'partnerParamKey-1' }, + { from: 'key2', to: 'partnerParamKey-2' }, + { from: 'revenue', to: 'price' }, + { from: 'novalue', to: 'check' }, + { from: 'Custom_Val_NA', to: 'Custom_dest' }, + ], environment: true, }, Enabled: true, @@ -2189,28 +2277,21 @@ export const data = [ endpoint: 'https://s2s.adjust.com/event', headers: { Accept: '*/*' }, params: { - callback_params: - '{"key1":"value1","key2":"value2","key3.k4":"v4","key3.k5.k6":"v6","key5[0].k":"v1","key5[1].k":"v2"}', - revenue: 20.38, - android_id: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', - gps_adid: '3f034872-5e28-45a1-9eda-ce22a3e36d1a', - att_status: 3, - tracking_enabled: true, - currency: 'EUR', - ip_address: '[::1]', + event_token: "3fdmll", + ip_address: "71.189.106.156", + android_id: 'sample_device_id', + gps_adid: "_sample", s2s: 1, app_token: 'testAppToken', - event_token: 'testEventToken', environment: 'production', }, body: { JSON: {}, XML: {}, JSON_ARRAY: {}, FORM: {} }, files: {}, - userId: '21e13f4bc7ceddad', + userId: '', }, statusCode: 200, }, ], }, }, - }, -]; + },]; diff --git a/test/integrations/destinations/af/deleteUsers/data.ts b/test/integrations/destinations/af/deleteUsers/data.ts new file mode 100644 index 0000000000..c552b79f67 --- /dev/null +++ b/test/integrations/destinations/af/deleteUsers/data.ts @@ -0,0 +1,302 @@ +import { cloneDeep } from 'lodash'; +import { FEATURES } from '../../../../../src/v0/util/tags'; +import { networkCallsData } from '../network'; +import { addMock } from '../../../testUtils'; +import MockAdapter from 'axios-mock-adapter'; +import utils from '../../../../../src/v0/util'; + +const defaultMockFns = () => { + jest.spyOn(Date.prototype, 'toISOString').mockReturnValue('2023-09-24T11:22:24.018Z'); + jest.spyOn(utils, 'generateUUID').mockReturnValue('97fcd7b2-cc24-47d7-b776-057b7b199513'); +}; + +const requests = [ + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + userId: 'test_user_id', + appsflyer_id: 'jklhajksfh', + }, + { + userId: 'user_sdk2', + appsflyer_id: 'jklhajksfh', + }, + ], + config: { + devKey: 'ef1d42390426e3f7c90ac78272e74344', + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + userId: 'test_user_id', + appsflyer_id: 'jklhajksfh', + }, + { + userId: 'user_sdk2', + appsflyer_id: 'jklhajksfh', + }, + ], + config: { + devKey: 'ef1d42390426e3f7c90ac78272e74344', + appleAppId: '123456789', + statusCallbackUrls: + 'https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks,https://examplecontroller.com/opengdpr_callbacks', + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + email: 'testUser@testMail.com', + android_advertising_id: '1234', + }, + { + userId: 'user_sdk2', + android_advertising_id: '1234', + }, + ], + config: { + devKey: 'abcde', + appleAppId: 'asdfasdf', + groupTypeTrait: 'email', + groupValueTrait: 'age', + trackProductsOnce: false, + trackRevenuePerProduct: false, + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + email: 'testUser@testMail.com', + ios_advertising_id: '1234', + }, + { + userId: 'user_sdk2', + ios_advertising_id: '1234', + }, + ], + config: { + devKey: 'abcde', + androidAppId: 'com.rudder.rs', + groupTypeTrait: 'email', + groupValueTrait: 'age', + trackProductsOnce: false, + trackRevenuePerProduct: false, + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + email: 'testUser@testMail.com', + userId: 'user1234', + }, + { + userId: 'user_sdk2', + ios_advertising_id: '1234', + }, + ], + config: { + devKey: 'abcde', + androidAppId: 'com.rudder.rs', + groupTypeTrait: 'email', + groupValueTrait: 'age', + trackProductsOnce: false, + trackRevenuePerProduct: false, + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, +]; +const resultBodies = [ + [ + { + statusCode: 400, + error: + 'API Token and one of Apple ID or Android App Id are required fields for user deletion', + }, + ], + [ + { + statusCode: 400, + error: 'You can send utmost 3 callBackUrls', + }, + ], + [ + { + statusCode: 400, + error: 'androidAppId is required for android_advertising_id type identifier', + }, + ], + [ + { + statusCode: 400, + error: 'appleAppId is required for ios_advertising_id type identifier', + }, + ], + [ + { + statusCode: 400, + error: + 'none of the possible identityTypes i.e.(ios_advertising_id, android_advertising_id, appsflyer_id) is provided for deletion', + }, + ], +]; +const parentCaseVars = { + name: 'af', + description: 'Test ', + feature: FEATURES.USER_DELETION, + module: 'destination', + version: 'v0', + input: {}, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, +}; +const nonNetworkCases = requests.map((req, index) => { + const testCase = cloneDeep(parentCaseVars); + testCase.description = `Test ${2 + index}`; + testCase.input = req; + testCase.output.response.status = resultBodies[index][0].statusCode; + //@ts-ignore + testCase.output.response.body = resultBodies[index]; + return testCase; +}); + +export const data = [ + { + name: 'af', + description: 'Test 0', + feature: FEATURES.USER_DELETION, + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + userId: 'test_user_id', + android_advertising_id: '1665148898336-5539842602053895577', + }, + ], + config: { + devKey: 'ef1d42390426e3f7c90ac78272e74344', + appleAppId: '123456789', + androidAppId: 'AnAID', + apiToken: 'dummyApiToken', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + mockFns: (mockAdapter: MockAdapter) => { + const nwData = networkCallsData[0]; + addMock(mockAdapter, nwData); + defaultMockFns(); + }, + }, + { + name: 'af', + description: 'Test 1', + feature: FEATURES.USER_DELETION, + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'AF', + userAttributes: [ + { + userId: 'test_user_id', + ios_advertising_id: '1665148898336-5539842602053895577', + }, + ], + config: { + devKey: 'ef1d42390426e3f7c90ac78272e74344', + appleAppId: '123456789', + androidAppId: 'AnAID', + apiToken: 'dummyApiToken', + statusCallbackUrls: 'https://examplecontroller.com/opengdpr_callbacks', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + mockFns: (mockAdapter: MockAdapter) => { + const nwData = networkCallsData[1]; + addMock(mockAdapter, nwData); + defaultMockFns(); + }, + }, + ...nonNetworkCases, +]; diff --git a/test/integrations/destinations/af/network.ts b/test/integrations/destinations/af/network.ts new file mode 100644 index 0000000000..2e9557539e --- /dev/null +++ b/test/integrations/destinations/af/network.ts @@ -0,0 +1,67 @@ +import { JSON_MIME_TYPE } from '../../../../src/v0/util/constant'; + +export const networkCallsData = [ + { + httpReq: { + method: 'post', + url: 'https://hq1.appsflyer.com/api/gdpr/v1/opendsr_request', + headers: { + 'Content-Type': JSON_MIME_TYPE, + + Authorization: 'Bearer dummyApiToken', + }, + data: { + subject_request_type: 'erasure', + subject_identities: [ + { + identity_format: 'raw', + identity_type: 'android_advertising_id', + identity_value: '1665148898336-5539842602053895577', + }, + ], + property_id: 'AnAID', + subject_request_id: '97fcd7b2-cc24-47d7-b776-057b7b199513', + submitted_time: '2023-09-24T11:22:24.018Z', + }, + }, + httpRes: { + data: { + error: { + code: 400, + af_gdpr_code: 'e411', + message: "AppID given in 'property_id' is incorrect or does not belong to your account", + }, + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://hq1.appsflyer.com/api/gdpr/v1/opendsr_request', + data: { + subject_request_type: 'erasure', + subject_identities: [ + { + identity_format: 'raw', + identity_type: 'ios_advertising_id', + identity_value: '1665148898336-5539842602053895577', + }, + ], + status_callback_urls: ['https://examplecontroller.com/opengdpr_callbacks'], + property_id: '123456789', + subject_request_id: '97fcd7b2-cc24-47d7-b776-057b7b199513', + submitted_time: '2023-09-24T11:22:24.018Z', + }, + headers: { + 'Content-Type': JSON_MIME_TYPE, + + Authorization: 'Bearer dummyApiToken', + }, + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, +]; diff --git a/test/integrations/destinations/am/deleteUsers/data.ts b/test/integrations/destinations/am/deleteUsers/data.ts new file mode 100644 index 0000000000..bd10a4d7e0 --- /dev/null +++ b/test/integrations/destinations/am/deleteUsers/data.ts @@ -0,0 +1,396 @@ +export const data = [ + { + name: 'am', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + jobId: '423451324652346', + destType: 'AM', + userAttributes: [ + { + userIderror: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + ], + config: { + apiKey: '1234', + apiSecret: 'abcd', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/am/network.ts b/test/integrations/destinations/am/network.ts new file mode 100644 index 0000000000..81daa29621 --- /dev/null +++ b/test/integrations/destinations/am/network.ts @@ -0,0 +1,209 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://amplitude.com/api/2/deletions/users', + data: { + user_ids: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + ], + requester: 'RudderStack', + ignore_invalid_id: 'true', + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic MTIzNDphYmNk', + }, + }, + httpRes: { + data: { + code: 403, + message: 'HTTP 403: Forbidden (Invalid API Key)', + status: 'Forbidden', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://amplitude.com/api/2/deletions/users', + data: { + user_ids: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + ], + requester: 'RudderStack', + ignore_invalid_id: 'true', + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic MTIzNDphYmNk', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': 'Nothing scheduled due to invalid amplitude/user ids for app XXXXX', + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://amplitude.com/api/2/deletions/users', + data: { + userIds: ['Batch1'], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic MTIzNDphYmNk', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': 'Mocking', + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://amplitude.com/api/2/deletions/users', + data: { + userIds: ['Batch2'], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Basic MTIzNDphYmNk', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': 'Mocking', + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/bqstream/router/data.ts b/test/integrations/destinations/bqstream/router/data.ts index 0f6e663ad0..e44ce4af15 100644 --- a/test/integrations/destinations/bqstream/router/data.ts +++ b/test/integrations/destinations/bqstream/router/data.ts @@ -13,66 +13,141 @@ export const data = [ message: { type: 'track', event: 'insert product', - sentAt: '2021-09-08T11:10:45.466Z', userId: 'user12345', - channel: 'web', - context: { - os: { - name: '', - version: '', - }, - app: { - name: 'RudderLabs JavaScript SDK', - build: '1.0.0', - version: '1.1.18', - namespace: 'com.rudderlabs.javascript', - }, - page: { - url: 'http://127.0.0.1:5500/index.html', - path: '/index.html', - title: 'Document', - search: '', - tab_url: 'http://127.0.0.1:5500/index.html', - referrer: '$direct', - initial_referrer: '$direct', - referring_domain: '', - initial_referring_domain: '', - }, - locale: 'en-GB', - screen: { - width: 1536, - height: 960, - density: 2, - innerWidth: 1536, - innerHeight: 776, - }, - traits: {}, - library: { - name: 'RudderLabs JavaScript SDK', - version: '1.1.18', - }, - campaign: {}, - userAgent: - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36', - }, - rudderId: 'fa2994a5-2a81-45fd-9919-fcf5596ad380', - messageId: 'e2d1a383-d9a2-4e03-a9dc-131d153c4d95', - timestamp: '2021-11-15T14:06:42.497+05:30', + properties: { count: 10, productId: 10, productName: 'Product-10', }, - receivedAt: '2021-11-15T14:06:42.497+05:30', - request_ip: '[::1]', anonymousId: 'd8b2ed61-7fa5-4ef8-bd92-6a506157c0cf', - integrations: { - All: true, - }, - originalTimestamp: '2021-09-08T11:10:45.466Z', }, metadata: { jobId: 1, + userId: 'user12345', + }, + destination: { + Config: { + rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', + projectId: 'gc-project-id', + datasetId: 'gc_dataset', + tableId: 'gc_table', + insertId: 'productId', + eventDelivery: true, + eventDeliveryTS: 1636965406397, + }, + + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', + Name: 'bqstream test', + }, + }, + { + message: { + type: 'track', + event: 'insert product', + userId: 'user12345', + properties: { + count: 20, + productId: 20, + productName: 'Product-20', + }, + }, + metadata: { + jobId: 2, + userId: 'user12345', + }, + destination: { + Config: { + rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', + projectId: 'gc-project-id', + datasetId: 'gc_dataset', + tableId: 'gc_table', + insertId: 'productId', + eventDelivery: true, + eventDeliveryTS: 1636965406397, + }, + + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', + Name: 'bqstream test', + }, + }, + { + message: { + type: 'identify', + event: 'insert product', + userId: 'user12345', + traits: { + count: 20, + productId: 20, + productName: 'Product-20', + }, + anonymousId: 'd8b2ed61-7fa5-4ef8-bd92-6a506157c0cf', + }, + metadata: { + jobId: 3, + userId: 'user12345', + }, + destination: { + Config: { + rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', + projectId: 'gc-project-id', + datasetId: 'gc_dataset', + tableId: 'gc_table', + insertId: 'productId', + eventDelivery: true, + eventDeliveryTS: 1636965406397, + }, + + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', + Name: 'bqstream test', + }, + }, + { + message: { + type: 'track', + event: 'insert product', + userId: 'user12345', + properties: { + count: 20, + productId: 20, + productName: 'Product-20', + }, + anonymousId: 'd8b2ed61-7fa5-4ef8-bd92-6a506157c0cf', + }, + metadata: { + jobId: 5, + userId: 'user123', + }, + destination: { + Config: { + rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', + projectId: 'gc-project-id', + datasetId: 'gc_dataset', + tableId: 'gc_table', + insertId: 'productId', + eventDelivery: true, + eventDeliveryTS: 1636965406397, + }, + + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', + Name: 'bqstream test', + }, + }, + { + message: { + type: 'track', + event: 'insert product', + userId: 'user12345', + properties: { + count: 20, + productId: 20, + productName: 'Product-20', + }, + anonymousId: 'd8b2ed61-7fa5-4ef8-bd92-6a506157c0cf', + }, + metadata: { + jobId: 6, + userId: 'user124', }, destination: { Config: { @@ -84,7 +159,7 @@ export const data = [ eventDelivery: true, eventDeliveryTS: 1636965406397, }, - Enabled: true, + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', Name: 'bqstream test', }, @@ -93,19 +168,70 @@ export const data = [ message: { type: 'track', event: 'insert product', - sentAt: '2021-09-08T11:10:45.466Z', + userId: 'user12345', - channel: 'web', + }, + metadata: { + jobId: 7, + userId: 'user124', + }, + destination: { + Config: { + rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', + projectId: 'gc-project-id', + datasetId: 'gc_dataset', + tableId: 'gc_table', + insertId: 'productId', + eventDelivery: true, + eventDeliveryTS: 1636965406397, + }, + + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', + Name: 'bqstream test', + }, + }, + { + message: { + type: 'track', + event: 'insert product', + userId: 'user12345', + }, + metadata: { + jobId: 8, + userId: 'user125', + }, + destination: { + Config: { + rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', + projectId: 'gc-project-id', + datasetId: 'gc_dataset', + tableId: 'gc_table', + insertId: 'productId', + eventDelivery: true, + eventDeliveryTS: 1636965406397, + }, + + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', + Name: 'bqstream test', + }, + }, + { + message: { + type: 'identify', + event: 'insert product', + + userId: 'user12345', + context: { os: { - name: '', + Name: '', version: '', }, app: { - name: 'RudderLabs JavaScript SDK', + Name: 'RudderLabs JavaScript SDK', build: '1.0.0', version: '1.1.18', - namespace: 'com.rudderlabs.javascript', + Namespace: 'com.rudderlabs.javascript', }, page: { url: 'http://127.0.0.1:5500/index.html', @@ -128,31 +254,25 @@ export const data = [ }, traits: {}, library: { - name: 'RudderLabs JavaScript SDK', + Name: 'RudderLabs JavaScript SDK', version: '1.1.18', }, campaign: {}, userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36', }, - rudderId: 'fa2994a5-2a81-45fd-9919-fcf5596ad380', - messageId: 'e2d1a383-d9a2-4e03-a9dc-131d153c4d95', - timestamp: '2021-11-15T14:06:42.497+05:30', - properties: { + + traits: { count: 20, productId: 20, productName: 'Product-20', }, receivedAt: '2021-11-15T14:06:42.497+05:30', - request_ip: '[::1]', anonymousId: 'd8b2ed61-7fa5-4ef8-bd92-6a506157c0cf', - integrations: { - All: true, - }, - originalTimestamp: '2021-09-08T11:10:45.466Z', }, metadata: { - jobId: 2, + jobId: 9, + userId: 'user125', }, destination: { Config: { @@ -164,7 +284,7 @@ export const data = [ eventDelivery: true, eventDeliveryTS: 1636965406397, }, - Enabled: true, + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', Name: 'bqstream test', }, @@ -181,49 +301,143 @@ export const data = [ body: { output: [ { + batched: true, batchedRequest: { datasetId: 'gc_dataset', projectId: 'gc-project-id', properties: [ { count: 10, + insertId: '10', productId: 10, productName: 'Product-10', - insertId: '10', }, { count: 20, + insertId: '20', productId: 20, productName: 'Product-20', + }, + { + count: 20, insertId: '20', + productId: 20, + productName: 'Product-20', + }, + { + count: 20, + insertId: '20', + productId: 20, + productName: 'Product-20', }, ], tableId: 'gc_table', }, + destination: { + Config: { + datasetId: 'gc_dataset', + eventDelivery: true, + eventDeliveryTS: 1636965406397, + insertId: 'productId', + projectId: 'gc-project-id', + rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', + tableId: 'gc_table', + }, + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', + Name: 'bqstream test', + }, metadata: [ { jobId: 1, + userId: 'user12345', }, { jobId: 2, + userId: 'user12345', + }, + { + jobId: 5, + userId: 'user123', + }, + { + jobId: 6, + userId: 'user124', }, ], - batched: true, statusCode: 200, + }, + { + batched: false, destination: { Config: { - rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', - projectId: 'gc-project-id', datasetId: 'gc_dataset', - tableId: 'gc_table', + eventDelivery: true, + eventDeliveryTS: 1636965406397, insertId: 'productId', + projectId: 'gc-project-id', + rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', + tableId: 'gc_table', + }, + ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', + Name: 'bqstream test', + }, + error: 'Invalid payload for the destination', + metadata: [ + { + jobId: 7, + userId: 'user124', + }, + { + jobId: 8, + userId: 'user125', + }, + ], + statTags: { + destType: 'BQSTREAM', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + { + batched: false, + destination: { + Config: { + datasetId: 'gc_dataset', eventDelivery: true, eventDeliveryTS: 1636965406397, + insertId: 'productId', + projectId: 'gc-project-id', + rudderAccountId: '1z8LpaSAuFR9TPWL6fECZfjmRa-', + tableId: 'gc_table', }, - Enabled: true, ID: '1WXjIHpu7ETXgjfiGPW3kCUgZFR', Name: 'bqstream test', }, + + error: 'Message Type not supported: identify', + metadata: [ + { + jobId: 3, + userId: 'user12345', + }, + { + jobId: 9, + userId: 'user125', + }, + ], + statTags: { + destType: 'BQSTREAM', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'router', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, }, ], }, diff --git a/test/integrations/destinations/braze/deleteUsers/data.ts b/test/integrations/destinations/braze/deleteUsers/data.ts new file mode 100644 index 0000000000..cad61fd12d --- /dev/null +++ b/test/integrations/destinations/braze/deleteUsers/data.ts @@ -0,0 +1,483 @@ +export const data = [ + { + name: 'braze', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + ], + config: { + dataCenter: 'US-03', + restApiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'braze', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + userId: 'test_user_id10', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id18', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id51', + }, + ], + config: { + dataCenter: 'US-03', + restApiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'braze', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Config for deletion not present', + }, + ], + }, + }, + }, + { + name: 'braze', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + dataCenter: 'US-03', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'data center / api key for deletion not present', + }, + ], + }, + }, + }, + { + name: 'braze', + description: 'Test 4', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'BRAZE', + userAttributes: [ + { + name: 'a', + }, + ], + config: { + restApiKey: 'b1bd90e2-d203-480a-962c-f7bb03ea0afe', + dataCenter: 'US-03', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/braze/network.ts b/test/integrations/destinations/braze/network.ts new file mode 100644 index 0000000000..4dfd5fa2a5 --- /dev/null +++ b/test/integrations/destinations/braze/network.ts @@ -0,0 +1,191 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://rest.iad-03.braze.com/users/delete', + data: { + external_ids: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + ], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail Case', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://rest.iad-03.braze.com/users/delete', + data: { + external_ids: [ + 'test_user_id10', + 'user_sdk2', + 'test_user_id18', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + ], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + deleted: 50, + message: 'success', + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://rest.iad-03.braze.com/users/delete', + data: { external_ids: ['test_user_id51'] }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + deleted: '1', + message: 'success', + }, + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://rest.iad-03.braze.com/users/delete', + data: { + externalIds: ['test_user_id'], + }, + headers: { + 'Content-Type': 'application/json', + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + deleted: 1, + message: 'success', + }, + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/canny/data.ts b/test/integrations/destinations/canny/data.ts index dfd6028908..3c6823ca1b 100644 --- a/test/integrations/destinations/canny/data.ts +++ b/test/integrations/destinations/canny/data.ts @@ -1,3 +1,6 @@ +import { enhanceRequestOptions } from '../../../../src/adapters/network'; +import qs from 'qs'; + export const data = [ { name: 'canny', diff --git a/test/integrations/destinations/canny/network.ts b/test/integrations/destinations/canny/network.ts new file mode 100644 index 0000000000..db1b639632 --- /dev/null +++ b/test/integrations/destinations/canny/network.ts @@ -0,0 +1,83 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Accept: 'application/json', + 'Content-Type': 'application/x-www-form-urlencoded', + }, + data: 'apiKey=apikey123&email=test%40rudderstack.com', + method: 'POST', + url: 'https://canny.io/api/v1/users/retrieve', + }, + httpRes: { + data: { + data: { + avatarURL: 'https://canny.io/images/cddfd145056cd4bc04132ee0e7de04ee.png', + created: '2022-07-15T11:16:32.648Z', + email: 'test@rudderstack.com', + id: '52d14c90fff7c80abcd12345', + isAdmin: true, + lastActivity: '2022-07-18T14:24:43.632Z', + name: 'Rudder Test', + url: 'https://ruderstack.canny.io/admin/users/dummyUser', + userID: null, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Accept: 'application/json', + 'Content-Type': 'application/x-www-form-urlencoded', + }, + data: 'apiKey=apikey123&email=test%40rudderstack.com', + method: 'POST', + url: 'https://canny.io/api/v1/users/retrieve', + }, + httpRes: { + data: { + data: { + avatarURL: 'https://canny.io/images/cddfd145056cd4bc04132ee0e7de04ee.png', + created: '2022-07-15T11:16:32.648Z', + email: 'test@rudderstack.com', + id: '52d14c90fff7c80abcd12345', + isAdmin: true, + lastActivity: '2022-07-18T14:24:43.632Z', + name: 'Rudder Test', + url: 'https://ruderstack.canny.io/admin/users/dummyUser', + userID: null, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Accept: 'application/json', + 'Content-Type': 'application/x-www-form-urlencoded', + }, + data: 'apiKey=apikey123&email=test%40rudderstack.com', + method: 'POST', + url: 'https://canny.io/api/v1/users/retrieve', + }, + httpRes: { + data: { + data: { + avatarURL: 'https://canny.io/images/cddfd145056cd4bc04132ee0e7de04ee.png', + created: '2022-07-15T11:16:32.648Z', + email: 'test@rudderstack.com', + id: '52d14c90fff7c80abcd12345', + isAdmin: true, + lastActivity: '2022-07-18T14:24:43.632Z', + name: 'Rudder Test', + url: 'https://ruderstack.canny.io/admin/users/dummyUser', + userID: null, + }, + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/clevertap/deleteUsers/data.ts b/test/integrations/destinations/clevertap/deleteUsers/data.ts new file mode 100644 index 0000000000..c0eb447a53 --- /dev/null +++ b/test/integrations/destinations/clevertap/deleteUsers/data.ts @@ -0,0 +1,495 @@ +export const data = [ + { + name: 'clevertap', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'CLEVERTAP', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + accountId: '476550467', + trackAnonymous: true, + enableObjectIdMapping: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Project ID and Passcode is required for delete user', + }, + ], + }, + }, + }, + { + name: 'clevertap', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'CLEVERTAP', + userAttributes: [ + { + email: 'testUser@testMail.com', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + passcode: 'fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1', + trackAnonymous: true, + enableObjectIdMapping: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Project ID and Passcode is required for delete user', + }, + ], + }, + }, + }, + { + name: 'clevertap', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'CLEVERTAP', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + accountId: 'testFail', + passcode: 'tofail', + trackAnonymous: true, + enableObjectIdMapping: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/clevertap/network.ts b/test/integrations/destinations/clevertap/network.ts new file mode 100644 index 0000000000..458d6faba0 --- /dev/null +++ b/test/integrations/destinations/clevertap/network.ts @@ -0,0 +1,175 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://api.clevertap.com/1/delete/profiles.json', + data: { + identity: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + ], + }, + headers: { + 'Content-Type': 'application/json', + 'X-CleverTap-Account-Id': 'testFail', + 'X-CleverTap-Passcode': 'tofail', + }, + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail Case', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://api.clevertap.com/1/delete/profiles.json', + data: { + identity: [ + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + 'test_user_id', + 'user_sdk2', + ], + }, + headers: { + 'Content-Type': 'application/json', + 'X-CleverTap-Account-Id': 'testFail', + 'X-CleverTap-Passcode': 'tofail', + }, + maxContentLength: 100000000, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': 'rpoxy', + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/engage/deleteUsers/data.ts b/test/integrations/destinations/engage/deleteUsers/data.ts new file mode 100644 index 0000000000..5a6ea9d268 --- /dev/null +++ b/test/integrations/destinations/engage/deleteUsers/data.ts @@ -0,0 +1,241 @@ +export const data = [ + { + name: 'engage', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: '1', + }, + { + userId: '2', + }, + { + userId: '3', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: '4', + }, + { + userId: '5', + }, + { + userId: '6', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: '7', + }, + { + userId: '8', + }, + { + userId: '9', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: '12', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 4', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + userId: 'userid1', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + privateKey: 'abcd', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Public key is a required field for user deletion', + }, + ], + }, + }, + }, + { + name: 'engage', + description: 'Test 5', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'ENGAGE', + userAttributes: [ + { + email: 'testUser@testMail.com', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + publicKey: 'abcd', + privateKey: 'efgh', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/engage/network.ts b/test/integrations/destinations/engage/network.ts new file mode 100644 index 0000000000..a675603d4e --- /dev/null +++ b/test/integrations/destinations/engage/network.ts @@ -0,0 +1,141 @@ +const deleteNwData = [ + { + httpReq: { + method: 'delete', + url: 'https://api.engage.so/v1/users/1', + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail first', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.engage.so/v1/users/2', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.engage.so/v1/users/3', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/4', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/5', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/6', + 'Content-Type': 'application/json', + Authorization: 'Basic YWJjZDplZmdo', + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'fail 6 ', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/7', + 'Content-Type': 'application/json', + Authorization: 'Basic YWJjZDplZmdo', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/8', + 'Content-Type': 'application/json', + Authorization: 'Basic YWJjZDplZmdo', + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'fail mid case 8', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/9', + 'Content-Type': 'application/json', + Authorization: 'Basic YWJjZDplZmdo', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/12', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, + { + httpReq: { + method: 'delete', + + url: 'https://api.engage.so/v1/users/user_sdk2', + }, + httpRes: { + status: 200, + statusText: 'success', + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/ga/deleteUsers/data.ts b/test/integrations/destinations/ga/deleteUsers/data.ts new file mode 100644 index 0000000000..6cbc5d5cfe --- /dev/null +++ b/test/integrations/destinations/ga/deleteUsers/data.ts @@ -0,0 +1,181 @@ +import { AUTH_STATUS_INACTIVE } from '../../../../../src/adapters/networkhandler/authConstants'; + +export const data = [ + { + name: 'ga', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + headers: { + 'x-rudder-dest-info': '{"secret": { "access_token": "valid_token" }}', + }, + body: [ + { + destType: 'GA', + userAttributes: [ + { + userId: 'test_user_1', + }, + { + userId: 'test_user_2', + }, + ], + config: { + trackingID: 'UA-123456789-5', + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'ga', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + headers: { + 'x-rudder-dest-info': '{"secret": { "access_token": "expired_token" }}', + }, + body: [ + { + destType: 'GA', + userAttributes: [ + { + userId: 'test_user_3', + }, + { + userId: 'test_user_4', + }, + ], + config: { + trackingID: 'UA-123456789-6', + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 500, + body: [ + { + statusCode: 500, + authErrorCategory: 'REFRESH_TOKEN', + error: 'invalid credentials', + }, + ], + }, + }, + }, + { + name: 'ga', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + headers: { + 'x-rudder-dest-info': '{"secret": { "access_token": "valid_token_1" }}', + }, + body: [ + { + destType: 'GA', + userAttributes: [ + { + userId: 'test_user_5', + }, + { + userId: 'test_user_6', + }, + { + userId: 'test_user_7', + }, + { + userId: 'test_user_8', + }, + { + userId: 'test_user_9', + }, + ], + config: { + trackingID: 'UA-123456789-7', + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 403, + body: [ + { + statusCode: 403, + error: + 'Error occurred while completing deletion request: [dummy response] The parameter used to query is not correct', + }, + ], + }, + }, + }, + { + name: 'ga', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + headers: { + 'x-rudder-dest-info': '{"secret": { "access_token": "no_permissions_token" }}', + }, + body: [ + { + destType: 'GA', + userAttributes: [ + { + userId: 'test_user_20', + }, + ], + config: { + trackingID: 'UA-123456789-7', + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + authErrorCategory: AUTH_STATUS_INACTIVE, + error: 'User does not have sufficient permissions', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/ga/network.ts b/test/integrations/destinations/ga/network.ts new file mode 100644 index 0000000000..acfe5db430 --- /dev/null +++ b/test/integrations/destinations/ga/network.ts @@ -0,0 +1,327 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_1', + }, + webPropertyId: 'UA-123456789-5', + }, + headers: { + Authorization: 'Bearer valid_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_1', + }, + webPropertyId: 'UA-123456789-5', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_2', + }, + webPropertyId: 'UA-123456789-5', + }, + headers: { + Authorization: 'Bearer valid_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_2', + }, + webPropertyId: 'UA-123456789-5', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_3', + }, + webPropertyId: 'UA-123456789-6', + }, + headers: { + Authorization: 'Bearer expired_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + 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: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_4', + }, + webPropertyId: 'UA-123456789-6', + }, + headers: { + Authorization: 'Bearer expired_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + 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: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_5', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_5', + }, + webPropertyId: 'UA-123456789-7', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_6', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_6', + }, + webPropertyId: 'UA-123456789-7', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_7', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + error: { + errors: [ + { + domain: 'global', + reason: 'invalidParameter', + message: '[dummy response] The parameter used to query is not correct', + }, + ], + code: 403, + message: '[dummy response] The parameter used to query is not correct', + }, + }, + status: 403, + statusText: 'Bad Request', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_8', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_8', + }, + webPropertyId: 'UA-123456789-7', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_9', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer valid_token_1', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_9', + }, + webPropertyId: 'UA-123456789-7', + deletionRequestTime: '2022-11-04T10:39:57.933Z', + }, + status: 200, + statusText: 'OK', + }, + }, + { + httpReq: { + method: 'post', + url: 'https://www.googleapis.com/analytics/v3/userDeletion/userDeletionRequests:upsert', + data: { + kind: 'analytics#userDeletionRequest', + id: { + type: 'USER_ID', + userId: 'test_user_20', + }, + webPropertyId: 'UA-123456789-7', + }, + headers: { + Authorization: 'Bearer no_permissions_token', + Accept: 'application/json', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + error: { + errors: [ + { + reason: 'insufficientPermissions', + }, + ], + code: 403, + message: 'User does not have sufficient permissions', + }, + }, + status: 200, + statusText: 'OK', + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/intercom/deleteUsers/data.ts b/test/integrations/destinations/intercom/deleteUsers/data.ts new file mode 100644 index 0000000000..a45af0a98f --- /dev/null +++ b/test/integrations/destinations/intercom/deleteUsers/data.ts @@ -0,0 +1,180 @@ +export const data = [ + { + name: 'intercom', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [ + { + userId: '1', + }, + { + userId: '12', + }, + ], + config: { + apiKey: 'API_KEY', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'intercom', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [ + { + userId: '7', + }, + { + userId: '9', + }, + ], + config: { + apiKey: 'API_KEY', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'intercom', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [ + { + userId: '6188c2c5f47e464b4abf3235', + }, + { + userId: 'user_sdk2', + }, + ], + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'Config for deletion not present', + }, + ], + }, + }, + }, + { + name: 'intercom', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [ + { + userId: '6188c2c5f47e464b4abf3235', + }, + { + userId: 'user_sdk2', + }, + ], + config: {}, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'api key for deletion not present', + }, + ], + }, + }, + }, + { + name: 'intercom', + description: 'Test 4', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'INTERCOM', + userAttributes: [{}], + config: { + apiKey: 'a=', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/intercom/network.ts b/test/integrations/destinations/intercom/network.ts new file mode 100644 index 0000000000..9f064d63ea --- /dev/null +++ b/test/integrations/destinations/intercom/network.ts @@ -0,0 +1,93 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + url: 'https://api.intercom.io/user_delete_requests', + data: { + intercom_user_id: '1', + }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer API_KEY', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + data: { + type: 'error.list', + request_id: '0022e6v5qc7m04jeu5pg', + errors: [ + { + code: 'unauthorized', + message: 'Access Token Invalid', + }, + ], + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://api.intercom.io/user_delete_requests', + data: { + intercom_user_id: '12', + }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer API_KEY', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + status: 200, + statusText: 'ok', + data: { + id: 12, + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://api.intercom.io/user_delete_requests', + data: { + intercom_user_id: '7', + }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer API_KEY', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + status: 200, + statusText: 'ok', + data: { + id: 7, + }, + }, + }, + { + httpReq: { + method: 'post', + url: 'https://api.intercom.io/user_delete_requests', + data: { + intercom_user_id: '9', + }, + headers: { + Accept: 'application/json', + Authorization: 'Bearer API_KEY', + 'Content-Type': 'application/json', + }, + }, + httpRes: { + status: 200, + statusText: 'ok', + data: { + id: 9, + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/marketo_static_list/network.ts b/test/integrations/destinations/marketo_static_list/network.ts new file mode 100644 index 0000000000..c369e1af26 --- /dev/null +++ b/test/integrations/destinations/marketo_static_list/network.ts @@ -0,0 +1,22 @@ +export const networkCallsData = [ + { + httpReq: { + method: 'GET', + params: { + client_id: 'marketo_client_id_success', + client_secret: 'marketo_client_secret_success', + grant_type: 'client_credentials', + }, + url: 'https://marketo_acct_id_success.mktorest.com/identity/oauth/token', + }, + httpRes: { + data: { + access_token: 'access_token_success', + expires_in: 3599, + scope: 'integrations@rudderstack.com', + token_type: 'bearer', + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/mautic/network.ts b/test/integrations/destinations/mautic/network.ts new file mode 100644 index 0000000000..593a630641 --- /dev/null +++ b/test/integrations/destinations/mautic/network.ts @@ -0,0 +1,3232 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdFJ1ZGRlcmxhYnM0NTgyM0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=email&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=abc@xyz.com', + }, + httpRes: { data: { contacts: {}, total: 0 }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdFJ1ZGRlcmxhYnM0NTgyM0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=email&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=abc@xyz.com', + }, + httpRes: { data: { contacts: {}, total: 0 }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdFJ1ZGRlcmxhYnM0NTgyM0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=email&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=hijibi@gmail.com', + }, + httpRes: { + data: { + contacts: { + '247': { + color: null, + createdBy: 1, + createdByUser: 'shruti rudderlabs', + dateAdded: '2022-08-21T16:30:21+00:00', + dateIdentified: '2022-08-21T16:30:21+00:00', + dateModified: '2022-08-21T18:08:06+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: 'Full', + city: 'kolkata', + company: null, + company_size: null, + country: 'India', + crm_id: null, + datetime: null, + email: 'hijibi@gmail.com', + facebook: null, + fax: null, + firstname: 'hijibiji', + foursquare: null, + haspurchased: '0', + id: '247', + instagram: null, + last_active: null, + lastname: 'Test', + linkedin: null, + mobile: null, + nps__recommend: 9, + phone: '123456789', + points: 123, + position: 'lead', + preferred_locale: null, + products: null, + prospect_or_customer: 'Customer', + role: 'Individual Contributor', + sandbox: '0', + skype: null, + state: null, + subscription_status: 'New', + timezone: null, + title: 'abcd', + twitter: null, + website: 'https://test.com', + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: 'Full', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: 'Full', + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: 'kolkata', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'kolkata', + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: 'India', + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: 'India', + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: 'hijibi@gmail.com', + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: 'hijibi@gmail.com', + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: 'hijibiji', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'hijibiji', + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: 'No', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '0', + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'Test', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'Test', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: 9, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: 9, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: '123456789', + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: '123456789', + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 123, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 123, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: 'lead', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'lead', + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: 'Customer', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: 'Customer', + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: 'Individual Contributor', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: 'Individual Contributor', + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: 'No', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '0', + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: null, + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: 'New', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: 'New', + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: 'abcd', + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: 'abcd', + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: 'https://test.com', + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: 'https://test.com', + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 247, + ipAddresses: [ + { + id: 1, + ipAddress: '127.0.0.1', + ipDetails: { + city: '', + country: '', + extra: '', + isp: '', + latitude: '', + longitude: '', + organization: '', + region: '', + timezone: '', + zipcode: '', + }, + }, + ], + isPublished: true, + lastActive: null, + modifiedBy: 1, + modifiedByUser: 'shruti rudderlabs', + owner: null, + points: 123, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + }, + total: 1, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdDQ1ODIzUnVkZGVybGFic0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=email&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=hijibi@gmail.com', + }, + httpRes: { + data: { + contacts: { + '247': { + color: null, + createdBy: 1, + createdByUser: 'shruti rudderlabs', + dateAdded: '2022-08-21T16:30:21+00:00', + dateIdentified: '2022-08-21T16:30:21+00:00', + dateModified: '2022-08-21T18:08:06+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: 'Full', + city: 'kolkata', + company: null, + company_size: null, + country: 'India', + crm_id: null, + datetime: null, + email: 'hijibi@gmail.com', + facebook: null, + fax: null, + firstname: 'hijibiji', + foursquare: null, + haspurchased: '0', + id: '247', + instagram: null, + last_active: null, + lastname: 'Test', + linkedin: null, + mobile: null, + nps__recommend: 9, + phone: '123456789', + points: 123, + position: 'lead', + preferred_locale: null, + products: null, + prospect_or_customer: 'Customer', + role: 'Individual Contributor', + sandbox: '0', + skype: null, + state: null, + subscription_status: 'New', + timezone: null, + title: 'abcd', + twitter: null, + website: 'https://test.com', + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: 'Full', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: 'Full', + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: 'kolkata', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'kolkata', + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: 'India', + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: 'India', + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: 'hijibi@gmail.com', + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: 'hijibi@gmail.com', + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: 'hijibiji', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'hijibiji', + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: 'No', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '0', + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'Test', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'Test', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: 9, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: 9, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: '123456789', + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: '123456789', + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 123, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 123, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: 'lead', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'lead', + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: 'Customer', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: 'Customer', + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: 'Individual Contributor', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: 'Individual Contributor', + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: 'No', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '0', + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: null, + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: 'New', + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: 'New', + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: 'abcd', + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: 'abcd', + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: 'https://test.com', + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: 'https://test.com', + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 247, + ipAddresses: [ + { + id: 1, + ipAddress: '127.0.0.1', + ipDetails: { + city: '', + country: '', + extra: '', + isp: '', + latitude: '', + longitude: '', + organization: '', + region: '', + timezone: '', + zipcode: '', + }, + }, + ], + isPublished: true, + lastActive: null, + modifiedBy: 1, + modifiedByUser: 'shruti rudderlabs', + owner: null, + points: 123, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + }, + total: 1, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdDQ1ODIzUnVkZGVybGFic0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=lastname&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=kumar', + }, + httpRes: { + data: { + contacts: { + '248': { + color: null, + createdBy: 1, + createdByUser: 'test rudderlabs', + dateAdded: '2022-08-18T12:19:27+00:00', + dateIdentified: '2022-08-18T12:19:27+00:00', + dateModified: '2022-08-23T11:46:30+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: null, + city: null, + company: null, + company_size: null, + country: null, + crm_id: null, + datetime: null, + email: 'xyz@abc.com', + facebook: null, + fax: null, + firstname: 'rudderstack', + foursquare: null, + haspurchased: '1', + id: '248', + instagram: null, + last_active: '2022-08-23 11:46:27', + lastname: 'kumar', + linkedin: null, + mobile: null, + nps__recommend: null, + phone: null, + points: 0, + position: null, + preferred_locale: null, + products: null, + prospect_or_customer: null, + role: null, + sandbox: null, + skype: null, + state: 'Uttar Pradesh', + subscription_status: null, + timezone: null, + title: null, + twitter: null, + website: null, + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: null, + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: null, + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: 'xyz@abc.com', + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: 'xyz@abc.com', + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: 'rudderstack', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'rudderstack', + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: 'Yes', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '1', + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: '2022-08-23 11:46:27', + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: '2022-08-23 11:46:27', + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'kumar', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'kumar', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: null, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 0, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 0, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: null, + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: null, + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: null, + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: 'Uttar Pradesh', + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: 'Uttar Pradesh', + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: null, + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: null, + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: null, + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: null, + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 248, + ipAddresses: [ + { + id: 1, + ipAddress: '130.0.1.21', + ipDetails: { + city: null, + country: 'United Kingdom', + extra: '', + isp: '', + latitude: 51.4964, + longitude: -0.1224, + organization: '', + region: '', + timezone: 'Europe/London', + zipcode: null, + }, + }, + ], + isPublished: true, + lastActive: '2022-08-23T11:46:27+00:00', + modifiedBy: 1, + modifiedByUser: 'test rudderlabs', + owner: null, + points: 0, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + '249': { + color: null, + createdBy: 1, + createdByUser: 'test rudderlabs', + dateAdded: '2022-08-18T12:20:05+00:00', + dateIdentified: '2022-08-18T12:20:05+00:00', + dateModified: '2022-08-24T09:19:10+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: null, + city: null, + company: 'test', + company_size: null, + country: null, + crm_id: null, + datetime: null, + email: 'x1yz@abc.com', + facebook: null, + fax: null, + firstname: 'Kamlesh', + foursquare: null, + haspurchased: null, + id: '249', + instagram: null, + last_active: '2022-08-18 12:20:05', + lastname: 'kumar', + linkedin: null, + mobile: null, + nps__recommend: null, + phone: null, + points: 0, + position: null, + preferred_locale: null, + products: null, + prospect_or_customer: null, + role: null, + sandbox: null, + skype: null, + state: 'Uttar Pradesh', + subscription_status: null, + timezone: null, + title: null, + twitter: null, + website: null, + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: null, + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: 'test', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'test', + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: null, + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: 'x1yz@abc.com', + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: 'x1yz@abc.com', + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: 'Kamlesh', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'Kamlesh', + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: null, + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: '2022-08-18 12:20:05', + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: '2022-08-18 12:20:05', + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'kumar', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'kumar', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: null, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 0, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 0, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: null, + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: null, + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: null, + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: 'Uttar Pradesh', + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: 'Uttar Pradesh', + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: null, + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: null, + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: null, + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: null, + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 249, + ipAddresses: [ + { + id: 1, + ipAddress: '130.0.1.21', + ipDetails: { + city: null, + country: 'United Kingdom', + extra: '', + isp: '', + latitude: 51.4964, + longitude: -0.1224, + organization: '', + region: '', + timezone: 'Europe/London', + zipcode: null, + }, + }, + ], + isPublished: true, + lastActive: '2022-08-18T12:20:05+00:00', + modifiedBy: 1, + modifiedByUser: 'test rudderlabs', + owner: null, + points: 0, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + '254': { + color: null, + createdBy: 1, + createdByUser: 'test rudderlabs', + dateAdded: '2022-08-18T13:20:27+00:00', + dateIdentified: '2022-08-18T13:20:27+00:00', + dateModified: '2022-08-18T13:20:27+00:00', + doNotContact: [], + fields: { + all: { + address1: null, + address2: null, + attribution: null, + attribution_date: null, + b2b_or_b2c: null, + car_or_truck: null, + cart_status: null, + city: null, + company: null, + company_size: null, + country: null, + crm_id: null, + datetime: null, + email: null, + facebook: null, + fax: null, + firstname: null, + foursquare: null, + haspurchased: '1', + id: '254', + instagram: null, + last_active: '2020-02-02 00:23:09', + lastname: 'Kumar', + linkedin: null, + mobile: null, + nps__recommend: null, + phone: null, + points: 0, + position: null, + preferred_locale: null, + products: null, + prospect_or_customer: null, + role: null, + sandbox: null, + skype: null, + state: null, + subscription_status: null, + timezone: null, + title: null, + twitter: null, + website: null, + zipcode: null, + }, + core: { + address1: { + alias: 'address1', + default_value: null, + group: 'core', + id: '11', + is_fixed: '1', + label: 'Address Line 1', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + address2: { + alias: 'address2', + default_value: null, + group: 'core', + id: '12', + is_fixed: '1', + label: 'Address Line 2', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + attribution: { + alias: 'attribution', + default_value: null, + group: 'core', + id: '21', + is_fixed: '1', + label: 'Attribution', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";i:4;s:9:"precision";i:2;}', + type: 'number', + value: null, + }, + attribution_date: { + alias: 'attribution_date', + default_value: null, + group: 'core', + id: '20', + is_fixed: '1', + label: 'Attribution Date', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + b2b_or_b2c: { + alias: 'b2b_or_b2c', + default_value: null, + group: 'core', + id: '47', + is_fixed: '0', + label: 'B2B or B2C', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:3:"B2B";s:5:"value";s:3:"B2B";}i:1;a:2:{s:5:"label";s:3:"B2C";s:5:"value";s:3:"B2C";}}}', + type: 'select', + value: null, + }, + car_or_truck: { + alias: 'car_or_truck', + default_value: null, + group: 'core', + id: '52', + is_fixed: '0', + label: 'Car or Truck', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"Car";s:5:"value";s:3:"Car";}i:1;a:2:{s:5:"label";s:5:"Truck";s:5:"value";s:5:"Truck";}i:2;a:2:{s:5:"label";s:4:"Both";s:5:"value";s:4:"Both";}}}', + type: 'select', + value: null, + }, + cart_status: { + alias: 'cart_status', + default_value: null, + group: 'core', + id: '55', + is_fixed: '0', + label: 'Cart Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:5:"Empty";s:5:"value";s:5:"Empty";}i:1;a:2:{s:5:"label";s:4:"Full";s:5:"value";s:4:"Full";}}}', + type: 'select', + value: null, + }, + city: { + alias: 'city', + default_value: null, + group: 'core', + id: '13', + is_fixed: '1', + label: 'City', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company: { + alias: 'company', + default_value: null, + group: 'core', + id: '4', + is_fixed: '1', + label: 'Primary company', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + company_size: { + alias: 'company_size', + default_value: null, + group: 'core', + id: '53', + is_fixed: '0', + label: 'Company size Custom', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:7:{i:0;a:2:{s:5:"label";s:15:"Less than 1,000";s:5:"value";s:15:"Less than 1,000";}i:1;a:2:{s:5:"label";s:14:"1,000 - 10,000";s:5:"value";s:14:"1,000 - 10,000";}i:2;a:2:{s:5:"label";s:16:"10,000 - 100,000";s:5:"value";s:16:"10,000 - 100,000";}i:3;a:2:{s:5:"label";s:17:"100,000 - 500,000";s:5:"value";s:17:"100,000 - 500,000";}i:4;a:2:{s:5:"label";s:12:"500,000 - 1M";s:5:"value";s:12:"500,000 - 1M";}i:5;a:2:{s:5:"label";s:7:"1M - 5M";s:5:"value";s:7:"1M - 5M";}i:6;a:2:{s:5:"label";s:3:"5M+";s:5:"value";s:3:"5M+";}}}', + type: 'select', + value: null, + }, + country: { + alias: 'country', + default_value: null, + group: 'core', + id: '16', + is_fixed: '1', + label: 'Country', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'country', + value: null, + }, + crm_id: { + alias: 'crm_id', + default_value: null, + group: 'core', + id: '45', + is_fixed: '0', + label: 'CRM ID', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + datetime: { + alias: 'datetime', + default_value: null, + group: 'core', + id: '50', + is_fixed: '0', + label: 'Webinar date/time signup', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: null, + }, + email: { + alias: 'email', + default_value: null, + group: 'core', + id: '6', + is_fixed: '1', + label: 'Email', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'email', + value: null, + }, + fax: { + alias: 'fax', + default_value: null, + group: 'core', + id: '10', + is_fixed: '0', + label: 'Fax', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + firstname: { + alias: 'firstname', + default_value: null, + group: 'core', + id: '2', + is_fixed: '1', + label: 'First Name', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + haspurchased: { + alias: 'haspurchased', + default_value: null, + group: 'core', + id: '46', + is_fixed: '0', + label: 'hasPurchased', + normalizedValue: 'Yes', + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: '1', + }, + last_active: { + alias: 'last_active', + default_value: null, + group: 'core', + id: '58', + is_fixed: '1', + label: 'Date Last Active', + normalizedValue: '2020-02-02 00:23:09', + object: 'lead', + properties: 'a:0:{}', + type: 'datetime', + value: '2020-02-02 00:23:09', + }, + lastname: { + alias: 'lastname', + default_value: null, + group: 'core', + id: '3', + is_fixed: '1', + label: 'Last Name', + normalizedValue: 'Kumar', + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: 'Kumar', + }, + mobile: { + alias: 'mobile', + default_value: null, + group: 'core', + id: '7', + is_fixed: '1', + label: 'Mobile', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + nps__recommend: { + alias: 'nps__recommend', + default_value: null, + group: 'core', + id: '56', + is_fixed: '0', + label: 'NPS - Recommend', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:9:"roundmode";s:1:"3";s:9:"precision";s:0:"";}', + type: 'number', + value: null, + }, + phone: { + alias: 'phone', + default_value: null, + group: 'core', + id: '8', + is_fixed: '1', + label: 'Phone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'tel', + value: null, + }, + points: { + alias: 'points', + default_value: '0', + group: 'core', + id: '9', + is_fixed: '1', + label: 'Points', + normalizedValue: 0, + object: 'lead', + properties: 'a:0:{}', + type: 'number', + value: 0, + }, + position: { + alias: 'position', + default_value: null, + group: 'core', + id: '5', + is_fixed: '1', + label: 'Position', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + preferred_locale: { + alias: 'preferred_locale', + default_value: null, + group: 'core', + id: '17', + is_fixed: '1', + label: 'Preferred Locale', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'locale', + value: null, + }, + products: { + alias: 'products', + default_value: null, + group: 'core', + id: '48', + is_fixed: '0', + label: 'Products', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:27:"Mautic Marketing Automation";s:5:"value";s:27:"Mautic Marketing Automation";}i:1;a:2:{s:5:"label";s:28:"Maven Marketing Intelligence";s:5:"value";s:28:"Maven Marketing Intelligence";}i:2;a:2:{s:5:"label";s:28:"Maestro Marketing Management";s:5:"value";s:28:"Maestro Marketing Management";}}}', + type: 'select', + value: null, + }, + prospect_or_customer: { + alias: 'prospect_or_customer', + default_value: null, + group: 'core', + id: '51', + is_fixed: '0', + label: 'Prospect or Customer', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:2:{i:0;a:2:{s:5:"label";s:8:"Prospect";s:5:"value";s:8:"Prospect";}i:1;a:2:{s:5:"label";s:8:"Customer";s:5:"value";s:8:"Customer";}}}', + type: 'select', + value: null, + }, + role: { + alias: 'role', + default_value: null, + group: 'core', + id: '57', + is_fixed: '0', + label: 'Role', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:5:{i:0;a:2:{s:5:"label";s:22:"Individual Contributor";s:5:"value";s:22:"Individual Contributor";}i:1;a:2:{s:5:"label";s:7:"Manager";s:5:"value";s:7:"Manager";}i:2;a:2:{s:5:"label";s:8:"Director";s:5:"value";s:8:"Director";}i:3;a:2:{s:5:"label";s:9:"Executive";s:5:"value";s:9:"Executive";}i:4;a:2:{s:5:"label";s:10:"Consultant";s:5:"value";s:10:"Consultant";}}}', + type: 'select', + value: null, + }, + sandbox: { + alias: 'sandbox', + default_value: null, + group: 'core', + id: '54', + is_fixed: '0', + label: 'Sandbox', + normalizedValue: null, + object: 'lead', + properties: 'a:2:{s:2:"no";s:2:"No";s:3:"yes";s:3:"Yes";}', + type: 'boolean', + value: null, + }, + state: { + alias: 'state', + default_value: null, + group: 'core', + id: '14', + is_fixed: '1', + label: 'State', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'region', + value: null, + }, + subscription_status: { + alias: 'subscription_status', + default_value: null, + group: 'core', + id: '49', + is_fixed: '0', + label: 'Subscription Status', + normalizedValue: null, + object: 'lead', + properties: + 'a:1:{s:4:"list";a:3:{i:0;a:2:{s:5:"label";s:3:"New";s:5:"value";s:3:"New";}i:1;a:2:{s:5:"label";s:8:"Existing";s:5:"value";s:8:"Existing";}i:2;a:2:{s:5:"label";s:6:"Former";s:5:"value";s:6:"Former";}}}', + type: 'select', + value: null, + }, + timezone: { + alias: 'timezone', + default_value: null, + group: 'core', + id: '18', + is_fixed: '1', + label: 'Preferred Timezone', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'timezone', + value: null, + }, + title: { + alias: 'title', + default_value: null, + group: 'core', + id: '1', + is_fixed: '1', + label: 'Title', + normalizedValue: null, + object: 'lead', + properties: 'a:1:{s:4:"list";a:3:{i:0;s:2:"Mr";i:1;s:3:"Mrs";i:2;s:4:"Miss";}}', + type: 'lookup', + value: null, + }, + website: { + alias: 'website', + default_value: null, + group: 'core', + id: '22', + is_fixed: '0', + label: 'Website', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'url', + value: null, + }, + zipcode: { + alias: 'zipcode', + default_value: null, + group: 'core', + id: '15', + is_fixed: '1', + label: 'Zip Code', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + personal: [], + professional: [], + social: { + facebook: { + alias: 'facebook', + default_value: null, + group: 'social', + id: '23', + is_fixed: '0', + label: 'Facebook', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + foursquare: { + alias: 'foursquare', + default_value: null, + group: 'social', + id: '24', + is_fixed: '0', + label: 'Foursquare', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + instagram: { + alias: 'instagram', + default_value: null, + group: 'social', + id: '26', + is_fixed: '0', + label: 'Instagram', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + linkedin: { + alias: 'linkedin', + default_value: null, + group: 'social', + id: '27', + is_fixed: '0', + label: 'LinkedIn', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + skype: { + alias: 'skype', + default_value: null, + group: 'social', + id: '28', + is_fixed: '0', + label: 'Skype', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + twitter: { + alias: 'twitter', + default_value: null, + group: 'social', + id: '29', + is_fixed: '0', + label: 'Twitter', + normalizedValue: null, + object: 'lead', + properties: 'a:0:{}', + type: 'text', + value: null, + }, + }, + }, + frequencyRules: [], + id: 254, + ipAddresses: [], + isPublished: true, + lastActive: '2020-02-02T00:23:09+00:00', + modifiedBy: 1, + modifiedByUser: 'test rudderlabs', + owner: null, + points: 0, + preferredProfileImage: null, + stage: null, + tags: [], + utmtags: [], + }, + }, + total: '3', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic VGVzdDQ1ODIzUnVkZGVybGFic0BnbWFpbC5jb206ZHVtbXlQYXNzd29yZA==', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://ruddertest2.mautic.net/api/contacts?where%5B0%5D%5Bcol%5D=lastname&where%5B0%5D%5Bexpr%5D=eq&where%5B0%5D%5Bval%5D=Singh', + }, + httpRes: { data: { Conatcts: {}, Total: 0 }, status: 200 }, + }, +]; diff --git a/test/integrations/destinations/mp/deleteUsers/data.ts b/test/integrations/destinations/mp/deleteUsers/data.ts new file mode 100644 index 0000000000..0f469b508f --- /dev/null +++ b/test/integrations/destinations/mp/deleteUsers/data.ts @@ -0,0 +1,3281 @@ +export const data = [ + { + name: 'mp', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + ], + config: { + token: 'testToken', + prefixProperties: true, + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed for `delete profile` api', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + { + userId: 'rudder1', + }, + ], + config: { + token: 'testToken', + prefixProperties: true, + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'test_user_id', + }, + { + userId: 'user_sdk2', + }, + ], + config: { + apiKey: 'dummyApiKey', + prefixProperties: true, + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'API Token is a required field for user deletion', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + name: 'test1', + }, + ], + config: { + token: 'testToken', + prefixProperties: true, + useNativeSDK: false, + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 4', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + { + userId: 'rudder2', + }, + { + userId: 'rudder3', + }, + ], + config: { + token: 'test_token', + prefixProperties: true, + useNativeSDK: false, + userDeletionApi: 'task', + gdprApiToken: 'test_gdpr_token', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 5', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + ], + config: { + token: 'test_token', + prefixProperties: true, + useNativeSDK: false, + userDeletionApi: 'task', + dataResidency: 'eu', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'GDPR API Token is a required field for creating deletion task in mixpanel', + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 6', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'MP', + userAttributes: [ + { + userId: 'rudder1', + }, + ], + config: { + token: 'test_token', + prefixProperties: true, + useNativeSDK: false, + dataResidency: 'eu', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/mp/network.ts b/test/integrations/destinations/mp/network.ts new file mode 100644 index 0000000000..a386451a21 --- /dev/null +++ b/test/integrations/destinations/mp/network.ts @@ -0,0 +1,1150 @@ +const deleteNwData = [ + { + httpReq: { + method: 'post', + + url: 'https://api.mixpanel.com/engage', + data: [ + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + ], + headers: { + 'Content-Type': 'application/json', + Accept: 'text/plain', + }, + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail Case', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://api.mixpanel.com/engage', + data: [ + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + { $distinct_id: 'rudder1', $token: 'testToken', $delete: null, $ignore_alias: true }, + ], + headers: { + 'Content-Type': 'application/json', + Accept: 'text/plain', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': '1', + }, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://api.mixpanel.com/engage', + data: [ + { + $distinct_id: 'rudder1', + $token: 'dummyAccessToken', + $delete: null, + $ignore_alias: true, + }, + { + $distinct_id: 'rudder1', + $token: 'dummyAccessToken', + $delete: null, + $ignore_alias: true, + }, + ], + headers: { + 'Content-Type': 'application/json', + Accept: 'text/plain', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': '1', + }, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://mixpanel.com/api/app/data-deletions/v3.0/?token=test_token', + data: { + distinct_ids: ['rudder1', 'rudder2', 'rudder3'], + compliance_type: 'CCPA', + }, + headers: { + 'Content-Type': 'application/json', + + Authorization: 'Bearer test_gdpr_token', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': '1', + }, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://mixpanel.com/api/app/data-deletions/v3.0/?token=test_token', + data: { + distinct_ids: ['rudder2'], + compliance_type: 'GDPR', + }, + headers: { + 'Content-Type': 'application/json', + Accept: 'text/plain', + Authorization: 'Bearer test_gdpr_token', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': '1', + }, + }, + }, + { + httpReq: { + method: 'post', + + url: 'https://api-eu.mixpanel.com/engage', + data: [ + { + $distinct_id: 'rudder1', + $token: 'dummyAccessToken', + $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/optimizely_fullstack/network.ts b/test/integrations/destinations/optimizely_fullstack/network.ts new file mode 100644 index 0000000000..e6a1101ab9 --- /dev/null +++ b/test/integrations/destinations/optimizely_fullstack/network.ts @@ -0,0 +1,206 @@ +const deleteNwData = [ + { + httpReq: { + method: 'get', + url: 'https://cdn.optimizely.com/datafiles/abc.json', + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + accountId: 'test_account_id', + projectId: 'test_project_id', + revision: '45', + attributes: [ + { + id: 'test_attribute_id_1', + key: 'gender', + }, + { + id: 'test_attribute_id_2', + key: 'name', + }, + { + id: 'test_attribute_id_3', + key: 'userId', + }, + { + id: 'test_attribute_id_4', + key: 'anonymousId', + }, + { + id: 'test_attribute_id_5', + key: 'company', + }, + ], + audiences: [ + { + id: '$opt_test_audience', + name: 'Optimizely-Generated Audience for Backwards Compatibility', + conditions: + '["or", {"match": "exact", "name": "$opt_test_attribute", "type": "custom_attribute", "value": "$opt_test_value"}]', + }, + ], + version: '4', + events: [ + { + id: 'test_event_id_1', + experimentIds: ['test_experiment_id'], + key: 'Product Added', + }, + { + id: 'test_event_id_2', + experimentIds: ['test_experiment_id'], + key: 'Product Removed', + }, + { + id: 'test_event_id_3', + experimentIds: ['test_experiment_id'], + key: 'Order Placed', + }, + { + id: 'test_event_id_4', + experimentIds: ['test_experiment_id'], + key: 'Viewed Meal page', + }, + { + id: 'test_event_id_5', + experimentIds: ['test_experiment_id'], + key: 'Viewed food page', + }, + { + id: 'test_event_id_6', + experimentIds: ['test_experiment_id'], + key: 'Viewed Main screen', + }, + { + id: 'test_event_id_7', + experimentIds: ['test_experiment_id'], + key: 'Home', + }, + { + id: 'test_event_id_8', + experimentIds: ['test_experiment_id'], + key: 'Index', + }, + ], + anonymizeIP: true, + botFiltering: false, + typedAudiences: [], + variables: [], + environmentKey: 'production', + sdkKey: 'test_sdk_key', + featureFlags: [ + { + id: 'test_feature_flag_id', + key: 'testfeature', + experimentIds: ['test_experiment_id'], + rolloutId: 'test_rollout_id', + variables: [ + { + id: 'test_variable_id', + key: 'sort_method', + type: 'string', + defaultValue: 'alphabetical', + }, + ], + }, + ], + rollouts: [ + { + id: 'test_rollout_id', + experiments: [ + { + forcedVariations: {}, + id: 'test_experiment_id', + key: 'test_experiment_key', + status: 'Running', + trafficAllocation: [ + { + entityId: 'test_variation_id', + endOfRange: 10000, + }, + ], + variations: [ + { + id: 'test_variation_id', + key: 'test_variation_key', + variables: [ + { + id: 'test_variable_id', + value: 'alphabetical', + }, + ], + featureEnabled: true, + }, + ], + layerId: 'test_layer_id', + audienceIds: [], + }, + ], + }, + ], + experiments: [ + { + forcedVariations: {}, + id: 'test_experiment_id', + key: 'test_experiment_key', + status: 'Running', + trafficAllocation: [ + { + entityId: 'test_variation_id_1', + endOfRange: 5000, + }, + { + entityId: 'test_variation_id_2', + endOfRange: 10000, + }, + ], + variations: [ + { + id: 'test_variation_id_1', + key: 'variation_1', + variables: [ + { + id: 'test_variable_id', + value: 'popular_first', + }, + ], + featureEnabled: true, + }, + { + id: 'test_variation_id_2', + key: 'variation_2', + variables: [ + { + id: 'test_variable_id', + value: 'popular_first', + }, + ], + featureEnabled: true, + }, + ], + layerId: 'test_layer_id', + audienceIds: [], + }, + ], + groups: [], + }, + }, + }, + { + httpReq: { + method: 'get', + url: 'https://cdn.optimizely.com/datafiles/wrong_cdn.json', + }, + httpRes: { + status: 404, + statusText: 'Not Found', + data: { + code: 'document_not_found', + message: 'document_not_found', + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/optimizely_fullstack/processor/data.ts b/test/integrations/destinations/optimizely_fullstack/processor/data.ts new file mode 100644 index 0000000000..47ce3314fd --- /dev/null +++ b/test/integrations/destinations/optimizely_fullstack/processor/data.ts @@ -0,0 +1,2170 @@ +import utils from '../../../../../src/v0/util'; +export const mockFns = (_) => { + // @ts-ignore + jest.spyOn(utils, 'generateUUID').mockImplementation(() => 'generated_uuid'); +}; +export const data = [ + { + name: 'optimizely_fullstack', + description: 'Missing Data File URL', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 1, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 1, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Identify call: Missing Variation ID in integration object', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 2, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 2, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Missing Account ID', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 3, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 3, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Missing Campaign ID', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 4, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 4, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Missing Experiment ID', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + }, + }, + metadata: { + jobId: 5, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + '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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 5, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Page: Track Categorized Page and Track Named Pages toggle are disabled', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + channel: 'web', + name: 'Home', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + optimizely_fullstack: { + variationId: '123', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + trackCategorizedPages: false, + trackNamedPages: false, + }, + }, + metadata: { + jobId: 6, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + "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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 6, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: + 'Invalid Configuration (Track known users toggle is on and userId is missing in request)', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + channel: 'web', + event: 'Product Added', + 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', + optimizely_fullstack: { + variationId: '123', + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + trackCategorizedPages: false, + trackNamedPages: false, + trackKnownUsers: true, + }, + }, + metadata: { + jobId: 7, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + "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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 7, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track call without event', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 9, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'Event is not present. Aborting.: Workflow: procWorkflow, Step: validateInputForTrack, ChildStep: undefined, OriginalError: Event is not present. Aborting.', + statTags: { + destType: 'OPTIMIZELY_FULLSTACK', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 9, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Invalid data file url', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Product Added', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/wrong_cdn.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { + jobId: 10, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + 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"}', + statTags: { + destType: 'OPTIMIZELY_FULLSTACK', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 10, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Event not present in data-file', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Product Added', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + optimizely_fullstack: { + variationId: '123', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + eventMapping: [ + { + from: 'Product Added', + to: 'product_added', + }, + ], + }, + }, + metadata: { + jobId: 11, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + error: + "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', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + metadata: { + jobId: 11, + }, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Identify call (Decision Event) with userId', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + country: 'US', + }, + sessionId: 1685626914716, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + userId: 'userId123', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: { + jobId: 12, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 12 }, + output: { + body: { + FORM: {}, + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + client_name: 'RudderStack', + client_version: '1.0.0', + enrich_decisions: true, + visitors: [ + { + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + session_id: '1685626914716', + snapshots: [ + { + decisions: [ + { + campaign_id: 'test_campaign_id', + experiment_id: 'test_experiment_id', + variation_id: 'test_variation_id_1', + }, + ], + events: [ + { + entity_id: 'test_campaign_id', + timestamp: 1676031367251, + type: 'campaign_activated', + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + }, + ], + }, + ], + visitor_id: 'userId123', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + }, + endpoint: 'https://logx.optimizely.com/v1/events', + files: {}, + headers: { 'Content-Type': 'application/json' }, + method: 'POST', + params: {}, + type: 'REST', + userId: '', + version: '1', + }, + statusCode: 200, + }, + ], + }, + }, + }, + + { + name: 'optimizely_fullstack', + description: 'Identify call (Decision Event) with anonymousId', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + country: 'US', + }, + sessionId: 1685626914716, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + userId: 'userId123', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: false, + }, + }, + metadata: { + jobId: 13, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 13 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: '97c46c81-3140-456d-b2a9-690d70aaca35', + snapshots: [ + { + decisions: [ + { + campaign_id: 'test_campaign_id', + experiment_id: 'test_experiment_id', + variation_id: 'test_variation_id_1', + }, + ], + events: [ + { + entity_id: 'test_campaign_id', + type: 'campaign_activated', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + userId: '', + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Identify call (Decision Event) with projectId is empty"', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + country: 'US', + }, + sessionId: 1685626914716, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + userId: 'userId123', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + projectId: '', + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: { + jobId: 14, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 14 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + userId: '', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [ + { + campaign_id: 'test_campaign_id', + experiment_id: 'test_experiment_id', + variation_id: 'test_variation_id_1', + }, + ], + events: [ + { + entity_id: 'test_campaign_id', + type: 'campaign_activated', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track Named Page: mapping is not provided for page name in webapp', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + userId: 'userId123', + name: 'Meal', + channel: 'web', + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { + foo: 'bar', + }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: false, + trackNamedPages: true, + pageMapping: [ + { + from: 'Home', + to: 'Viewed Home Page', + }, + { + from: 'food', + to: 'Product Added', + }, + ], + }, + }, + metadata: { + jobId: 15, + }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 15 }, + statTags: { + destType: 'OPTIMIZELY_FULLSTACK', + errorCategory: 'platform', + feature: 'processor', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + error: + 'Events [meal] are not present in the data file. Make sure events exist in Optimizely.: Workflow: procWorkflow, Step: preparePageOrScreenPayload, ChildStep: optimizelyEvents, OriginalError: Events [meal] are not present in the data file. Make sure events exist in Optimizely.', + }, + ], + }, + }, + }, + + { + name: 'optimizely_fullstack', + description: 'Track call (Conversion event) with userId', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'product_added', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', revenue: 123, quantity: 2 }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_2' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + eventMapping: [ + { from: 'Product Searched', to: 'Searched' }, + { from: 'product_added', to: 'Product Added' }, + ], + attributeMapping: [ + { from: 'organization', to: 'company' }, + { from: 'fullName', to: 'name' }, + ], + }, + }, + metadata: { jobId: 20 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 20 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + quantity: 2, + revenue: 12300, + tags: { foo: 'bar' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track call (Conversion event) without event mapping configured in webapp', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Product Added', + channel: 'web', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + integrations: { All: true, optimizely_fullstack: { variationId: '123' } }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + }, + }, + metadata: { jobId: 21 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 21 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: '97c46c81-3140-456d-b2a9-690d70aaca35', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: {}, + }, + ], + }, + ], + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track call: Missing Variation ID in integration object ', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'product_added', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', revenue: 123, quantity: 2 }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { All: true }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + eventMapping: [ + { from: 'Product Searched', to: 'Searched' }, + { from: 'product_added', to: 'Product Added' }, + ], + attributeMapping: [ + { from: 'organization', to: 'company' }, + { from: 'fullName', to: 'name' }, + ], + }, + }, + metadata: { jobId: 22 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 22 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + quantity: 2, + revenue: 12300, + tags: { foo: 'bar' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track Categorized and Named Page', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + name: 'Meal', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', category: 'food' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'meal', to: 'Viewed Meal Page' }, + { from: 'food', to: 'Product Added' }, + ], + }, + }, + metadata: { jobId: 23 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 23 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar', category: 'food' }, + }, + { + entity_id: 'test_event_id_4', + key: 'Viewed Meal page', + timestamp: 1676031367251, + uuid: 'generated_uuid', + tags: { foo: 'bar', category: 'food' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track Categorized and Named Page without event mapping configured in webapp', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + name: 'home', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', category: 'index' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [{ from: '', to: '' }], + }, + }, + metadata: { jobId: 24 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 24 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_8', + key: 'Index', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar', category: 'index' }, + }, + { + entity_id: 'test_event_id_7', + key: 'Home', + timestamp: 1676031367251, + uuid: 'generated_uuid', + tags: { foo: 'bar', category: 'index' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: + 'Track Categorized Page: trackCategorizedPages,trackNamedPages toggle are enabled and name is not provided', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', category: 'food' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'meal', to: 'Viewed Meal Page' }, + { from: 'food', to: 'Product Added' }, + ], + }, + }, + metadata: { jobId: 25 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 25 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar', category: 'food' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: + 'Track Named Page: trackCategorizedPages,trackNamedPages toggle are enabled and category is not provided', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + userId: 'userId123', + name: 'Meal', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'meal', to: 'Viewed Meal Page' }, + { from: 'food', to: 'Product Added' }, + ], + }, + }, + metadata: { jobId: 26 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 26 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_4', + key: 'Viewed Meal page', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: + 'Track Named Page: trackCategorizedPages,trackNamedPages toggle are enabled and category mapping is wrong', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'page', + userId: 'userId123', + name: 'Meal', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'meal', to: 'Viewed Meal Page' }, + { from: 'food', to: 'ABC' }, + ], + }, + }, + metadata: { jobId: 27 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 27 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_4', + key: 'Viewed Meal page', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'optimizely_fullstack', + description: 'Track Categorized and Named Screen', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'screen', + name: 'Home', + userId: 'userId123', + channel: 'web', + context: { + traits: { organization: 'RudderStack', fullName: 'John Doe' }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { foo: 'bar', category: 'food' }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { variationId: 'test_variation_id_1' }, + }, + }, + destination: { + DestinationDefinition: { Config: { cdkV2Enabled: true } }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: true, + pageMapping: [ + { from: 'home', to: 'Viewed Main Screen' }, + { from: 'food', to: 'Product Added' }, + ], + }, + }, + metadata: { jobId: 28 }, + }, + ], + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: [ + { + metadata: { jobId: 28 }, + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { 'Content-Type': 'application/json' }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { foo: 'bar', category: 'food' }, + }, + { + entity_id: 'test_event_id_6', + key: 'Viewed Main screen', + timestamp: 1676031367251, + uuid: 'generated_uuid', + tags: { foo: 'bar', category: 'food' }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '', + }, + statusCode: 200, + }, + ], + }, + }, + }, +].map((d) => ({ ...d, mockFns })); diff --git a/test/integrations/destinations/optimizely_fullstack/router/data.ts b/test/integrations/destinations/optimizely_fullstack/router/data.ts new file mode 100644 index 0000000000..1803881f30 --- /dev/null +++ b/test/integrations/destinations/optimizely_fullstack/router/data.ts @@ -0,0 +1,563 @@ +import { FEATURES } from '../../../../../src/v0/util/tags'; +import { mockFns } from '../processor/data'; + +export const data = [ + { + name: 'optimizely_fullstack', + description: 'Test 0', + feature: FEATURES.ROUTER, + module: 'destination', + version: 'v0', + input: { + request: { + body: { + input: [ + { + message: { + type: 'identify', + channel: 'web', + properties: {}, + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + country: 'US', + }, + sessionId: 1685626914716, + }, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + timestamp: '2023-02-10T12:16:07.251Z', + userId: 'userId123', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: { + jobId: 1, + }, + }, + { + message: { + type: 'track', + event: 'product_added', + userId: 'userId123', + channel: 'web', + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { + foo: 'bar', + revenue: 123, + quantity: 2, + }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_2', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + eventMapping: [ + { + from: 'Product Searched', + to: 'Searched', + }, + { + from: 'product_added', + to: 'Product Added', + }, + ], + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: { + jobId: 2, + }, + }, + { + message: { + type: 'page', + userId: 'userId123', + channel: 'web', + context: { + traits: { + organization: 'RudderStack', + fullName: 'John Doe', + }, + sessionId: 1685626914716, + }, + rudderId: '5354b3f2-cb72-4355-a2b5-a298c3837c7d', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + timestamp: '2023-02-10T12:16:07.251Z', + properties: { + foo: 'bar', + category: 'food', + }, + anonymousId: '856365b8-da4b-4c13-9098-84df18559446', + integrations: { + All: true, + optimizely_fullstack: { + variationId: 'test_variation_id_1', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: false, + pageMapping: [ + { + from: 'meal', + to: 'Viewed Meal Page', + }, + { + from: 'food', + to: 'Product Added', + }, + ], + }, + }, + metadata: { + jobId: 3, + }, + }, + { + message: { + type: 'page', + channel: 'web', + name: 'Home', + properties: {}, + context: {}, + rudderId: '8f8fa6b5-8e24-489c-8e22-61f23f2e364f', + messageId: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + anonymousId: '97c46c81-3140-456d-b2a9-690d70aaca35', + integrations: { + All: true, + optimizely_fullstack: { + variationId: '123', + }, + }, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + experimentId: 'test_experiment_id', + trackCategorizedPages: false, + trackNamedPages: false, + }, + }, + metadata: { + jobId: 4, + }, + }, + ], + destType: 'optimizely_fullstack', + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: [ + { + batched: false, + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: false, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [ + { + campaign_id: 'test_campaign_id', + experiment_id: 'test_experiment_id', + variation_id: 'test_variation_id_1', + }, + ], + events: [ + { + entity_id: 'test_campaign_id', + type: 'campaign_activated', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: [ + { + jobId: 1, + }, + ], + statusCode: 200, + }, + { + batched: false, + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + attributes: [ + { + entity_id: 'test_attribute_id_5', + key: 'company', + type: 'custom', + value: 'RudderStack', + }, + { + entity_id: 'test_attribute_id_2', + key: 'name', + type: 'custom', + value: 'John Doe', + }, + ], + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + quantity: 2, + revenue: 12300, + tags: { + foo: 'bar', + }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + eventMapping: [ + { + from: 'Product Searched', + to: 'Searched', + }, + { + from: 'product_added', + to: 'Product Added', + }, + ], + attributeMapping: [ + { + from: 'organization', + to: 'company', + }, + { + from: 'fullName', + to: 'name', + }, + ], + }, + }, + metadata: [ + { + jobId: 2, + }, + ], + statusCode: 200, + }, + { + batched: false, + batchedRequest: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://logx.optimizely.com/v1/events', + headers: { + 'Content-Type': 'application/json', + }, + params: {}, + body: { + JSON: { + account_id: 'test_account_id', + anonymize_ip: true, + enrich_decisions: true, + client_name: 'RudderStack', + client_version: '1.0.0', + visitors: [ + { + visitor_id: 'userId123', + snapshots: [ + { + decisions: [], + events: [ + { + entity_id: 'test_event_id_1', + key: 'Product Added', + timestamp: 1676031367251, + uuid: '2116ef8c-efc3-4ca4-851b-02ee60dad6ff', + tags: { + foo: 'bar', + category: 'food', + }, + }, + ], + }, + ], + session_id: '1685626914716', + }, + ], + }, + JSON_ARRAY: {}, + XML: {}, + FORM: {}, + }, + files: {}, + }, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + accountId: 'test_account_id', + campaignId: 'test_campaign_id', + experimentId: 'test_experiment_id', + trackKnownUsers: true, + anonymizeIp: true, + trackCategorizedPages: true, + trackNamedPages: false, + pageMapping: [ + { + from: 'meal', + to: 'Viewed Meal Page', + }, + { + from: 'food', + to: 'Product Added', + }, + ], + }, + }, + metadata: [ + { + jobId: 3, + }, + ], + statusCode: 200, + }, + { + batched: false, + destination: { + DestinationDefinition: { + Config: { + cdkV2Enabled: true, + }, + }, + Config: { + accountId: 'test_account_id', + campaignId: 'test_campagin_id', + dataFileUrl: 'https://cdn.optimizely.com/datafiles/abc.json', + experimentId: 'test_experiment_id', + trackCategorizedPages: false, + trackNamedPages: false, + }, + }, + error: + "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.", + metadata: [ + { + jobId: 4, + }, + ], + statTags: { + destType: 'OPTIMIZELY_FULLSTACK', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'router', + implementation: 'cdkV2', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + mockFns, + }, +]; diff --git a/test/integrations/destinations/pardot/network.ts b/test/integrations/destinations/pardot/network.ts new file mode 100644 index 0000000000..bbbe0d70f9 --- /dev/null +++ b/test/integrations/destinations/pardot/network.ts @@ -0,0 +1,440 @@ +import { enhanceRequestOptions, getFormData } from '../../../../src/adapters/network'; + +export const networkCallsData = [ + // 2nd proxy test-case + { + httpReq: { + url: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/email/Roger_12@waltair.io', + data: getFormData({ + first_name: 'Roger_12', + last_name: 'Federer_12', + website: 'https://rudderstack.com', + score: 14, + campaign_id: 42213, + format: 'json', + }).toString(), + params: { destination: 'pardot' }, + headers: { + Authorization: 'Bearer myToken', + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger_12', + last_name: 'Federer_12', + email: 'Roger_12@waltair.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: null, + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: null, + crm_last_sync: null, + crm_url: null, + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 201, + statusText: 'Created', + }, + }, + // 4th proxy test-case + { + httpReq: { + url: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/email/rolex_waltair@mywebsite.io', + data: getFormData({ + first_name: 'Rolex', + last_name: 'Waltair', + website: 'https://rudderstack.com', + score: 15, + campaign_id: 42213, + format: 'json', + }).toString(), + params: { destination: 'pardot' }, + headers: { + Authorization: 'Bearer myExpiredToken', + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + '@attributes': { + stat: 'fail', + version: 1, + err_code: 184, + }, + err: 'access_token is invalid, unknown, or malformed: Inactive token', + }, + status: 401, + statusText: 'Unauthorized', + }, + }, + // 1st proxy test-case + { + httpReq: { + url: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/id/123435', + data: getFormData({ + first_name: 'Roger12', + last_name: 'Federer12', + website: 'https://rudderstack.com', + score: 14, + campaign_id: 42213, + format: 'json', + }).toString(), + params: { destination: 'pardot' }, + headers: { + Authorization: 'Bearer myToken', + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger12', + last_name: 'Federer12', + email: 'Roger12@waltair.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: null, + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: null, + crm_last_sync: null, + crm_url: null, + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 200, + statusText: 'OK', + }, + }, + // 3rd proxy test-case + { + httpReq: { + url: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/fid/00Q6r000002LKhTPVR', + data: getFormData({ + first_name: 'Nick', + last_name: 'Kyrgios', + website: 'https://rudderstack.com', + score: 12, + campaign_id: 42213, + format: 'json', + }).toString(), + params: { destination: 'pardot' }, + headers: { + Authorization: 'Bearer myToken', + 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + 'User-Agent': 'RudderLabs', + }, + method: 'POST', + }, + httpRes: { + data: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger_12', + last_name: 'Federer_12', + email: 'Roger_12@federer.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: '00Q6r000002LKhTPVR', + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: '00Q6r000002LKhTPVR', + crm_last_sync: '2022-01-21 18:47:37', + crm_url: 'https://testcompany.my.salesforce.com/00Q6r000002LKhTPVR', + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 200, + statusText: 'OK', + }, + }, +]; diff --git a/test/integrations/destinations/pardot/router/data.ts b/test/integrations/destinations/pardot/router/data.ts index 28680deafc..7c2a2a11e3 100644 --- a/test/integrations/destinations/pardot/router/data.ts +++ b/test/integrations/destinations/pardot/router/data.ts @@ -1,3 +1,5 @@ +import { FEATURES, MODULES } from '../../../../../src/v0/util/tags'; + export const data = [ { name: 'pardot', @@ -1014,4 +1016,555 @@ export const data = [ }, }, }, + { + name: 'pardot', + description: 'Test proxy - 0', + feature: FEATURES.DATA_DELIVERY, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/id/123435', + headers: { + Authorization: 'Bearer myToken', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + first_name: 'Roger12', + last_name: 'Federer12', + website: 'https://rudderstack.com', + score: 14, + campaign_id: 42213, + }, + }, + files: {}, + params: { + destination: 'pardot', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + message: 'Request Processed Successfully', + status: 200, + destinationResponse: { + response: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger12', + last_name: 'Federer12', + email: 'Roger12@waltair.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: null, + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: null, + crm_last_sync: null, + crm_url: null, + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 200, + }, + }, + }, + }, + }, + }, + { + name: 'pardot', + description: 'Test proxy - 1', + feature: FEATURES.DATA_DELIVERY, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://pi.pardot.com/api/prospect/version/4/do/upsert/email/Roger_12@waltair.io', + headers: { + Authorization: 'Bearer myToken', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + first_name: 'Roger_12', + last_name: 'Federer_12', + website: 'https://rudderstack.com', + score: 14, + campaign_id: 42213, + }, + }, + files: {}, + params: { + destination: 'pardot', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + message: 'Request Processed Successfully', + status: 201, + destinationResponse: { + response: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger_12', + last_name: 'Federer_12', + email: 'Roger_12@waltair.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: null, + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: null, + crm_last_sync: null, + crm_url: null, + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 201, + }, + }, + }, + }, + }, + }, + { + name: 'pardot', + description: 'Test proxy - 2', + feature: FEATURES.DATA_DELIVERY, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://pi.pardot.com/api/prospect/version/4/do/upsert/fid/00Q6r000002LKhTPVR', + headers: { + Authorization: 'Bearer myToken', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + first_name: 'Nick', + last_name: 'Kyrgios', + website: 'https://rudderstack.com', + score: 12, + campaign_id: 42213, + }, + }, + files: {}, + params: { + destination: 'pardot', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 200, + body: { + output: { + message: 'Request Processed Successfully', + status: 200, + destinationResponse: { + response: { + '@attributes': { + stat: 'ok', + version: 1, + }, + prospect: { + id: 123435, + campaign_id: 42213, + salutation: null, + first_name: 'Roger_12', + last_name: 'Federer_12', + email: 'Roger_12@federer.io', + password: null, + company: null, + website: 'https://rudderstack.com', + job_title: null, + department: null, + country: 'AU', + address_one: null, + address_two: null, + city: null, + state: null, + territory: null, + zip: null, + phone: null, + fax: null, + source: null, + annual_revenue: null, + employees: null, + industry: null, + years_in_business: null, + comments: null, + notes: null, + score: 14, + grade: null, + last_activity_at: null, + recent_interaction: 'Never active.', + crm_lead_fid: '00Q6r000002LKhTPVR', + crm_contact_fid: null, + crm_owner_fid: '00G2v000004WYXaEAO', + crm_account_fid: null, + salesforce_fid: '00Q6r000002LKhTPVR', + crm_last_sync: '2022-01-21 18:47:37', + crm_url: 'https://testcompany.my.salesforce.com/00Q6r000002LKhTPVR', + is_do_not_email: null, + is_do_not_call: null, + opted_out: null, + is_reviewed: 1, + is_starred: null, + created_at: '2022-01-21 18:21:46', + updated_at: '2022-01-21 18:48:41', + campaign: { + id: 42113, + name: 'Test', + crm_fid: '7012y000000MNOCLL4', + }, + assigned_to: { + user: { + id: 38443703, + email: 'test_rudderstack@testcompany.com', + first_name: 'Rudderstack', + last_name: 'User', + job_title: null, + role: 'Administrator', + account: 489853, + created_at: '2021-02-26 06:25:17', + updated_at: '2021-02-26 06:25:17', + }, + }, + Are_you_shipping_large_fragile_or_bulky_items: false, + Calendly: false, + Country_Code: 'AU', + Currency: 'AUD', + Inventory_or_Warehouse_Management_System: false, + Lead_Status: 'New', + Marketing_Stage: 'SAL', + Record_Type_ID: 'TestCompany Lead', + profile: { + id: 304, + name: 'Default', + profile_criteria: [ + { + id: 1500, + name: 'Shipping Volume', + matches: 'Unknown', + }, + { + id: 1502, + name: 'Industry', + matches: 'Unknown', + }, + { + id: 1506, + name: 'Job Title', + matches: 'Unknown', + }, + { + id: 1508, + name: 'Department', + matches: 'Unknown', + }, + ], + }, + visitors: null, + visitor_activities: null, + lists: null, + }, + }, + status: 200, + }, + }, + }, + }, + }, + }, + { + name: 'pardot', + description: 'Test proxy - 3', + feature: FEATURES.DATA_DELIVERY, + module: MODULES.DESTINATION, + version: 'v0', + input: { + request: { + body: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: + 'https://pi.pardot.com/api/prospect/version/4/do/upsert/email/rolex_waltair@mywebsite.io', + headers: { + Authorization: 'Bearer myExpiredToken', + 'Pardot-Business-Unit-Id': '0Uv2v000000k9tHCAQ', + }, + body: { + JSON: {}, + JSON_ARRAY: {}, + XML: {}, + FORM: { + first_name: 'Rolex', + last_name: 'Waltair', + website: 'https://rudderstack.com', + score: 15, + campaign_id: 42213, + }, + }, + files: {}, + params: { + destination: 'pardot', + }, + }, + method: 'POST', + }, + }, + output: { + response: { + status: 500, + body: { + output: { + message: + 'access_token is invalid, unknown, or malformed: Inactive token during Pardot response transformation', + status: 500, + authErrorCategory: 'REFRESH_TOKEN', + destinationResponse: { + '@attributes': { + stat: 'fail', + version: 1, + err_code: 184, + }, + err: 'access_token is invalid, unknown, or malformed: Inactive token', + }, + statTags: { + destType: 'PARDOT', + errorCategory: 'network', + destinationId: 'Non-determininable', + workspaceId: 'Non-determininable', + errorType: 'retryable', + feature: 'dataDelivery', + implementation: 'native', + module: 'destination', + }, + }, + }, + }, + }, + }, ]; diff --git a/test/integrations/destinations/sendgrid/deleteUsers/data.ts b/test/integrations/destinations/sendgrid/deleteUsers/data.ts new file mode 100644 index 0000000000..85c6e1275f --- /dev/null +++ b/test/integrations/destinations/sendgrid/deleteUsers/data.ts @@ -0,0 +1,1275 @@ +export const data = [ + { + name: 'sendgrid', + description: 'Test 0', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'SENDGRID', + userAttributes: [ + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + ], + config: { + apiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'User deletion request failed', + }, + ], + }, + }, + }, + { + name: 'sendgrid', + description: 'Test 1', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'SENDGRID', + userAttributes: [ + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + { + userId: + 'test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + }, + { + userId: + 'user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + }, + ], + config: { + apiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 200, + body: [ + { + statusCode: 200, + status: 'successful', + }, + ], + }, + }, + }, + { + name: 'sendgrid', + description: 'Test 2', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'SENDGRID', + userAttributes: [ + { + userId: 'eab57ccf-6322-498e-9338-7761c6dc0656', + }, + { + userId: '47983ca9-7cc6-4942-8ff0-ac443g95658d', + }, + ], + config: {}, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'apiKey is required for deleting user', + }, + ], + }, + }, + }, + { + name: 'sendgrid', + description: 'Test 3', + feature: 'userDeletion', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destType: 'SENDGRID', + userAttributes: { + userId: 'eab57ccf-6322-498e-9338-7761c6dc0656', + }, + config: { + apiKey: '1234', + }, + }, + ], + }, + }, + output: { + response: { + status: 400, + body: [ + { + statusCode: 400, + error: 'userAttributes is not an array', + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/sendgrid/network.ts b/test/integrations/destinations/sendgrid/network.ts new file mode 100644 index 0000000000..18a8a8d34d --- /dev/null +++ b/test/integrations/destinations/sendgrid/network.ts @@ -0,0 +1,110 @@ +const deleteNwData = [ + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + message: { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + data: { + code: 400, + message: 'Bad Req', + status: 'Fail Case', + }, + status: 400, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=[user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2]', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=[user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2]', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + message: { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, + { + httpReq: { + method: 'delete', + url: 'https://api.sendgrid.com/v3/marketing/contacts?ids=user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2,test_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_idtest_user_id,user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2user_sdk2', + headers: { + Authorization: 'Bearer 1234', + }, + }, + httpRes: { + status: 200, + statusText: 'OK', + data: { + ' message': { + job_id: 'bb33b1f9-e7d6-4a6c-bf1c-a2143275e257', + }, + }, + }, + }, +]; +export const networkCallsData = [...deleteNwData]; diff --git a/test/integrations/destinations/trengo/network.ts b/test/integrations/destinations/trengo/network.ts new file mode 100644 index 0000000000..e409489b8f --- /dev/null +++ b/test/integrations/destinations/trengo/network.ts @@ -0,0 +1,1326 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=9830311521', + }, + httpRes: { + data: { + data: [ + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Haz matsumi phone 2 (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 30311521', + full_name: 'Thalmor Bretz', + id: 90002431001, + identifier: '+98 30311521', + is_phone: true, + is_private: false, + name: 'Thalmor Bretz', + phone: '+98 30311521', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=j@d.com', + }, + httpRes: { + data: { + data: [], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=j@d.com', + }, + httpRes: { + data: { + data: [], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=null', + }, + httpRes: { data: { error: 'Request failed', status: 404 }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=12345678910', + }, + httpRes: { + data: { + data: [], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=99999666661', + }, + httpRes: { data: { error: 'Request failed', status: 404 }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=98765432100', + }, + httpRes: { + data: { + data: [ + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Michael Scott (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 765432100', + full_name: 'Michael Scott', + id: 90002431001, + identifier: '+98 765432100', + is_phone: true, + is_private: false, + name: 'Michael Scott', + phone: '+98 765432100', + pivot: null, + profile: [], + profile_image: null, + }, + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Michael G Scott (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 765432100', + full_name: 'Michael G Scott', + id: 90002431003, + identifier: '+98 765432100', + is_phone: true, + is_private: false, + name: 'Michael G Scott', + phone: '+98 765432100', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=98765432100', + }, + httpRes: { + data: { + data: [ + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Michael Scott (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 765432100', + full_name: 'Michael Scott', + id: 90002431001, + identifier: '+98 765432100', + is_phone: true, + is_private: false, + name: 'Michael Scott', + phone: '+98 765432100', + pivot: null, + profile: [], + profile_image: null, + }, + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Michael G Scott (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 765432100', + full_name: 'Michael G Scott', + id: 90002431003, + identifier: '+98 765432100', + is_phone: true, + is_private: false, + name: 'Michael G Scott', + phone: '+98 765432100', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=test@outlook.com', + }, + httpRes: { + data: { + data: [ + { + abbr: 'U', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'email • 5xcyI53Nf7@trengomail.com', + emailChannel: { + add_conversation_to_reply: 1, + auto_reply_body: + '

Dear [name],

This is a confirmation that we received your email and registered it as ticket #[ticket_number]. You can always reply to this email if you want to add additional information.

Kinds regards,

Team Rudder

', + auto_reply_enabled: 1, + auto_reply_subject: null, + branding: 1, + branding_service_name: 'Rudder', + channel_id: 405980, + created_at: '2021-05-13 08:47:56', + email_theme_id: null, + embed_attachments: 1, + font_family: null, + meta: { + selectedFolders: [], + syncFolders: [], + syncStatus: null, + zapier_consent: null, + }, + prepend_ticket_number_to_subject: 0, + sender_email: null, + sender_email_id: null, + sender_name: 'Rudder', + sender_name_personal: '[agent.first_name] | Rudder', + signature: + '

Kind regards,

[agent.first_name] [agent.last_name]
Rudder

', + spam_setting: 1, + split_by_sender: 0, + split_by_subject: 1, + type: 'TRENGO', + updated_at: '2021-05-13 08:47:56', + }, + id: 405980, + is_private: false, + name: 'Email', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'email • 5xcyI53Nf7@trengomail.com', + title: 'email', + type: 'EMAIL', + username: '5xcyI53Nf7', + users: [], + }, + ], + color: '#00bcd4', + custom_field_data: null, + display_name: 'test Phone tct (test@outlook.com)', + email: 'test@outlook.com', + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 303115423', + full_name: 'test Email', + id: 97694755, + identifier: 'test@outlook.com', + is_phone: true, + is_private: false, + name: 'test Email', + phone: '98303115423', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Bearer trengo_integration_test_api_token', + }, + + method: 'GET', + + url: 'https://app.trengo.com/api/v2/contacts?page=1&term=9830311521', + }, + httpRes: { + data: { + data: [ + { + abbr: 'T', + avatar: 'https://app.trengo.com/img/defaultpic.png', + channels: [ + { + auto_reply: 'ENABLED', + business_hour_id: 125020, + color: null, + display_name: 'sms • SMS', + emailChannel: null, + id: 406005, + is_private: false, + name: 'Sms', + notification_email: null, + notification_sound: 'chat.mp3', + password_is_null: false, + phone: '', + reassign_reopened_ticket: false, + reopen_closed_ticket: 1, + reopen_closed_ticket_time_window_days: '30', + show_contact_fields: 1, + show_ticket_fields: 1, + status: 'ACTIVE', + text: 'sms • SMS', + title: 'sms', + type: 'SMS', + username: null, + users: [], + }, + ], + color: '#607d8b', + custom_field_data: null, + display_name: 'Haz matsumi phone 2 (+98 30311521)', + email: null, + formatted_custom_field_data: { 'Customer number': null, Policy: null }, + formatted_phone: '+98 30311521', + full_name: 'Thalmor Bretz', + id: 90002431001, + identifier: '+98 30311521', + is_phone: true, + is_private: false, + name: 'Thalmor Bretz', + phone: '+98 30311521', + pivot: null, + profile: [], + profile_image: null, + }, + ], + links: { + first: 'https://app.trengo.com/api/v2/contacts?page=1', + last: null, + next: null, + prev: null, + }, + meta: { + current_page: 1, + from: 1, + path: 'https://app.trengo.com/api/v2/contacts', + per_page: 25, + to: 1, + }, + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/user/network.ts b/test/integrations/destinations/user/network.ts new file mode 100644 index 0000000000..dff2e0726d --- /dev/null +++ b/test/integrations/destinations/user/network.ts @@ -0,0 +1,441 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users-by-id/user@123/', + }, + httpRes: { + data: { + browser_language: null, + companies: [ + { id: 21, member_since: '2022-09-12T12:40:30.548068Z', name: 'parkings group' }, + { id: 19, member_since: '2022-09-12T12:37:58.522773Z', name: 'rudder constructors' }, + ], + created_at: '2022-09-06T11:52:48.828444Z', + custom_id: 'user@123', + email: null, + first_seen: '2022-09-06T11:52:48.812722Z', + gender: 'unknown', + gravatar_url: null, + id: 52, + last_seen: '2022-09-06T12:35:17.230000Z', + lists: [], + name: null, + notifications: true, + page_views: 2, + phone_number: '2345678901', + score: 0, + status: 'visitor', + tags: [], + unsubscribed: false, + updated_at: '2022-09-12T03:19:33.356280Z', + user_key: 'ngze13ffndcv', + web_push_subscription: false, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/companies-by-id/group@795/', + }, + httpRes: { + data: { + address: '6th floor,california,usa', + category: null, + city: null, + companyowner: 'secret', + country: 'usa', + created_at: '2022-09-12T12:40:30.548068Z', + custom_id: 'group@795', + description: null, + email: 'business@rudderstack.com', + employees: [52], + founded: '15 aug, 1947', + id: 21, + isprivatefunded: 'no', + isprofitable: 'no', + name: 'rudder ventures', + phone_numbers: null, + postal_code: null, + region: null, + size: null, + tags: [], + updated_at: '2022-09-13T11:23:09.481891Z', + user_custom_id: 'user@123', + }, + status: 200, + }, + }, + { + httpReq: { + data: { + address: '6th StSan FranciscoCA94103USAtestuser', + city: 'San Francisco', + custom_id: 'group@795', + email: 'business@rudderstack.com', + name: 'rudder ventures', + postal_code: '94103', + user_custom_id: 'user@123', + }, + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'PUT', + + url: 'https://commander.user.com/api/public/companies/21/', + }, + httpRes: { + data: { + address: 'San FranciscoUSA94103CA6th St', + city: 'San Francisco', + companyowner: 'secret', + country: 'usa', + created_at: '2022-09-12T12:40:30.548068Z', + custom_id: 'group@795', + description: null, + email: 'business@rudderstack.com', + employees: [52], + founded: '15 aug, 1947', + id: 21, + isprivatefunded: 'no', + isprofitable: 'no', + name: 'rudder ventures', + phone_numbers: null, + postal_code: null, + region: null, + size: null, + tags: [], + updated_at: '2022-09-13T11:47:31.748497Z', + user_custom_id: 'user@123', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users/search/?email=test@rudderstack.com', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + country: 'india', + created_at: '2022-09-13T06:16:25.576355Z', + custom_id: 'test@12', + email: 'test@rudderstack.com', + gender: 'male', + google_url: 'www.google.com', + id: 59, + lists: [], + name: 'test rudderstack', + notifications: true, + phone_number: '9225467887', + score: 0, + status: 'user', + tags: [{ id: 5, name: 'productuser' }], + unsubscribed: false, + updated_at: '2022-09-13T06:16:25.576376Z', + user_key: 'ctlfkj37dbag', + web_push_subscription: false, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users/search/?key=lel1c5u1wuk8', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + created_at: '2022-09-05T07:21:39.171977Z', + email: 'rahulverma@test.com', + gender: 'unknown', + gravatar_url: null, + id: 27, + lists: [], + name: 'rahul verma', + notifications: true, + phone_number: '+919432239876', + score: 0, + status: 'visitor', + tags: [ + { id: 1, name: 'updated' }, + { id: 2, name: 'verified' }, + ], + unsubscribed: false, + updated_at: '2022-09-05T07:21:39.171990Z', + user_key: 'lel1c5u1wuk8', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users/search/?email=test@rudderstack.com', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + country: 'india', + created_at: '2022-09-13T06:16:25.576355Z', + custom_id: 'test@12', + email: 'test@rudderstack.com', + gender: 'male', + google_url: 'www.google.com', + id: 59, + lists: [], + name: 'test rudderstack', + notifications: true, + phone_number: '9225467887', + score: 0, + status: 'user', + tags: [{ id: 5, name: 'productuser' }], + unsubscribed: false, + updated_at: '2022-09-13T06:16:25.576376Z', + user_key: 'ctlfkj37dbag', + web_push_subscription: false, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users-by-id/43/', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + created_at: '2022-09-05T11:04:45.547861Z', + custom_id: '43', + email: null, + first_seen: '2022-09-05T11:04:45.535122Z', + gender: 'unknown', + gravatar_url: null, + id: 44, + last_seen: null, + lists: [], + name: null, + page_views: 0, + score: 0, + status: 'visitor', + tags: [], + unsubscribed: false, + updated_at: '2022-09-05T11:04:45.547876Z', + user_key: 'rpl0vjwysmc0', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users-by-id/43/', + }, + httpRes: { + data: { + browser_language: null, + companies: [], + created_at: '2022-09-05T11:04:45.547861Z', + custom_id: '43', + email: null, + first_seen: '2022-09-05T11:04:45.535122Z', + gender: 'unknown', + gravatar_url: null, + id: 44, + last_seen: null, + lists: [], + name: null, + page_views: 0, + score: 0, + status: 'visitor', + tags: [], + unsubscribed: false, + updated_at: '2022-09-05T11:04:45.547876Z', + user_key: 'rpl0vjwysmc0', + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/users-by-id/user@123/', + }, + httpRes: { + data: { + browser_language: null, + companies: [ + { id: 21, member_since: '2022-09-12T12:40:30.548068Z', name: 'parkings group' }, + { id: 19, member_since: '2022-09-12T12:37:58.522773Z', name: 'rudder constructors' }, + ], + created_at: '2022-09-06T11:52:48.828444Z', + custom_id: 'user@123', + email: null, + first_seen: '2022-09-06T11:52:48.812722Z', + gender: 'unknown', + gravatar_url: null, + id: 52, + last_seen: '2022-09-06T12:35:17.230000Z', + lists: [], + name: null, + notifications: true, + page_views: 2, + phone_number: '2345678901', + score: 0, + status: 'visitor', + tags: [], + unsubscribed: false, + updated_at: '2022-09-12T03:19:33.356280Z', + user_key: 'ngze13ffndcv', + web_push_subscription: false, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'GET', + + url: 'https://commander.user.com/api/public/companies-by-id/group@795/', + }, + httpRes: { + data: { + address: '6th floor,california,usa', + category: null, + city: null, + companyowner: 'secret', + country: 'usa', + created_at: '2022-09-12T12:40:30.548068Z', + custom_id: 'group@795', + description: null, + email: 'business@rudderstack.com', + employees: [52], + founded: '15 aug, 1947', + id: 21, + isprivatefunded: 'no', + isprofitable: 'no', + name: 'rudder ventures', + phone_numbers: null, + postal_code: null, + region: null, + size: null, + tags: [], + updated_at: '2022-09-13T11:23:09.481891Z', + user_custom_id: 'user@123', + }, + status: 200, + }, + }, + { + httpReq: { + data: { + address: '6th StSan FranciscoCA94103USAtestuser', + city: 'San Francisco', + custom_id: 'group@795', + email: 'business@rudderstack.com', + name: 'rudder ventures', + postal_code: '94103', + user_custom_id: 'user@123', + }, + headers: { + Authorization: 'Token dummyApiKey', + 'Content-Type': 'application/json', + }, + + method: 'PUT', + + url: 'https://commander.user.com/api/public/companies/21/', + }, + httpRes: { + data: { + address: 'San FranciscoUSA94103CA6th St', + city: 'San Francisco', + companyowner: 'secret', + country: 'usa', + created_at: '2022-09-12T12:40:30.548068Z', + custom_id: 'group@795', + description: null, + email: 'business@rudderstack.com', + employees: [52], + founded: '15 aug, 1947', + id: 21, + isprivatefunded: 'no', + isprofitable: 'no', + name: 'rudder ventures', + phone_numbers: null, + postal_code: null, + region: null, + size: null, + tags: [], + updated_at: '2022-09-13T11:47:31.748497Z', + user_custom_id: 'user@123', + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/yahoo_dsp/network.ts b/test/integrations/destinations/yahoo_dsp/network.ts new file mode 100644 index 0000000000..2dcd0d2a9f --- /dev/null +++ b/test/integrations/destinations/yahoo_dsp/network.ts @@ -0,0 +1,22 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Accept: 'application/json', + 'Content-Type': 'application/x-www-form-urlencoded', + }, + data: 'grant_type=client_credentials&scope=dsp-api-access&realm=dsp&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&client_assertion=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJodHRwczovL2lkLmIyYi55YWhvb2luYy5jb20vaWRlbnRpdHkvb2F1dGgyL2FjY2Vzc190b2tlbj9yZWFsbT1kc3AiLCJzdWIiOiJhYmNkZWY4LWY0OS00Y2Q2LWI0YzUtOTU4YjNkNjZkNDMxIiwiaXNzIjoiYWJjZGVmOC1mNDktNGNkNi1iNGM1LTk1OGIzZDY2ZDQzMSIsImV4cCI6MTY5NTMwODk5MCwiaWF0IjoxNjk1MzA1MzkwfQ.HdBZJ0PoI8L0LRRdfbYtbJbmtrOAQmfu2APbuIQguIA', + method: 'POST', + url: 'https://id.b2b.yahooinc.com/identity/oauth2/access_token', + }, + httpRes: { + data: { + access_token: 'testAuthToken', + expires_in: 3599, + scope: 'dsp-api-access', + token_type: 'Bearer', + }, + status: 200, + }, + }, +]; diff --git a/test/integrations/destinations/yahoo_dsp/processor/data.ts b/test/integrations/destinations/yahoo_dsp/processor/data.ts index cb5145ed3a..eb607d60fb 100644 --- a/test/integrations/destinations/yahoo_dsp/processor/data.ts +++ b/test/integrations/destinations/yahoo_dsp/processor/data.ts @@ -1,3 +1,11 @@ +import { addMock } from '../../../testUtils'; +import { networkCallsData } from '../network'; + +export const mockFns = (mockAdapter) => { + addMock(mockAdapter, networkCallsData[0]); + // 21 September 2023 19:39:50 GMT+05:30 + Date.now = jest.fn(() => 1695305390000); +}; export const data = [ { name: 'yahoo_dsp', @@ -1107,4 +1115,6 @@ export const data = [ }, }, }, -]; +].map((d) => { + return { ...d, mockFns }; +}); diff --git a/test/integrations/destinations/yahoo_dsp/router/data.ts b/test/integrations/destinations/yahoo_dsp/router/data.ts index ea340fb6be..59c71b300c 100644 --- a/test/integrations/destinations/yahoo_dsp/router/data.ts +++ b/test/integrations/destinations/yahoo_dsp/router/data.ts @@ -1,3 +1,5 @@ +import { mockFns } from '../processor/data'; + export const data = [ { name: 'yahoo_dsp', @@ -144,5 +146,6 @@ export const data = [ }, }, }, + mockFns, }, ]; diff --git a/test/integrations/destinations/zendesk/network.ts b/test/integrations/destinations/zendesk/network.ts new file mode 100644 index 0000000000..bc80f0cd0a --- /dev/null +++ b/test/integrations/destinations/zendesk/network.ts @@ -0,0 +1,1825 @@ +export const networkCallsData = [ + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_fields.json', + }, + httpRes: { + data: { + count: 1, + next_page: null, + organization_fields: [ + { + active: true, + created_at: '2020-03-23T18:14:35Z', + description: 'email', + id: 900000015126, + key: 'email', + position: 0, + raw_description: 'email', + raw_title: 'email', + regexp_for_validation: null, + system: false, + title: 'email', + type: 'text', + updated_at: '2020-03-23T18:14:35Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_fields/900000015126.json', + }, + ], + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + data: { + organization: { + domain_names: 'cw124.com', + external_id: 'group-124', + name: 'test-org124', + organization_fields: { email: 'group_email_124@xyz.com', id: 'group-124' }, + }, + }, + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organizations/create_or_update.json', + }, + httpRes: { + data: { + organization: { + created_at: '2020-03-17T10:21:14Z', + details: null, + domain_names: ['cw124.com'], + external_id: 'group-124', + group_id: null, + id: 900001329943, + name: 'test-org124', + notes: null, + organization_fields: { email: 'group_email_124@xyz.com' }, + shared_comments: false, + shared_tickets: false, + tags: [], + updated_at: '2020-03-23T19:33:08Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organizations/900001329943.json', + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2//users/900113780483/organization_memberships.json', + }, + httpRes: { error: 'Request failed' }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDJAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabtest2.zendesk.com/api/v2/users/search.json?query=testemail2@email', + }, + httpRes: { data: { count: 0, next_page: null, previous_page: null, users: [] }, status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'testemail2@email', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDJAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabtest2.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { data: { user: {} }, status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_fields.json', + }, + httpRes: { + data: { + count: 1, + next_page: null, + organization_fields: [ + { + active: true, + created_at: '2020-03-23T18:14:35Z', + description: 'email', + id: 900000015126, + key: 'email', + position: 0, + raw_description: 'email', + raw_title: 'email', + regexp_for_validation: null, + system: false, + title: 'email', + type: 'text', + updated_at: '2020-03-23T18:14:35Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_fields/900000015126.json', + }, + ], + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + data: { + organization: { + domain_names: 'cw124.com', + external_id: 'group-124', + name: 'test-org124', + organization_fields: { email: 'group_email_124@xyz.com', id: 'group-124' }, + }, + }, + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organizations/create_or_update.json', + }, + httpRes: { + data: { + organization: { + created_at: '2020-03-17T10:21:14Z', + details: null, + domain_names: ['cw124.com'], + external_id: 'group-124', + group_id: null, + id: 900001329943, + name: 'test-org124', + notes: null, + organization_fields: { email: 'group_email_124@xyz.com' }, + shared_comments: false, + shared_tickets: false, + tags: [], + updated_at: '2020-03-23T19:33:08Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organizations/900001329943.json', + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2//users/900113780483/organization_memberships.json', + }, + httpRes: { error: 'Request failed' }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483/organization_memberships.json', + }, + httpRes: { + data: { + count: 1, + next_page: null, + organization_memberships: [ + { + created_at: '2020-03-23T15:56:56Z', + default: true, + id: 900004877903, + organization_id: 900001329943, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_memberships/900004877903.json', + user_id: 900113780483, + }, + ], + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=example124@email.com', + }, + httpRes: { + data: { + count: 1, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-17T12:16:59Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483/organization_memberships.json', + }, + httpRes: { + data: { + count: 1, + next_page: null, + organization_memberships: [ + { + created_at: '2020-03-23T15:56:56Z', + default: true, + id: 900004877903, + organization_id: 900001329943, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/organization_memberships/900004877903.json', + user_id: 900113780483, + }, + ], + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { + user_field: { active: true, description: 'country', key: 'country', title: 'country' }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { + user_field: { active: true, description: 'country', key: 'country', title: 'country' }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + data: { + user_field: { active: true, description: 'country', key: 'country', title: 'country' }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjQ=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=johnwick@example.com', + }, + httpRes: { error: 'Request failed', status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'johnwick@example.com', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjM=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { + data: { + user: { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: 900001329943, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjM=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=johnwick@example.com', + }, + httpRes: { error: 'Request failed', status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'johnwick@example.com', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic dGVzdEBydWRkZXIuY29tL3Rva2VuOm15RHVtbXlBcGlUb2tlbjM=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { + data: { + user: { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'example124@email.com', + external_id: 'abcd-124', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'abcd124', + notes: null, + only_private_comments: false, + organization_id: 900001329943, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMi90b2tlbjpteUR1bW15QXBpVG9rZW4y', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://blendohelp.zendesk.com/api/v2/organization_fields.json', + }, + httpRes: { error: 'Request failed', status: 200 }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields.json', + }, + httpRes: { + data: { + count: 3, + next_page: null, + previous_page: null, + user_fields: [ + { + active: true, + created_at: '2020-03-18T08:19:58Z', + description: 'birthday', + id: 900000013606, + key: 'birthday', + position: 0, + raw_description: 'birthday', + raw_title: 'birthday', + regexp_for_validation: null, + system: false, + title: 'birthday', + type: 'text', + updated_at: '2020-03-18T08:19:58Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000013606.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'age', + id: 900000014483, + key: 'age', + position: 1, + raw_description: 'age', + raw_title: 'age', + regexp_for_validation: null, + system: false, + title: 'age', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000014483.json', + }, + { + active: true, + created_at: '2020-03-23T17:38:44Z', + description: 'firstname', + id: 900000015106, + key: 'firstname', + position: 2, + raw_description: 'firstname', + raw_title: 'firstname', + regexp_for_validation: null, + system: false, + title: 'firstname', + type: 'text', + updated_at: '2020-03-23T17:38:44Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/user_fields/900000015106.json', + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/search.json?query=abcd-144', + }, + httpRes: { + data: { + count: 1, + facets: null, + next_page: null, + previous_page: null, + users: [ + { + active: true, + alias: null, + created_at: '2022-11-24T09:03:54Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'test1000@email.com', + external_id: 'abcd-144', + iana_time_zone: 'Asia/Kolkata', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'name-1000 user', + notes: null, + only_private_comments: false, + organization_id: null, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + result_type: 'user', + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Asia/Kolkata', + two_factor_auth_enabled: false, + updated_at: '2022-11-24T09:03:54Z', + url: 'https://rudderstack6787.zendesk.com/api/v2/users/10865192864273.json', + user_fields: {}, + verified: true, + }, + ], + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic bXlEdW1teVVzZXJOYW1lMS90b2tlbjpteUR1bW15QXBpVG9rZW40', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/900113780483/identities', + }, + httpRes: { + data: { + count: 2, + identities: [ + { + created_at: '2022-11-02T08:03:28Z', + deliverable_state: 'deliverable', + id: 7535981118877, + primary: true, + type: 'email', + undeliverable_count: 0, + updated_at: '2022-11-02T10:23:28Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/7533979645597/identities/7535981118877.json', + user_id: 900113780483, + value: 'example119@email.com', + verified: false, + }, + { + created_at: '2022-11-02T04:23:46Z', + deliverable_state: 'deliverable', + id: 7534173321117, + primary: false, + type: 'email', + undeliverable_count: 0, + updated_at: '2022-11-02T10:23:28Z', + url: 'https://rudderlabshelp.zendesk.com/api/v2/users/7533979645597/identities/7534173321117.json', + user_id: 900113780483, + value: 'example115@email.com', + verified: true, + }, + ], + next_page: null, + previous_page: null, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDFAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabtest1.zendesk.com/api/v2/users/search.json?query=testemail1@email', + }, + httpRes: { data: { count: 0, next_page: null, previous_page: null, users: [] }, status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'testemail1@email', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDFAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabtest1.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { + data: { + user: { + active: true, + alias: null, + chat_only: false, + created_at: '2020-03-17T10:21:15Z', + custom_role_id: null, + default_group_id: null, + details: null, + email: 'testemail1@email', + external_id: 'exId-123', + iana_time_zone: 'America/New_York', + id: 900113780483, + last_login_at: null, + locale: 'en-US', + locale_id: 1, + moderator: false, + name: 'John Wick', + notes: null, + only_private_comments: false, + organization_id: 900001329943, + phone: null, + photo: null, + report_csv: false, + restricted_agent: true, + role: 'end-user', + role_type: null, + shared: false, + shared_agent: false, + shared_phone_number: null, + signature: null, + suspended: false, + tags: [], + ticket_restriction: 'requested', + time_zone: 'Eastern Time (US & Canada)', + two_factor_auth_enabled: false, + updated_at: '2020-03-23T15:56:56Z', + url: 'https://rudderlabtest1.zendesk.com/api/v2/users/900113780483.json', + user_fields: { birthday: null }, + verified: true, + }, + }, + status: 200, + }, + }, + { + httpReq: { + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDJAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'GET', + url: 'https://rudderlabtest2.zendesk.com/api/v2/users/search.json?query=testemail2@email', + }, + httpRes: { data: { count: 0, next_page: null, previous_page: null, users: [] }, status: 200 }, + }, + { + httpReq: { + data: { + user: { + email: 'testemail2@email', + external_id: '0000000000', + name: 'John Wick', + verified: true, + }, + }, + headers: { + Authorization: 'Basic cnVkZGVybGFidGVzdDJAZW1haWwuY29tL3Rva2VuOmR1bW15QXBpVG9rZW4=', + 'Content-Type': 'application/json', + }, + method: 'POST', + url: 'https://rudderlabtest2.zendesk.com/api/v2/users/create_or_update.json', + }, + httpRes: { data: { user: {} }, status: 200 }, + }, +]; diff --git a/test/integrations/testTypes.ts b/test/integrations/testTypes.ts index 57d9c812e9..51667e8044 100644 --- a/test/integrations/testTypes.ts +++ b/test/integrations/testTypes.ts @@ -1,3 +1,6 @@ +import { AxiosResponse } from 'axios'; +import MockAdapter from 'axios-mock-adapter'; + export interface requestType { method: string; body?: any; @@ -34,4 +37,10 @@ export interface TestCaseData { input: inputType; output: outputType; mock?: mockType[]; + mockFns?: (mockAdapter: MockAdapter) => {}; } + +export type MockHttpCallsData = { + httpReq: Record; + httpRes: Partial; +}; diff --git a/test/integrations/testUtils.ts b/test/integrations/testUtils.ts index 815b211d20..8511ac41f4 100644 --- a/test/integrations/testUtils.ts +++ b/test/integrations/testUtils.ts @@ -1,6 +1,8 @@ import { globSync } from 'glob'; import { join } from 'path'; -import { TestCaseData } from './testTypes'; +import { MockHttpCallsData, TestCaseData } from './testTypes'; +import MockAdapter from 'axios-mock-adapter'; +import isMatch from 'lodash/isMatch'; export const getTestDataFilePaths = (dirPath: string, destination: string = ''): string[] => { const globPattern = join(dirPath, '**', 'data.ts'); @@ -14,3 +16,52 @@ export const getTestDataFilePaths = (dirPath: string, destination: string = ''): export const getTestData = (filePath): TestCaseData[] => { return require(filePath).data as TestCaseData[]; }; + +export const getMockHttpCallsData = (filePath): MockHttpCallsData[] => { + return require(filePath).networkCallsData as MockHttpCallsData[]; +}; + +export const getAllTestMockDataFilePaths = (dirPath: string, destination: string): string[] => { + const globPattern = join(dirPath, '**', 'network.ts'); + let testFilePaths = globSync(globPattern); + if (destination) { + testFilePaths = testFilePaths.filter((testFile) => testFile.includes(destination)); + } + return testFilePaths; +}; + +export const addMock = (mock: MockAdapter, axiosMock: MockHttpCallsData) => { + const { url, method, data: reqData, ...opts } = axiosMock.httpReq; + const { data, headers, status } = axiosMock.httpRes; + + const headersAsymMatch = { + asymmetricMatch: function (actual) { + return isMatch(actual, opts.headers); + }, + }; + + switch (method.toLowerCase()) { + case 'get': + // @ts-ignore + mock.onGet(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + case 'delete': + // @ts-ignore + mock.onDelete(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + case 'post': + // @ts-ignore + mock.onPost(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + case 'patch': + // @ts-ignore + mock.onPatch(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + case 'put': + // @ts-ignore + mock.onPut(url, reqData, headersAsymMatch).reply(status, data, headers); + break; + default: + break; + } +}; diff --git a/test/testHelper.js b/test/testHelper.js index 649f8cab13..5fe97fed67 100644 --- a/test/testHelper.js +++ b/test/testHelper.js @@ -7,6 +7,19 @@ const getFuncTestData = (dirPath, filePath) => { return testData; }; +const responses = []; + +const setResponsesForMockAxiosAdapter = ({url, method, data, options}, {response}) => { + if (process.env.GEN_AXIOS_FOR_TESTS === 'true') { + const reqObj = {url, ...options, method} + if (data) { + reqObj.data = data + } + responses.push(`{httpReq: ${JSON.stringify(reqObj)},httpRes: ${JSON.stringify(response)}},`) + } +} module.exports = { getFuncTestData, + responses, + setResponsesForMockAxiosAdapter }; From b5d28a315e859f159dc4b58e547393e19da592db Mon Sep 17 00:00:00 2001 From: srikanth Date: Tue, 3 Oct 2023 16:47:47 -0500 Subject: [PATCH 023/104] chore: return 298 for filtered/dropped events in user transformer (#2665) --- src/constants/index.js | 5 + src/controllers/userTransform.ts | 2 +- src/middlewares/featureFlag.ts | 49 +++++ src/routes/userTransform.ts | 4 +- src/services/userTransform.ts | 81 +++++--- src/util/common.js | 4 + ...r_transformation_service_filter_input.json | 185 ++++++++++++++++++ ..._transformation_service_filter_output.json | 74 +++++++ test/__tests__/user_transformation_ts.test.ts | 42 ++++ 9 files changed, 418 insertions(+), 28 deletions(-) create mode 100644 src/middlewares/featureFlag.ts create mode 100644 test/__tests__/data/user_transformation_service_filter_input.json create mode 100644 test/__tests__/data/user_transformation_service_filter_output.json create mode 100644 test/__tests__/user_transformation_ts.test.ts diff --git a/src/constants/index.js b/src/constants/index.js index c1b26a94c4..a8976bc07e 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -50,6 +50,10 @@ const MappedToDestinationKey = 'context.mappedToDestination'; const GENERIC_TRUE_VALUES = ['true', 'True', 'TRUE', 't', 'T', '1']; const GENERIC_FALSE_VALUES = ['false', 'False', 'FALSE', 'f', 'F', '0']; +const HTTP_CUSTOM_STATUS_CODES = { + FILTERED: 298, +}; + module.exports = { EventType, GENERIC_TRUE_VALUES, @@ -58,4 +62,5 @@ module.exports = { SpecedTraits, TraitsMapping, WhiteListedTraits, + HTTP_CUSTOM_STATUS_CODES, }; diff --git a/src/controllers/userTransform.ts b/src/controllers/userTransform.ts index 1592aa4755..6cbf578077 100644 --- a/src/controllers/userTransform.ts +++ b/src/controllers/userTransform.ts @@ -17,7 +17,7 @@ export default class UserTransformController { ); const events = ctx.request.body as ProcessorTransformationRequest[]; const processedRespone: UserTransformationServiceResponse = - await UserTransformService.transformRoutine(events); + await UserTransformService.transformRoutine(events, ctx.state.features); ctx.body = processedRespone.transformedEvents; ControllerUtility.postProcess(ctx, processedRespone.retryStatus); logger.debug( diff --git a/src/middlewares/featureFlag.ts b/src/middlewares/featureFlag.ts new file mode 100644 index 0000000000..146e57186c --- /dev/null +++ b/src/middlewares/featureFlag.ts @@ -0,0 +1,49 @@ +import { Context, Next } from 'koa'; + +export interface FeatureFlags { + [key: string]: boolean | string; +} + +export const FEATURE_FILTER_CODE = 'filter-code'; + +export default 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; + + // Get headers from the request + const { headers } = ctx.request; + + // Filter headers that start with 'X-Feature-' + const featureHeaders = Object.keys(headers).filter((key) => + key.toLowerCase().startsWith('x-feature-'), + ); + + // Convert feature headers to feature flags in ctx.state.features + featureHeaders.forEach((featureHeader) => { + // Get the feature name by removing the prefix, and convert to camelCase + const featureName = featureHeader + .substring(10) + .replace(/X-Feature-/g, '') + .toLowerCase(); + + let value: string | boolean | undefined; + const valueString = headers[featureHeader] as string; + if (valueString === 'true' || valueString === '?1') { + value = true; + } else if (valueString === 'false' || valueString === '?0') { + value = false; + } else { + value = valueString; + } + + // Set the feature flag in ctx.state.features + if (value !== undefined) { + ctx.state.features[featureName] = value; + } + }); + + // Move to the next middleware + await next(); + } +} diff --git a/src/routes/userTransform.ts b/src/routes/userTransform.ts index 2727d9ef05..23870db3b4 100644 --- a/src/routes/userTransform.ts +++ b/src/routes/userTransform.ts @@ -1,5 +1,6 @@ import Router from '@koa/router'; import RouteActivationController from '../middlewares/routeActivation'; +import FeatureFlagController from '../middlewares/featureFlag'; import UserTransformController from '../controllers/userTransform'; const router = new Router(); @@ -7,6 +8,7 @@ const router = new Router(); router.post( '/customTransform', RouteActivationController.isUserTransformRouteActive, + FeatureFlagController.handle, UserTransformController.transform, ); router.post( @@ -31,4 +33,4 @@ router.post( ); const userTransformRoutes = router.routes(); -export default userTransformRoutes; \ No newline at end of file +export default userTransformRoutes; diff --git a/src/services/userTransform.ts b/src/services/userTransform.ts index 14c6d9b9aa..d54c105b02 100644 --- a/src/services/userTransform.ts +++ b/src/services/userTransform.ts @@ -17,12 +17,16 @@ import { getMetadata, isNonFuncObject } from '../v0/util'; import { SUPPORTED_FUNC_NAMES } from '../util/ivmFactory'; import logger from '../logger'; import stats from '../util/stats'; +import { CommonUtils } from '../util/common'; // eslint-disable-next-line @typescript-eslint/no-unused-vars 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 { public static async transformRoutine( events: ProcessorTransformationRequest[], + features: FeatureFlags = {}, ): Promise { let retryStatus = 200; const groupedEvents: NonNullable = groupBy( @@ -41,12 +45,13 @@ export default class UserTransformService { ); } const responses = await Promise.all( - Object.entries(groupedEvents).map(async ([dest, destEvents]) => { - logger.debug(`dest: ${dest}`); + Object.entries(groupedEvents).map(async ([, destEvents]) => { 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 messageIdsInOutputSet = new Set(); const commonMetadata = { sourceId: eventsToProcess[0]?.metadata?.sourceId, @@ -80,31 +85,55 @@ export default class UserTransformService { transformationVersionId, librariesVersionIDs, ); - transformedEvents.push( - ...destTransformedEvents.map((ev) => { - if (ev.error) { - return { - statusCode: 400, - error: ev.error, - metadata: isEmpty(ev.metadata) ? commonMetadata : ev.metadata, - } as unknown as ProcessorTransformationResponse; - } - if (!isNonFuncObject(ev.transformedEvent)) { - return { - statusCode: 400, - error: `returned event in events from user transformation is not an object. transformationVersionId:${transformationVersionId} and returned event: ${JSON.stringify( - ev.transformedEvent, - )}`, - metadata: isEmpty(ev.metadata) ? commonMetadata : ev.metadata, - } as ProcessorTransformationResponse; - } - return { - output: ev.transformedEvent, + + const transformedEventsWithMetadata: ProcessorTransformationResponse[] = []; + destTransformedEvents.forEach((ev) => { + if (ev.error) { + transformedEventsWithMetadata.push({ + statusCode: 400, + error: ev.error, metadata: isEmpty(ev.metadata) ? commonMetadata : ev.metadata, - statusCode: 200, - } as ProcessorTransformationResponse; - }), - ); + } as unknown as ProcessorTransformationResponse); + return; + } + if (!isNonFuncObject(ev.transformedEvent)) { + transformedEventsWithMetadata.push({ + statusCode: 400, + error: `returned event in events from user transformation is not an object. transformationVersionId:${transformationVersionId} and returned event: ${JSON.stringify( + ev.transformedEvent, + )}`, + metadata: isEmpty(ev.metadata) ? commonMetadata : ev.metadata, + } 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, + statusCode: 200, + } as ProcessorTransformationResponse); + }); + + if (features[FEATURE_FILTER_CODE]) { + // find difference between input and output messageIds + const messageIdsNotInOutput = CommonUtils.setDiff(messageIdsSet, messageIdsInOutputSet); + const droppedEvents = messageIdsNotInOutput.map((id) => ({ + statusCode: HTTP_CUSTOM_STATUS_CODES.FILTERED, + metadata: { + ...commonMetadata, + messageId: id, + messageIds: null, + }, + })); + transformedEvents.push(...droppedEvents); + } + + transformedEvents.push(...transformedEventsWithMetadata); } catch (error: CatchErr) { logger.error(error); let status = 400; diff --git a/src/util/common.js b/src/util/common.js index 5d732d34d1..8bf34f2eca 100644 --- a/src/util/common.js +++ b/src/util/common.js @@ -20,6 +20,10 @@ const CommonUtils = { } return [obj]; }, + + setDiff(mainSet, comparisionSet) { + return [...mainSet].filter((item) => !comparisionSet.has(item)); + }, }; module.exports = { diff --git a/test/__tests__/data/user_transformation_service_filter_input.json b/test/__tests__/data/user_transformation_service_filter_input.json new file mode 100644 index 0000000000..3b8425562d --- /dev/null +++ b/test/__tests__/data/user_transformation_service_filter_input.json @@ -0,0 +1,185 @@ +[ + { + "message": { + "channel": "web", + "context": { + "app": { + "build": "1.0.0", + "name": "RudderLabs JavaScript SDK", + "namespace": "com.rudderlabs.javascript", + "version": "1.0.0" + }, + "traits": { + "anonymousId": "123456" + }, + "library": { + "name": "RudderLabs JavaScript SDK", + "version": "1.0.0" + }, + "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, 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": "123456", + "userId": "123456", + "integrations": { + "All": true + }, + "sentAt": "2019-10-14T09:03:22.563Z" + }, + "metadata": { + "messageId": "84e26acc-56a5-4835-8233-591137fca468", + "sourceId": "s1", + "destinationId": "d1" + }, + "destination": { + "ID": 2, + "Config": { + "trackingID": "abcd" + }, + "Enabled": true, + "Transformations": [ + { + "VersionID": "24" + } + ] + } + }, + { + "message": { + "channel": "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": "/abc", + "referrer": "", + "search": "", + "title": "", + "url": "" + }, + "integrations": { + "All": true + }, + "name": "ApplicationLoaded", + "sentAt": "2019-10-14T11:15:53.296Z" + }, + "metadata": { + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71", + "sourceId": "s1", + "destinationId": "d1" + }, + "destination": { + "ID": 2, + "Config": { + "trackingID": "abcd" + }, + "Enabled": true, + "Transformations": [ + { + "VersionID": "24" + } + ] + } + }, + { + "message": { + "channel": "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 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 new file mode 100644 index 0000000000..64d8fd9261 --- /dev/null +++ b/test/__tests__/data/user_transformation_service_filter_output.json @@ -0,0 +1,74 @@ +{ + "transformedEvents": [ + { + "statusCode": 298, + "metadata": { + "sourceId": "s1", + "destinationId": "d1", + "messageIds": null, + "messageId": "84e26acc-56a5-4835-8233-591137fca468" + } + }, + { + "statusCode": 298, + "metadata": { + "sourceId": "s1", + "destinationId": "d1", + "messageIds": null, + "messageId": "5e10d13a-bf9a-44bf-b884-43a9e591ea71" + } + }, + { + "output": { + "channel": "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 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" + }, + "statusCode": 200 + } + ], + "retryStatus": 200 +} diff --git a/test/__tests__/user_transformation_ts.test.ts b/test/__tests__/user_transformation_ts.test.ts new file mode 100644 index 0000000000..954582f212 --- /dev/null +++ b/test/__tests__/user_transformation_ts.test.ts @@ -0,0 +1,42 @@ +import fetch from 'node-fetch'; +import UserTransformService from '../../src/services/userTransform'; +import { FeatureFlags, FEATURE_FILTER_CODE } from '../../src/middlewares/featureFlag'; +jest.mock('node-fetch', () => jest.fn()); + +const integration = 'user_transformation_service'; +const name = 'User Transformations'; +const randomID = () => Math.random().toString(36).substring(2, 15); + +describe('User Transform Service', () => { + fit(`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`); + + const respBody = { + codeVersion: '1', + name, + versionId: versionId, + code: `export async function transformEvent(event, metadata) { + const eventType = event.type; + log(eventType); + log(eventType.match(/track/g)); + if(eventType && !eventType.match(/track/g)) return; + return event; + } + `, + }; + (fetch as jest.MockedFunction).mockResolvedValue({ + status: 200, + json: jest.fn().mockResolvedValue(respBody), + }); + const output = await UserTransformService.transformRoutine(inputData, { + [FEATURE_FILTER_CODE]: true, + } as FeatureFlags); + expect(fetch).toHaveBeenCalledWith( + `https://api.rudderlabs.com/transformation/getByVersionId?versionId=${versionId}`, + ); + + expect(output).toEqual(expectedData); + }); +}); From 0ecd031fedcb449f6915867f05719d035576a2e7 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Wed, 4 Oct 2023 10:22:32 +0530 Subject: [PATCH 024/104] chore: move mixpanel tests to component test suite (#2668) * chore: move mipanel tests to compoennt test suite * remove old test suite * chore: add global destination for reuse in test cases * chore: refactor mp tests to resue destination * chore: make a common file for common modules * refactor: mp component tests --------- Co-authored-by: Dilip Kola --- test/__tests__/data/mp_input.json | 4452 ------------- test/__tests__/data/mp_output.json | 1330 ---- test/__tests__/data/mp_router_input.json | 603 -- test/__tests__/data/mp_router_output.json | 303 - test/__tests__/mixpanel.test.js | 62 - test/integrations/destinations/mp/common.ts | 23 + .../destinations/mp/processor/data.ts | 5837 +++++++++++++++++ .../destinations/mp/router/data.ts | 880 +++ test/integrations/testUtils.ts | 6 + 9 files changed, 6746 insertions(+), 6750 deletions(-) delete mode 100644 test/__tests__/data/mp_input.json delete mode 100644 test/__tests__/data/mp_output.json delete mode 100644 test/__tests__/data/mp_router_input.json delete mode 100644 test/__tests__/data/mp_router_output.json delete mode 100644 test/__tests__/mixpanel.test.js create mode 100644 test/integrations/destinations/mp/common.ts create mode 100644 test/integrations/destinations/mp/processor/data.ts create mode 100644 test/integrations/destinations/mp/router/data.ts diff --git a/test/__tests__/data/mp_input.json b/test/__tests__/data/mp_input.json deleted file mode 100644 index 6d456858c9..0000000000 --- a/test/__tests__/data/mp_input.json +++ /dev/null @@ -1,4452 +0,0 @@ -[ - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "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": "2020-01-24T11:59:02.402+05:30", - "type": "page", - "userId": "hjikl" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "name": "Contact Us", - "category": "Contact", - "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": "2020-01-24T11:59:02.402+05:30", - "type": "page", - "userId": "hjikl" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "mobile", - "name": "Contact Us", - "properties": { - "category": "communication" - }, - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs Android 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", - "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": "screen", - "userId": "hjikl" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "mobile", - "name": "Contact Us", - "category": "Contact", - "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 Android 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": "screen", - "userId": "hjiklmk" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "mobile", - "name": "Contact Us", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs Android 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", - "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": "screen", - "userId": "hjikl" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "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": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "propIncrements": [ - { - "property": "counter" - }, - { - "property": "item_purchased" - }, - { - "property": "number_of_logins" - } - ] - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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" - }, - "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" - }, - "event": "test revenue MIXPANEL", - "integrations": { - "All": true - }, - "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", - "originalTimestamp": "2020-01-24T06:29:02.364Z", - "properties": { - "currency": "USD", - "revenue": 45.89, - "counter": 1, - "item_purchased": "2", - "number_of_logins": "" - }, - "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": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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" - }, - "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": "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" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "propIncrements": [ - { - "property": "" - } - ] - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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" - }, - "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" - }, - "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": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "first_name": "Mickey", - "lastName": "Mouse", - "name": "Mickey Mouse" - }, - "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" - }, - "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", - "revenue": 34, - "key_1": { - "child_key1": "child_value1", - "child_key2": { - "child_key21": "child_value21", - "child_key22": "child_value22" - } - }, - "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, - "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": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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" - }, - "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" - }, - "event": " new Order Completed totally", - "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, - "total": 23, - "order_id": "50314b8e9bcf000000000000", - "key_1": { - "child_key1": "child_value1", - "child_key2": { - "child_key21": "child_value21", - "child_key22": "child_value22" - } - }, - "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, - "tax": 2 - }, - "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": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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" - }, - "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" - }, - "event": " 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, - "total": 23, - "order_id": "50314b8e9bcf000000000000", - "key_1": { - "child_key1": "child_value1", - "child_key2": { - "child_key21": "child_value21", - "child_key22": "child_value22" - } - }, - "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, - "tax": 2, - "Billing Amount": "77" - }, - "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" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "mobile", - "name": "Contact Us", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs Android 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": "group", - "userId": "hjikl" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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 - }, - "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" - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "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]:53709", - "sentAt": "2020-01-24T06:29:02.363Z", - "timestamp": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "groupKeySettings": [ - { - "groupKey": "company" - } - ] - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "mobile", - "name": "Contact Us", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs Android 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" - }, - "traits": { - "company": "testComp" - }, - "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": "group", - "userId": "hjikl" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "groupKeySettings": [ - { - "groupKey": "company" - } - ] - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "mobile", - "name": "Contact Us", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs Android 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" - }, - "traits": { - "company": ["testComp", "testComp1"] - }, - "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": "group", - "userId": "hjikl" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "usenativesdk": false, - "dataResidency": "eu", - "groupKeySettings": [ - { - "groupKey": "company" - } - ] - }, - "destinationdefinition": { - "displayname": "kiss metrics", - "id": "1whbsz6ua3h5chvifhpfl2h6sie", - "name": "mixpanel" - }, - "enabled": true, - "id": "1whcocggj9aszu850hvugu2c3aq", - "name": "kiss metrics", - "transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "mobile", - "name": "contact us", - "context": { - "app": { - "build": "1.0.0", - "name": "rudderlabs android 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", - "traits": { - "company": "testComp" - }, - "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": "group", - "userId": "hjikl" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "dataResidency": "eu", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "lastname": "Mouse" - }, - "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" - }, - "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": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "dataResidency": "eu", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "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", - "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": "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": "identify", - "sentAt": "2020-03-12T09:05:13.042Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "apiSecret": "some_api_secret", - "prefixProperties": true, - "dataResidency": "eu", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "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" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "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", - "properties": { - "path": "/tests/html/index2.html", - "referrer": "", - "search": "", - "title": "", - "url": "http://localhost/tests/html/index2.html", - "category": "communication" - }, - "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" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "lastname": "Mickey", - "firstName": "Mouse" - }, - "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": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "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" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "apiSecret": "some_api_secret", - "prefixProperties": true, - "dataResidency": "eu", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "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": "tvos", - "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 - }, - "screen": { - "density": 420, - "height": 1794, - "width": 1080 - }, - "timezone": "Asia/Kolkata", - "traits": { - "anonymousId": "5094f5704b9cf2b3", - "userId": "test_user_id", - "createdat": "2020-01-23T08:54:02.362Z" - }, - "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" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "first_name": "Mickey", - "last_name": "Mouse" - }, - "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" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "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": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "first_name": "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" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "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": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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": { - "address": { - "city": "Disney", - "country": "USA", - "state": "US" - }, - "email": "mickey@disney.com", - "first_name": "Mickey", - "last_name": "Mouse", - "name": "Mickey Mouse" - }, - "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" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "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": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "first_name": "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" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "traits": { - "city": "Disney", - "country": "USA", - "email": "mickey@disney.com", - "last_name": "Mouse" - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "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": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "first_name": "Mickey", - "last_name": "Mouse" - }, - "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" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "traits": { - "name": "Mouse" - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "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": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "first_name": "Mickey", - "last_name": "Mouse" - }, - "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" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "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": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "first_name": "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" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "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": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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": { - "address": { - "city": "Disney", - "country": "USA", - "state": "US" - }, - "email": "mickey@disney.com", - "first_name": "Mickey", - "last_name": "Mouse", - "name": "Mickey Mouse" - }, - "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" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "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": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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", - "first_name": "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" - }, - "event": "KM Order Completed", - "integrations": { - "All": true - }, - "traits": { - "city": "Disney", - "country": "USA", - "address": "1 Government Dr, St. Louis, MO 63110, United States", - "email": "mickey@disney.com", - "last_name": "Mouse" - }, - "messageId": "aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a", - "originalTimestamp": "2020-01-24T06:29:02.367Z", - "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": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "type": "track", - "event": "FirstTrackCall12", - "sentAt": "2021-09-30T07:15:23.523Z", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.18", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_testingTool/", - "path": "/Testing/App_for_testingTool/", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_testingTool/", - "referrer": "http://127.0.0.1:7307/Testing/", - "initial_referrer": "http://127.0.0.1:7307/Testing/", - "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": 590, - "innerHeight": 665 - }, - "traits": { - "anonymousId": "ea776ad0-3136-44fb-9216-5b1578609a2b", - "userId": "as09sufa09usaf09as0f9uasf", - "id": "as09sufa09usaf09as0f9uasf", - "firstName": "Bob", - "lastName": "Marley", - "name": "Bob Marley", - "age": 43, - "email": "bob@marleymail.com", - "phone": "+447748544123", - "birthday": "1987-01-01T20:08:59+0000", - "createdAt": "2022-01-21T14:10:12+0000", - "address": "51,B.L.T road, Kolkata-700060", - "description": "I am great", - "gender": "male", - "title": "Founder", - "username": "bobm", - "website": "https://bobm.com", - "randomProperty": "randomValue" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.18" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36" - }, - "rudderId": "294702c7-8732-4fb3-b39f-f3bdffe1aa88", - "messageId": "0d5c1a4a-27e4-41da-a246-4d01f44e74bd", - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "properties": { - "foo": "bar", - "$deviceId": "nkasdnkasd" - }, - "anonymousId": "1dbb5784-b8e2-4074-8644-9920145b7ae5", - "integrations": { - "All": true - }, - "originalTimestamp": "2021-09-30T07:15:23.523Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "type": "track", - "event": "FirstTrackCall12", - "sentAt": "2021-09-30T07:15:23.523Z", - "channel": "web", - "context": { - "os": { - "name": "", - "version": "" - }, - "app": { - "name": "RudderLabs JavaScript SDK", - "build": "1.0.0", - "version": "1.1.18", - "namespace": "com.rudderlabs.javascript" - }, - "page": { - "url": "http://127.0.0.1:7307/Testing/App_for_testingTool/", - "path": "/Testing/App_for_testingTool/", - "title": "Document", - "search": "", - "tab_url": "http://127.0.0.1:7307/Testing/App_for_testingTool/", - "referrer": "http://127.0.0.1:7307/Testing/", - "initial_referrer": "http://127.0.0.1:7307/Testing/", - "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": 590, - "innerHeight": 665 - }, - "traits": { - "anonymousId": "ea776ad0-3136-44fb-9216-5b1578609a2b", - "userId": "as09sufa09usaf09as0f9uasf", - "id": "as09sufa09usaf09as0f9uasf", - "firstName": "Bob", - "lastName": "Marley", - "name": "Bob Marley", - "age": 43, - "email": "bob@marleymail.com", - "phone": "+447748544123", - "birthday": "1987-01-01T20:08:59+0000", - "createdAt": "2022-01-21T14:10:12+0000", - "address": "51,B.L.T road, Kolkata-700060", - "description": "I am great", - "gender": "male", - "title": "Founder", - "username": "bobm", - "website": "https://bobm.com", - "randomProperty": "randomValue" - }, - "library": { - "name": "RudderLabs JavaScript SDK", - "version": "1.1.18" - }, - "campaign": {}, - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36" - }, - "rudderId": "294702c7-8732-4fb3-b39f-f3bdffe1aa88", - "messageId": "0d5c1a4a-27e4-41da-a246-4d01f44e74bd", - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "properties": { - "foo": "bar", - "$deviceId": "nkasdnkasd" - }, - "anonymousId": "1dbb5784-b8e2-4074-8644-9920145b7ae5", - "integrations": { - "All": true - }, - "originalTimestamp": "2021-09-30T07:15:23.523Z", - "timestamp": "2012-09-30T07:15:23.523Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "apiSecret": "some_api_secret", - "prefixProperties": true, - "dataResidency": "eu", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "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": "track", - "sentAt": "2020-03-12T09:05:13.042Z", - "timestamp": "2018-03-12T09:05:03.421Z" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "apiSecret": "someApiSecret", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "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 - }, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53711", - "sentAt": "2020-01-24T06:29:02.366Z", - "type": "alias", - "userId": "1234abc" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "apiSecret": "someApiSecret", - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "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 - }, - "messageId": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "receivedAt": "2020-01-24T11:59:02.403+05:30", - "request_ip": "[::1]:53711", - "sentAt": "2020-01-24T06:29:02.366Z", - "type": "test", - "userId": "1234abc" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "active": false, - "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": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "active": true, - "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": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "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" - }, - "location": { - "geoSource": "abc" - }, - "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": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "serviceAccountUserName": "rudder.d2a3f1.mp-service-account", - "serviceAccountSecret": "jatpQxcjMh8eetk1xrH3KjQIbzy4iX8b", - "projectId": "123456", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "web", - "context": { - "active": true, - "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": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "user1234" - } - }, - { - "message": { - "type": "track", - "event": "Application Installed", - "sentAt": "2022-09-05T07:46:26.322Z", - "channel": "mobile", - "context": { - "os": { - "name": "Android", - "version": "12" - }, - "app": { - "name": "Sample Kotlin", - "build": "4", - "version": "1.0", - "namespace": "com.example.testapp1mg" - }, - "device": { - "id": "39da706ec83d0e90", - "name": "emu64a", - "type": "Android", - "model": "sdk_gphone64_arm64", - "manufacturer": "Google" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 2984, - "density": 560 - }, - "traits": { - "anonymousId": "39da706ec83d0e90" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.7.0" - }, - "network": { - "wifi": true, - "carrier": "T-Mobile", - "cellular": true, - "bluetooth": true - }, - "timezone": "Asia/Kolkata", - "sessionId": 1662363980, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android Tiramisu Build/TPP2.220218.008)", - "sessionStart": true - }, - "rudderId": "3ef1dec3-d729-4830-a394-7b8be6819765", - "messageId": "1662363980287-168cf720-6227-4b56-a98e-c49bdc7279e9", - "properties": { - "build": 4, - "version": "1.0" - }, - "anonymousId": "39da706ec83d0e90", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-09-05T07:46:20.290Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "apiSecret": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - } - }, - { - "message": { - "type": "track", - "event": "Application Opened", - "sentAt": "2022-09-05T07:46:26.322Z", - "channel": "mobile", - "context": { - "os": { - "name": "Android", - "version": "12" - }, - "app": { - "name": "Sample Kotlin", - "build": "4", - "version": "1.0", - "namespace": "com.example.testapp1mg" - }, - "device": { - "id": "39da706ec83d0e90", - "name": "emu64a", - "type": "Android", - "model": "sdk_gphone64_arm64", - "manufacturer": "Google" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 2984, - "density": 560 - }, - "traits": { - "anonymousId": "39da706ec83d0e90" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.7.0" - }, - "network": { - "wifi": true, - "carrier": "T-Mobile", - "cellular": true, - "bluetooth": true - }, - "timezone": "Asia/Kolkata", - "sessionId": "1662363980", - "userAgent": "Dalvik/2.1.0 (Linux; U; Android Tiramisu Build/TPP2.220218.008)", - "sessionStart": true - }, - "rudderId": "3ef1dec3-d729-4830-a394-7b8be6819765", - "messageId": "1662363980287-168cf720-6227-4b56-a98e-c49bdc7279e9", - "properties": { - "build": 4, - "version": "1.0" - }, - "anonymousId": "39da706ec83d0e90", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-09-05T07:46:20.290Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "apiSecret": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "groupKeySettings": [ - { - "groupKey": "groupId" - } - ] - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "mobile", - "name": "Contact Us", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs Android 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" - }, - "traits": { - "company": "testComp", - "groupId": "groupIdInTraits" - }, - "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": "group", - "userId": "hjikl", - "groupId": "testGroupId" - } - }, - { - "description": "Track: set device id and user id when simplified id merge api is selected", - "destination": { - "Config": { - "apiKey": "apiKey123", - "token": "apiToken123", - "prefixProperties": true, - "identityMergeApi": "simplified" - } - }, - "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" - }, - "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": "2020-01-24T11:59:02.402+05:30" - } - }, - { - "description": "Identify: skip merge event when simplified id merge api is selected", - "destination": { - "Config": { - "apiKey": "apiKey123", - "token": "apiToken123", - "prefixProperties": true, - "identityMergeApi": "simplified" - } - }, - "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": "2020-01-24T11:59:02.402+05:30", - "type": "identify", - "userId": "userId01" - } - }, - { - "description": "Identify: append $device: to deviceId while creating the user when simplified id merge api is selected", - "destination": { - "Config": { - "apiKey": "apiKey123", - "token": "apiToken123", - "identityMergeApi": "simplified" - } - }, - "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": "2020-01-24T11:59:02.402+05:30", - "type": "identify" - } - }, - { - "description": "Unsupported alias call when simplified id merge api is selected", - "destination": { - "Config": { - "apiKey": "apiKey123", - "token": "apiToken123", - "identityMergeApi": "simplified" - } - }, - "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 - }, - "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" - } - }, - { - "description": "Track revenue event: set device id and user id when simplified id merge api is selected", - "destination": { - "Config": { - "apiKey": "apiKey123", - "token": "apiToken123", - "prefixProperties": true, - "identityMergeApi": "simplified" - } - }, - "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" - }, - "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" - }, - "event": "test revenue MIXPANEL", - "integrations": { - "All": true - }, - "messageId": "a6a0ad5a-bd26-4f19-8f75-38484e580fc7", - "originalTimestamp": "2020-01-24T06:29:02.364Z", - "properties": { - "currency": "USD", - "revenue": 18.9 - }, - "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": "userId01" - } - }, - { - "description": "Page with anonymous user when simplified api is selected", - "destination": { - "Config": { - "apiKey": "apiKey123", - "token": "apiToken123", - "identityMergeApi": "simplified" - } - }, - "message": { - "anonymousId": "anonId01", - "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": "2020-01-24T11:59:02.402+05:30", - "type": "page" - } - }, - { - "description": "Group call with anonymous user when simplified api is selected", - "destination": { - "Config": { - "apiKey": "apiKey123", - "token": "apiToken123", - "identityMergeApi": "simplified", - "groupKeySettings": [ - { - "groupKey": "company" - } - ] - } - }, - "message": { - "anonymousId": "anonId01", - "channel": "mobile", - "name": "Contact Us", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs Android 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" - }, - "traits": { - "company": "testComp" - }, - "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": "group" - } - }, - { - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "groupKeySettings": [ - { - "groupKey": "company" - } - ] - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca", - "channel": "mobile", - "name": "Contact Us", - "context": { - "app": { - "build": "1.0.0", - "name": "RudderLabs Android 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" - }, - "traits": {}, - "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": "group", - "userId": "hjikl" - } - }, - { - "message": { - "type": "track", - "event": "Application Installed", - "sentAt": "2022-09-05T07:46:26.322Z", - "channel": "mobile", - "timestamp": "", - "context": { - "os": { - "name": "Android", - "version": "12" - }, - "app": { - "name": "Sample Kotlin", - "build": "4", - "version": "1.0", - "namespace": "com.example.testapp1mg" - }, - "device": { - "id": "39da706ec83d0e90", - "name": "emu64a", - "type": "Android", - "model": "sdk_gphone64_arm64", - "manufacturer": "Google" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 2984, - "density": 560 - }, - "traits": { - "anonymousId": "39da706ec83d0e90" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.7.0" - }, - "network": { - "wifi": true, - "carrier": "T-Mobile", - "cellular": true, - "bluetooth": true - }, - "timezone": "Asia/Kolkata", - "sessionId": 1662363980, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android Tiramisu Build/TPP2.220218.008)", - "sessionStart": true - }, - "rudderId": "3ef1dec3-d729-4830-a394-7b8be6819765", - "messageId": "1662363980287-168cf720-6227-4b56-a98e-c49bdc7279e9", - "properties": { - "build": 4, - "version": "1.0", - "revenue": 12.13 - }, - "anonymousId": "39da706ec83d0e90", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-09-05T07:46:20.290Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "apiSecret": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - } - }, - { - "message": { - "type": "track", - "event": "Application Installed", - "sentAt": "2022-09-05T07:46:26.322Z", - "channel": "mobile", - "timestamp": "safaff", - "context": { - "os": { - "name": "Android", - "version": "12" - }, - "app": { - "name": "Sample Kotlin", - "build": "4", - "version": "1.0", - "namespace": "com.example.testapp1mg" - }, - "device": { - "id": "39da706ec83d0e90", - "name": "emu64a", - "type": "Android", - "model": "sdk_gphone64_arm64", - "manufacturer": "Google" - }, - "locale": "en-US", - "screen": { - "width": 1440, - "height": 2984, - "density": 560 - }, - "traits": { - "anonymousId": "39da706ec83d0e90" - }, - "library": { - "name": "com.rudderstack.android.sdk.core", - "version": "1.7.0" - }, - "network": { - "wifi": true, - "carrier": "T-Mobile", - "cellular": true, - "bluetooth": true - }, - "timezone": "Asia/Kolkata", - "sessionId": 1662363980, - "userAgent": "Dalvik/2.1.0 (Linux; U; Android Tiramisu Build/TPP2.220218.008)", - "sessionStart": true - }, - "rudderId": "3ef1dec3-d729-4830-a394-7b8be6819765", - "messageId": "1662363980287-168cf720-6227-4b56-a98e-c49bdc7279e9", - "properties": { - "build": 4, - "version": "1.0", - "revenue": 23.45 - }, - "anonymousId": "39da706ec83d0e90", - "integrations": { - "All": true - }, - "originalTimestamp": "2022-09-05T07:46:20.290Z" - }, - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "apiSecret": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false, - "useNewMapping": true - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - } - }, - { - "description": "Track: with strict mode enabled", - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "apiSecret": "some_api_secret", - "prefixProperties": true, - "dataResidency": "eu", - "useNativeSDK": false, - "strictMode": true - }, - "DestinationDefinition": { - "DisplayName": "Mixpanel", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MP" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Mixpanel", - "Transformations": [] - }, - "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": "Alias: with same previousId and userId", - "destination": { - "Config": { - "apiKey": "dummyApiKey", - "token": "dummyApiKey", - "prefixProperties": true, - "useNativeSDK": false - }, - "DestinationDefinition": { - "DisplayName": "Kiss Metrics", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MIXPANEL" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Kiss Metrics", - "Transformations": [] - }, - "message": { - "anonymousId": "test_anonymous_id", - "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", - "lastname": "Mickey", - "firstName": "Mouse" - }, - "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": "79313729-7fe5-4204-963a-dc46f4205e4e", - "originalTimestamp": "2020-01-24T06:29:02.366Z", - "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_user_id", - "previousId": "test_user_id" - } - } -] diff --git a/test/__tests__/data/mp_output.json b/test/__tests__/data/mp_output.json deleted file mode 100644 index 61100a1b84..0000000000 --- a/test/__tests__/data/mp_output.json +++ /dev/null @@ -1,1330 +0,0 @@ -[ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "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\":\"dummyApiKey\",\"distinct_id\":\"hjikl\",\"time\":1579847342,\"name\":\"Contact Us\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "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\":\"dummyApiKey\",\"distinct_id\":\"hjikl\",\"time\":1579847342,\"name\":\"Contact Us\",\"category\":\"Contact\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Loaded a Screen\",\"properties\":{\"category\":\"communication\",\"ip\":\"0.0.0.0\",\"$user_id\":\"hjikl\",\"$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\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Loaded a Screen\",\"properties\":{\"path\":\"/tests/html/index2.html\",\"referrer\":\"\",\"search\":\"\",\"title\":\"\",\"url\":\"http://localhost/tests/html/index2.html\",\"ip\":\"0.0.0.0\",\"$user_id\":\"hjiklmk\",\"$screen_dpi\":2,\"mp_lib\":\"RudderLabs Android SDK\",\"$app_build_number\":\"1.0.0\",\"$app_version_string\":\"1.0.5\",\"$insert_id\":\"dd266c67-9199-4a52-ba32-f46ddde67312\",\"token\":\"dummyApiKey\",\"distinct_id\":\"hjiklmk\",\"time\":1579847342,\"name\":\"Contact Us\",\"category\":\"Contact\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjiklmk" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Loaded a Screen\",\"properties\":{\"ip\":\"0.0.0.0\",\"$user_id\":\"hjikl\",\"$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\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$created\":\"2020-01-23T08:54:02.362Z\",\"$email\":\"mickey@disney.com\",\"$first_name\":\"Mickey\",\"$last_name\":\"Mouse\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$name\":\"Mickey Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$append\":{\"$transactions\":{\"$time\":\"2020-01-24T06:29:02.403Z\",\"$amount\":45.89}},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$add\":{\"counter\":1,\"item_purchased\":\"2\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "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\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"$create_alias\",\"properties\":{\"distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"alias\":\"1234abc\",\"token\":\"dummyApiKey\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "1234abc" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$append\":{\"$transactions\":{\"$time\":\"2020-01-24T06:29:02.402Z\",\"$amount\":25}},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"KM Order Completed\",\"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,\"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\":\"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a\",\"token\":\"dummyApiKey\",\"distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"time\":1579847342,\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$append\":{\"$transactions\":{\"$time\":\"2020-01-24T06:29:02.402Z\",\"$amount\":34}},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"KM Order Completed\",\"properties\":{\"affiliation\":\"Google Store\",\"checkout_id\":\"fksdjfsdjfisjf9sdfjsd9f\",\"coupon\":\"hasbros\",\"currency\":\"USD\",\"discount\":2.5,\"order_id\":\"50314b8e9bcf000000000000\",\"revenue\":34,\"key_1\":{\"child_key1\":\"child_value1\",\"child_key2\":{\"child_key21\":\"child_value21\",\"child_key22\":\"child_value22\"}},\"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,\"tax\":2,\"total\":27.5,\"city\":\"Disney\",\"country\":\"USA\",\"email\":\"mickey@disney.com\",\"first_name\":\"Mickey\",\"lastName\":\"Mouse\",\"name\":\"Mickey Mouse\",\"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\":\"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a\",\"token\":\"dummyApiKey\",\"distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"time\":1579847342,\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\" new Order Completed totally\",\"properties\":{\"affiliation\":\"Google Store\",\"checkout_id\":\"fksdjfsdjfisjf9sdfjsd9f\",\"coupon\":\"hasbros\",\"currency\":\"USD\",\"discount\":2.5,\"total\":23,\"order_id\":\"50314b8e9bcf000000000000\",\"key_1\":{\"child_key1\":\"child_value1\",\"child_key2\":{\"child_key21\":\"child_value21\",\"child_key22\":\"child_value22\"}},\"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,\"tax\":2,\"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\":\"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a\",\"token\":\"dummyApiKey\",\"distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"time\":1579847342,\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\" Order Completed \",\"properties\":{\"affiliation\":\"Google Store\",\"checkout_id\":\"fksdjfsdjfisjf9sdfjsd9f\",\"coupon\":\"hasbros\",\"currency\":\"USD\",\"discount\":2.5,\"total\":23,\"order_id\":\"50314b8e9bcf000000000000\",\"key_1\":{\"child_key1\":\"child_value1\",\"child_key2\":{\"child_key21\":\"child_value21\",\"child_key22\":\"child_value22\"}},\"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,\"tax\":2,\"Billing Amount\":\"77\",\"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\":\"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a\",\"token\":\"dummyApiKey\",\"distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"time\":1579847342,\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - { - "statusCode": 400, - "message": "`Group Key Settings` is not configured in destination" - }, - [ - { - "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\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"dummyApiKey\",\"$distinct_id\":\"hjikl\",\"$set\":{\"company\":[\"testComp\"]},\"$ip\":\"0.0.0.0\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/groups/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"dummyApiKey\",\"$group_key\":\"company\",\"$group_id\":\"testComp\",\"$set\":{\"company\":\"testComp\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"dummyApiKey\",\"$distinct_id\":\"hjikl\",\"$set\":{\"company\":[\"testComp\",\"testComp1\"]},\"$ip\":\"0.0.0.0\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/groups/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"dummyApiKey\",\"$group_key\":\"company\",\"$group_id\":\"testComp\",\"$set\":{\"company\":[\"testComp\",\"testComp1\"]}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/groups/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"dummyApiKey\",\"$group_key\":\"company\",\"$group_id\":\"testComp1\",\"$set\":{\"company\":[\"testComp\",\"testComp1\"]}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"dummyApiKey\",\"$distinct_id\":\"hjikl\",\"$set\":{\"company\":[\"testComp\"]},\"$ip\":\"0.0.0.0\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/groups/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"dummyApiKey\",\"$group_key\":\"company\",\"$group_id\":\"testComp\",\"$set\":{\"company\":\"testComp\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$append\":{\"$transactions\":{\"$time\":\"2020-01-24T06:29:02.402Z\",\"$amount\":25}},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"KM Order Completed\",\"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,\"city\":\"Disney\",\"country\":\"USA\",\"email\":\"mickey@disney.com\",\"firstname\":\"Mickey\",\"lastname\":\"Mouse\",\"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\":\"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a\",\"token\":\"dummyApiKey\",\"distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"time\":1579847342,\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$carrier\":\"Android\",\"$manufacturer\":\"Google\",\"$model\":\"Android SDK built for x86\",\"$screen_height\":1794,\"$screen_width\":1080,\"$wifi\":true,\"anonymousId\":\"5094f5704b9cf2b3\",\"$android_devices\":[\"test_device_token\"],\"$os\":\"Android\",\"$android_model\":\"Android SDK built for x86\",\"$android_os_version\":\"8.1.0\",\"$android_manufacturer\":\"Google\",\"$android_app_version\":\"1.0\",\"$android_app_version_code\":\"1.0\",\"$android_brand\":\"Google\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"5094f5704b9cf2b3\",\"$time\":null}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "5094f5704b9cf2b3" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$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\":\"dummyApiKey\",\"$distinct_id\":\"test_user_id\",\"$time\":null}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/import/", - "headers": { - "Authorization": "Basic c29tZV9hcGlfc2VjcmV0Og==", - "Content-Type": "application/json" - }, - "params": { - "strict": 0 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"$merge\",\"properties\":{\"$distinct_ids\":[\"test_user_id\",\"5094f5704b9cf2b3\"],\"token\":\"dummyApiKey\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Loaded a Page\",\"properties\":{\"path\":\"/tests/html/index2.html\",\"referrer\":\"\",\"search\":\"\",\"title\":\"\",\"url\":\"http://localhost/tests/html/index2.html\",\"category\":\"communication\",\"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\":\"dd266c67-9199-4a52-ba32-f46ddde67312\",\"token\":\"dummyApiKey\",\"distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"time\":1579847342,\"name\":\"Contact Us\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"$create_alias\",\"properties\":{\"distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"alias\":\"1234abc\",\"token\":\"dummyApiKey\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "1234abc" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$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\",\"createdat\":\"2020-01-23T08:54:02.362Z\",\"$ios_devices\":[\"test_device_token\"],\"$ios_device_model\":\"Android SDK built for x86\",\"$ios_app_release\":\"1\",\"$ios_app_version\":\"1.0\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"test_user_id\",\"$time\":null}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/import/", - "headers": { - "Authorization": "Basic c29tZV9hcGlfc2VjcmV0Og==", - "Content-Type": "application/json" - }, - "params": { - "strict": 0 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"$merge\",\"properties\":{\"$distinct_ids\":[\"test_user_id\",\"5094f5704b9cf2b3\"],\"token\":\"dummyApiKey\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - [ - { - "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\",\"$name\":\"Mickey Mouse\",\"$firstName\":\"Mickey\",\"$lastName\":\"Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "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\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$email\":\"mickey@disney.com\",\"$name\":\"Mickey Mouse\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$region\":\"US\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$firstName\":\"Mickey\",\"$lastName\":\"Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "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\",\"$name\":\"Mickey Mouse\",\"$firstName\":\"Mickey\",\"$lastName\":\"Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$email\":\"mickey@disney.com\",\"$name\":\"Mouse\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$firstName\":\"Mickey\",\"$lastName\":\"Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$email\":\"mickey@disney.com\",\"$first_name\":\"Mickey\",\"$last_name\":\"Mouse\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$name\":\"Mickey Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$email\":\"mickey@disney.com\",\"$first_name\":\"Mickey\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$email\":\"mickey@disney.com\",\"$first_name\":\"Mickey\",\"$last_name\":\"Mouse\",\"$name\":\"Mickey Mouse\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$region\":\"US\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$email\":\"mickey@disney.com\",\"$first_name\":\"Mickey\",\"$last_name\":\"Mouse\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$name\":\"Mickey Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - { - "statusCode": 400, - "message": "Event timestamp is older than 5 days and no API secret or service account credentials (i.e. username, secret and projectId) are provided in destination configuration" - }, - { - "statusCode": 400, - "message": "Event timestamp should be within last 5 years" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/import/", - "headers": { - "Authorization": "Basic c29tZV9hcGlfc2VjcmV0Og==", - "Content-Type": "application/json" - }, - "params": { - "strict": 0 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"MainActivity\",\"properties\":{\"name\":\"MainActivity\",\"automatic\":true,\"anonymousId\":\"5094f5704b9cf2b3\",\"userId\":\"test_user_id\",\"$user_id\":\"test_user_id\",\"$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\":\"dummyApiKey\",\"distinct_id\":\"test_user_id\",\"time\":1520845503}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - { - "statusCode": 400, - "message": "Either `previousId` or `anonymousId` should be present in alias payload" - }, - { - "statusCode": 400, - "message": "Event type 'test' is not supported" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$created\":\"2020-01-23T08:54:02.362Z\",\"$email\":\"mickey@disney.com\",\"$first_name\":\"Mickey\",\"$last_name\":\"Mouse\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$name\":\"Mickey Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342,\"$ignore_time\":true}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$created\":\"2020-01-23T08:54:02.362Z\",\"$email\":\"mickey@disney.com\",\"$first_name\":\"Mickey\",\"$last_name\":\"Mouse\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$name\":\"Mickey Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "e6ab2c5e-2cda-44a9-a962-e2f67df78bca" - } - ], - { - "statusCode": 400, - "message": "$geo_source value must be either null or 'reverse_geocoding' " - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$set\":{\"$created\":\"2020-01-23T08:54:02.362Z\",\"$email\":\"mickey@disney.com\",\"$first_name\":\"Mickey\",\"$last_name\":\"Mouse\",\"$country_code\":\"USA\",\"$city\":\"Disney\",\"$initial_referrer\":\"https://docs.rudderstack.com\",\"$initial_referring_domain\":\"docs.rudderstack.com\",\"$name\":\"Mickey Mouse\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"user1234\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "user1234" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/import/", - "headers": { - "Content-Type": "application/json", - "Authorization": "Basic cnVkZGVyLmQyYTNmMS5tcC1zZXJ2aWNlLWFjY291bnQ6amF0cFF4Y2pNaDhlZXRrMXhySDNLalFJYnp5NGlYOGI=" - }, - "params": { - "project_id": "123456", - "strict": 0 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"$merge\",\"properties\":{\"$distinct_ids\":[\"user1234\",\"e6ab2c5e-2cda-44a9-a962-e2f67df78bca\"],\"token\":\"dummyApiKey\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "user1234" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/import/", - "headers": { - "Authorization": "Basic ZHVtbXlBcGlLZXk6", - "Content-Type": "application/json" - }, - "params": { - "strict": 0 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Application Installed\",\"properties\":{\"build\":4,\"version\":\"1.0\",\"anonymousId\":\"39da706ec83d0e90\",\"$os\":\"Android\",\"$screen_height\":2984,\"$screen_width\":1440,\"$screen_dpi\":560,\"$carrier\":\"T-Mobile\",\"$os_version\":\"12\",\"$device\":\"emu64a\",\"$manufacturer\":\"Google\",\"$model\":\"sdk_gphone64_arm64\",\"mp_device_model\":\"sdk_gphone64_arm64\",\"$wifi\":true,\"$bluetooth_enabled\":true,\"mp_lib\":\"com.rudderstack.android.sdk.core\",\"$app_build_number\":\"4\",\"$app_version_string\":\"1.0\",\"$insert_id\":\"168cf720-6227-4b56-a98e-c49bdc7279e9\",\"$session_id\":\"1662363980\",\"token\":\"dummyApiKey\",\"distinct_id\":\"39da706ec83d0e90\",\"time\":null}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "39da706ec83d0e90" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/import/", - "headers": { - "Authorization": "Basic ZHVtbXlBcGlLZXk6", - "Content-Type": "application/json" - }, - "params": { - "strict": 0 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Application Opened\",\"properties\":{\"build\":4,\"version\":\"1.0\",\"anonymousId\":\"39da706ec83d0e90\",\"$os\":\"Android\",\"$screen_height\":2984,\"$screen_width\":1440,\"$screen_dpi\":560,\"$carrier\":\"T-Mobile\",\"$os_version\":\"12\",\"$device\":\"emu64a\",\"$manufacturer\":\"Google\",\"$model\":\"sdk_gphone64_arm64\",\"mp_device_model\":\"sdk_gphone64_arm64\",\"$wifi\":true,\"$bluetooth_enabled\":true,\"mp_lib\":\"com.rudderstack.android.sdk.core\",\"$app_build_number\":\"4\",\"$app_version_string\":\"1.0\",\"$insert_id\":\"168cf720-6227-4b56-a98e-c49bdc7279e9\",\"$session_id\":\"1662363980\",\"token\":\"dummyApiKey\",\"distinct_id\":\"39da706ec83d0e90\",\"time\":null}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "39da706ec83d0e90" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"dummyApiKey\",\"$distinct_id\":\"hjikl\",\"$set\":{\"groupId\":[\"testGroupId\"]},\"$ip\":\"0.0.0.0\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/groups/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"dummyApiKey\",\"$group_key\":\"groupId\",\"$group_id\":\"testGroupId\",\"$set\":{\"company\":\"testComp\",\"groupId\":\"groupIdInTraits\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "hjikl" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Product Viewed\",\"properties\":{\"name\":\"T-Shirt\",\"$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\":\"apiToken123\",\"distinct_id\":\"userId01\",\"time\":1579847342,\"$device_id\":\"anonId01\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "userId01" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$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\":\"apiToken123\",\"$distinct_id\":\"userId01\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "userId01" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$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\":\"apiToken123\",\"$distinct_id\":\"$device:anonId01\",\"$ip\":\"0.0.0.0\",\"$time\":1579847342}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "anonId01" - } - ], - { - "statusCode": 400, - "message": "Alias call is deprecated in `Simplified ID merge`" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$append\":{\"$transactions\":{\"$time\":\"2020-01-24T06:29:02.403Z\",\"$amount\":18.9}},\"$token\":\"apiToken123\",\"$distinct_id\":\"userId01\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "userId01" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"test revenue MIXPANEL\",\"properties\":{\"currency\":\"USD\",\"revenue\":18.9,\"city\":\"Disney\",\"country\":\"USA\",\"email\":\"mickey@disney.com\",\"firstName\":\"Mickey\",\"ip\":\"0.0.0.0\",\"$user_id\":\"userId01\",\"$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\":\"apiToken123\",\"distinct_id\":\"userId01\",\"time\":1579847342,\"$device_id\":\"anonId01\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "userId01" - } - ], - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/track/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Loaded a Page\",\"properties\":{\"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\":\"dd266c67-9199-4a52-ba32-f46ddde67312\",\"token\":\"apiToken123\",\"distinct_id\":\"$device:anonId01\",\"time\":1579847342,\"$device_id\":\"anonId01\",\"name\":\"Contact Us\",\"$browser\":\"Chrome\",\"$browser_version\":\"79.0.3945.117\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "anonId01" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"apiToken123\",\"$distinct_id\":\"$device:anonId01\",\"$set\":{\"company\":[\"testComp\"]},\"$ip\":\"0.0.0.0\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "anonId01" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/groups/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$token\":\"apiToken123\",\"$group_key\":\"company\",\"$group_id\":\"testComp\",\"$set\":{\"company\":\"testComp\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "anonId01" - } - ], - { - "statusCode": 400, - "message": "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" - }, - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$append\":{\"$transactions\":{\"$time\":\"2022-09-05T07:46:20.290Z\",\"$amount\":12.13}},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"39da706ec83d0e90\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "39da706ec83d0e90" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/import/", - "headers": { - "Authorization": "Basic ZHVtbXlBcGlLZXk6", - "Content-Type": "application/json" - }, - "params": { - "strict": 0 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Application Installed\",\"properties\":{\"build\":4,\"version\":\"1.0\",\"revenue\":12.13,\"anonymousId\":\"39da706ec83d0e90\",\"$os\":\"Android\",\"$screen_height\":2984,\"$screen_width\":1440,\"$screen_dpi\":560,\"$carrier\":\"T-Mobile\",\"$os_version\":\"12\",\"$device\":\"emu64a\",\"$manufacturer\":\"Google\",\"$model\":\"sdk_gphone64_arm64\",\"mp_device_model\":\"sdk_gphone64_arm64\",\"$wifi\":true,\"$bluetooth_enabled\":true,\"mp_lib\":\"com.rudderstack.android.sdk.core\",\"$app_build_number\":\"4\",\"$app_version_string\":\"1.0\",\"$insert_id\":\"168cf720-6227-4b56-a98e-c49bdc7279e9\",\"$session_id\":\"1662363980\",\"token\":\"dummyApiKey\",\"distinct_id\":\"39da706ec83d0e90\",\"time\":null}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "39da706ec83d0e90" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$append\":{\"$transactions\":{\"$time\":\"2022-09-05T07:46:20.290Z\",\"$amount\":23.45}},\"$token\":\"dummyApiKey\",\"$distinct_id\":\"39da706ec83d0e90\"}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "39da706ec83d0e90" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api.mixpanel.com/import/", - "headers": { - "Authorization": "Basic ZHVtbXlBcGlLZXk6", - "Content-Type": "application/json" - }, - "params": { - "strict": 0 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"Application Installed\",\"properties\":{\"build\":4,\"version\":\"1.0\",\"revenue\":23.45,\"anonymousId\":\"39da706ec83d0e90\",\"$os\":\"Android\",\"$screen_height\":2984,\"$screen_width\":1440,\"$screen_dpi\":560,\"$carrier\":\"T-Mobile\",\"$os_version\":\"12\",\"$device\":\"emu64a\",\"$manufacturer\":\"Google\",\"$model\":\"sdk_gphone64_arm64\",\"mp_device_model\":\"sdk_gphone64_arm64\",\"$wifi\":true,\"$bluetooth_enabled\":true,\"mp_lib\":\"com.rudderstack.android.sdk.core\",\"$app_build_number\":\"4\",\"$app_version_string\":\"1.0\",\"$insert_id\":\"168cf720-6227-4b56-a98e-c49bdc7279e9\",\"$session_id\":\"1662363980\",\"token\":\"dummyApiKey\",\"distinct_id\":\"39da706ec83d0e90\",\"time\":null}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "39da706ec83d0e90" - } - ], - [ - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/engage/", - "headers": {}, - "params": {}, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"$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\":\"dummyApiKey\",\"$distinct_id\":\"test_user_id\",\"$time\":null}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - }, - { - "version": "1", - "type": "REST", - "method": "POST", - "endpoint": "https://api-eu.mixpanel.com/import/", - "headers": { - "Authorization": "Basic c29tZV9hcGlfc2VjcmV0Og==", - "Content-Type": "application/json" - }, - "params": { - "strict": 1 - }, - "body": { - "JSON": {}, - "JSON_ARRAY": { - "batch": "[{\"event\":\"$merge\",\"properties\":{\"$distinct_ids\":[\"test_user_id\",\"5094f5704b9cf2b3\"],\"token\":\"dummyApiKey\"}}]" - }, - "XML": {}, - "FORM": {} - }, - "files": {}, - "userId": "test_user_id" - } - ], - { - "statusCode": 400, - "message": "One of `previousId` or `anonymousId` is same as `userId`. Aborting" - } -] diff --git a/test/__tests__/data/mp_router_input.json b/test/__tests__/data/mp_router_input.json deleted file mode 100644 index dc088eb476..0000000000 --- a/test/__tests__/data/mp_router_input.json +++ /dev/null @@ -1,603 +0,0 @@ -[ - { - "description": "Page call", - "destination": { - "Config": { - "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": "Mixpanel", - "Transformations": [] - }, - "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": { - "Config": { - "apiSecret": "test_api_secret", - "token": "test_api_token", - "prefixProperties": true, - "identityMergeApi": "simplified", - "strictMode": true - }, - "DestinationDefinition": { - "DisplayName": "Mixpanel", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MP" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Mixpanel", - "Transformations": [] - }, - "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": { - "Config": { - "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": "Mixpanel", - "Transformations": [] - }, - "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": { - "Config": { - "apiSecret": "test_api_secret", - "token": "test_api_token", - "identityMergeApi": "simplified", - "strictMode": true - }, - "DestinationDefinition": { - "DisplayName": "Mixpanel", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MP" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Mixpanel", - "Transformations": [] - }, - "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": { - "Config": { - "apiSecret": "test_api_secret", - "token": "test_api_token", - "prefixProperties": true, - "useNativeSDK": false, - "strictMode": true - }, - "DestinationDefinition": { - "DisplayName": "Mixpanel", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MP" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Mixpanel", - "Transformations": [] - }, - "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": { - "Config": { - "apiSecret": "test_api_secret", - "token": "test_api_token", - "groupKeySettings": [ - { - "groupKey": "company" - } - ], - "strictMode": true - }, - "DestinationDefinition": { - "DisplayName": "Mixpanel", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MP" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Mixpanel", - "Transformations": [] - }, - "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": { - "Config": { - "apiSecret": "test_api_secret", - "token": "test_api_token", - "groupKeySettings": [ - { - "groupKey": "company" - } - ], - "strictMode": true - }, - "DestinationDefinition": { - "DisplayName": "Mixpanel", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MP" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Mixpanel", - "Transformations": [] - }, - "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" - } - } -] diff --git a/test/__tests__/data/mp_router_output.json b/test/__tests__/data/mp_router_output.json deleted file mode 100644 index d1af209e8b..0000000000 --- a/test/__tests__/data/mp_router_output.json +++ /dev/null @@ -1,303 +0,0 @@ -[ - { - "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": { - "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": "Mixpanel", - "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": { - "apiSecret": "test_api_secret", - "token": "test_api_token", - "prefixProperties": true, - "identityMergeApi": "simplified", - "strictMode": true - }, - "DestinationDefinition": { - "DisplayName": "Mixpanel", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MP" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Mixpanel", - "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": { - "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": "Mixpanel", - "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": { - "apiSecret": "test_api_secret", - "token": "test_api_token", - "groupKeySettings": [ - { - "groupKey": "company" - } - ], - "strictMode": true - }, - "DestinationDefinition": { - "DisplayName": "Mixpanel", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MP" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Mixpanel", - "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": { - "errorCategory": "dataValidation", - "errorType": "instrumentation" - }, - "destination": { - "Config": { - "apiSecret": "test_api_secret", - "token": "test_api_token", - "groupKeySettings": [ - { - "groupKey": "company" - } - ], - "strictMode": true - }, - "DestinationDefinition": { - "DisplayName": "Mixpanel", - "ID": "1WhbSZ6uA3H5ChVifHpfL2H6sie", - "Name": "MP" - }, - "Enabled": true, - "ID": "1WhcOCGgj9asZu850HvugU2C3Aq", - "Name": "Mixpanel", - "Transformations": [] - } - } -] diff --git a/test/__tests__/mixpanel.test.js b/test/__tests__/mixpanel.test.js deleted file mode 100644 index ee9d067f7e..0000000000 --- a/test/__tests__/mixpanel.test.js +++ /dev/null @@ -1,62 +0,0 @@ -const fs = require("fs"); -const path = require("path"); - -const integration = "mp"; -const name = "Mixpanel"; -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); -// 2020-01-24T06:29:02.358Z -Date.now = jest.fn(() => new Date(Date.UTC(2020, 0, 25)).valueOf()); - -// 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); - -jest.mock(`../../src/${version}/destinations/${integration}/config`, () => { - const originalConfig = jest.requireActual(`../../src/${version}/destinations/${integration}/config`); - return { - ...originalConfig, - TRACK_MAX_BATCH_SIZE: 1, - IMPORT_MAX_BATCH_SIZE: 2, - ENGAGE_MAX_BATCH_SIZE: 3, - GROUPS_MAX_BATCH_SIZE: 1 - }; -}); - - -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].message); - } - }); - }); - }); - - describe("Router", () => { - it("Payload", async () => { - const routerOutput = await transformer.processRouterDest(inputRouterData); - expect(routerOutput).toEqual(expectedRouterData); - }); - }); -}); diff --git a/test/integrations/destinations/mp/common.ts b/test/integrations/destinations/mp/common.ts new file mode 100644 index 0000000000..ad12566cc6 --- /dev/null +++ b/test/integrations/destinations/mp/common.ts @@ -0,0 +1,23 @@ +const defaultMockFns = () => { + jest.spyOn(Date, 'now').mockImplementation(() => new Date(Date.UTC(2020, 0, 25)).valueOf()); +}; + +const sampleDestination = { + Config: { + apiKey: 'dummyApiKey', + token: 'dummyApiKey', + prefixProperties: true, + useNativeSDK: false, + }, + DestinationDefinition: { + DisplayName: 'Mixpanel', + ID: '1WhbSZ6uA3H5ChVifHpfL2H6sie', + Name: 'MP', + }, + Enabled: true, + ID: '1WhcOCGgj9asZu850HvugU2C3Aq', + Name: 'MP', + Transformations: [], +}; + +export { sampleDestination, defaultMockFns }; diff --git a/test/integrations/destinations/mp/processor/data.ts b/test/integrations/destinations/mp/processor/data.ts new file mode 100644 index 0000000000..13ff3b953e --- /dev/null +++ b/test/integrations/destinations/mp/processor/data.ts @@ -0,0 +1,5837 @@ +import { overrideDestination } from '../../../testUtils'; +import { sampleDestination, defaultMockFns } from '../common'; + +export const data = [ + { + name: 'mp', + description: 'Test 0', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { token: 'dummyApiKey' }), + 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: '2020-01-24T11:59:02.402+05:30', + type: 'page', + userId: 'hjikl', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + 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":"dummyApiKey","distinct_id":"hjikl","time":1579847342,"name":"Contact Us","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 1', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + name: 'Contact Us', + category: 'Contact', + 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: '2020-01-24T11:59:02.402+05:30', + type: 'page', + userId: 'hjikl', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + 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":"dummyApiKey","distinct_id":"hjikl","time":1579847342,"name":"Contact Us","category":"Contact","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 2', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'mobile', + name: 'Contact Us', + properties: { category: 'communication' }, + context: { + app: { + build: '1.0.0', + name: 'RudderLabs Android 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', + 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: 'screen', + userId: 'hjikl', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Loaded a Screen","properties":{"category":"communication","ip":"0.0.0.0","$user_id":"hjikl","$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"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 3', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'mobile', + name: 'Contact Us', + category: 'Contact', + 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 Android 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: 'screen', + userId: 'hjiklmk', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Loaded a Screen","properties":{"path":"/tests/html/index2.html","referrer":"","search":"","title":"","url":"http://localhost/tests/html/index2.html","ip":"0.0.0.0","$user_id":"hjiklmk","$screen_dpi":2,"mp_lib":"RudderLabs Android SDK","$app_build_number":"1.0.0","$app_version_string":"1.0.5","$insert_id":"dd266c67-9199-4a52-ba32-f46ddde67312","token":"dummyApiKey","distinct_id":"hjiklmk","time":1579847342,"name":"Contact Us","category":"Contact"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjiklmk', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 4', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'mobile', + name: 'Contact Us', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs Android 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', + 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: 'screen', + userId: 'hjikl', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Loaded a Screen","properties":{"ip":"0.0.0.0","$user_id":"hjikl","$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"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 5', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { useNewMapping: true }), + 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', + 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: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$created":"2020-01-23T08:54:02.362Z","$email":"mickey@disney.com","$first_name":"Mickey","$last_name":"Mouse","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$name":"Mickey Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 6', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + propIncrements: [ + { property: 'counter' }, + { property: 'item_purchased' }, + { property: 'number_of_logins' }, + ], + }), + 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', + }, + event: 'test revenue MIXPANEL', + integrations: { All: true }, + messageId: 'a6a0ad5a-bd26-4f19-8f75-38484e580fc7', + originalTimestamp: '2020-01-24T06:29:02.364Z', + properties: { + currency: 'USD', + revenue: 45.89, + counter: 1, + item_purchased: '2', + number_of_logins: '', + }, + 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: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$append":{"$transactions":{"$time":"2020-01-24T06:29:02.403Z","$amount":45.89}},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$add":{"counter":1,"item_purchased":"2"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + 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"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 7', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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 }, + 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', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"$create_alias","properties":{"distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","alias":"1234abc","token":"dummyApiKey"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '1234abc', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 8', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + propIncrements: [{ property: '' }], + }), + 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', + }, + 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: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$append":{"$transactions":{"$time":"2020-01-24T06:29:02.402Z","$amount":25}},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"KM Order Completed","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,"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":"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a","token":"dummyApiKey","distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","time":1579847342,"$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 9', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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', + first_name: 'Mickey', + lastName: 'Mouse', + name: 'Mickey Mouse', + }, + 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', + }, + 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', + revenue: 34, + key_1: { + child_key1: 'child_value1', + child_key2: { child_key21: 'child_value21', child_key22: 'child_value22' }, + }, + 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, + 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: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$append":{"$transactions":{"$time":"2020-01-24T06:29:02.402Z","$amount":34}},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"KM Order Completed","properties":{"affiliation":"Google Store","checkout_id":"fksdjfsdjfisjf9sdfjsd9f","coupon":"hasbros","currency":"USD","discount":2.5,"order_id":"50314b8e9bcf000000000000","revenue":34,"key_1":{"child_key1":"child_value1","child_key2":{"child_key21":"child_value21","child_key22":"child_value22"}},"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,"tax":2,"total":27.5,"city":"Disney","country":"USA","email":"mickey@disney.com","first_name":"Mickey","lastName":"Mouse","name":"Mickey Mouse","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":"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a","token":"dummyApiKey","distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","time":1579847342,"$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 10', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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', + }, + event: ' new Order Completed totally', + 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, + total: 23, + order_id: '50314b8e9bcf000000000000', + key_1: { + child_key1: 'child_value1', + child_key2: { child_key21: 'child_value21', child_key22: 'child_value22' }, + }, + 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, + tax: 2, + }, + 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: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":" new Order Completed totally","properties":{"affiliation":"Google Store","checkout_id":"fksdjfsdjfisjf9sdfjsd9f","coupon":"hasbros","currency":"USD","discount":2.5,"total":23,"order_id":"50314b8e9bcf000000000000","key_1":{"child_key1":"child_value1","child_key2":{"child_key21":"child_value21","child_key22":"child_value22"}},"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,"tax":2,"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":"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a","token":"dummyApiKey","distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","time":1579847342,"$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 11', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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', + }, + event: ' 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, + total: 23, + order_id: '50314b8e9bcf000000000000', + key_1: { + child_key1: 'child_value1', + child_key2: { child_key21: 'child_value21', child_key22: 'child_value22' }, + }, + 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, + tax: 2, + 'Billing Amount': '77', + }, + 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', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":" Order Completed ","properties":{"affiliation":"Google Store","checkout_id":"fksdjfsdjfisjf9sdfjsd9f","coupon":"hasbros","currency":"USD","discount":2.5,"total":23,"order_id":"50314b8e9bcf000000000000","key_1":{"child_key1":"child_value1","child_key2":{"child_key21":"child_value21","child_key22":"child_value22"}},"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,"tax":2,"Billing Amount":"77","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":"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a","token":"dummyApiKey","distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","time":1579847342,"$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 12', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'mobile', + name: 'Contact Us', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs Android 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: 'group', + userId: 'hjikl', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: '`Group Key Settings` is not configured in destination', + statTags: { + destType: 'MP', + errorCategory: 'dataValidation', + errorType: 'configuration', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 13', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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 }, + 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', + }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + 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]:53709', + sentAt: '2020-01-24T06:29:02.363Z', + timestamp: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + 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":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 14', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + groupKeySettings: [{ groupKey: 'company' }], + }), + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'mobile', + name: 'Contact Us', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs Android 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', + }, + traits: { company: 'testComp' }, + 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: 'group', + userId: 'hjikl', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"dummyApiKey","$distinct_id":"hjikl","$set":{"company":["testComp"]},"$ip":"0.0.0.0"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/groups/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"dummyApiKey","$group_key":"company","$group_id":"testComp","$set":{"company":"testComp"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 15', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + groupKeySettings: [{ groupKey: 'company' }], + }), + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'mobile', + name: 'Contact Us', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs Android 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', + }, + traits: { company: ['testComp', 'testComp1'] }, + 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: 'group', + userId: 'hjikl', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"dummyApiKey","$distinct_id":"hjikl","$set":{"company":["testComp","testComp1"]},"$ip":"0.0.0.0"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/groups/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"dummyApiKey","$group_key":"company","$group_id":"testComp","$set":{"company":["testComp","testComp1"]}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/groups/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"dummyApiKey","$group_key":"company","$group_id":"testComp1","$set":{"company":["testComp","testComp1"]}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 16', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + dataResidency: 'eu', + groupKeySettings: [{ groupKey: 'company' }], + }), + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'mobile', + name: 'contact us', + context: { + app: { + build: '1.0.0', + name: 'rudderlabs android 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', + traits: { company: 'testComp' }, + 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: 'group', + userId: 'hjikl', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"dummyApiKey","$distinct_id":"hjikl","$set":{"company":["testComp"]},"$ip":"0.0.0.0"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/groups/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"dummyApiKey","$group_key":"company","$group_id":"testComp","$set":{"company":"testComp"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 17', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + dataResidency: 'eu', + }), + 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', + lastname: 'Mouse', + }, + 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', + }, + 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: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$append":{"$transactions":{"$time":"2020-01-24T06:29:02.402Z","$amount":25}},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"KM Order Completed","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,"city":"Disney","country":"USA","email":"mickey@disney.com","firstname":"Mickey","lastname":"Mouse","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":"aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a","token":"dummyApiKey","distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","time":1579847342,"$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 18', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + dataResidency: 'eu', + }), + 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', + 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: '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: 'identify', + sentAt: '2020-03-12T09:05:13.042Z', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$carrier":"Android","$manufacturer":"Google","$model":"Android SDK built for x86","$screen_height":1794,"$screen_width":1080,"$wifi":true,"anonymousId":"5094f5704b9cf2b3","$android_devices":["test_device_token"],"$os":"Android","$android_model":"Android SDK built for x86","$android_os_version":"8.1.0","$android_manufacturer":"Google","$android_app_version":"1.0","$android_app_version_code":"1.0","$android_brand":"Google"},"$token":"dummyApiKey","$distinct_id":"5094f5704b9cf2b3","$time":null}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '5094f5704b9cf2b3', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 19', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + apiSecret: 'some_api_secret', + dataResidency: 'eu', + }), + 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', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$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":"dummyApiKey","$distinct_id":"test_user_id","$time":null}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/import/', + headers: { + Authorization: 'Basic c29tZV9hcGlfc2VjcmV0Og==', + 'Content-Type': 'application/json', + }, + params: { strict: 0 }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"$merge","properties":{"$distinct_ids":["test_user_id","5094f5704b9cf2b3"],"token":"dummyApiKey"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 20', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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', + properties: { + path: '/tests/html/index2.html', + referrer: '', + search: '', + title: '', + url: 'http://localhost/tests/html/index2.html', + category: 'communication', + }, + 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', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Loaded a Page","properties":{"path":"/tests/html/index2.html","referrer":"","search":"","title":"","url":"http://localhost/tests/html/index2.html","category":"communication","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":"dd266c67-9199-4a52-ba32-f46ddde67312","token":"dummyApiKey","distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","time":1579847342,"name":"Contact Us","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 21', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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', + lastname: 'Mickey', + firstName: 'Mouse', + }, + 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: '79313729-7fe5-4204-963a-dc46f4205e4e', + originalTimestamp: '2020-01-24T06:29:02.366Z', + 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', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"$create_alias","properties":{"distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","alias":"1234abc","token":"dummyApiKey"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '1234abc', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 22', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + apiSecret: 'some_api_secret', + dataResidency: 'eu', + }), + 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: 'tvos', + 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 }, + screen: { density: 420, height: 1794, width: 1080 }, + timezone: 'Asia/Kolkata', + traits: { + anonymousId: '5094f5704b9cf2b3', + userId: 'test_user_id', + createdat: '2020-01-23T08:54:02.362Z', + }, + 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', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$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","createdat":"2020-01-23T08:54:02.362Z","$ios_devices":["test_device_token"],"$ios_device_model":"Android SDK built for x86","$ios_app_release":"1","$ios_app_version":"1.0"},"$token":"dummyApiKey","$distinct_id":"test_user_id","$time":null}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/import/', + headers: { + Authorization: 'Basic c29tZV9hcGlfc2VjcmV0Og==', + 'Content-Type': 'application/json', + }, + params: { strict: 0 }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"$merge","properties":{"$distinct_ids":["test_user_id","5094f5704b9cf2b3"],"token":"dummyApiKey"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 23', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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', + first_name: 'Mickey', + last_name: 'Mouse', + }, + 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', + }, + event: 'KM Order Completed', + integrations: { All: true }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + 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: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + 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","$name":"Mickey Mouse","$firstName":"Mickey","$lastName":"Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 24', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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', + first_name: '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', + }, + event: 'KM Order Completed', + integrations: { All: true }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + 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: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + 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":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 25', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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: { + address: { city: 'Disney', country: 'USA', state: 'US' }, + email: 'mickey@disney.com', + first_name: 'Mickey', + last_name: 'Mouse', + name: 'Mickey Mouse', + }, + 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', + }, + event: 'KM Order Completed', + integrations: { All: true }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + 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: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$email":"mickey@disney.com","$name":"Mickey Mouse","$country_code":"USA","$city":"Disney","$region":"US","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$firstName":"Mickey","$lastName":"Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 26', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: sampleDestination, + 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', + first_name: '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', + }, + event: 'KM Order Completed', + integrations: { All: true }, + traits: { + city: 'Disney', + country: 'USA', + email: 'mickey@disney.com', + last_name: 'Mouse', + }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + 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: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + 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","$name":"Mickey Mouse","$firstName":"Mickey","$lastName":"Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 27', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: false, + }), + 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', + first_name: 'Mickey', + last_name: 'Mouse', + }, + 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', + }, + event: 'KM Order Completed', + integrations: { All: true }, + traits: { name: 'Mouse' }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + 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: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$email":"mickey@disney.com","$name":"Mouse","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$firstName":"Mickey","$lastName":"Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 28', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: true, + }), + 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', + first_name: 'Mickey', + last_name: 'Mouse', + }, + 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', + }, + event: 'KM Order Completed', + integrations: { All: true }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + 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: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$email":"mickey@disney.com","$first_name":"Mickey","$last_name":"Mouse","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$name":"Mickey Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 29', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: true, + }), + 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', + first_name: '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', + }, + event: 'KM Order Completed', + integrations: { All: true }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + 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: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$email":"mickey@disney.com","$first_name":"Mickey","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 30', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: true, + }), + 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: { + address: { city: 'Disney', country: 'USA', state: 'US' }, + email: 'mickey@disney.com', + first_name: 'Mickey', + last_name: 'Mouse', + name: 'Mickey Mouse', + }, + 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', + }, + event: 'KM Order Completed', + integrations: { All: true }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + 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: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$email":"mickey@disney.com","$first_name":"Mickey","$last_name":"Mouse","$name":"Mickey Mouse","$country_code":"USA","$city":"Disney","$region":"US","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 31', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: true, + }), + 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', + first_name: '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', + }, + event: 'KM Order Completed', + integrations: { All: true }, + traits: { + city: 'Disney', + country: 'USA', + address: '1 Government Dr, St. Louis, MO 63110, United States', + email: 'mickey@disney.com', + last_name: 'Mouse', + }, + messageId: 'aa5f5e44-8756-40ad-ad1e-b0d3b9fa710a', + originalTimestamp: '2020-01-24T06:29:02.367Z', + 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: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$email":"mickey@disney.com","$first_name":"Mickey","$last_name":"Mouse","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$name":"Mickey Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 32', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: false, + }), + message: { + type: 'track', + event: 'FirstTrackCall12', + sentAt: '2021-09-30T07:15:23.523Z', + channel: 'web', + context: { + os: { name: '', version: '' }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.18', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_testingTool/', + path: '/Testing/App_for_testingTool/', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_testingTool/', + referrer: 'http://127.0.0.1:7307/Testing/', + initial_referrer: 'http://127.0.0.1:7307/Testing/', + 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: 590, innerHeight: 665 }, + traits: { + anonymousId: 'ea776ad0-3136-44fb-9216-5b1578609a2b', + userId: 'as09sufa09usaf09as0f9uasf', + id: 'as09sufa09usaf09as0f9uasf', + firstName: 'Bob', + lastName: 'Marley', + name: 'Bob Marley', + age: 43, + email: 'bob@marleymail.com', + phone: '+447748544123', + birthday: '1987-01-01T20:08:59+0000', + createdAt: '2022-01-21T14:10:12+0000', + address: '51,B.L.T road, Kolkata-700060', + description: 'I am great', + gender: 'male', + title: 'Founder', + username: 'bobm', + website: 'https://bobm.com', + randomProperty: 'randomValue', + }, + library: { name: 'RudderLabs JavaScript SDK', version: '1.1.18' }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36', + }, + rudderId: '294702c7-8732-4fb3-b39f-f3bdffe1aa88', + messageId: '0d5c1a4a-27e4-41da-a246-4d01f44e74bd', + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + properties: { foo: 'bar', $deviceId: 'nkasdnkasd' }, + anonymousId: '1dbb5784-b8e2-4074-8644-9920145b7ae5', + integrations: { All: true }, + originalTimestamp: '2021-09-30T07:15:23.523Z', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: + 'Event timestamp is older than 5 days and no API secret or service account credentials (i.e. username, secret and projectId) are provided in destination configuration', + statTags: { + destType: 'MP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 33', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: true, + }), + message: { + type: 'track', + event: 'FirstTrackCall12', + sentAt: '2021-09-30T07:15:23.523Z', + channel: 'web', + context: { + os: { name: '', version: '' }, + app: { + name: 'RudderLabs JavaScript SDK', + build: '1.0.0', + version: '1.1.18', + namespace: 'com.rudderlabs.javascript', + }, + page: { + url: 'http://127.0.0.1:7307/Testing/App_for_testingTool/', + path: '/Testing/App_for_testingTool/', + title: 'Document', + search: '', + tab_url: 'http://127.0.0.1:7307/Testing/App_for_testingTool/', + referrer: 'http://127.0.0.1:7307/Testing/', + initial_referrer: 'http://127.0.0.1:7307/Testing/', + 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: 590, innerHeight: 665 }, + traits: { + anonymousId: 'ea776ad0-3136-44fb-9216-5b1578609a2b', + userId: 'as09sufa09usaf09as0f9uasf', + id: 'as09sufa09usaf09as0f9uasf', + firstName: 'Bob', + lastName: 'Marley', + name: 'Bob Marley', + age: 43, + email: 'bob@marleymail.com', + phone: '+447748544123', + birthday: '1987-01-01T20:08:59+0000', + createdAt: '2022-01-21T14:10:12+0000', + address: '51,B.L.T road, Kolkata-700060', + description: 'I am great', + gender: 'male', + title: 'Founder', + username: 'bobm', + website: 'https://bobm.com', + randomProperty: 'randomValue', + }, + library: { name: 'RudderLabs JavaScript SDK', version: '1.1.18' }, + campaign: {}, + userAgent: + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36', + }, + rudderId: '294702c7-8732-4fb3-b39f-f3bdffe1aa88', + messageId: '0d5c1a4a-27e4-41da-a246-4d01f44e74bd', + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + properties: { foo: 'bar', $deviceId: 'nkasdnkasd' }, + anonymousId: '1dbb5784-b8e2-4074-8644-9920145b7ae5', + integrations: { All: true }, + originalTimestamp: '2021-09-30T07:15:23.523Z', + timestamp: '2012-09-30T07:15:23.523Z', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Event timestamp should be within last 5 years', + statTags: { + destType: 'MP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 34', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + apiSecret: 'some_api_secret', + dataResidency: 'eu', + }), + 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: 'track', + sentAt: '2020-03-12T09:05:13.042Z', + timestamp: '2018-03-12T09:05:03.421Z', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/import/', + headers: { + Authorization: 'Basic c29tZV9hcGlfc2VjcmV0Og==', + 'Content-Type': 'application/json', + }, + params: { strict: 0 }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"MainActivity","properties":{"name":"MainActivity","automatic":true,"anonymousId":"5094f5704b9cf2b3","userId":"test_user_id","$user_id":"test_user_id","$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":"dummyApiKey","distinct_id":"test_user_id","time":1520845503}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 35', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + apiSecret: 'some_api_secret', + }), + message: { + 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 }, + messageId: '79313729-7fe5-4204-963a-dc46f4205e4e', + originalTimestamp: '2020-01-24T06:29:02.366Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53711', + sentAt: '2020-01-24T06:29:02.366Z', + type: 'alias', + userId: '1234abc', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Either `previousId` or `anonymousId` should be present in alias payload', + statTags: { + destType: 'MP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 36', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + apiSecret: 'some_api_secret', + }), + message: { + 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 }, + messageId: '79313729-7fe5-4204-963a-dc46f4205e4e', + originalTimestamp: '2020-01-24T06:29:02.366Z', + receivedAt: '2020-01-24T11:59:02.403+05:30', + request_ip: '[::1]:53711', + sentAt: '2020-01-24T06:29:02.366Z', + type: 'test', + userId: '1234abc', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: "Event type 'test' is not supported", + statTags: { + destType: 'MP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 37', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: true, + }), + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + active: false, + 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: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$created":"2020-01-23T08:54:02.362Z","$email":"mickey@disney.com","$first_name":"Mickey","$last_name":"Mouse","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$name":"Mickey Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342,"$ignore_time":true}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 38', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: true, + }), + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + active: true, + 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: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$created":"2020-01-23T08:54:02.362Z","$email":"mickey@disney.com","$first_name":"Mickey","$last_name":"Mouse","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$name":"Mickey Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"e6ab2c5e-2cda-44a9-a962-e2f67df78bca","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 39', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + useNewMapping: true, + }), + 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', + }, + location: { geoSource: 'abc' }, + 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: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: '', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: "$geo_source value must be either null or 'reverse_geocoding' ", + statTags: { + destType: 'MP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 40', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + serviceAccountUserName: 'rudder.d2a3f1.mp-service-account', + serviceAccountSecret: 'jatpQxcjMh8eetk1xrH3KjQIbzy4iX8b', + projectId: '123456', + useNewMapping: true, + }), + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'web', + context: { + active: true, + 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: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: 'user1234', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$set":{"$created":"2020-01-23T08:54:02.362Z","$email":"mickey@disney.com","$first_name":"Mickey","$last_name":"Mouse","$country_code":"USA","$city":"Disney","$initial_referrer":"https://docs.rudderstack.com","$initial_referring_domain":"docs.rudderstack.com","$name":"Mickey Mouse","$browser":"Chrome","$browser_version":"79.0.3945.117"},"$token":"dummyApiKey","$distinct_id":"user1234","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'user1234', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/import/', + headers: { + 'Content-Type': 'application/json', + Authorization: + 'Basic cnVkZGVyLmQyYTNmMS5tcC1zZXJ2aWNlLWFjY291bnQ6amF0cFF4Y2pNaDhlZXRrMXhySDNLalFJYnp5NGlYOGI=', + }, + params: { project_id: '123456', strict: 0 }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"$merge","properties":{"$distinct_ids":["user1234","e6ab2c5e-2cda-44a9-a962-e2f67df78bca"],"token":"dummyApiKey"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'user1234', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 41', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Application Installed', + sentAt: '2022-09-05T07:46:26.322Z', + channel: 'mobile', + context: { + os: { name: 'Android', version: '12' }, + app: { + name: 'Sample Kotlin', + build: '4', + version: '1.0', + namespace: 'com.example.testapp1mg', + }, + device: { + id: '39da706ec83d0e90', + name: 'emu64a', + type: 'Android', + model: 'sdk_gphone64_arm64', + manufacturer: 'Google', + }, + locale: 'en-US', + screen: { width: 1440, height: 2984, density: 560 }, + traits: { anonymousId: '39da706ec83d0e90' }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.7.0' }, + network: { wifi: true, carrier: 'T-Mobile', cellular: true, bluetooth: true }, + timezone: 'Asia/Kolkata', + sessionId: 1662363980, + userAgent: 'Dalvik/2.1.0 (Linux; U; Android Tiramisu Build/TPP2.220218.008)', + sessionStart: true, + }, + rudderId: '3ef1dec3-d729-4830-a394-7b8be6819765', + messageId: '1662363980287-168cf720-6227-4b56-a98e-c49bdc7279e9', + properties: { build: 4, version: '1.0' }, + anonymousId: '39da706ec83d0e90', + integrations: { All: true }, + originalTimestamp: '2022-09-05T07:46:20.290Z', + }, + destination: overrideDestination(sampleDestination, { + apiSecret: 'dummyApiKey', + useNewMapping: true, + }), + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/import/', + headers: { + Authorization: 'Basic ZHVtbXlBcGlLZXk6', + 'Content-Type': 'application/json', + }, + params: { strict: 0 }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Application Installed","properties":{"build":4,"version":"1.0","anonymousId":"39da706ec83d0e90","$os":"Android","$screen_height":2984,"$screen_width":1440,"$screen_dpi":560,"$carrier":"T-Mobile","$os_version":"12","$device":"emu64a","$manufacturer":"Google","$model":"sdk_gphone64_arm64","mp_device_model":"sdk_gphone64_arm64","$wifi":true,"$bluetooth_enabled":true,"mp_lib":"com.rudderstack.android.sdk.core","$app_build_number":"4","$app_version_string":"1.0","$insert_id":"168cf720-6227-4b56-a98e-c49bdc7279e9","$session_id":"1662363980","token":"dummyApiKey","distinct_id":"39da706ec83d0e90","time":null}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '39da706ec83d0e90', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 42', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Application Opened', + sentAt: '2022-09-05T07:46:26.322Z', + channel: 'mobile', + context: { + os: { name: 'Android', version: '12' }, + app: { + name: 'Sample Kotlin', + build: '4', + version: '1.0', + namespace: 'com.example.testapp1mg', + }, + device: { + id: '39da706ec83d0e90', + name: 'emu64a', + type: 'Android', + model: 'sdk_gphone64_arm64', + manufacturer: 'Google', + }, + locale: 'en-US', + screen: { width: 1440, height: 2984, density: 560 }, + traits: { anonymousId: '39da706ec83d0e90' }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.7.0' }, + network: { wifi: true, carrier: 'T-Mobile', cellular: true, bluetooth: true }, + timezone: 'Asia/Kolkata', + sessionId: '1662363980', + userAgent: 'Dalvik/2.1.0 (Linux; U; Android Tiramisu Build/TPP2.220218.008)', + sessionStart: true, + }, + rudderId: '3ef1dec3-d729-4830-a394-7b8be6819765', + messageId: '1662363980287-168cf720-6227-4b56-a98e-c49bdc7279e9', + properties: { build: 4, version: '1.0' }, + anonymousId: '39da706ec83d0e90', + integrations: { All: true }, + originalTimestamp: '2022-09-05T07:46:20.290Z', + }, + destination: overrideDestination(sampleDestination, { + apiSecret: 'dummyApiKey', + useNewMapping: true, + }), + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/import/', + headers: { + Authorization: 'Basic ZHVtbXlBcGlLZXk6', + 'Content-Type': 'application/json', + }, + params: { strict: 0 }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Application Opened","properties":{"build":4,"version":"1.0","anonymousId":"39da706ec83d0e90","$os":"Android","$screen_height":2984,"$screen_width":1440,"$screen_dpi":560,"$carrier":"T-Mobile","$os_version":"12","$device":"emu64a","$manufacturer":"Google","$model":"sdk_gphone64_arm64","mp_device_model":"sdk_gphone64_arm64","$wifi":true,"$bluetooth_enabled":true,"mp_lib":"com.rudderstack.android.sdk.core","$app_build_number":"4","$app_version_string":"1.0","$insert_id":"168cf720-6227-4b56-a98e-c49bdc7279e9","$session_id":"1662363980","token":"dummyApiKey","distinct_id":"39da706ec83d0e90","time":null}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '39da706ec83d0e90', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 43', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + groupKeySettings: [{ groupKey: 'groupId' }], + }), + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'mobile', + name: 'Contact Us', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs Android 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', + }, + traits: { company: 'testComp', groupId: 'groupIdInTraits' }, + 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: 'group', + userId: 'hjikl', + groupId: 'testGroupId', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"dummyApiKey","$distinct_id":"hjikl","$set":{"groupId":["testGroupId"]},"$ip":"0.0.0.0"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/groups/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"dummyApiKey","$group_key":"groupId","$group_id":"testGroupId","$set":{"company":"testComp","groupId":"groupIdInTraits"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'hjikl', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 44', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: + 'Track: set device id and user id when simplified id merge api is selected', + destination: overrideDestination(sampleDestination, { + token: 'apiToken123', + identityMergeApi: 'simplified', + }), + 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' }, + 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: '2020-01-24T11:59:02.402+05:30', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Product Viewed","properties":{"name":"T-Shirt","$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":"apiToken123","distinct_id":"userId01","time":1579847342,"$device_id":"anonId01"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'userId01', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 45', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'Identify: skip merge event when simplified id merge api is selected', + destination: overrideDestination(sampleDestination, { + token: 'apiToken123', + identityMergeApi: 'simplified', + }), + 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: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + userId: 'userId01', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$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":"apiToken123","$distinct_id":"userId01","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'userId01', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 46', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: + 'Identify: append $device: to deviceId while creating the user when simplified id merge api is selected', + destination: overrideDestination(sampleDestination, { + apiKey: 'apiKey123', + token: 'apiToken123', + identityMergeApi: 'simplified', + }), + 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: '2020-01-24T11:59:02.402+05:30', + type: 'identify', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$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":"apiToken123","$distinct_id":"$device:anonId01","$ip":"0.0.0.0","$time":1579847342}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'anonId01', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 47', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'Unsupported alias call when simplified id merge api is selected', + destination: overrideDestination(sampleDestination, { + apiKey: 'apiKey123', + token: 'apiToken123', + identityMergeApi: 'simplified', + }), + 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 }, + 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', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: 'Alias call is deprecated in `Simplified ID merge`', + statTags: { + destType: 'MP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 48', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: + 'Track revenue event: set device id and user id when simplified id merge api is selected', + destination: overrideDestination(sampleDestination, { + apiKey: 'apiKey123', + token: 'apiToken123', + identityMergeApi: 'simplified', + }), + 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', + }, + 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', + }, + event: 'test revenue MIXPANEL', + integrations: { All: true }, + messageId: 'a6a0ad5a-bd26-4f19-8f75-38484e580fc7', + originalTimestamp: '2020-01-24T06:29:02.364Z', + properties: { currency: 'USD', revenue: 18.9 }, + 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: 'userId01', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$append":{"$transactions":{"$time":"2020-01-24T06:29:02.403Z","$amount":18.9}},"$token":"apiToken123","$distinct_id":"userId01"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'userId01', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"test revenue MIXPANEL","properties":{"currency":"USD","revenue":18.9,"city":"Disney","country":"USA","email":"mickey@disney.com","firstName":"Mickey","ip":"0.0.0.0","$user_id":"userId01","$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":"apiToken123","distinct_id":"userId01","time":1579847342,"$device_id":"anonId01","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'userId01', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 49', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'Page with anonymous user when simplified api is selected', + destination: overrideDestination(sampleDestination, { + apiKey: 'apiKey123', + token: 'apiToken123', + identityMergeApi: 'simplified', + }), + message: { + anonymousId: 'anonId01', + 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: '2020-01-24T11:59:02.402+05:30', + type: 'page', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/track/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Loaded a Page","properties":{"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":"dd266c67-9199-4a52-ba32-f46ddde67312","token":"apiToken123","distinct_id":"$device:anonId01","time":1579847342,"$device_id":"anonId01","name":"Contact Us","$browser":"Chrome","$browser_version":"79.0.3945.117"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'anonId01', + }, + statusCode: 200, + }, + ], + }, + }, + mockFns: () => { + defaultMockFns(); + }, + }, + { + name: 'mp', + description: 'Test 50', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'Group call with anonymous user when simplified api is selected', + destination: overrideDestination(sampleDestination, { + apiKey: 'apiKey123', + token: 'apiToken123', + identityMergeApi: 'simplified', + groupKeySettings: [{ groupKey: 'company' }], + }), + message: { + anonymousId: 'anonId01', + channel: 'mobile', + name: 'Contact Us', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs Android 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', + }, + traits: { company: 'testComp' }, + 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: 'group', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"apiToken123","$distinct_id":"$device:anonId01","$set":{"company":["testComp"]},"$ip":"0.0.0.0"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'anonId01', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/groups/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$token":"apiToken123","$group_key":"company","$group_id":"testComp","$set":{"company":"testComp"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'anonId01', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 51', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + destination: overrideDestination(sampleDestination, { + apiKey: 'apiKey123', + token: 'apiToken123', + identityMergeApi: 'simplified', + groupKeySettings: [{ groupKey: 'company' }], + }), + message: { + anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', + channel: 'mobile', + name: 'Contact Us', + context: { + app: { + build: '1.0.0', + name: 'RudderLabs Android 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', + }, + traits: {}, + 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: 'group', + userId: 'hjikl', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + 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: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 52', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Application Installed', + sentAt: '2022-09-05T07:46:26.322Z', + channel: 'mobile', + timestamp: '', + context: { + os: { name: 'Android', version: '12' }, + app: { + name: 'Sample Kotlin', + build: '4', + version: '1.0', + namespace: 'com.example.testapp1mg', + }, + device: { + id: '39da706ec83d0e90', + name: 'emu64a', + type: 'Android', + model: 'sdk_gphone64_arm64', + manufacturer: 'Google', + }, + locale: 'en-US', + screen: { width: 1440, height: 2984, density: 560 }, + traits: { anonymousId: '39da706ec83d0e90' }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.7.0' }, + network: { wifi: true, carrier: 'T-Mobile', cellular: true, bluetooth: true }, + timezone: 'Asia/Kolkata', + sessionId: 1662363980, + userAgent: 'Dalvik/2.1.0 (Linux; U; Android Tiramisu Build/TPP2.220218.008)', + sessionStart: true, + }, + rudderId: '3ef1dec3-d729-4830-a394-7b8be6819765', + messageId: '1662363980287-168cf720-6227-4b56-a98e-c49bdc7279e9', + properties: { build: 4, version: '1.0', revenue: 12.13 }, + anonymousId: '39da706ec83d0e90', + integrations: { All: true }, + originalTimestamp: '2022-09-05T07:46:20.290Z', + }, + destination: overrideDestination(sampleDestination, { + apiKey: 'dummyApiKey', + token: 'dummyApiKey', + apiSecret: 'dummyApiKey', + useNewMapping: true, + }), + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$append":{"$transactions":{"$time":"2022-09-05T07:46:20.290Z","$amount":12.13}},"$token":"dummyApiKey","$distinct_id":"39da706ec83d0e90"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '39da706ec83d0e90', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/import/', + headers: { + Authorization: 'Basic ZHVtbXlBcGlLZXk6', + 'Content-Type': 'application/json', + }, + params: { strict: 0 }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Application Installed","properties":{"build":4,"version":"1.0","revenue":12.13,"anonymousId":"39da706ec83d0e90","$os":"Android","$screen_height":2984,"$screen_width":1440,"$screen_dpi":560,"$carrier":"T-Mobile","$os_version":"12","$device":"emu64a","$manufacturer":"Google","$model":"sdk_gphone64_arm64","mp_device_model":"sdk_gphone64_arm64","$wifi":true,"$bluetooth_enabled":true,"mp_lib":"com.rudderstack.android.sdk.core","$app_build_number":"4","$app_version_string":"1.0","$insert_id":"168cf720-6227-4b56-a98e-c49bdc7279e9","$session_id":"1662363980","token":"dummyApiKey","distinct_id":"39da706ec83d0e90","time":null}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '39da706ec83d0e90', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 53', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + message: { + type: 'track', + event: 'Application Installed', + sentAt: '2022-09-05T07:46:26.322Z', + channel: 'mobile', + timestamp: 'safaff', + context: { + os: { name: 'Android', version: '12' }, + app: { + name: 'Sample Kotlin', + build: '4', + version: '1.0', + namespace: 'com.example.testapp1mg', + }, + device: { + id: '39da706ec83d0e90', + name: 'emu64a', + type: 'Android', + model: 'sdk_gphone64_arm64', + manufacturer: 'Google', + }, + locale: 'en-US', + screen: { width: 1440, height: 2984, density: 560 }, + traits: { anonymousId: '39da706ec83d0e90' }, + library: { name: 'com.rudderstack.android.sdk.core', version: '1.7.0' }, + network: { wifi: true, carrier: 'T-Mobile', cellular: true, bluetooth: true }, + timezone: 'Asia/Kolkata', + sessionId: 1662363980, + userAgent: 'Dalvik/2.1.0 (Linux; U; Android Tiramisu Build/TPP2.220218.008)', + sessionStart: true, + }, + rudderId: '3ef1dec3-d729-4830-a394-7b8be6819765', + messageId: '1662363980287-168cf720-6227-4b56-a98e-c49bdc7279e9', + properties: { build: 4, version: '1.0', revenue: 23.45 }, + anonymousId: '39da706ec83d0e90', + integrations: { All: true }, + originalTimestamp: '2022-09-05T07:46:20.290Z', + }, + destination: overrideDestination(sampleDestination, { + apiKey: 'dummyApiKey', + token: 'dummyApiKey', + apiSecret: 'dummyApiKey', + useNewMapping: true, + }), + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$append":{"$transactions":{"$time":"2022-09-05T07:46:20.290Z","$amount":23.45}},"$token":"dummyApiKey","$distinct_id":"39da706ec83d0e90"}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '39da706ec83d0e90', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api.mixpanel.com/import/', + headers: { + Authorization: 'Basic ZHVtbXlBcGlLZXk6', + 'Content-Type': 'application/json', + }, + params: { strict: 0 }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"Application Installed","properties":{"build":4,"version":"1.0","revenue":23.45,"anonymousId":"39da706ec83d0e90","$os":"Android","$screen_height":2984,"$screen_width":1440,"$screen_dpi":560,"$carrier":"T-Mobile","$os_version":"12","$device":"emu64a","$manufacturer":"Google","$model":"sdk_gphone64_arm64","mp_device_model":"sdk_gphone64_arm64","$wifi":true,"$bluetooth_enabled":true,"mp_lib":"com.rudderstack.android.sdk.core","$app_build_number":"4","$app_version_string":"1.0","$insert_id":"168cf720-6227-4b56-a98e-c49bdc7279e9","$session_id":"1662363980","token":"dummyApiKey","distinct_id":"39da706ec83d0e90","time":null}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: '39da706ec83d0e90', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 54', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'Track: with strict mode enabled', + destination: overrideDestination(sampleDestination, { + apiKey: 'dummyApiKey', + token: 'dummyApiKey', + apiSecret: 'some_api_secret', + dataResidency: 'eu', + strictMode: true, + }), + 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', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/engage/', + headers: {}, + params: {}, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"$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":"dummyApiKey","$distinct_id":"test_user_id","$time":null}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + { + output: { + version: '1', + type: 'REST', + method: 'POST', + endpoint: 'https://api-eu.mixpanel.com/import/', + headers: { + Authorization: 'Basic c29tZV9hcGlfc2VjcmV0Og==', + 'Content-Type': 'application/json', + }, + params: { strict: 1 }, + body: { + JSON: {}, + JSON_ARRAY: { + batch: + '[{"event":"$merge","properties":{"$distinct_ids":["test_user_id","5094f5704b9cf2b3"],"token":"dummyApiKey"}}]', + }, + XML: {}, + FORM: {}, + }, + files: {}, + userId: 'test_user_id', + }, + statusCode: 200, + }, + ], + }, + }, + }, + { + name: 'mp', + description: 'Test 55', + feature: 'processor', + module: 'destination', + version: 'v0', + input: { + request: { + body: [ + { + description: 'Alias: with same previousId and userId', + destination: sampleDestination, + message: { + anonymousId: 'test_anonymous_id', + 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', + lastname: 'Mickey', + firstName: 'Mouse', + }, + 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: '79313729-7fe5-4204-963a-dc46f4205e4e', + originalTimestamp: '2020-01-24T06:29:02.366Z', + 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_user_id', + previousId: 'test_user_id', + }, + }, + ], + method: 'POST', + }, + pathSuffix: '', + }, + output: { + response: { + status: 200, + body: [ + { + error: 'One of `previousId` or `anonymousId` is same as `userId`. Aborting', + statTags: { + destType: 'MP', + errorCategory: 'dataValidation', + errorType: 'instrumentation', + feature: 'processor', + implementation: 'native', + module: 'destination', + }, + statusCode: 400, + }, + ], + }, + }, + }, +]; diff --git a/test/integrations/destinations/mp/router/data.ts b/test/integrations/destinations/mp/router/data.ts new file mode 100644 index 0000000000..389e19b047 --- /dev/null +++ b/test/integrations/destinations/mp/router/data.ts @@ -0,0 +1,880 @@ +import { overrideDestination } from '../../../testUtils'; +import { sampleDestination } from '../common'; + +export const data = [ + { + name: 'mp', + description: 'Test 0', + 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: [], + }, + }, + ], + }, + }, + }, + }, +]; diff --git a/test/integrations/testUtils.ts b/test/integrations/testUtils.ts index 8511ac41f4..92cffadcf2 100644 --- a/test/integrations/testUtils.ts +++ b/test/integrations/testUtils.ts @@ -65,3 +65,9 @@ export const addMock = (mock: MockAdapter, axiosMock: MockHttpCallsData) => { break; } }; + +export const overrideDestination = (destination, overrideConfigValues) => { + return Object.assign({}, destination, { + Config: { ...destination.Config, ...overrideConfigValues }, + }); +}; From d4cac268193e0db9540f95c7aab39157d70765c1 Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Wed, 4 Oct 2023 15:21:59 +0530 Subject: [PATCH 025/104] fix(garl): partial failure handling (#2666) * fix(garl): partial failure handling * chore: code review changes * chore: es-lint fix --- .../networkHandler.js | 37 +++++++++++++++++-- .../proxy_response.json | 3 +- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js b/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js index 979f263fcc..563e8b80a6 100644 --- a/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js +++ b/src/v0/destinations/google_adwords_remarketing_lists/networkHandler.js @@ -99,20 +99,34 @@ const gaAudienceProxyRequest = async (request) => { // step1: offlineUserDataJobs creation const firstResponse = await createJob(endpoint, customerId, listId, headers, method); - if (!firstResponse.success && !isHttpStatusSuccess(firstResponse?.response?.response?.status)) { + if (!firstResponse.success && !isHttpStatusSuccess(firstResponse?.response?.status)) { return firstResponse; } + if (isHttpStatusSuccess(firstResponse?.response?.status)) { + const { partialFailureError } = firstResponse.response.data; + if (partialFailureError && partialFailureError.code !== 0) { + return firstResponse; + } + } + // step2: putting users into the job let jobId; if (firstResponse?.response?.data?.resourceName) // eslint-disable-next-line prefer-destructuring jobId = firstResponse.response.data.resourceName.split('/')[3]; const secondResponse = await addUserToJob(endpoint, headers, method, jobId, body); - if (!secondResponse.success && !isHttpStatusSuccess(secondResponse?.response?.response?.status)) { + if (!secondResponse.success && !isHttpStatusSuccess(secondResponse?.response?.status)) { return secondResponse; } + if (isHttpStatusSuccess(secondResponse?.response?.status)) { + const { partialFailureError } = secondResponse.response.data; + if (partialFailureError && partialFailureError.code !== 0) { + return secondResponse; + } + } + // step3: running the job const thirdResponse = await runTheJob(endpoint, headers, method, jobId); return thirdResponse; @@ -136,8 +150,25 @@ const gaAudienceRespHandler = (destResponse, stageMsg) => { const responseHandler = (destinationResponse) => { const message = `Request Processed Successfully`; - const { status } = destinationResponse; + const { status, response } = destinationResponse; if (isHttpStatusSuccess(status)) { + // for google ads offline conversions the partialFailureError returns with status 200 + const { partialFailureError } = response; + // non-zero code signifies partialFailure + // Ref - https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto + if (partialFailureError && partialFailureError.code !== 0) { + throw new NetworkError( + `[Google Ads Re-marketing Lists]:: partialFailureError - ${JSON.stringify( + partialFailureError, + )}`, + 400, + { + [tags.TAG_NAMES.ERROR_TYPE]: getDynamicErrorType(400), + }, + partialFailureError, + ); + } + // Mostly any error will not have a status of 2xx return { status, diff --git a/test/__mocks__/data/google_adwords_remarketing_lists/proxy_response.json b/test/__mocks__/data/google_adwords_remarketing_lists/proxy_response.json index 246ba7f9fb..5d3ac9496b 100644 --- a/test/__mocks__/data/google_adwords_remarketing_lists/proxy_response.json +++ b/test/__mocks__/data/google_adwords_remarketing_lists/proxy_response.json @@ -6,7 +6,8 @@ } }, "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs/18025019461:addOperations": { - "status": 200 + "status": 200, + "data": {} }, "https://googleads.googleapis.com/v14/customers/7693729833/offlineUserDataJobs/18025019461:run": { "status": 200 From cbe333a9e4eea7088bfe46a2aaf09d489a7bc7c7 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Thu, 5 Oct 2023 12:48:34 +0530 Subject: [PATCH 026/104] fix: criteo_aud auth_token expire code incorporated (#2687) * fix: criteo_aud auth_token expire code incorporated * test cases added --- .../criteo_audience/networkHandler.js | 6 +++- .../data/criteo_audience/proxy_response.json | 17 +++++++++ .../data/criteo_audience_proxy_input.json | 35 +++++++++++++++++++ .../data/criteo_audience_proxy_output.json | 32 +++++++++++++++-- 4 files changed, 87 insertions(+), 3 deletions(-) diff --git a/src/v0/destinations/criteo_audience/networkHandler.js b/src/v0/destinations/criteo_audience/networkHandler.js index 83cde5028f..f4369cdc9e 100644 --- a/src/v0/destinations/criteo_audience/networkHandler.js +++ b/src/v0/destinations/criteo_audience/networkHandler.js @@ -26,7 +26,11 @@ const criteoAudienceRespHandler = (destResponse, stageMsg) => { // https://developers.criteo.com/marketing-solutions/docs/api-error-types#error-category-types // to handle the case when authorization-token is invalid - if (status === 401 && matchErrorCode('authorization-token-invalid', response)) { + if ( + status === 401 && + (matchErrorCode('authorization-token-invalid', response) || + matchErrorCode('authorization-token-expired', response)) + ) { throw new NetworkError( `${response?.errors[0]?.title} ${stageMsg}`, status, diff --git a/test/__mocks__/data/criteo_audience/proxy_response.json b/test/__mocks__/data/criteo_audience/proxy_response.json index 0950419ea7..a16dbf26cd 100644 --- a/test/__mocks__/data/criteo_audience/proxy_response.json +++ b/test/__mocks__/data/criteo_audience/proxy_response.json @@ -2,6 +2,23 @@ "https://api.criteo.com/2022-10/audiences/34894/contactlist": { "status": 200 }, + "https://api.criteo.com/2022-10/audiences/3485/contactlist": { + "code": "400", + "response": { + "data": { + "errors": [ + { + "traceIdentifier": "80a1a0ba3981b04da847d05700752c77", + "type": "authorization", + "code": "authorization-token-expired", + "instance": "/2022-10/audiences/123/contactlist", + "title": "The authorization token has expired" + } + ] + }, + "status": 401 + } + }, "https://api.criteo.com/2022-10/audiences/34895/contactlist": { "code": "400", "response": { diff --git a/test/__tests__/data/criteo_audience_proxy_input.json b/test/__tests__/data/criteo_audience_proxy_input.json index 84f15fc470..acecfa4389 100644 --- a/test/__tests__/data/criteo_audience_proxy_input.json +++ b/test/__tests__/data/criteo_audience_proxy_input.json @@ -33,6 +33,41 @@ "destination": "criteo_audience" } }, + { + "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" + } + }, { "version": "1", "type": "REST", diff --git a/test/__tests__/data/criteo_audience_proxy_output.json b/test/__tests__/data/criteo_audience_proxy_output.json index 0508ec9632..a564d497cb 100644 --- a/test/__tests__/data/criteo_audience_proxy_output.json +++ b/test/__tests__/data/criteo_audience_proxy_output.json @@ -1,5 +1,5 @@ [ - { +{ "output": { "status": 200, "message": "Request Processed Successfully", @@ -9,6 +9,34 @@ } } }, + { + "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" + } + } + }, { "output": { "status": 401, @@ -48,7 +76,7 @@ "traceIdentifier": "80a1a0ba3981b04da847d05700752c77", "type": "authorization" } - ] +] }, "status": 404 }, From e37d6938aa6d74685a99fd417e2b96b79619f001 Mon Sep 17 00:00:00 2001 From: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Date: Thu, 5 Oct 2023 15:43:21 +0530 Subject: [PATCH 027/104] fix: main into develop conflicts (#2686) * fix(dm): updated the stats definition for the tracking plan service * fix(iterable): event id mapping (#2659) * chore(release): 1.43.1 * chore: update release owners (#2661) chore: update release stakeholder * chore(release): pull release/v1.44.0 into main (#2672) * fix(mixpanel): batch event ordering (#2608) * fix: bqstream event ordering fix (#2624) * fix: bqstream event ordering fix * fix: review comments addressed * fix: importing the common util function * fix: putting both error and successful events logic back * fix: test cases addition and code clean up * fix: code clean up * fix: resolving sonar error * fix: removing network handler for bqstream * fix: refactor process router dest * fix: use promise for prompts in personalize create tracking script (#2635) * fix(snyk): snyk updated versions merged to oen pr * chore: add ttl values for cache (#2593) * fix(hubspot): add validation for hubspotEvents (#2643) * fix: add optional chaining for error message in network handler of Intercom (#2648) fix bugsnag issue * fix(snyk): removed the new added dependencies * fix(snyk): removed aws-sdk dependency * feat: add circular reference check in flattern json (#2650) * chore: update fb_error message for invalid type of property value (#2656) fix: fb_error message for invalid type of property value * feat(iterable): user deletion support (#2621) * feat(iterable): user deletion support * feat(iterable): user deletion improvements * chore: added comments * feat(gaec): partial failures handling (#2631) * chore: partial failure handling * chore: code review changes * chore: move unit tests to correct place for mssql and postgres (#2657) * chore: move unit tests to correct place for mssql and postgres * chore: replace var to const * chore: replace var to const * feat: add axios mocking to component test-suite (#2638) * feat: tslint rules enable (#2604) * feat: remove eslint issues * fix: fixed es-lint tests * fix: merge conflicts * fix: add auth status inactive category handling to GA in userDeletion flow (#2669) * fix: refactor adjust using optional chaining (#2671) fix: refactor adj using opitonal chaining * chore(release): pull main into develop post release v1.43.1 (#2662) * fix(dm): updated the stats definition for the tracking plan service * fix(iterable): event id mapping (#2659) * chore(release): 1.43.1 * chore: update release owners (#2661) chore: update release stakeholder --------- Co-authored-by: Abhimanyu Babbar Co-authored-by: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Co-authored-by: GitHub Actions Co-authored-by: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> * chore(release): 1.44.0 * feat(ga4): added support of filter user traits (#2679) * fix: add optional chaining for traits (#2677) * fix: add optional chaing for traits * update changelog * feat: geolocation support for python transformations (#2678) * feat: geolocation support for python transformations * chore: updating changelog --------- Co-authored-by: Anant Jain <62471433+anantjain45823@users.noreply.github.com> * update changelog * Update CHANGELOG.md --------- Co-authored-by: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Co-authored-by: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Co-authored-by: Dilip Kola <33080863+koladilip@users.noreply.github.com> Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> Co-authored-by: Sanjay <71065320+Sanjay-Veernala@users.noreply.github.com> Co-authored-by: Siva Shanmukh Vetcha Co-authored-by: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Co-authored-by: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Co-authored-by: Sankeerth Co-authored-by: AASHISH MALIK Co-authored-by: Anant Jain <62471433+anantjain45823@users.noreply.github.com> Co-authored-by: Abhimanyu Babbar Co-authored-by: GitHub Actions Co-authored-by: Jayachand Co-authored-by: Anant Jain --------- Co-authored-by: Abhimanyu Babbar Co-authored-by: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Co-authored-by: GitHub Actions Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> Co-authored-by: devops-github-rudderstack <88187154+devops-github-rudderstack@users.noreply.github.com> Co-authored-by: Gauravudia <60897972+Gauravudia@users.noreply.github.com> Co-authored-by: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Co-authored-by: Dilip Kola <33080863+koladilip@users.noreply.github.com> Co-authored-by: Sanjay <71065320+Sanjay-Veernala@users.noreply.github.com> Co-authored-by: Siva Shanmukh Vetcha Co-authored-by: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Co-authored-by: Sankeerth Co-authored-by: AASHISH MALIK Co-authored-by: Jayachand --- CHANGELOG.md | 27 +++ package-lock.json | 4 +- package.json | 2 +- src/util/openfaas/index.js | 4 + src/v0/destinations/clevertap/transform.js | 2 +- src/v0/destinations/ga4/transform.js | 6 +- src/v0/destinations/ga4/utils.js | 36 ++- src/v0/destinations/ga4/utils.test.js | 252 ++++++++++++++++++++- test/__tests__/data/clevertap_input.json | 91 ++++++-- test/__tests__/data/clevertap_output.json | 81 +++++-- test/integrations/testUtils.ts | 1 - 11 files changed, 447 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 509ddabe0a..621c6709bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,33 @@ 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.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.43.1...v1.44.0) (2023-09-29) + + +### Features + +* add geolocation support for python transformations ([#2678](https://github.com/rudderlabs/rudder-transformer/issues/2678)) ([b688c4a](https://github.com/rudderlabs/rudder-transformer/commit/b688c4a6889250bacfd2a81c9de8a1436281daa9)) +* 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)) +* **iterable:** user deletion support ([#2621](https://github.com/rudderlabs/rudder-transformer/issues/2621)) ([c0ab19a](https://github.com/rudderlabs/rudder-transformer/commit/c0ab19a293a72ea0a7575b863356aea9a0e6762f)) +* tslint rules enable ([#2604](https://github.com/rudderlabs/rudder-transformer/issues/2604)) ([4d6c4b8](https://github.com/rudderlabs/rudder-transformer/commit/4d6c4b834de005484dc1099a52c69ab6212273e8)) + + +### Bug Fixes +* add optional chaining for traits ([#2677](https://github.com/rudderlabs/rudder-transformer/issues/2677)) ([b80bfbc](https://github.com/rudderlabs/rudder-transformer/commit/b80bfbc8a6afdef57ad5f2560bb803c8e00bcbfc)) +* 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)) +* bqstream event ordering fix ([#2624](https://github.com/rudderlabs/rudder-transformer/issues/2624)) ([e97e7ca](https://github.com/rudderlabs/rudder-transformer/commit/e97e7caed20ffb007f1c543e15c15c6e89e2dfb7)) +* **hubspot:** add validation for hubspotEvents ([#2643](https://github.com/rudderlabs/rudder-transformer/issues/2643)) ([b49d0ee](https://github.com/rudderlabs/rudder-transformer/commit/b49d0ee576f55e5f95e3d02b7111e995fc9b8ada)) +* **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)) +* **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.43.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.43.0...v1.43.1) (2023-09-26) diff --git a/package-lock.json b/package-lock.json index 944b00860c..895ec6c211 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.43.1", + "version": "1.44.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.43.1", + "version": "1.44.0", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index ddb20fe411..8f23db4f7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.43.1", + "version": "1.44.0", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { diff --git a/src/util/openfaas/index.js b/src/util/openfaas/index.js index 1b3e531ceb..60ad316e1b 100644 --- a/src/util/openfaas/index.js +++ b/src/util/openfaas/index.js @@ -20,6 +20,7 @@ const FAAS_MAX_INFLIGHT = process.env.FAAS_MAX_INFLIGHT || '4'; const FAAS_EXEC_TIMEOUT = process.env.FAAS_EXEC_TIMEOUT || '4s'; const FAAS_ENABLE_WATCHDOG_ENV_VARS = process.env.FAAS_ENABLE_WATCHDOG_ENV_VARS || 'true'; const CONFIG_BACKEND_URL = process.env.CONFIG_BACKEND_URL || 'https://api.rudderlabs.com'; +const GEOLOCATION_URL = process.env.GEOLOCATION_URL || ''; const FAAS_AST_VID = 'ast'; const FAAS_AST_FN_NAME = 'fn-ast'; @@ -128,6 +129,9 @@ const deployFaasFunction = async (functionName, code, versionId, libraryVersionI envVars.max_inflight = FAAS_MAX_INFLIGHT; envVars.exec_timeout = FAAS_EXEC_TIMEOUT; } + if (GEOLOCATION_URL) { + envVars.geolocation_url = GEOLOCATION_URL; + } // TODO: investigate and add more required labels and annotations const payload = { service: functionName, diff --git a/src/v0/destinations/clevertap/transform.js b/src/v0/destinations/clevertap/transform.js index 7ce864aae2..e3d9ca1083 100644 --- a/src/v0/destinations/clevertap/transform.js +++ b/src/v0/destinations/clevertap/transform.js @@ -232,7 +232,7 @@ const getClevertapProfile = (message, category) => { if (message.traits?.overrideFields) { const { overrideFields } = message.traits; Object.assign(profile, overrideFields); - } else if (message.context.traits?.overrideFields) { + } else if (message.context?.traits?.overrideFields) { const { overrideFields } = message.context.traits; Object.assign(profile, overrideFields); } diff --git a/src/v0/destinations/ga4/transform.js b/src/v0/destinations/ga4/transform.js index dc89927085..d1d0790fa9 100644 --- a/src/v0/destinations/ga4/transform.js +++ b/src/v0/destinations/ga4/transform.js @@ -106,7 +106,7 @@ const responseBuilder = (message, { Config }) => { } break; default: - throw ConfigurationError('Invalid type of client'); + throw new ConfigurationError('Invalid type of client'); } let payload = {}; @@ -119,7 +119,7 @@ const responseBuilder = (message, { Config }) => { payload.name = evConfigEvent; payload.params = constructPayload(message, mappingConfig[name]); - const { items, mapRootLevelPropertiesToGA4ItemsArray } = getItemsArray(message, item, itemList) + const { items, mapRootLevelPropertiesToGA4ItemsArray } = getItemsArray(message, item, itemList); if (items.length > 0) { payload.params.items = items; @@ -233,7 +233,7 @@ const responseBuilder = (message, { Config }) => { } // Prepare GA4 user properties - const userProperties = prepareUserProperties(message); + const userProperties = prepareUserProperties(message, Config.piiPropertiesToIgnore); if (!isEmptyObject(userProperties)) { rawPayload.user_properties = userProperties; } diff --git a/src/v0/destinations/ga4/utils.js b/src/v0/destinations/ga4/utils.js index 4bb35e3fdd..d356300ff7 100644 --- a/src/v0/destinations/ga4/utils.js +++ b/src/v0/destinations/ga4/utils.js @@ -166,13 +166,15 @@ const GA4_ITEM_EXCLUSION = [ ]; /** - * Remove arrays and objects from transformed payload - * @param {*} params - * @returns + * Remove arrays and objects from transformed payload + * @param {*} params + * @returns */ const removeInvalidParams = (params) => Object.fromEntries( - Object.entries(params).filter(([key, value]) => key === 'items' || (typeof value !== 'object' && !isEmpty(value))), + Object.entries(params).filter( + ([key, value]) => key === 'items' || (typeof value !== 'object' && !isEmpty(value)), + ), ); /** @@ -244,10 +246,10 @@ const getItem = (message, isItemsRequired) => { /** * Returns items array for ga4 event payload - * @param {*} message - * @param {*} item - * @param {*} itemList - * @returns + * @param {*} message + * @param {*} item + * @param {*} itemList + * @returns */ const getItemsArray = (message, item, itemList) => { let items = []; @@ -269,7 +271,7 @@ const getItemsArray = (message, item, itemList) => { } return { items, mapRootLevelPropertiesToGA4ItemsArray }; -} +}; /** * get exclusion list for a particular event * ga4ExclusionList contains the sourceKeys that are already mapped @@ -398,13 +400,25 @@ const isValidUserProperty = (key, value) => { /** * Function to validate and prepare user_properties * @param {*} message + * @param {*} piiPropertiesToIgnore + * @returns */ -const prepareUserProperties = (message) => { +const prepareUserProperties = (message, piiPropertiesToIgnore = []) => { + // Exclude PII user traits + const piiProperties = []; + if (piiPropertiesToIgnore.length > 0) { + piiPropertiesToIgnore.forEach((property) => { + if (typeof property.piiProperty === 'string' && property.piiProperty.trim() !== '') { + piiProperties.push(property.piiProperty.trim()); + } + }); + } + const userProperties = extractCustomFields( message, {}, ['properties.user_properties', 'context.traits'], - GA4_RESERVED_USER_PROPERTY_EXCLUSION, + [...GA4_RESERVED_USER_PROPERTY_EXCLUSION, ...piiProperties], ); const validatedUserProperties = Object.entries(userProperties) diff --git a/src/v0/destinations/ga4/utils.test.js b/src/v0/destinations/ga4/utils.test.js index a39fef6f5e..7826c23d35 100644 --- a/src/v0/destinations/ga4/utils.test.js +++ b/src/v0/destinations/ga4/utils.test.js @@ -2,7 +2,7 @@ const { validateEventName, prepareUserProperties, removeInvalidParams } = requir const userPropertyData = [ { - description: "Should validate and prepare user_properties", + description: 'Should validate and prepare user_properties', input: { userId: 'user@1', group_id: 'group@1', @@ -163,6 +163,256 @@ describe('Google Analytics 4 utils test', () => { }); describe('prepareUserProperties function tests', () => { + // Empty message and context returns empty object + it('should return empty object when message and context are empty', () => { + // Arrange + const message = {}; + const context = {}; + + // Act + const result = prepareUserProperties(message, []); + + // Assert + expect(result).toEqual({}); + }); + + // Filters out reserved and PII properties + it('should filter out reserved and PII properties', () => { + // Arrange + const message = { + context: { + traits: { + property3: 'value3', + property4: 'value4', + pii_property3: 'pii_value3', + pii_property4: 'pii_value4', + }, + }, + properties: { + user_properties: { + property1: 'value1', + property2: 'value2', + pii_property1: 'pii_value1', + pii_property2: 'pii_value2', + }, + }, + }; + + const piiPropertiesToIgnore = [ + { piiProperty: 'pii_property1' }, + { piiProperty: 'pii_property2' }, + { piiProperty: 'pii_property3' }, + { piiProperty: 'pii_property4' }, + ]; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + property1: { value: 'value1' }, + property2: { value: 'value2' }, + property3: { value: 'value3' }, + property4: { value: 'value4' }, + }); + }); + + // Validates user properties and returns them in expected format + it('should validate user properties and return them in expected format', () => { + // Arrange + const message = { + context: { + traits: { + valid_property3: 'value3', + _invalid_property3: '12_invalid_value3', + valid_property4: 'value4', + invalid_property4: [], + }, + }, + properties: { + user_properties: { + valid_property1: 'value1', + '12invalid_property1': 'ga_invalid_value1', + valid_property2: 'value2', + ga_invalid_property2: 'google_invalid_value2', + }, + }, + }; + // Act + const result = prepareUserProperties(message, []); + + // Assert + expect(result).toEqual({ + valid_property1: { value: 'value1' }, + valid_property2: { value: 'value2' }, + valid_property3: { value: 'value3' }, + valid_property4: { value: 'value4' }, + }); + }); + + // Invalid user properties are filtered out + + // User properties with invalid value types are filtered out + it('should filter out user properties with invalid value types', () => { + // Arrange + const message = { + context: { + traits: { + valid_property3: 'value3', + invalid_property3: { 456: 'value3' }, + valid_property4: 'value4', + invalid_property4: '01234567890123456789012345678901234567890123456789', + }, + }, + properties: { + user_properties: { + valid_property1: 'value1', + invalid_property1: [123, 456], + valid_property2: 'value2', + }, + }, + }; + + // Act + const result = prepareUserProperties(message, []); + + // Assert + expect(result).toEqual({ + valid_property1: { value: 'value1' }, + valid_property2: { value: 'value2' }, + valid_property3: { value: 'value3' }, + valid_property4: { value: 'value4' }, + }); + }); + + // PII properties are filtered out + it('should filter out PII properties from user_properties', () => { + // Arrange + const message = { + properties: { + user_properties: { + property1: 'value1', + property2: 'value2', + pii_property1: 'pii_value1', + pii_property2: 'pii_value2', + }, + }, + }; + const piiPropertiesToIgnore = [ + { piiProperty: 'pii_property1' }, + { piiProperty: 'pii_property2' }, + ]; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + property1: { value: 'value1' }, + property2: { value: 'value2' }, + }); + }); + + // PII properties are undefined + it('should return undefined when user_properties is undefined', () => { + // Arrange + const message = { + properties: { + user_properties: { + property1: 'value1', + property2: 'value2', + pii_property1: 'pii_value1', + pii_property2: 'pii_value2', + }, + }, + }; + const piiPropertiesToIgnore = undefined; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + pii_property1: { value: 'pii_value1' }, + pii_property2: { value: 'pii_value2' }, + property1: { value: 'value1' }, + property2: { value: 'value2' }, + }); + }); + + // User properties with valid keys and values are returned in expected format + it('should return user properties with valid keys and values in expected format', () => { + // Arrange + const message = { + properties: { + user_properties: { + property1: 'value1', + property2: 'value2', + }, + }, + }; + + // Act + const result = prepareUserProperties(message, []); + + // Assert + expect(result).toEqual({ + property1: { value: 'value1' }, + property2: { value: 'value2' }, + }); + }); + + // User properties with valid keys but invalid values are filtered out + it('should filter out user properties with invalid values', () => { + // Arrange + const message = { + properties: { + user_properties: { + validKey1: 'validValue1', + validKey2: 'validValue2', + invalidKey1: '', + invalidKey2: + 'invalidValueThatIsTooLongInvalidValueThatIsTooLongInvalidValueThatIsTooLongInvalidValueThatIsTooLong', + validKey4: true, + }, + }, + }; + const piiPropertiesToIgnore = []; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + validKey1: { value: 'validValue1' }, + validKey2: { value: 'validValue2' }, + validKey4: { value: true }, + }); + }); + // User properties with keys starting with reserved prefixes are filtered out + it('should filter out user properties with keys starting with reserved prefixes', () => { + // Arrange + const message = { + properties: { + user_properties: { + google_property: 'value1', + ga_property: 'value2', + firebase_property: 'value3', + valid_property: 'value4', + }, + }, + }; + const piiPropertiesToIgnore = []; + + // Act + const result = prepareUserProperties(message, piiPropertiesToIgnore); + + // Assert + expect(result).toEqual({ + valid_property: { value: 'value4' }, + }); + }); + userPropertyData.forEach((dataPoint) => { it(`${dataPoint.description}`, () => { try { diff --git a/test/__tests__/data/clevertap_input.json b/test/__tests__/data/clevertap_input.json index e8aaa4b528..e0bb1241e2 100644 --- a/test/__tests__/data/clevertap_input.json +++ b/test/__tests__/data/clevertap_input.json @@ -2,7 +2,56 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", + "accountId": "476550467", + "trackAnonymous": true, + "enableObjectIdMapping": false + } + }, + "message": { + "channel": "web", + "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", + "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": { + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -65,7 +114,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -91,7 +140,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -116,7 +165,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -139,7 +188,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -161,7 +210,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -184,7 +233,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -279,7 +328,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": false, "enableObjectIdMapping": false @@ -302,7 +351,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -365,7 +414,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -428,7 +477,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -499,7 +548,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -566,7 +615,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -587,7 +636,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -608,7 +657,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -682,7 +731,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -750,7 +799,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true @@ -772,7 +821,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -850,7 +899,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -930,7 +979,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": false @@ -1015,7 +1064,7 @@ { "destination": { "Config": { - "passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "passcode": "sample_passcode", "accountId": "476550467", "trackAnonymous": true, "enableObjectIdMapping": true diff --git a/test/__tests__/data/clevertap_output.json b/test/__tests__/data/clevertap_output.json index fc6a4ee2c3..947cc2da21 100644 --- a/test/__tests__/data/clevertap_output.json +++ b/test/__tests__/data/clevertap_output.json @@ -6,7 +6,52 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", + "Content-Type": "application/json" + }, + "params": {}, + "body": { + "JSON": { + "d": [ + { + "type": "profile", + "profileData": { + "Email": "jamesDoe@gmail.com", + "Name": "James Doe", + "Phone": "92374162212", + "Gender": "M", + "Employed": true, + "DOB": "1614775793", + "Education": "Science", + "Married": true, + "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": {} + }, + { + "version": "1", + "type": "REST", + "method": "POST", + "endpoint": "https://api.clevertap.com/1/upload", + "headers": { + "X-CleverTap-Account-Id": "476550467", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -69,7 +114,7 @@ "params": {}, "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "version": "1", @@ -99,7 +144,7 @@ "params": {}, "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "version": "1", @@ -130,7 +175,7 @@ "params": {}, "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "version": "1", @@ -149,7 +194,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -212,7 +257,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -257,7 +302,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -302,7 +347,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -334,7 +379,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -365,7 +410,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -414,7 +459,7 @@ "params": {}, "headers": { "Content-Type": "application/json", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "X-CleverTap-Account-Id": "476550467" }, "version": "1", @@ -445,7 +490,7 @@ "params": {}, "headers": { "Content-Type": "application/json", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "X-CleverTap-Account-Id": "476550467" }, "version": "1", @@ -458,7 +503,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -505,7 +550,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -537,7 +582,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -585,7 +630,7 @@ "params": {}, "headers": { "Content-Type": "application/json", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "X-CleverTap-Account-Id": "476550467" }, "version": "1", @@ -598,7 +643,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, @@ -645,7 +690,7 @@ "endpoint": "https://api.clevertap.com/1/upload", "headers": { "X-CleverTap-Account-Id": "476550467", - "X-CleverTap-Passcode": "fbee74a147828e2932c701d19dc1f2dcfa4ac0048be3aa3a88d427090a59dc1c0fa002f1", + "X-CleverTap-Passcode": "sample_passcode", "Content-Type": "application/json" }, "params": {}, diff --git a/test/integrations/testUtils.ts b/test/integrations/testUtils.ts index 92cffadcf2..13fc7c7f75 100644 --- a/test/integrations/testUtils.ts +++ b/test/integrations/testUtils.ts @@ -65,7 +65,6 @@ export const addMock = (mock: MockAdapter, axiosMock: MockHttpCallsData) => { break; } }; - export const overrideDestination = (destination, overrideConfigValues) => { return Object.assign({}, destination, { Config: { ...destination.Config, ...overrideConfigValues }, From 99f39f5cd62ceb82bd8f51d1de84442b1e59c004 Mon Sep 17 00:00:00 2001 From: Ujjwal Abhishek <63387036+ujjwal-ab@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:45:08 +0530 Subject: [PATCH 028/104] fix(kafka): add status code & batched value in response structure (#2684) * fix: add status code & batched value in response structure * fix: check for erroneous events * chore: improve test coverage --- src/v0/destinations/kafka/transform.js | 11 +- test/__tests__/data/kafka_batch_input.json | 1642 ++++++++++--------- test/__tests__/data/kafka_batch_output.json | 1036 ++++++------ test/__tests__/kafka.test.js | 22 +- 4 files changed, 1416 insertions(+), 1295 deletions(-) diff --git a/src/v0/destinations/kafka/transform.js b/src/v0/destinations/kafka/transform.js index 210469b9e5..39334b5f52 100644 --- a/src/v0/destinations/kafka/transform.js +++ b/src/v0/destinations/kafka/transform.js @@ -5,6 +5,8 @@ const { getIntegrationsObj, getHashFromArray, removeUndefinedAndNullValues, + getSuccessRespEvents, + getErrorRespEvents, } = require('../../util'); // const { InstrumentationError } = require("../../util/errorTypes"); @@ -37,6 +39,10 @@ const filterConfigTopics = (message, destination) => { const batch = (destEvents) => { const respList = []; + if (!Array.isArray(destEvents) || destEvents.length <= 0) { + const respEvents = getErrorRespEvents(null, 400, 'Invalid event array'); + return [respEvents]; + } // Grouping the events by topic const groupedEvents = groupBy(destEvents, (event) => event.message.topic); @@ -52,9 +58,10 @@ const batch = (destEvents) => { metadata: events.map((event) => event.metadata), destination: events[0].destination, }; - respList.push(response); + respList.push( + getSuccessRespEvents(response.batchedRequest, response.metadata, response.destination, true), + ); } - return respList; }; diff --git a/test/__tests__/data/kafka_batch_input.json b/test/__tests__/data/kafka_batch_input.json index f62aa23200..fa4144406a 100644 --- a/test/__tests__/data/kafka_batch_input.json +++ b/test/__tests__/data/kafka_batch_input.json @@ -1,816 +1,910 @@ [ - { - "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" - ] + "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" + } }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" + "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" }, - "ResponseRules": null + "topic": "new-topic" }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" + "metadata": { + "rudderId": "user1<<>>new-topic", + "jobId": 1 }, - "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" + "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" }, - "library": { - "name": "http" - } + "ResponseRules": null }, - "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" - } + "caCertificate": "caCertificate", + "hostName": "localhost", + "password": "password", + "port": "29092", + "saslType": "sha256", + "sslEnabled": true, + "topic": "new-topic", + "useSASL": true, + "username": "username" }, - "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 + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } }, - "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" - ] + "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" + } }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" + "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" }, - "ResponseRules": null + "topic": "new-topic" }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" + "metadata": { + "rudderId": "user2<<>>new-topic", + "jobId": 2 }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user8", + "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": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" + "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" + } }, - "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" }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-2" - } + "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 }, - "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" + "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" }, - "topic": "topic-2" + "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 + } }, - "metadata": { - "rudderId": "user8<<>>topic-2", - "jobId": 8 + { + "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 + } }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", + { + "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": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] + "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" + } }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" + "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" }, - "ResponseRules": null + "topic": "topic-1" }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" + "metadata": { + "rudderId": "user7<<>>topic-1", + "jobId": 7 }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true - } - }, - { - "message": { - "userId": "user8", + "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": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" + "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" + } }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-2" - } + "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" }, - "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" }, - "topic": "topic-2" - }, - "metadata": { - "rudderId": "user8<<>>topic-2", - "jobId": 9 + "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 + } }, - "destination": { - "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", - "Name": "local-kafka-test", - "DestinationDefinition": { - "ID": "1c81NzcId5roSqvQ1R57zhIsC01", - "Name": "KAFKA", - "DisplayName": "Apache Kafka", + { + "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": { - "destConfig": { - "defaultConfig": [ - "hostName", - "port", - "topic", - "sslEnabled", - "caCertificate", - "useSASL", - "saslType", - "username", - "password" - ] + "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" + } }, - "excludeKeys": [], - "includeKeys": [], - "saveDestinationResponse": true, - "secretKeys": ["password"], - "supportedSourceTypes": [ - "android", - "ios", - "web", - "unity", - "amp", - "cloud", - "warehouse", - "reactnative", - "flutter" - ], - "transformAt": "processor", - "transformAtV1": "processor" + "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" }, - "ResponseRules": null + "topic": "topic-3" }, - "Config": { - "caCertificate": "caCertificate", - "hostName": "localhost", - "password": "password", - "port": "29092", - "saslType": "sha256", - "sslEnabled": true, - "topic": "new-topic", - "useSASL": true, - "username": "username" + "metadata": { + "rudderId": "user8<<>>topic-3", + "jobId": 10 }, - "Enabled": true, - "Transformations": [], - "IsProcessorEnabled": true + "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", + "userId": "user1", "message": { "type": "identify", "sentAt": "2021-07-08T02:45:11.329+05:30", - "userId": "user8", + "userId": "user1", "context": { "ip": "14.5.67.21", "traits": { @@ -820,24 +914,18 @@ "name": "http" } }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-3" - } - }, - "messageId": "87c98fc2-561b-4631-8cd6-1d02cdd1429f", + "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": "topic-3" + "topic": "new-topic" }, "metadata": { - "rudderId": "user8<<>>topic-3", - "jobId": 10 + "rudderId": "user1<<>>new-topic", + "jobId": 1 }, "destination": { "ID": "1uzGR4rn915R6Xts9KRfWAzmgGL", diff --git a/test/__tests__/data/kafka_batch_output.json b/test/__tests__/data/kafka_batch_output.json index d4c63523a7..a0e2d935e4 100644 --- a/test/__tests__/data/kafka_batch_output.json +++ b/test/__tests__/data/kafka_batch_output.json @@ -1,564 +1,582 @@ [ - { - "batchedRequest": [ - { - "userId": "user1", - "message": { - "type": "identify", - "sentAt": "2021-07-08T02:45:11.329+05:30", + [ + { + "batchedRequest": [ + { "userId": "user1", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" + "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" + } }, - "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" }, - "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" }, - "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" + "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" + } }, - "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" }, - "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" }, - "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" + "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" + } }, - "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" }, - "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" }, - "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" + "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" + } }, - "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" }, - "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" }, - "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" + "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" + } }, - "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" }, - "integrations": { - "All": true, - "KAFKA": { - "schemaId": "schema001" - } + "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" }, - "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" + "ResponseRules": null }, - "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" + "caCertificate": "caCertificate", + "hostName": "localhost", + "password": "password", + "port": "29092", + "saslType": "sha256", + "sslEnabled": true, + "topic": "new-topic", + "useSASL": true, + "username": "username" }, - "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", + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + }, + { + "batchedRequest": [ + { "userId": "user6", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" + "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" + } }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-1" - } + "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" }, - "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" }, - "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" + "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" + } }, - "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" }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-1" - } + "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" }, - "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" + "ResponseRules": null }, - "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" + "caCertificate": "caCertificate", + "hostName": "localhost", + "password": "password", + "port": "29092", + "saslType": "sha256", + "sslEnabled": true, + "topic": "new-topic", + "useSASL": true, + "username": "username" }, - "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", + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + }, + { + "batchedRequest": [ + { "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" + "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" + } }, - "library": { - "name": "http" - } - }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-2" - } + "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" }, - "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" }, - "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" + "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" + } }, - "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" }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-2" - } + "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" }, - "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" + "ResponseRules": null }, - "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" + "caCertificate": "caCertificate", + "hostName": "localhost", + "password": "password", + "port": "29092", + "saslType": "sha256", + "sslEnabled": true, + "topic": "new-topic", + "useSASL": true, + "username": "username" }, - "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", + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + }, + { + "batchedRequest": [ + { "userId": "user8", - "context": { - "ip": "14.5.67.21", - "traits": { - "trait1": "new-val" + "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" + } }, - "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" }, - "integrations": { - "All": true, - "KAFKA": { - "topic": "topic-3" - } + "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" }, - "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" + "ResponseRules": null }, - "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" + "caCertificate": "caCertificate", + "hostName": "localhost", + "password": "password", + "port": "29092", + "saslType": "sha256", + "sslEnabled": true, + "topic": "new-topic", + "useSASL": true, + "username": "username" }, - "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 + "Enabled": true, + "Transformations": [], + "IsProcessorEnabled": true + } + } + ], + [ + { + "batched": false, + "error": "Invalid event array", + "metadata": null, + "statusCode": 400 } - } + ] ] diff --git a/test/__tests__/kafka.test.js b/test/__tests__/kafka.test.js index abd85fadaf..c824b9612f 100644 --- a/test/__tests__/kafka.test.js +++ b/test/__tests__/kafka.test.js @@ -34,13 +34,21 @@ describe("Tests", () => { }); }); - test(`${name} Batching Tests`, () => { - const inputData = JSON.parse(batchInputDataFile); - const batchExpectedData = JSON.parse(batchOutputDataFile); - const output = transformer.batch(inputData); - expect(Array.isArray(output)).toEqual(true); - expect(output).toEqual(batchExpectedData); - }); + 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); From 13473a0514d508b3e8bf9f35d83f421f4ad821a7 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 6 Oct 2023 08:17:58 +0000 Subject: [PATCH 029/104] chore(release): 1.44.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 621c6709bc..a92a073191 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.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.44.0...v1.44.1) (2023-10-06) + + +### Bug Fixes + +* criteo_aud auth_token expire code incorporated ([#2687](https://github.com/rudderlabs/rudder-transformer/issues/2687)) ([cbe333a](https://github.com/rudderlabs/rudder-transformer/commit/cbe333a9e4eea7088bfe46a2aaf09d489a7bc7c7)) + ## [1.44.0](https://github.com/rudderlabs/rudder-transformer/compare/v1.43.1...v1.44.0) (2023-09-29) diff --git a/package-lock.json b/package-lock.json index 895ec6c211..f39c2db7b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.44.0", + "version": "1.44.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.44.0", + "version": "1.44.1", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 8f23db4f7d..43b4abbb86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.44.0", + "version": "1.44.1", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { From bbf7ad4da603936db4ef8f53d5734c5b4bb84ca9 Mon Sep 17 00:00:00 2001 From: Sudip Paul <67197965+ItsSudip@users.noreply.github.com> Date: Mon, 9 Oct 2023 13:18:46 +0530 Subject: [PATCH 030/104] fix: create instance of transformedObj (#2694) --- 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 37495e3e4a90dc9c5abbf74e7d58152a9af10daf Mon Sep 17 00:00:00 2001 From: ItsSudip Date: Sun, 8 Oct 2023 18:44:07 +0530 Subject: [PATCH 031/104] 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 032/104] 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 033/104] 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 034/104] 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 035/104] 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 036/104] 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 037/104] 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 038/104] 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 039/104] 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 040/104] 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 041/104] 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 042/104] 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 043/104] 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 044/104] 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 045/104] 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 046/104] 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 047/104] 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 048/104] 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 049/104] 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 050/104] 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 051/104] 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 052/104] 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 053/104] 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 054/104] 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 055/104] 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 056/104] 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 057/104] 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 058/104] 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 059/104] 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 060/104] 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 061/104] 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 062/104] 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 063/104] 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 064/104] 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 065/104] 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 066/104] 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 067/104] 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 068/104] 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 069/104] 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 070/104] 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 071/104] 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 072/104] 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 073/104] 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 074/104] 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 075/104] 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 076/104] 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 077/104] 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 078/104] 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 079/104] 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 080/104] 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 081/104] 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 082/104] 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 083/104] 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 084/104] 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 085/104] 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 086/104] 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 087/104] 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 088/104] 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 089/104] 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 090/104] 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 091/104] 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 092/104] 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 093/104] 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 094/104] 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 095/104] 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 096/104] 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 097/104] 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 098/104] 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 099/104] 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 100/104] 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 101/104] 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 102/104] 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 103/104] 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 104/104] 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,