From 44b243b14cb8a9e2608f321845b5555297b4d4b1 Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Thu, 23 Mar 2023 13:51:51 +0530 Subject: [PATCH 1/8] fix: destination name revamp to latest standard (#459) --- src/configurations/destinations/bingads/db-config.json | 2 +- src/configurations/destinations/ga/db-config.json | 2 +- .../google_adwords_enhanced_conversions/db-config.json | 2 +- .../google_adwords_remarketing_lists/db-config.json | 2 +- src/configurations/destinations/googlepubsub/db-config.json | 2 +- src/configurations/destinations/kissmetrics/db-config.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/configurations/destinations/bingads/db-config.json b/src/configurations/destinations/bingads/db-config.json index 0302f6e2f..07d583f26 100644 --- a/src/configurations/destinations/bingads/db-config.json +++ b/src/configurations/destinations/bingads/db-config.json @@ -1,6 +1,6 @@ { "name": "BINGADS", - "displayName": "Bing Ads", + "displayName": "Microsoft Ads", "config": { "transformAt": "processor", "transformAtV1": "processor", diff --git a/src/configurations/destinations/ga/db-config.json b/src/configurations/destinations/ga/db-config.json index a701318df..8045b86ce 100644 --- a/src/configurations/destinations/ga/db-config.json +++ b/src/configurations/destinations/ga/db-config.json @@ -1,6 +1,6 @@ { "name": "GA", - "displayName": "Google Analytics", + "displayName": "Google Analytics (GA)", "config": { "auth": { "type": "OAuth", diff --git a/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json b/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json index 0c8e1e1f2..fb21905fb 100644 --- a/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json +++ b/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json @@ -1,6 +1,6 @@ { "name": "GOOGLE_ADWORDS_ENHANCED_CONVERSIONS", - "displayName": "Google Adwords Enhanced Conversions", + "displayName": "Google Ads Enhanced Conversions", "config": { "auth": { "type": "OAuth", diff --git a/src/configurations/destinations/google_adwords_remarketing_lists/db-config.json b/src/configurations/destinations/google_adwords_remarketing_lists/db-config.json index d05152cc6..140097549 100644 --- a/src/configurations/destinations/google_adwords_remarketing_lists/db-config.json +++ b/src/configurations/destinations/google_adwords_remarketing_lists/db-config.json @@ -1,6 +1,6 @@ { "name": "GOOGLE_ADWORDS_REMARKETING_LISTS", - "displayName": "Google Adwords Remarketing Lists (Customer Match)", + "displayName": "Google Ads Remarketing Lists (Customer Match)", "config": { "auth": { "type": "OAuth", diff --git a/src/configurations/destinations/googlepubsub/db-config.json b/src/configurations/destinations/googlepubsub/db-config.json index 3ba5d60c3..a4a6af99b 100644 --- a/src/configurations/destinations/googlepubsub/db-config.json +++ b/src/configurations/destinations/googlepubsub/db-config.json @@ -1,6 +1,6 @@ { "name": "GOOGLEPUBSUB", - "displayName": "Google Pub/Sub", + "displayName": "Google Cloud Pub/Sub", "config": { "transformAt": "processor", "transformAtV1": "processor", diff --git a/src/configurations/destinations/kissmetrics/db-config.json b/src/configurations/destinations/kissmetrics/db-config.json index f3cc4d722..ab2089765 100644 --- a/src/configurations/destinations/kissmetrics/db-config.json +++ b/src/configurations/destinations/kissmetrics/db-config.json @@ -1,6 +1,6 @@ { "name": "KISSMETRICS", - "displayName": "Kiss Metrics", + "displayName": "Kissmetrics", "config": { "transformAt": "processor", "transformAtV1": "processor", From f527af765254598c0670bed9e43509ff174271a7 Mon Sep 17 00:00:00 2001 From: Sandeep Digumarty Date: Thu, 23 Mar 2023 15:03:23 +0530 Subject: [PATCH 2/8] feat: moved oneTrustCookieCategories field to defaultConfig (#456) Co-authored-by: Krishna Chaitanya --- .../active_campaign/db-config.json | 4 +- .../destinations/active_campaign/schema.json | 17 +- .../active_campaign/ui-config.json | 19 + .../destinations/adj/db-config.json | 7 +- .../destinations/adroll/db-config.json | 9 +- .../destinations/adroll/schema.json | 28 +- .../destinations/af/db-config.json | 7 +- .../destinations/af/schema.json | 32 +- .../destinations/airship/db-config.json | 4 +- .../destinations/airship/ui-config.json | 19 + .../destinations/algolia/db-config.json | 4 +- .../destinations/algolia/ui-config.json | 19 + .../destinations/appcenter/db-config.json | 7 +- .../destinations/appcues/db-config.json | 5 +- .../destinations/attentive_tag/db-config.json | 6 +- .../destinations/attentive_tag/schema.json | 12 + .../destinations/attentive_tag/ui-config.json | 19 + .../destinations/attribution/db-config.json | 7 +- .../destinations/attribution/schema.json | 15 +- .../destinations/attribution/ui-config.json | 19 + .../destinations/autopilot/db-config.json | 6 +- .../destinations/autopilot/ui-config.json | 19 + .../destinations/awin/db-config.json | 4 +- .../destinations/awin/schema.json | 12 + .../destinations/awin/ui-config.json | 19 + .../destinations/axeptio/db-config.json | 5 +- .../destinations/axeptio/schema.json | 32 +- .../destinations/azure_blob/db-config.json | 5 +- .../destinations/azure_blob/ui-config.json | 33 +- .../azure_datalake/db-config.json | 12 +- .../destinations/azure_datalake/schema.json | 45 +- .../azure_datalake/ui-config.json | 73 ++-- .../azure_event_hub/db-config.json | 9 +- .../azure_event_hub/ui-config.json | 19 + .../destinations/azure_synapse/db-config.json | 5 +- .../destinations/azure_synapse/schema.json | 165 ++----- .../destinations/azure_synapse/ui-config.json | 319 ++++---------- .../destinations/bingads/db-config.json | 10 +- .../destinations/blueshift/db-config.json | 4 +- .../destinations/blueshift/ui-config.json | 34 +- .../destinations/bq/db-config.json | 5 +- .../destinations/bq/schema.json | 52 +-- .../destinations/bq/ui-config.json | 74 ++-- .../destinations/bqstream/db-config.json | 11 +- .../destinations/bqstream/ui-config.json | 19 + .../destinations/branch/db-config.json | 9 +- .../destinations/bugsnag/db-config.json | 14 +- .../campaign_manager/db-config.json | 9 +- .../destinations/campaign_manager/schema.json | 26 +- .../campaign_manager/ui-config.json | 19 + .../destinations/candu/db-config.json | 6 +- .../destinations/candu/ui-config.json | 19 + .../destinations/canny/db-config.json | 6 +- .../destinations/canny/schema.json | 12 + .../destinations/canny/ui-config.json | 25 +- .../destinations/chartbeat/db-config.json | 5 +- .../destinations/clevertap/db-config.json | 9 +- .../destinations/clickhouse/db-config.json | 5 +- .../destinations/clickhouse/schema.json | 187 +++----- .../destinations/clickhouse/ui-config.json | 316 ++++---------- .../destinations/clickup/db-config.json | 16 +- .../destinations/clickup/schema.json | 12 + .../destinations/clickup/ui-config.json | 19 + .../confluent_cloud/db-config.json | 10 +- .../confluent_cloud/ui-config.json | 19 + .../destinations/convertflow/db-config.json | 5 +- .../destinations/convertflow/schema.json | 32 +- .../destinations/courier/db-config.json | 6 +- .../destinations/courier/schema.json | 12 + .../destinations/courier/ui-config.json | 19 + .../destinations/criteo/db-config.json | 5 +- .../destinations/criteo/schema.json | 28 +- .../criteo_audience/db-config.json | 11 +- .../destinations/criteo_audience/schema.json | 19 +- .../criteo_audience/ui-config.json | 51 +-- .../destinations/custify/db-config.json | 6 +- .../destinations/custify/schema.json | 14 +- .../destinations/custify/ui-config.json | 19 + .../destinations/customerio/db-config.json | 5 +- .../destinations/customerio/schema.json | 32 +- .../dcm_floodlight/db-config.json | 6 +- .../destinations/dcm_floodlight/schema.json | 61 +-- .../destinations/delighted/db-config.json | 10 +- .../destinations/delighted/ui-config.json | 34 +- .../destinations/deltalake/db-config.json | 7 +- .../destinations/deltalake/schema.json | 177 ++------ .../destinations/deltalake/ui-config.json | 298 ++++--------- .../digital_ocean_spaces/db-config.json | 11 +- .../digital_ocean_spaces/ui-config.json | 19 + .../destinations/discord/db-config.json | 5 +- .../destinations/discord/schema.json | 45 +- .../destinations/discord/ui-config.json | 29 +- .../destinations/drip/db-config.json | 5 +- .../destinations/engage/db-config.json | 5 +- .../destinations/engage/schema.json | 37 +- .../destinations/eventbridge/db-config.json | 5 +- .../destinations/eventbridge/ui-config.json | 34 +- .../db-config.json | 6 +- .../facebook_offline_conversions/schema.json | 14 +- .../ui-config.json | 125 ++---- .../facebook_pixel/db-config.json | 18 +- .../destinations/facebook_pixel/schema.json | 54 +-- .../destinations/factorsai/db-config.json | 6 +- .../destinations/factorsai/schema.json | 12 + .../destinations/factorsai/ui-config.json | 19 + .../destinations/fb/db-config.json | 7 +- .../destinations/fb/schema.json | 44 +- .../fb_custom_audience/db-config.json | 33 +- .../fb_custom_audience/ui-config.json | 412 +++++------------- .../destinations/firebase/db-config.json | 11 +- .../destinations/firehose/db-config.json | 5 +- .../destinations/firehose/ui-config.json | 34 +- .../destinations/freshmarketer/db-config.json | 9 +- .../destinations/freshmarketer/schema.json | 12 + .../destinations/freshmarketer/ui-config.json | 25 +- .../destinations/freshsales/db-config.json | 9 +- .../destinations/freshsales/schema.json | 12 + .../destinations/freshsales/ui-config.json | 25 +- .../destinations/fullstory/db-config.json | 9 +- .../destinations/ga/db-config.json | 6 +- .../destinations/ga/schema.json | 109 +---- .../destinations/ga360/db-config.json | 9 +- .../destinations/gainsight/db-config.json | 5 +- .../destinations/gainsight/ui-config.json | 19 + .../destinations/gainsight_px/db-config.json | 5 +- .../destinations/gainsight_px/ui-config.json | 19 + .../destinations/gcs/db-config.json | 4 +- .../destinations/gcs/schema.json | 17 +- .../destinations/gcs/ui-config.json | 19 + .../destinations/gcs_datalake/db-config.json | 7 +- .../destinations/gcs_datalake/schema.json | 34 +- .../destinations/gcs_datalake/ui-config.json | 84 ++-- .../db-config.json | 9 +- .../ui-config.json | 26 +- .../db-config.json | 9 +- .../schema.json | 27 +- .../ui-config.json | 111 ++--- .../db-config.json | 9 +- .../ui-config.json | 70 ++- .../google_cloud_function/db-config.json | 6 +- .../google_cloud_function/schema.json | 48 +- .../google_cloud_function/ui-config.json | 55 ++- .../google_optimize/db-config.json | 15 +- .../destinations/googleads/db-config.json | 11 +- .../destinations/googleads/schema.json | 56 +-- .../destinations/googlepubsub/db-config.json | 10 +- .../destinations/googlepubsub/schema.json | 17 +- .../destinations/googlepubsub/ui-config.json | 19 + .../destinations/googlesheets/db-config.json | 10 +- .../destinations/googlesheets/ui-config.json | 19 + .../destinations/gtm/db-config.json | 5 +- .../destinations/gtm/schema.json | 28 +- .../destinations/heap/db-config.json | 10 +- .../destinations/heap/schema.json | 28 +- .../destinations/hotjar/db-config.json | 10 +- .../destinations/hotjar/schema.json | 28 +- .../destinations/hs/db-config.json | 15 +- .../destinations/hs/schema.json | 28 +- .../destinations/impact/db-config.json | 5 +- .../destinations/impact/schema.json | 28 +- .../destinations/impact/ui-config.json | 19 + .../destinations/indicative/db-config.json | 6 +- .../destinations/indicative/ui-config.json | 19 + .../destinations/intercom/db-config.json | 9 +- .../destinations/iterable/db-config.json | 9 +- .../destinations/iterable/schema.json | 200 ++------- .../destinations/june/db-config.json | 18 +- .../destinations/june/schema.json | 28 +- .../destinations/kafka/db-config.json | 5 +- .../destinations/kafka/ui-config.json | 106 ++--- .../destinations/keen/db-config.json | 5 +- .../destinations/kinesis/db-config.json | 5 +- .../destinations/kinesis/schema.json | 26 +- .../destinations/kinesis/ui-config.json | 34 +- .../destinations/kissmetrics/db-config.json | 5 +- .../destinations/klaviyo/db-config.json | 5 +- .../destinations/klaviyo/schema.json | 44 +- .../destinations/kochava/db-config.json | 12 +- .../destinations/kustomer/db-config.json | 5 +- .../destinations/kustomer/ui-config.json | 19 + .../destinations/lambda/db-config.json | 5 +- .../destinations/lambda/schema.json | 47 +- .../destinations/lambda/ui-config.json | 39 +- .../destinations/launchdarkly/db-config.json | 5 +- .../destinations/leanplum/db-config.json | 7 +- .../destinations/lemnisk/db-config.json | 29 +- .../destinations/lemnisk/schema.json | 80 +--- .../linkedin_insight_tag/db-config.json | 5 +- .../destinations/livechat/db-config.json | 8 +- .../destinations/livechat/schema.json | 36 +- .../destinations/lotame/db-config.json | 5 +- .../destinations/lotame_mobile/db-config.json | 6 +- .../destinations/lotame_mobile/ui-config.json | 39 +- .../destinations/lytics/db-config.json | 5 +- .../destinations/mailchimp/db-config.json | 7 +- .../destinations/mailchimp/schema.json | 14 +- .../destinations/mailchimp/ui-config.json | 19 + .../destinations/mailjet/db-config.json | 16 +- .../destinations/mailjet/schema.json | 12 + .../destinations/mailjet/ui-config.json | 19 + .../destinations/mailmodo/db-config.json | 6 +- .../destinations/mailmodo/schema.json | 12 + .../destinations/mailmodo/ui-config.json | 21 +- .../destinations/marketo/db-config.json | 86 +--- .../destinations/marketo/ui-config.json | 19 + .../marketo_bulk_upload/db-config.json | 5 +- .../marketo_bulk_upload/ui-config.json | 39 +- .../marketo_static_list/db-config.json | 16 +- .../marketo_static_list/schema.json | 12 + .../marketo_static_list/ui-config.json | 19 + .../destinations/matomo/db-config.json | 8 +- .../destinations/matomo/schema.json | 63 +-- .../destinations/mautic/db-config.json | 13 +- .../destinations/mautic/schema.json | 56 +-- .../destinations/mautic/ui-config.json | 50 +-- .../microsoft_clarity/db-config.json | 5 +- .../microsoft_clarity/schema.json | 32 +- .../destinations/minio/db-config.json | 5 +- .../destinations/minio/ui-config.json | 19 + .../destinations/moengage/db-config.json | 9 +- .../destinations/monday/db-config.json | 5 +- .../destinations/monday/schema.json | 12 + .../destinations/monday/ui-config.json | 19 + .../destinations/monetate/db-config.json | 5 +- .../destinations/monetate/ui-config.json | 19 + .../destinations/mouseflow/db-config.json | 5 +- .../destinations/mouseflow/schema.json | 28 +- .../destinations/mp/db-config.json | 5 +- .../destinations/mp/schema.json | 94 +--- .../destinations/mssql/db-config.json | 5 +- .../destinations/mssql/schema.json | 165 ++----- .../destinations/mssql/ui-config.json | 319 ++++---------- .../destinations/new_relic/db-config.json | 6 +- .../destinations/new_relic/schema.json | 23 +- .../destinations/new_relic/ui-config.json | 34 +- .../destinations/olark/db-config.json | 8 +- .../destinations/olark/schema.json | 27 +- .../destinations/ometria/db-config.json | 10 +- .../destinations/ometria/ui-config.json | 39 +- .../destinations/one_signal/db-config.json | 5 +- .../destinations/one_signal/schema.json | 24 +- .../destinations/one_signal/ui-config.json | 15 +- .../destinations/optimizely/db-config.json | 5 +- .../optimizely_fullstack/db-config.json | 7 +- .../optimizely_fullstack/schema.json | 28 +- .../destinations/pagerduty/db-config.json | 4 +- .../destinations/pagerduty/schema.json | 12 + .../destinations/pagerduty/ui-config.json | 19 + .../destinations/pardot/db-config.json | 19 +- .../destinations/pardot/ui-config.json | 19 + .../destinations/pendo/db-config.json | 10 +- .../destinations/persistiq/db-config.json | 4 +- .../destinations/persistiq/schema.json | 12 + .../destinations/persistiq/ui-config.json | 19 + .../destinations/personalize/db-config.json | 5 +- .../destinations/personalize/schema.json | 52 +-- .../destinations/personalize/ui-config.json | 54 ++- .../destinations/pinterest_tag/db-config.json | 5 +- .../destinations/pinterest_tag/schema.json | 41 +- .../destinations/pipedream/db-config.json | 4 +- .../destinations/pipedream/schema.json | 12 + .../destinations/pipedream/ui-config.json | 49 ++- .../destinations/pipedrive/db-config.json | 9 +- .../destinations/pipedrive/ui-config.json | 19 + .../destinations/podsights/db-config.json | 5 +- .../destinations/podsights/schema.json | 33 +- .../post_affiliate_pro/db-config.json | 5 +- .../destinations/postgres/db-config.json | 5 +- .../destinations/postgres/schema.json | 208 +++------ .../destinations/postgres/ui-config.json | 334 ++++---------- .../destinations/posthog/db-config.json | 4 +- .../destinations/profitwell/db-config.json | 5 +- .../destinations/qualaroo/db-config.json | 8 +- .../destinations/qualaroo/schema.json | 36 +- .../destinations/qualtrics/db-config.json | 9 +- .../destinations/quantummetric/db-config.json | 10 +- .../destinations/quora_pixel/db-config.json | 5 +- .../destinations/quora_pixel/schema.json | 28 +- .../destinations/reddit_pixel/db-config.json | 5 +- .../destinations/redis/db-config.json | 5 +- .../destinations/redis/schema.json | 27 +- .../destinations/redis/ui-config.json | 48 +- .../destinations/refiner/db-config.json | 5 +- .../destinations/refiner/schema.json | 28 +- .../destinations/revenue_cat/db-config.json | 6 +- .../destinations/revenue_cat/schema.json | 12 + .../destinations/revenue_cat/ui-config.json | 52 ++- .../destinations/rockerbox/db-config.json | 4 +- .../destinations/rockerbox/schema.json | 66 +-- .../destinations/rollbar/db-config.json | 8 +- .../destinations/rollbar/schema.json | 44 +- .../destinations/rs/db-config.json | 5 +- .../destinations/rs/schema.json | 124 ++---- .../destinations/rs/ui-config.json | 126 ++---- .../destinations/s3/db-config.json | 5 +- .../destinations/s3/schema.json | 22 +- .../destinations/s3/ui-config.json | 34 +- .../destinations/s3_datalake/db-config.json | 13 +- .../destinations/s3_datalake/schema.json | 66 +-- .../destinations/s3_datalake/ui-config.json | 84 ++-- .../destinations/salesforce/db-config.json | 16 +- .../destinations/salesforce/schema.json | 22 +- .../destinations/salesforce/ui-config.json | 26 +- .../destinations/satismeter/db-config.json | 8 +- .../destinations/satismeter/schema.json | 40 +- .../destinations/segment/db-config.json | 6 +- .../destinations/segment/ui-config.json | 19 + .../destinations/sendgrid/db-config.json | 5 +- .../destinations/sendgrid/ui-config.json | 165 ++----- .../destinations/sendinblue/db-config.json | 8 +- .../destinations/sendinblue/schema.json | 28 +- .../destinations/sentry/db-config.json | 5 +- .../destinations/sentry/schema.json | 88 +--- .../destinations/serenytics/db-config.json | 5 +- .../destinations/serenytics/schema.json | 12 + .../destinations/serenytics/ui-config.json | 19 + .../destinations/sfmc/db-config.json | 5 +- .../destinations/sfmc/ui-config.json | 19 + .../destinations/shynet/db-config.json | 5 +- .../destinations/shynet/schema.json | 28 +- .../destinations/signl4/db-config.json | 5 +- .../destinations/signl4/schema.json | 21 +- .../destinations/signl4/ui-config.json | 59 ++- .../destinations/singular/db-config.json | 7 +- .../destinations/singular/schema.json | 25 +- .../destinations/slack/db-config.json | 5 +- .../destinations/slack/schema.json | 24 +- .../destinations/slack/ui-config.json | 19 + .../destinations/snap_pixel/db-config.json | 5 +- .../snapchat_conversion/db-config.json | 5 +- .../snapchat_conversion/schema.json | 24 +- .../snapchat_conversion/ui-config.json | 181 +++----- .../snapchat_custom_audience/db-config.json | 16 +- .../snapchat_custom_audience/schema.json | 19 +- .../snapchat_custom_audience/ui-config.json | 39 +- .../destinations/snapengage/db-config.json | 8 +- .../destinations/snapengage/schema.json | 27 +- .../destinations/splitio/db-config.json | 4 +- .../destinations/splitio/ui-config.json | 19 + .../destinations/statsig/db-config.json | 6 +- .../destinations/statsig/ui-config.json | 19 + .../destinations/tiktok_ads/db-config.json | 10 +- .../destinations/tiktok_ads/ui-config.json | 85 ++-- .../tiktok_ads_offline_events/db-config.json | 13 +- .../tiktok_ads_offline_events/schema.json | 14 +- .../tiktok_ads_offline_events/ui-config.json | 39 +- .../destinations/trengo/db-config.json | 5 +- .../destinations/trengo/ui-config.json | 34 +- .../destinations/tvsquared/db-config.json | 5 +- .../destinations/user/db-config.json | 6 +- .../destinations/user/schema.json | 12 + .../destinations/user/ui-config.json | 19 + .../destinations/userlist/db-config.json | 6 +- .../destinations/userlist/ui-config.json | 19 + .../destinations/variance/db-config.json | 6 +- .../destinations/variance/ui-config.json | 19 + .../destinations/vero/db-config.json | 5 +- .../destinations/vero/schema.json | 32 +- .../destinations/vitally/db-config.json | 7 +- .../destinations/vitally/schema.json | 12 + .../destinations/vitally/ui-config.json | 19 + .../destinations/vwo/db-config.json | 8 +- .../destinations/vwo/schema.json | 44 +- .../destinations/webengage/db-config.json | 4 +- .../destinations/webengage/schema.json | 12 + .../destinations/webengage/ui-config.json | 32 +- .../destinations/webhook/db-config.json | 4 +- .../destinations/webhook/schema.json | 12 + .../destinations/webhook/ui-config.json | 49 ++- .../destinations/woopra/db-config.json | 8 +- .../destinations/woopra/schema.json | 73 +--- .../destinations/wootric/db-config.json | 4 +- .../destinations/wootric/schema.json | 17 +- .../destinations/wootric/ui-config.json | 19 + .../destinations/yahoo_dsp/db-config.json | 5 +- .../destinations/yahoo_dsp/schema.json | 24 +- .../destinations/yahoo_dsp/ui-config.json | 59 ++- .../yandex_metrica/db-config.json | 5 +- .../destinations/yandex_metrica/schema.json | 44 +- .../destinations/zapier/db-config.json | 14 +- .../destinations/zapier/schema.json | 12 + .../destinations/zapier/ui-config.json | 19 + .../destinations/zendesk/db-config.json | 5 +- .../destinations/zendesk/schema.json | 26 +- .../destinations/zendesk/ui-config.json | 19 + test/data/validation/destinations/adroll.json | 151 +------ .../data/validation/destinations/axeptio.json | 18 +- .../validation/destinations/convertflow.json | 39 +- test/data/validation/destinations/criteo.json | 115 +---- .../validation/destinations/customerio.json | 120 +---- .../destinations/dcm_floodlight.json | 165 ++----- test/data/validation/destinations/fb.json | 42 +- .../validation/destinations/googleads.json | 186 ++------ test/data/validation/destinations/gtm.json | 100 +---- test/data/validation/destinations/heap.json | 42 +- test/data/validation/destinations/hotjar.json | 48 +- test/data/validation/destinations/hs.json | 145 ++---- .../validation/destinations/iterable.json | 103 +---- .../data/validation/destinations/klaviyo.json | 48 +- test/data/validation/destinations/mp.json | 96 +--- .../validation/destinations/rockerbox.json | 141 ++---- test/data/validation/destinations/sentry.json | 8 +- test/data/validation/destinations/vero.json | 97 +---- .../destinations/yandex_metrica.json | 291 +++---------- 404 files changed, 5319 insertions(+), 7823 deletions(-) diff --git a/src/configurations/destinations/active_campaign/db-config.json b/src/configurations/destinations/active_campaign/db-config.json index d0b4c2689..4bfa3fbbb 100644 --- a/src/configurations/destinations/active_campaign/db-config.json +++ b/src/configurations/destinations/active_campaign/db-config.json @@ -6,7 +6,7 @@ "transformAtV1": "router", "saveDestinationResponse": true, "isAudienceSupported": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -22,7 +22,7 @@ ], "supportedMessageTypes": ["identify", "page", "screen", "track"], "destConfig": { - "defaultConfig": ["apiUrl", "apiKey", "eventKey", "actid"] + "defaultConfig": ["apiUrl", "apiKey", "eventKey", "actid", "oneTrustCookieCategories"] }, "secretKeys": ["apiKey", "eventKey", "actid"] } diff --git a/src/configurations/destinations/active_campaign/schema.json b/src/configurations/destinations/active_campaign/schema.json index 64a80dc3e..bda1a3e51 100644 --- a/src/configurations/destinations/active_campaign/schema.json +++ b/src/configurations/destinations/active_campaign/schema.json @@ -8,10 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$" }, - "apiKey": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "apiKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "actid": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -19,6 +16,18 @@ "eventKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/active_campaign/ui-config.json b/src/configurations/destinations/active_campaign/ui-config.json index 46c3c91eb..d7659cc1e 100644 --- a/src/configurations/destinations/active_campaign/ui-config.json +++ b/src/configurations/destinations/active_campaign/ui-config.json @@ -46,6 +46,25 @@ "footerNote": "Your ActId" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/adj/db-config.json b/src/configurations/destinations/adj/db-config.json index 7e39b5386..9f7bc74ff 100644 --- a/src/configurations/destinations/adj/db-config.json +++ b/src/configurations/destinations/adj/db-config.json @@ -35,10 +35,11 @@ "blacklistedEvents", "whitelistedEvents", "eventFilteringOption", - "partnerParamsKeys" + "partnerParamsKeys", + "oneTrustCookieCategories" ], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"], "flutter": ["useNativeSDK"], "unity": ["useNativeSDK"] }, diff --git a/src/configurations/destinations/adroll/db-config.json b/src/configurations/destinations/adroll/db-config.json index be9e4fb0a..403789d6a 100644 --- a/src/configurations/destinations/adroll/db-config.json +++ b/src/configurations/destinations/adroll/db-config.json @@ -24,13 +24,12 @@ "eventsMap", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] }, - "options": { - "isBeta": true - } + "options": { "isBeta": true } } diff --git a/src/configurations/destinations/adroll/schema.json b/src/configurations/destinations/adroll/schema.json index 49782ab03..abac65726 100644 --- a/src/configurations/destinations/adroll/schema.json +++ b/src/configurations/destinations/adroll/schema.json @@ -12,14 +12,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(disable|whitelistedEvents|blacklistedEvents)$" @@ -49,18 +42,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/af/db-config.json b/src/configurations/destinations/af/db-config.json index fb213e8dd..d50f66fea 100644 --- a/src/configurations/destinations/af/db-config.json +++ b/src/configurations/destinations/af/db-config.json @@ -39,10 +39,11 @@ "whitelistedEvents", "eventFilteringOption", "statusCallbackUrls", - "apiToken" + "apiToken", + "oneTrustCookieCategories" ], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"], "reactnative": ["useNativeSDK"], "cordova": ["useNativeSDK"] }, diff --git a/src/configurations/destinations/af/schema.json b/src/configurations/destinations/af/schema.json index 99fa2bf89..3e2848dc0 100644 --- a/src/configurations/destinations/af/schema.json +++ b/src/configurations/destinations/af/schema.json @@ -16,9 +16,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useRichEventName": { - "type": "boolean" - }, + "useRichEventName": { "type": "boolean" }, "sharingFilter": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -26,18 +24,10 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - }, - "reactnative": { - "type": "boolean" - }, - "cordova": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "ios": { "type": "boolean" }, + "reactnative": { "type": "boolean" }, + "cordova": { "type": "boolean" } } }, "eventFilteringOption": { @@ -67,6 +57,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/airship/db-config.json b/src/configurations/destinations/airship/db-config.json index 42ca43576..e7a8a3fa6 100644 --- a/src/configurations/destinations/airship/db-config.json +++ b/src/configurations/destinations/airship/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +21,7 @@ ], "supportedMessageTypes": ["identify", "track", "group"], "destConfig": { - "defaultConfig": ["apiKey", "appKey", "dataCenter"] + "defaultConfig": ["apiKey", "appKey", "dataCenter", "oneTrustCookieCategories"] }, "secretKeys": ["apiKey"] } diff --git a/src/configurations/destinations/airship/ui-config.json b/src/configurations/destinations/airship/ui-config.json index ec3180bff..841c175bb 100644 --- a/src/configurations/destinations/airship/ui-config.json +++ b/src/configurations/destinations/airship/ui-config.json @@ -31,6 +31,25 @@ "footerNote": "Toggle on to send data to EU server" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/algolia/db-config.json b/src/configurations/destinations/algolia/db-config.json index 255d9d14d..264b9ac42 100644 --- a/src/configurations/destinations/algolia/db-config.json +++ b/src/configurations/destinations/algolia/db-config.json @@ -6,7 +6,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -22,7 +22,7 @@ ], "supportedMessageTypes": ["track"], "destConfig": { - "defaultConfig": ["apiKey", "applicationId", "eventTypeSettings"] + "defaultConfig": ["apiKey", "applicationId", "eventTypeSettings", "oneTrustCookieCategories"] }, "secretKeys": ["apiKey", "applicationId"] } diff --git a/src/configurations/destinations/algolia/ui-config.json b/src/configurations/destinations/algolia/ui-config.json index 84478a9de..3ee20f70a 100644 --- a/src/configurations/destinations/algolia/ui-config.json +++ b/src/configurations/destinations/algolia/ui-config.json @@ -38,6 +38,25 @@ "value": "eventTypeSettings" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/appcenter/db-config.json b/src/configurations/destinations/appcenter/db-config.json index 245d019ab..ecc35b5d9 100644 --- a/src/configurations/destinations/appcenter/db-config.json +++ b/src/configurations/destinations/appcenter/db-config.json @@ -24,10 +24,11 @@ "transmissionLevel", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"], "reactnative": ["useNativeSDK"], "flutter": ["useNativeSDK"], "cordova": ["useNativeSDK"] diff --git a/src/configurations/destinations/appcues/db-config.json b/src/configurations/destinations/appcues/db-config.json index 31308b0e9..415c3a200 100644 --- a/src/configurations/destinations/appcues/db-config.json +++ b/src/configurations/destinations/appcues/db-config.json @@ -31,9 +31,10 @@ "accountId", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/attentive_tag/db-config.json b/src/configurations/destinations/attentive_tag/db-config.json index 445bc5b1f..b847e2622 100644 --- a/src/configurations/destinations/attentive_tag/db-config.json +++ b/src/configurations/destinations/attentive_tag/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,9 +20,7 @@ "cordova" ], "supportedMessageTypes": ["identify", "track"], - "destConfig": { - "defaultConfig": ["apiKey", "signUpSourceId"] - }, + "destConfig": { "defaultConfig": ["apiKey", "signUpSourceId", "oneTrustCookieCategories"] }, "secretKeys": ["apiKey"] } } diff --git a/src/configurations/destinations/attentive_tag/schema.json b/src/configurations/destinations/attentive_tag/schema.json index 07125006c..8291c2f22 100644 --- a/src/configurations/destinations/attentive_tag/schema.json +++ b/src/configurations/destinations/attentive_tag/schema.json @@ -11,6 +11,18 @@ "signUpSourceId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/attentive_tag/ui-config.json b/src/configurations/destinations/attentive_tag/ui-config.json index d7f5ee419..d8b78377f 100644 --- a/src/configurations/destinations/attentive_tag/ui-config.json +++ b/src/configurations/destinations/attentive_tag/ui-config.json @@ -26,6 +26,25 @@ "footerNote": "Your Sign Up Source Id" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/attribution/db-config.json b/src/configurations/destinations/attribution/db-config.json index 77f746773..588587b0a 100644 --- a/src/configurations/destinations/attribution/db-config.json +++ b/src/configurations/destinations/attribution/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": false, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,10 +20,7 @@ "cordova" ], "supportedMessageTypes": ["alias", "group", "identify", "page", "screen", "track"], - "destConfig": { - "defaultConfig": ["writeKey"], - "web": [] - }, + "destConfig": { "defaultConfig": ["writeKey", "oneTrustCookieCategories"], "web": [] }, "secretKeys": ["writeKey"] } } diff --git a/src/configurations/destinations/attribution/schema.json b/src/configurations/destinations/attribution/schema.json index 4100d0c70..d5e3ae88b 100644 --- a/src/configurations/destinations/attribution/schema.json +++ b/src/configurations/destinations/attribution/schema.json @@ -4,9 +4,18 @@ "type": "object", "required": ["writeKey"], "properties": { - "writeKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" + "writeKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "additionalProperties": true diff --git a/src/configurations/destinations/attribution/ui-config.json b/src/configurations/destinations/attribution/ui-config.json index f43c0e594..d175f4ef3 100644 --- a/src/configurations/destinations/attribution/ui-config.json +++ b/src/configurations/destinations/attribution/ui-config.json @@ -13,6 +13,25 @@ "placeholder": "e.g: AGzp7K9cBV" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/autopilot/db-config.json b/src/configurations/destinations/autopilot/db-config.json index b00e45898..beb370560 100644 --- a/src/configurations/destinations/autopilot/db-config.json +++ b/src/configurations/destinations/autopilot/db-config.json @@ -6,7 +6,7 @@ "transformAtV1": "processor", "cdkEnabled": true, "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,9 +21,7 @@ "cordova" ], "supportedMessageTypes": ["identify", "track"], - "destConfig": { - "defaultConfig": ["apiKey", "triggerId"] - }, + "destConfig": { "defaultConfig": ["apiKey", "triggerId", "oneTrustCookieCategories"] }, "secretKeys": [] } } diff --git a/src/configurations/destinations/autopilot/ui-config.json b/src/configurations/destinations/autopilot/ui-config.json index c906f7e3f..842cc50a5 100644 --- a/src/configurations/destinations/autopilot/ui-config.json +++ b/src/configurations/destinations/autopilot/ui-config.json @@ -22,6 +22,25 @@ "placeholder": "e.g: 00XX" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/awin/db-config.json b/src/configurations/destinations/awin/db-config.json index f580c04cf..899261ee5 100644 --- a/src/configurations/destinations/awin/db-config.json +++ b/src/configurations/destinations/awin/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": ["advertiserId", "eventsToTrack"], + "includeKeys": ["advertiserId", "eventsToTrack", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +21,7 @@ ], "supportedMessageTypes": ["track"], "destConfig": { - "defaultConfig": ["advertiserId", "eventsToTrack"] + "defaultConfig": ["advertiserId", "eventsToTrack", "oneTrustCookieCategories"] }, "secretKeys": ["advertiserId"] } diff --git a/src/configurations/destinations/awin/schema.json b/src/configurations/destinations/awin/schema.json index 502095e59..5cc658a61 100644 --- a/src/configurations/destinations/awin/schema.json +++ b/src/configurations/destinations/awin/schema.json @@ -19,6 +19,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/awin/ui-config.json b/src/configurations/destinations/awin/ui-config.json index 7680e56b3..ca3d1b394 100644 --- a/src/configurations/destinations/awin/ui-config.json +++ b/src/configurations/destinations/awin/ui-config.json @@ -34,6 +34,25 @@ "footerNote": "Provide the list of events for which we need to call conversions" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/axeptio/db-config.json b/src/configurations/destinations/axeptio/db-config.json index 03b564417..cf264c951 100644 --- a/src/configurations/destinations/axeptio/db-config.json +++ b/src/configurations/destinations/axeptio/db-config.json @@ -22,9 +22,10 @@ "toggleToActivateCallback", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["clientId"] } diff --git a/src/configurations/destinations/axeptio/schema.json b/src/configurations/destinations/axeptio/schema.json index bc56f14d2..2fc2c77e0 100644 --- a/src/configurations/destinations/axeptio/schema.json +++ b/src/configurations/destinations/axeptio/schema.json @@ -8,9 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "toggleToActivateCallback": { - "type": "boolean" - }, + "toggleToActivateCallback": { "type": "boolean" }, "blacklistedEvents": { "type": "array", "items": { @@ -35,27 +33,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/azure_blob/db-config.json b/src/configurations/destinations/azure_blob/db-config.json index 2900d01ed..09e2322f2 100644 --- a/src/configurations/destinations/azure_blob/db-config.json +++ b/src/configurations/destinations/azure_blob/db-config.json @@ -5,7 +5,7 @@ "transformAt": "none", "transformAtV1": "none", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,7 +26,8 @@ "accountName", "accountKey", "useSASTokens", - "sasToken" + "sasToken", + "oneTrustCookieCategories" ] }, "secretKeys": ["accountKey", "sasToken"] diff --git a/src/configurations/destinations/azure_blob/ui-config.json b/src/configurations/destinations/azure_blob/ui-config.json index c681a7dd6..6c946f239 100644 --- a/src/configurations/destinations/azure_blob/ui-config.json +++ b/src/configurations/destinations/azure_blob/ui-config.json @@ -32,12 +32,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useSASTokens", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": false }], "label": "Azure Blob Storage Account Key", "value": "accountKey", "regex": "^(.{0,100})$", @@ -48,12 +43,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useSASTokens", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": true }], "label": "Azure Blob Storage SAS Token", "value": "sasToken", "regex": "^(.+)$", @@ -70,6 +60,25 @@ "footerNote": "Use this to Grant limited access to Azure Storage resources using shared access signatures (SAS)" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/azure_datalake/db-config.json b/src/configurations/destinations/azure_datalake/db-config.json index eaefd5f19..6d0142d41 100644 --- a/src/configurations/destinations/azure_datalake/db-config.json +++ b/src/configurations/destinations/azure_datalake/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -30,12 +30,10 @@ "useSASTokens", "sasToken", "syncFrequency", - "syncStartAt" + "syncStartAt", + "oneTrustCookieCategories" ] }, - "secretKeys": [ - "accountKey", - "sasToken" - ] + "secretKeys": ["accountKey", "sasToken"] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/azure_datalake/schema.json b/src/configurations/destinations/azure_datalake/schema.json index 8d2f93f35..9ae92692a 100644 --- a/src/configurations/destinations/azure_datalake/schema.json +++ b/src/configurations/destinations/azure_datalake/schema.json @@ -8,46 +8,37 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "prefix": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "accountName": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, + "prefix": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" + "syncStartAt": { "type": "string" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "anyOf": [ { - "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } - }, + "properties": { "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } diff --git a/src/configurations/destinations/azure_datalake/ui-config.json b/src/configurations/destinations/azure_datalake/ui-config.json index c88e83c7b..027f2c510 100644 --- a/src/configurations/destinations/azure_datalake/ui-config.json +++ b/src/configurations/destinations/azure_datalake/ui-config.json @@ -46,12 +46,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useSASTokens", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": false }], "label": "Azure Blob Storage Account Key", "value": "accountKey", "regex": "^(.{1,100})$", @@ -62,12 +57,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useSASTokens", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": true }], "label": "Azure Blob Storage SAS Token", "value": "sasToken", "regex": "^(.+)$", @@ -88,49 +78,44 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/azure_event_hub/db-config.json b/src/configurations/destinations/azure_event_hub/db-config.json index 63fc7679d..33fe2caad 100644 --- a/src/configurations/destinations/azure_event_hub/db-config.json +++ b/src/configurations/destinations/azure_event_hub/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,7 +20,12 @@ "cordova" ], "destConfig": { - "defaultConfig": ["bootstrapServer", "topic", "eventHubsConnectionString"] + "defaultConfig": [ + "bootstrapServer", + "topic", + "eventHubsConnectionString", + "oneTrustCookieCategories" + ] }, "secretKeys": [] } diff --git a/src/configurations/destinations/azure_event_hub/ui-config.json b/src/configurations/destinations/azure_event_hub/ui-config.json index 8c655ad45..dfed62fb4 100644 --- a/src/configurations/destinations/azure_event_hub/ui-config.json +++ b/src/configurations/destinations/azure_event_hub/ui-config.json @@ -31,6 +31,25 @@ "placeholder": "e.g: Endpoint=sb://..." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/azure_synapse/db-config.json b/src/configurations/destinations/azure_synapse/db-config.json index 44a69640f..e3549b9a8 100644 --- a/src/configurations/destinations/azure_synapse/db-config.json +++ b/src/configurations/destinations/azure_synapse/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -47,7 +47,8 @@ "syncFrequency", "syncStartAt", "excludeWindow", - "useRudderStorage" + "useRudderStorage", + "oneTrustCookieCategories" ] }, "secretKeys": [ diff --git a/src/configurations/destinations/azure_synapse/schema.json b/src/configurations/destinations/azure_synapse/schema.json index e28a09699..d31089e81 100644 --- a/src/configurations/destinations/azure_synapse/schema.json +++ b/src/configurations/destinations/azure_synapse/schema.json @@ -13,109 +13,68 @@ "useRudderStorage" ], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" - }, - "database": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "user": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "password": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "sslMode": { - "type": "string", - "pattern": "^(disable|true|false)$" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, + "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "sslMode": { "type": "string", "pattern": "^(disable|true|false)$" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, - "bucketProvider": { - "type": "string", - "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" + "useRudderStorage": { "type": "boolean", "default": false }, + "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, - "then": { - "required": ["bucketProvider"] - } + "then": { "required": ["bucketProvider"] } }, { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, "then": { "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, "bucketName": { "type": "string", "pattern": "(^env[.].+)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } }, "required": ["bucketName", "accessKeyID", "accessKey"] } @@ -123,12 +82,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -138,10 +93,7 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["bucketName", "credentials"] } @@ -149,12 +101,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -164,31 +112,20 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } @@ -198,12 +135,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "MINIO" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "MINIO" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -213,21 +146,13 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "secretAccessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "useSSL": { - "type": "boolean" - } + "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "useSSL": { "type": "boolean" } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } diff --git a/src/configurations/destinations/azure_synapse/ui-config.json b/src/configurations/destinations/azure_synapse/ui-config.json index 9450a6a8f..1d5c14dea 100644 --- a/src/configurations/destinations/azure_synapse/ui-config.json +++ b/src/configurations/destinations/azure_synapse/ui-config.json @@ -63,23 +63,11 @@ "label": "SSL Mode", "value": "sslMode", "options": [ - { - "name": "disable", - "value": "disable" - }, - { - "name": "true", - "value": "true" - }, - { - "name": "false", - "value": "false" - } + { "name": "disable", "value": "disable" }, + { "name": "true", "value": "true" }, + { "name": "false", "value": "false" } ], - "defaultOption": { - "name": "disable", - "value": "disable" - }, + "defaultOption": { "name": "disable", "value": "disable" }, "required": true }, { @@ -87,45 +75,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -133,18 +97,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -165,44 +120,20 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - }, - { - "name": "MINIO", - "value": "MINIO" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, + { "name": "MINIO", "value": "MINIO" } ], - "defaultOption": { - "name": "MINIO", - "value": "MINIO" - }, + "defaultOption": { "name": "MINIO", "value": "MINIO" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into AzureSynapse", @@ -216,14 +147,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into AzureSynapse", @@ -237,14 +162,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into AzureSynapse", @@ -258,14 +177,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into AzureSynapse", @@ -279,14 +192,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -295,18 +202,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -322,18 +220,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -345,18 +234,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -368,14 +248,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -387,18 +261,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -411,18 +276,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": true } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -435,14 +291,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -452,14 +302,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -471,14 +315,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -490,14 +328,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -509,14 +341,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -528,20 +354,33 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use SSL for connection", "value": "useSSL", "default": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/bingads/db-config.json b/src/configurations/destinations/bingads/db-config.json index 07d583f26..ecdd293ac 100644 --- a/src/configurations/destinations/bingads/db-config.json +++ b/src/configurations/destinations/bingads/db-config.json @@ -15,8 +15,14 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "destConfig": { - "defaultConfig": ["tagID", "blacklistedEvents", "whitelistedEvents", "eventFilteringOption"], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "defaultConfig": [ + "tagID", + "blacklistedEvents", + "whitelistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], + "web": ["useNativeSDK"] }, "secretKeys": ["tagID"] } diff --git a/src/configurations/destinations/blueshift/db-config.json b/src/configurations/destinations/blueshift/db-config.json index 8b6334307..2e6e6ee7a 100644 --- a/src/configurations/destinations/blueshift/db-config.json +++ b/src/configurations/destinations/blueshift/db-config.json @@ -5,12 +5,12 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": ["web", "cloud", "mobile"], "supportedMessageTypes": ["identify", "track", "group"], "destConfig": { - "defaultConfig": ["eventApiKey", "usersApiKey", "dataCenter"] + "defaultConfig": ["eventApiKey", "usersApiKey", "dataCenter", "oneTrustCookieCategories"] }, "secretKeys": ["eventApiKey", "usersApiKey"] } diff --git a/src/configurations/destinations/blueshift/ui-config.json b/src/configurations/destinations/blueshift/ui-config.json index b05e78ec5..9591ab11a 100644 --- a/src/configurations/destinations/blueshift/ui-config.json +++ b/src/configurations/destinations/blueshift/ui-config.json @@ -29,22 +29,32 @@ "value": "dataCenter", "mode": "single", "options": [ - { - "name": "Standard", - "value": "standard" - }, - { - "name": "EU", - "value": "eu" - } + { "name": "Standard", "value": "standard" }, + { "name": "EU", "value": "eu" } ], - "defaultOption": { - "name": "Standard", - "value": "standard" - }, + "defaultOption": { "name": "Standard", "value": "standard" }, "footerNote": "Select your Blueshift Data Center" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/bq/db-config.json b/src/configurations/destinations/bq/db-config.json index 9198f0f3f..ac403c432 100644 --- a/src/configurations/destinations/bq/db-config.json +++ b/src/configurations/destinations/bq/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -31,7 +31,8 @@ "syncFrequency", "syncStartAt", "excludeWindow", - "jsonPaths" + "jsonPaths", + "oneTrustCookieCategories" ] }, "secretKeys": ["credentials"] diff --git a/src/configurations/destinations/bq/schema.json b/src/configurations/destinations/bq/schema.json index 6dff45d92..fe7bab3a0 100644 --- a/src/configurations/destinations/bq/schema.json +++ b/src/configurations/destinations/bq/schema.json @@ -4,53 +4,41 @@ "type": "object", "required": ["project", "bucketName", "credentials", "syncFrequency"], "properties": { - "project": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "location": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, + "project": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "location": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, "bucketName": { "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "prefix": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, + "prefix": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "jsonPaths": { - "type": "string", - "pattern": "(^env[.].*)|.*" + "jsonPaths": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "additionalProperties": true diff --git a/src/configurations/destinations/bq/ui-config.json b/src/configurations/destinations/bq/ui-config.json index c9b0c2d02..a06e4ccf5 100644 --- a/src/configurations/destinations/bq/ui-config.json +++ b/src/configurations/destinations/bq/ui-config.json @@ -71,45 +71,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -117,18 +93,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -146,6 +113,25 @@ } } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/bqstream/db-config.json b/src/configurations/destinations/bqstream/db-config.json index 603d1bd6f..d125355d7 100644 --- a/src/configurations/destinations/bqstream/db-config.json +++ b/src/configurations/destinations/bqstream/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedMessageTypes": ["track"], "supportedSourceTypes": [ @@ -22,7 +22,14 @@ "warehouse" ], "destConfig": { - "defaultConfig": ["datasetId", "tableId", "projectId", "credentials", "insertId"] + "defaultConfig": [ + "datasetId", + "tableId", + "projectId", + "credentials", + "insertId", + "oneTrustCookieCategories" + ] }, "secretKeys": ["credentials"] } diff --git a/src/configurations/destinations/bqstream/ui-config.json b/src/configurations/destinations/bqstream/ui-config.json index 3873c5d4e..dabb75385 100644 --- a/src/configurations/destinations/bqstream/ui-config.json +++ b/src/configurations/destinations/bqstream/ui-config.json @@ -44,6 +44,25 @@ "secret": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/branch/db-config.json b/src/configurations/destinations/branch/db-config.json index 9fba30e1b..50e3b4964 100644 --- a/src/configurations/destinations/branch/db-config.json +++ b/src/configurations/destinations/branch/db-config.json @@ -7,7 +7,7 @@ "saveDestinationResponse": true, "includeKeys": [ "branchKey", - "blacklistedEvents", + "blacklistedEvents", "whitelistedEvents", "eventFilteringOption", "oneTrustCookieCategories" @@ -31,10 +31,11 @@ "branchKey", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"] + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/bugsnag/db-config.json b/src/configurations/destinations/bugsnag/db-config.json index 2aed6d72b..799687cbd 100644 --- a/src/configurations/destinations/bugsnag/db-config.json +++ b/src/configurations/destinations/bugsnag/db-config.json @@ -17,10 +17,16 @@ "excludeKeys": [], "supportedSourceTypes": ["android", "ios", "web"], "destConfig": { - "defaultConfig": ["apiKey", "blacklistedEvents", "whitelistedEvents", "eventFilteringOption"], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"], - "web": ["useNativeSDK", "releaseStage", "ssl", "oneTrustCookieCategories"] + "defaultConfig": [ + "apiKey", + "blacklistedEvents", + "whitelistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"], + "web": ["useNativeSDK", "releaseStage", "ssl"] }, "secretKeys": ["apiKey"] } diff --git a/src/configurations/destinations/campaign_manager/db-config.json b/src/configurations/destinations/campaign_manager/db-config.json index a77d36ac5..e87dd9342 100644 --- a/src/configurations/destinations/campaign_manager/db-config.json +++ b/src/configurations/destinations/campaign_manager/db-config.json @@ -10,7 +10,7 @@ }, "transformAt": "router", "transformAtV1": "router", - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -31,13 +31,12 @@ "limitAdTracking", "treatmentForUnderage", "childDirectedTreatment", - "nonPersonalizedAd" + "nonPersonalizedAd", + "oneTrustCookieCategories" ] }, "secretKeys": [], "supportedMessageTypes": ["track"] }, - "options": { - "isBeta": true - } + "options": { "isBeta": true } } diff --git a/src/configurations/destinations/campaign_manager/schema.json b/src/configurations/destinations/campaign_manager/schema.json index 854b7e520..ac30e809c 100644 --- a/src/configurations/destinations/campaign_manager/schema.json +++ b/src/configurations/destinations/campaign_manager/schema.json @@ -8,17 +8,21 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,50})$" }, - "limitAdTracking": { - "type": "boolean" - }, - "childDirectedTreatment": { - "type": "boolean" - }, - "nonPersonalizedAd": { - "type": "boolean" - }, - "treatmentForUnderage": { - "type": "boolean" + "limitAdTracking": { "type": "boolean" }, + "childDirectedTreatment": { "type": "boolean" }, + "nonPersonalizedAd": { "type": "boolean" }, + "treatmentForUnderage": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/campaign_manager/ui-config.json b/src/configurations/destinations/campaign_manager/ui-config.json index 765cc4030..82db1c19b 100644 --- a/src/configurations/destinations/campaign_manager/ui-config.json +++ b/src/configurations/destinations/campaign_manager/ui-config.json @@ -47,6 +47,25 @@ "footerNote": "Whether this particular request may come from a user under the age of 16 (may differ by country), under compliance with the European Union's General Data Protection Regulation (GDPR)." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/candu/db-config.json b/src/configurations/destinations/candu/db-config.json index d0da9f9c0..cbc80c397 100644 --- a/src/configurations/destinations/candu/db-config.json +++ b/src/configurations/destinations/candu/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["apiKey"], + "includeKeys": ["apiKey", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,9 +20,7 @@ "warehouse" ], "supportedMessageTypes": ["identify", "track"], - "destConfig": { - "defaultConfig": ["apiKey"] - }, + "destConfig": { "defaultConfig": ["apiKey", "oneTrustCookieCategories"] }, "secretKeys": ["apiKey"] } } diff --git a/src/configurations/destinations/candu/ui-config.json b/src/configurations/destinations/candu/ui-config.json index 2c516748d..0370b88a6 100644 --- a/src/configurations/destinations/candu/ui-config.json +++ b/src/configurations/destinations/candu/ui-config.json @@ -13,6 +13,25 @@ "secret": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/canny/db-config.json b/src/configurations/destinations/canny/db-config.json index 5c1fcc5cd..f58b0f0cc 100644 --- a/src/configurations/destinations/canny/db-config.json +++ b/src/configurations/destinations/canny/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["apiKey", "eventsToEvents"], + "includeKeys": ["apiKey", "eventsToEvents", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,9 +20,7 @@ "warehouse" ], "supportedMessageTypes": ["identify", "track"], - "destConfig": { - "defaultConfig": ["apiKey", "eventsToEvents"] - }, + "destConfig": { "defaultConfig": ["apiKey", "eventsToEvents", "oneTrustCookieCategories"] }, "secretKeys": ["apiKey"] } } diff --git a/src/configurations/destinations/canny/schema.json b/src/configurations/destinations/canny/schema.json index 753d8a294..afa26ae88 100644 --- a/src/configurations/destinations/canny/schema.json +++ b/src/configurations/destinations/canny/schema.json @@ -23,6 +23,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/canny/ui-config.json b/src/configurations/destinations/canny/ui-config.json index 09e086a66..82f76ddfa 100644 --- a/src/configurations/destinations/canny/ui-config.json +++ b/src/configurations/destinations/canny/ui-config.json @@ -29,13 +29,26 @@ "required": false, "placeholderLeft": "e.g: Submit", "options": [ + { "name": "Create Post", "value": "createPost" }, + { "name": "Create Vote", "value": "createVote" } + ] + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ { - "name": "Create Post", - "value": "createPost" - }, - { - "name": "Create Vote", - "value": "createVote" + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false } ] } diff --git a/src/configurations/destinations/chartbeat/db-config.json b/src/configurations/destinations/chartbeat/db-config.json index 7d7384136..5963914a7 100644 --- a/src/configurations/destinations/chartbeat/db-config.json +++ b/src/configurations/destinations/chartbeat/db-config.json @@ -25,9 +25,10 @@ "video", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/clevertap/db-config.json b/src/configurations/destinations/clevertap/db-config.json index 3e92887d9..b0c0f4825 100644 --- a/src/configurations/destinations/clevertap/db-config.json +++ b/src/configurations/destinations/clevertap/db-config.json @@ -41,11 +41,12 @@ "enableObjectIdMapping", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"], + "web": ["useNativeSDK"], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"], "reactnative": ["useNativeSDK"] }, "secretKeys": ["passcode"] diff --git a/src/configurations/destinations/clickhouse/db-config.json b/src/configurations/destinations/clickhouse/db-config.json index bcc0183d7..95b87a18b 100644 --- a/src/configurations/destinations/clickhouse/db-config.json +++ b/src/configurations/destinations/clickhouse/db-config.json @@ -7,7 +7,7 @@ "transformAtV1": "processor", "saveDestinationResponse": true, "excludeKeys": [], - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "supportedSourceTypes": [ "android", "ios", @@ -51,7 +51,8 @@ "skipVerify", "caCertificate", "excludeWindow", - "useRudderStorage" + "useRudderStorage", + "oneTrustCookieCategories" ] }, "secretKeys": [ diff --git a/src/configurations/destinations/clickhouse/schema.json b/src/configurations/destinations/clickhouse/schema.json index 9931b341f..7f7f4ad8b 100644 --- a/src/configurations/destinations/clickhouse/schema.json +++ b/src/configurations/destinations/clickhouse/schema.json @@ -4,129 +4,74 @@ "type": "object", "required": ["host", "port", "database", "user", "secure", "syncFrequency", "useRudderStorage"], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "database": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "cluster": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "user": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "password": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, - "secure": { - "type": "boolean", - "default": false - }, - "skipVerify": { - "type": "boolean" - }, - "caCertificate": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "cluster": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "password": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "secure": { "type": "boolean", "default": false }, + "skipVerify": { "type": "boolean" }, + "caCertificate": { "type": "string", "pattern": "(^env[.].*)|.*" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, - "bucketProvider": { - "type": "string", - "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" + "useRudderStorage": { "type": "boolean", "default": false }, + "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { - "if": { - "properties": { - "secure": { - "const": true - } - }, - "required": ["secure"] - }, - "then": { - "required": ["skipVerify"] - } + "if": { "properties": { "secure": { "const": true } }, "required": ["secure"] }, + "then": { "required": ["skipVerify"] } }, { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, - "then": { - "required": ["bucketProvider"] - } + "then": { "required": ["bucketProvider"] } }, { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, "then": { "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, "bucketName": { "type": "string", "pattern": "(^env[.].+)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } }, "required": ["bucketName", "accessKeyID", "accessKey"] } @@ -134,12 +79,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -149,10 +90,7 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["bucketName", "credentials"] } @@ -160,12 +98,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -175,31 +109,20 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } @@ -209,12 +132,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "MINIO" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "MINIO" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -224,21 +143,13 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "secretAccessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "useSSL": { - "type": "boolean" - } + "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "useSSL": { "type": "boolean" } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } diff --git a/src/configurations/destinations/clickhouse/ui-config.json b/src/configurations/destinations/clickhouse/ui-config.json index 2e890b958..c3742d79a 100644 --- a/src/configurations/destinations/clickhouse/ui-config.json +++ b/src/configurations/destinations/clickhouse/ui-config.json @@ -57,18 +57,10 @@ "required": false, "secret": true }, + { "type": "checkbox", "label": "Secure", "value": "secure", "default": false }, { "type": "checkbox", - "label": "Secure", - "value": "secure", - "default": false - }, - { - "type": "checkbox", - "preRequisiteField": { - "name": "secure", - "selectedValue": true - }, + "preRequisiteField": { "name": "secure", "selectedValue": true }, "label": "Skip verify", "value": "skipVerify", "default": false, @@ -76,10 +68,7 @@ }, { "type": "textareaInput", - "preRequisiteField": { - "name": "secure", - "selectedValue": true - }, + "preRequisiteField": { "name": "secure", "selectedValue": true }, "label": "CA certificate", "value": "caCertificate", "regex": ".*", @@ -91,45 +80,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -137,18 +102,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -169,44 +125,20 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - }, - { - "name": "MINIO", - "value": "MINIO" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, + { "name": "MINIO", "value": "MINIO" } ], - "defaultOption": { - "name": "S3", - "value": "S3" - }, + "defaultOption": { "name": "S3", "value": "S3" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into ClickHouse", @@ -220,14 +152,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into ClickHouse", @@ -241,14 +167,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into ClickHouse", @@ -262,14 +182,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into ClickHouse", @@ -283,14 +197,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -299,18 +207,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -326,18 +225,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -349,18 +239,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -372,14 +253,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -391,18 +266,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -415,18 +281,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": true } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -439,14 +296,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -456,14 +307,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -476,14 +321,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -495,14 +334,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -514,14 +347,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -533,20 +360,33 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use SSL for connection", "value": "useSSL", "default": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/clickup/db-config.json b/src/configurations/destinations/clickup/db-config.json index ea457aab8..873397302 100644 --- a/src/configurations/destinations/clickup/db-config.json +++ b/src/configurations/destinations/clickup/db-config.json @@ -5,7 +5,13 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["apiToken", "listId", "keyToCustomFieldName", "whitelistedEvents"], + "includeKeys": [ + "apiToken", + "listId", + "keyToCustomFieldName", + "whitelistedEvents", + "oneTrustCookieCategories" + ], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +27,13 @@ ], "supportedMessageTypes": ["track"], "destConfig": { - "defaultConfig": ["apiToken", "listId", "keyToCustomFieldName", "whitelistedEvents"] + "defaultConfig": [ + "apiToken", + "listId", + "keyToCustomFieldName", + "whitelistedEvents", + "oneTrustCookieCategories" + ] }, "secretKeys": ["apiToken"] } diff --git a/src/configurations/destinations/clickup/schema.json b/src/configurations/destinations/clickup/schema.json index d103f553f..d0139de2a 100644 --- a/src/configurations/destinations/clickup/schema.json +++ b/src/configurations/destinations/clickup/schema.json @@ -39,6 +39,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/clickup/ui-config.json b/src/configurations/destinations/clickup/ui-config.json index d16d4c584..91460db85 100644 --- a/src/configurations/destinations/clickup/ui-config.json +++ b/src/configurations/destinations/clickup/ui-config.json @@ -63,6 +63,25 @@ ] } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/confluent_cloud/db-config.json b/src/configurations/destinations/confluent_cloud/db-config.json index 9a9feb924..c0690994f 100644 --- a/src/configurations/destinations/confluent_cloud/db-config.json +++ b/src/configurations/destinations/confluent_cloud/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,7 +20,13 @@ "cordova" ], "destConfig": { - "defaultConfig": ["bootstrapServer", "topic", "apiKey", "apiSecret"] + "defaultConfig": [ + "bootstrapServer", + "topic", + "apiKey", + "apiSecret", + "oneTrustCookieCategories" + ] }, "secretKeys": ["apiSecret"] } diff --git a/src/configurations/destinations/confluent_cloud/ui-config.json b/src/configurations/destinations/confluent_cloud/ui-config.json index eed164ec6..fa5f55724 100644 --- a/src/configurations/destinations/confluent_cloud/ui-config.json +++ b/src/configurations/destinations/confluent_cloud/ui-config.json @@ -41,6 +41,25 @@ "secret": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/convertflow/db-config.json b/src/configurations/destinations/convertflow/db-config.json index 85cfc8435..dc0fc0caa 100644 --- a/src/configurations/destinations/convertflow/db-config.json +++ b/src/configurations/destinations/convertflow/db-config.json @@ -26,9 +26,10 @@ "eventsMappping", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["websiteId"] } diff --git a/src/configurations/destinations/convertflow/schema.json b/src/configurations/destinations/convertflow/schema.json index ca59fbfc9..e60d802af 100644 --- a/src/configurations/destinations/convertflow/schema.json +++ b/src/configurations/destinations/convertflow/schema.json @@ -8,9 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,10})$" }, - "toggleToSendData": { - "type": "boolean" - }, + "toggleToSendData": { "type": "boolean" }, "eventsList": { "type": "string", "pattern": "^(cfReady|cfView|cfConversion|cfCompletion|cfAddToCart|cfSubmit|cfClose)$" @@ -55,27 +53,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/courier/db-config.json b/src/configurations/destinations/courier/db-config.json index ac2a2ad97..cf8a99f04 100644 --- a/src/configurations/destinations/courier/db-config.json +++ b/src/configurations/destinations/courier/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,9 +20,7 @@ "warehouse" ], "supportedMessageTypes": ["identify", "track"], - "destConfig": { - "defaultConfig": ["apiKey"] - }, + "destConfig": { "defaultConfig": ["apiKey", "oneTrustCookieCategories"] }, "secretKeys": [] }, "options": { diff --git a/src/configurations/destinations/courier/schema.json b/src/configurations/destinations/courier/schema.json index f9ced2a68..013f7d0d4 100644 --- a/src/configurations/destinations/courier/schema.json +++ b/src/configurations/destinations/courier/schema.json @@ -7,6 +7,18 @@ "apiKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/courier/ui-config.json b/src/configurations/destinations/courier/ui-config.json index 2dde6e351..ecf9f776c 100644 --- a/src/configurations/destinations/courier/ui-config.json +++ b/src/configurations/destinations/courier/ui-config.json @@ -16,6 +16,25 @@ "placeholder": "e.g: pk_prod_1BR12G4ZH94WNXMYFCTZR8ES62GP" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/criteo/db-config.json b/src/configurations/destinations/criteo/db-config.json index 5d1741c84..88dbb595b 100644 --- a/src/configurations/destinations/criteo/db-config.json +++ b/src/configurations/destinations/criteo/db-config.json @@ -27,9 +27,10 @@ "blacklistedEvents", "whitelistedEvents", "eventFilteringOption", - "eventsToStandard" + "eventsToStandard", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["accountId"] } diff --git a/src/configurations/destinations/criteo/schema.json b/src/configurations/destinations/criteo/schema.json index 45c90bc15..de6136cfb 100644 --- a/src/configurations/destinations/criteo/schema.json +++ b/src/configurations/destinations/criteo/schema.json @@ -57,18 +57,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } @@ -93,14 +88,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - } + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } } } } } diff --git a/src/configurations/destinations/criteo_audience/db-config.json b/src/configurations/destinations/criteo_audience/db-config.json index ed0c69c85..109eb66c4 100644 --- a/src/configurations/destinations/criteo_audience/db-config.json +++ b/src/configurations/destinations/criteo_audience/db-config.json @@ -2,13 +2,11 @@ "name": "CRITEO_AUDIENCE", "displayName": "Criteo Audience", "config": { - "auth": { - "type": "OAuth" - }, + "auth": { "type": "OAuth" }, "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": ["cloud"], "syncBehaviours": [], @@ -18,8 +16,9 @@ "rudderAccountId", "audienceId", "audienceType", - "gumCallerId" + "gumCallerId", + "oneTrustCookieCategories" ] } } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/criteo_audience/schema.json b/src/configurations/destinations/criteo_audience/schema.json index 0bbb7eae4..ce2ea51fb 100644 --- a/src/configurations/destinations/criteo_audience/schema.json +++ b/src/configurations/destinations/criteo_audience/schema.json @@ -8,14 +8,23 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "audienceType": { - "type": "string", - "pattern": "^(email|madid|identityLink|gum)$" - }, + "audienceType": { "type": "string", "pattern": "^(email|madid|identityLink|gum)$" }, "gumCallerId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/criteo_audience/ui-config.json b/src/configurations/destinations/criteo_audience/ui-config.json index af53c9b71..140723222 100644 --- a/src/configurations/destinations/criteo_audience/ui-config.json +++ b/src/configurations/destinations/criteo_audience/ui-config.json @@ -21,27 +21,12 @@ "required": true, "placeholder": "email", "options": [ - { - "name": "email", - "value": "email" - }, - { - "name": "madid", - "value": "madid" - }, - { - "name": "identityLink", - "value": "identityLink" - }, - { - "name": "gum", - "value": "gum" - } + { "name": "email", "value": "email" }, + { "name": "madid", "value": "madid" }, + { "name": "identityLink", "value": "identityLink" }, + { "name": "gum", "value": "gum" } ], - "defaultOption": { - "name": "email", - "value": "email" - } + "defaultOption": { "name": "email", "value": "email" } }, { "type": "textInput", @@ -52,13 +37,29 @@ "required": false, "placeholder": "e.g. 53213445", "secret": false, - "preRequisiteField": { - "name": "audienceType", - "selectedValue": "gum" - }, + "preRequisiteField": { "name": "audienceType", "selectedValue": "gum" }, "footerNote": "GUM cookie identifier" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] -} \ No newline at end of file +} diff --git a/src/configurations/destinations/custify/db-config.json b/src/configurations/destinations/custify/db-config.json index 7dd728a2c..39e1c2a5f 100644 --- a/src/configurations/destinations/custify/db-config.json +++ b/src/configurations/destinations/custify/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["apiKey", "sendAnonymousId"], + "includeKeys": ["apiKey", "sendAnonymousId", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,8 +20,6 @@ "cordova" ], "supportedMessageTypes": ["identify", "group", "track"], - "destConfig": { - "defaultConfig": ["apiKey", "sendAnonymousId"] - } + "destConfig": { "defaultConfig": ["apiKey", "sendAnonymousId", "oneTrustCookieCategories"] } } } diff --git a/src/configurations/destinations/custify/schema.json b/src/configurations/destinations/custify/schema.json index e2e81316e..28f1199ea 100644 --- a/src/configurations/destinations/custify/schema.json +++ b/src/configurations/destinations/custify/schema.json @@ -8,8 +8,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,61})$" }, - "sendAnonymousId": { - "type": "boolean" + "sendAnonymousId": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/custify/ui-config.json b/src/configurations/destinations/custify/ui-config.json index e4632520f..dfd40f789 100644 --- a/src/configurations/destinations/custify/ui-config.json +++ b/src/configurations/destinations/custify/ui-config.json @@ -19,6 +19,25 @@ "default": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/customerio/db-config.json b/src/configurations/destinations/customerio/db-config.json index 509a74055..b1c28b50f 100644 --- a/src/configurations/destinations/customerio/db-config.json +++ b/src/configurations/destinations/customerio/db-config.json @@ -38,9 +38,10 @@ "deviceTokenEventName", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/customerio/schema.json b/src/configurations/destinations/customerio/schema.json index c1a5e3fc4..b6dd16c97 100644 --- a/src/configurations/destinations/customerio/schema.json +++ b/src/configurations/destinations/customerio/schema.json @@ -16,17 +16,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "datacenterEU": { - "type": "boolean" - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "datacenterEU": { "type": "boolean" }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(^(disable|whitelistedEvents|blacklistedEvents)$)" @@ -56,18 +47,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/dcm_floodlight/db-config.json b/src/configurations/destinations/dcm_floodlight/db-config.json index a87bdb6be..82bd84d0f 100644 --- a/src/configurations/destinations/dcm_floodlight/db-config.json +++ b/src/configurations/destinations/dcm_floodlight/db-config.json @@ -44,7 +44,8 @@ "conversionEvents", "eventFilteringOption", "whitelistedEvents", - "blacklistedEvents" + "blacklistedEvents", + "oneTrustCookieCategories" ], "web": [ "useNativeSDK", @@ -52,8 +53,7 @@ "allowAdPersonalizationSignals", "tagFormat", "doubleclickId", - "googleNetworkId", - "oneTrustCookieCategories" + "googleNetworkId" ] }, "secretKeys": ["advertiserId"] diff --git a/src/configurations/destinations/dcm_floodlight/schema.json b/src/configurations/destinations/dcm_floodlight/schema.json index cf9a87881..cd75bfb84 100644 --- a/src/configurations/destinations/dcm_floodlight/schema.json +++ b/src/configurations/destinations/dcm_floodlight/schema.json @@ -33,9 +33,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "salesTag": { - "type": "boolean" - }, + "salesTag": { "type": "boolean" }, "customVariables": { "type": "array", "items": { @@ -83,42 +81,14 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "tagFormat": { - "type": "string", - "pattern": "(^env[.].+)|^(globalSiteTag|iframeTag)$" - }, - "conversionLinker": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "tagFormat": { "type": "string", "pattern": "(^env[.].+)|^(globalSiteTag|iframeTag)$" }, + "conversionLinker": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "allowAdPersonalizationSignals": { "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "doubleclickId": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } + "properties": { "web": { "type": "boolean" } } }, + "doubleclickId": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "googleNetworkId": { "type": "object", "properties": { @@ -129,18 +99,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/delighted/db-config.json b/src/configurations/destinations/delighted/db-config.json index 58e9bed27..bbc6f79ec 100644 --- a/src/configurations/destinations/delighted/db-config.json +++ b/src/configurations/destinations/delighted/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +21,13 @@ ], "supportedMessageTypes": ["alias", "identify", "track"], "destConfig": { - "defaultConfig": ["apiKey", "channel", "delay", "eventNamesSettings"] + "defaultConfig": [ + "apiKey", + "channel", + "delay", + "eventNamesSettings", + "oneTrustCookieCategories" + ] }, "secretKeys": ["apiKey"] } diff --git a/src/configurations/destinations/delighted/ui-config.json b/src/configurations/destinations/delighted/ui-config.json index 5a05bd3ca..3cc7baa3f 100644 --- a/src/configurations/destinations/delighted/ui-config.json +++ b/src/configurations/destinations/delighted/ui-config.json @@ -20,19 +20,10 @@ "required": true, "placeholder": "Email", "options": [ - { - "name": "Email", - "value": "email" - }, - { - "name": "SMS", - "value": "sms" - } + { "name": "Email", "value": "email" }, + { "name": "SMS", "value": "sms" } ], - "defaultOption": { - "name": "Email", - "value": "email" - } + "defaultOption": { "name": "Email", "value": "email" } }, { "type": "textInput", @@ -62,6 +53,25 @@ ] } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/deltalake/db-config.json b/src/configurations/destinations/deltalake/db-config.json index 5370d4c33..81f4de94b 100644 --- a/src/configurations/destinations/deltalake/db-config.json +++ b/src/configurations/destinations/deltalake/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -48,7 +48,8 @@ "excludeWindow", "enableExternalLocation", "externalLocation", - "useRudderStorage" + "useRudderStorage", + "oneTrustCookieCategories" ] }, "secretKeys": [ @@ -61,4 +62,4 @@ "token" ] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/deltalake/schema.json b/src/configurations/destinations/deltalake/schema.json index 8d51e95ae..471b1e0ff 100644 --- a/src/configurations/destinations/deltalake/schema.json +++ b/src/configurations/destinations/deltalake/schema.json @@ -4,109 +4,66 @@ "type": "object", "required": ["host", "port", "path", "token", "syncFrequency", "bucketProvider"], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "path": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "token": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "catalog": { - "type": "string", - "pattern": "(^env[.].*)|^(.*)$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "path": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "token": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "catalog": { "type": "string", "pattern": "(^env[.].*)|^(.*)$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "prefix": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "bucketProvider": { - "type": "string", - "pattern": "^(S3|GCS|AZURE_BLOB)$" - }, - "enableExternalLocation": { - "type": "boolean", - "default": false - }, - "useRudderStorage": { - "type": "boolean", - "default": false + "prefix": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB)$" }, + "enableExternalLocation": { "type": "boolean", "default": false }, + "useRudderStorage": { "type": "boolean", "default": false }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, - "then": { - "required": ["bucketProvider"] - } + "then": { "required": ["bucketProvider"] } }, { "if": { - "properties": { - "enableExternalLocation": { - "const": "true" - } - }, + "properties": { "enableExternalLocation": { "const": "true" } }, "required": ["enableExternalLocation"] }, "then": { - "properties": { - "externalLocation": { - "type": "string", - "pattern": "(^env[.].*)|.*" - } - }, + "properties": { "externalLocation": { "type": "string", "pattern": "(^env[.].*)|.*" } }, "required": ["externalLocation"] } }, { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -116,12 +73,8 @@ "type": "string", "pattern": "(^env[.].*)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "enableSSE": { - "type": "boolean" - }, - "useSTSTokens": { - "type": "boolean" - } + "enableSSE": { "type": "boolean" }, + "useSTSTokens": { "type": "boolean" } }, "required": ["bucketName", "enableSSE", "useSTSTokens"] }, @@ -129,31 +82,17 @@ { "if": { "properties": { - "useSTSTokens": { - "const": true - }, - "useRudderStorage": { - "const": false - } + "useSTSTokens": { "const": true }, + "useRudderStorage": { "const": false } }, "required": ["useSTSTokens", "useRudderStorage"] }, "then": { "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - } + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" } }, "required": ["accessKeyID", "accessKey"] } @@ -163,12 +102,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -178,10 +113,7 @@ "type": "string", "pattern": "(^env[.].*)|^((?!goog)(?!.*google.*)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["bucketName", "credentials"] } @@ -189,12 +121,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -204,31 +132,20 @@ "type": "string", "pattern": "(^env[.].*)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { - "type": "string", - "pattern": "(^env[.].*)|^(.{1,100})$" - } + "accountName": { "type": "string", "pattern": "(^env[.].*)|^(.{1,100})$" } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } diff --git a/src/configurations/destinations/deltalake/ui-config.json b/src/configurations/destinations/deltalake/ui-config.json index c4d9a4700..52c8b3ed2 100644 --- a/src/configurations/destinations/deltalake/ui-config.json +++ b/src/configurations/destinations/deltalake/ui-config.json @@ -48,12 +48,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "enableExternalLocation", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "enableExternalLocation", "selectedValue": true }], "label": "External delta table location", "value": "externalLocation", "regex": "^(.{1,100})$", @@ -92,45 +87,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -138,18 +109,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -170,40 +132,19 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" } ], - "defaultOption": { - "name": "S3", - "value": "S3" - }, + "defaultOption": { "name": "S3", "value": "S3" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into DeltaLake", @@ -217,14 +158,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into DeltaLake", @@ -238,14 +173,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into DeltaLake", @@ -258,12 +187,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "useRudderStorage", "selectedValue": false }], "label": "Prefix", "value": "prefix", "regex": "^(.{0,100})$", @@ -278,31 +202,16 @@ "default": false, "footerNote": "Note: This feature is only supported with databricks S3A client.", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ] }, { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useSTSTokens", - "selectedValue": true - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useSTSTokens", "selectedValue": true }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -311,22 +220,10 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useSTSTokens", - "selectedValue": true - }, - { - "name": "roleBasedAuth", - "selectedValue": true - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useSTSTokens", "selectedValue": true }, + { "name": "roleBasedAuth", "selectedValue": true }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -342,22 +239,10 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useSTSTokens", - "selectedValue": true - }, - { - "name": "roleBasedAuth", - "selectedValue": false - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useSTSTokens", "selectedValue": true }, + { "name": "roleBasedAuth", "selectedValue": false }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -370,22 +255,10 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useSTSTokens", - "selectedValue": true - }, - { - "name": "roleBasedAuth", - "selectedValue": false - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useSTSTokens", "selectedValue": true }, + { "name": "roleBasedAuth", "selectedValue": false }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -398,14 +271,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Enable Server Side Encryption For S3?", "value": "enableSSE", @@ -414,14 +281,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -434,18 +295,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useSASTokens", - "selectedValue": false - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useSASTokens", "selectedValue": false }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -458,18 +310,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useSASTokens", - "selectedValue": true - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useSASTokens", "selectedValue": true }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -482,14 +325,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -499,14 +336,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -517,6 +348,25 @@ "footerNote": "Create a service account in your GCP Project for RudderStack with roles of 'storage.objectCreator'" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/digital_ocean_spaces/db-config.json b/src/configurations/destinations/digital_ocean_spaces/db-config.json index b6df7573a..69627ed03 100644 --- a/src/configurations/destinations/digital_ocean_spaces/db-config.json +++ b/src/configurations/destinations/digital_ocean_spaces/db-config.json @@ -5,7 +5,7 @@ "transformAt": "none", "transformAtV1": "none", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,7 +20,14 @@ "flutter" ], "destConfig": { - "defaultConfig": ["endPoint", "accessKeyID", "accessKey", "bucketName", "prefix"] + "defaultConfig": [ + "endPoint", + "accessKeyID", + "accessKey", + "bucketName", + "prefix", + "oneTrustCookieCategories" + ] }, "secretKeys": ["accessKeyID", "secretAccessKey"] } diff --git a/src/configurations/destinations/digital_ocean_spaces/ui-config.json b/src/configurations/destinations/digital_ocean_spaces/ui-config.json index e9ee3b835..095e7fae6 100644 --- a/src/configurations/destinations/digital_ocean_spaces/ui-config.json +++ b/src/configurations/destinations/digital_ocean_spaces/ui-config.json @@ -52,6 +52,25 @@ "placeholder": "rudder" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/discord/db-config.json b/src/configurations/destinations/discord/db-config.json index d9e88b235..67137c004 100644 --- a/src/configurations/destinations/discord/db-config.json +++ b/src/configurations/destinations/discord/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -28,7 +28,8 @@ "embedFlag", "eventTemplateSettings", "webhookUrl", - "whitelistedTraitsSettings" + "whitelistedTraitsSettings", + "oneTrustCookieCategories" ] }, "secretKeys": [] diff --git a/src/configurations/destinations/discord/schema.json b/src/configurations/destinations/discord/schema.json index 716eab97f..27245bd14 100644 --- a/src/configurations/destinations/discord/schema.json +++ b/src/configurations/destinations/discord/schema.json @@ -8,37 +8,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(https?|ftp)://[^\\s/$.?#].[^\\s]*$" }, - "identifyTemplate": { - "type": "string", - "pattern": "^(.{0,1000})$" - }, - "embedFlag": { - "type": "boolean" - }, - "embedTitleTemplate": { - "type": "string", - "pattern": "^(.{0,1000})$" - }, - "embedDescriptionTemplate": { - "type": "string", - "pattern": "^(.{0,1000})$" - }, + "identifyTemplate": { "type": "string", "pattern": "^(.{0,1000})$" }, + "embedFlag": { "type": "boolean" }, + "embedTitleTemplate": { "type": "string", "pattern": "^(.{0,1000})$" }, + "embedDescriptionTemplate": { "type": "string", "pattern": "^(.{0,1000})$" }, "eventTemplateSettings": { "type": "array", "items": { "type": "object", "properties": { - "eventName": { - "type": "string", - "pattern": "^(.{0,100})$" - }, - "eventTemplate": { - "type": "string", - "pattern": "^(.{0,100})$" - }, - "eventRegex": { - "type": "boolean" - } + "eventName": { "type": "string", "pattern": "^(.{0,100})$" }, + "eventTemplate": { "type": "string", "pattern": "^(.{0,100})$" }, + "eventRegex": { "type": "boolean" } } } }, @@ -53,6 +34,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/discord/ui-config.json b/src/configurations/destinations/discord/ui-config.json index 5429827df..93ca5a88b 100644 --- a/src/configurations/destinations/discord/ui-config.json +++ b/src/configurations/destinations/discord/ui-config.json @@ -65,10 +65,7 @@ "footerNote": "Toggle it on if you want a embed message on the discord. Refer To docs for more details" }, { - "preRequisiteField": { - "name": "embedFlag", - "selectedValue": true - }, + "preRequisiteField": { "name": "embedFlag", "selectedValue": true }, "type": "textInput", "label": "Title Template", "value": "embedTitleTemplate", @@ -79,10 +76,7 @@ "footerNote": "This template will be used to build title for embed message" }, { - "preRequisiteField": { - "name": "embedFlag", - "selectedValue": true - }, + "preRequisiteField": { "name": "embedFlag", "selectedValue": true }, "type": "textInput", "label": "Description Template", "value": "embedDescriptionTemplate", @@ -129,6 +123,25 @@ ] } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/drip/db-config.json b/src/configurations/destinations/drip/db-config.json index 7d6d6b802..ba68418d9 100644 --- a/src/configurations/destinations/drip/db-config.json +++ b/src/configurations/destinations/drip/db-config.json @@ -35,9 +35,10 @@ "enableUserCreation", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["apiKey"] } diff --git a/src/configurations/destinations/engage/db-config.json b/src/configurations/destinations/engage/db-config.json index 6554392f3..ca5807fd6 100644 --- a/src/configurations/destinations/engage/db-config.json +++ b/src/configurations/destinations/engage/db-config.json @@ -36,9 +36,10 @@ "listIds", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["privateKey"] } diff --git a/src/configurations/destinations/engage/schema.json b/src/configurations/destinations/engage/schema.json index 7ab8b52b6..f9721823e 100644 --- a/src/configurations/destinations/engage/schema.json +++ b/src/configurations/destinations/engage/schema.json @@ -14,14 +14,7 @@ }, "listIds": { "type": "array", - "items": { - "type": "object", - "properties": { - "listID": { - "type": "string" - } - } - } + "items": { "type": "object", "properties": { "listID": { "type": "string" } } } }, "blacklistedEvents": { "type": "array", @@ -35,27 +28,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/eventbridge/db-config.json b/src/configurations/destinations/eventbridge/db-config.json index 77857af41..0e7034fa8 100644 --- a/src/configurations/destinations/eventbridge/db-config.json +++ b/src/configurations/destinations/eventbridge/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedMessageTypes": ["identify", "page", "screen", "track", "alias", "group"], "supportedSourceTypes": [ @@ -29,7 +29,8 @@ "accessKey", "detailType", "eventBusName", - "resourceID" + "resourceID", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessKeyID", "accessKey"] diff --git a/src/configurations/destinations/eventbridge/ui-config.json b/src/configurations/destinations/eventbridge/ui-config.json index d21328b8c..31f3a51c6 100644 --- a/src/configurations/destinations/eventbridge/ui-config.json +++ b/src/configurations/destinations/eventbridge/ui-config.json @@ -20,10 +20,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -37,10 +34,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "^(.{0,100})$", @@ -51,10 +45,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "^(.{0,100})$", @@ -107,6 +98,25 @@ ] } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/facebook_offline_conversions/db-config.json b/src/configurations/destinations/facebook_offline_conversions/db-config.json index b0ce74780..fcf8cbe49 100644 --- a/src/configurations/destinations/facebook_offline_conversions/db-config.json +++ b/src/configurations/destinations/facebook_offline_conversions/db-config.json @@ -10,7 +10,8 @@ "eventsToIds", "eventsToStandard", "categoryToContent", - "valueFieldIdentifier" + "valueFieldIdentifier", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -34,7 +35,8 @@ "eventsToStandard", "limitedDataUSage", "categoryToContent", - "valueFieldIdentifier" + "valueFieldIdentifier", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessToken"] diff --git a/src/configurations/destinations/facebook_offline_conversions/schema.json b/src/configurations/destinations/facebook_offline_conversions/schema.json index fcc1419da..9a4a2734d 100644 --- a/src/configurations/destinations/facebook_offline_conversions/schema.json +++ b/src/configurations/destinations/facebook_offline_conversions/schema.json @@ -60,8 +60,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "isHashRequired": { - "type": "boolean" + "isHashRequired": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/facebook_offline_conversions/ui-config.json b/src/configurations/destinations/facebook_offline_conversions/ui-config.json index 68cd38ab4..9d64d1547 100644 --- a/src/configurations/destinations/facebook_offline_conversions/ui-config.json +++ b/src/configurations/destinations/facebook_offline_conversions/ui-config.json @@ -30,46 +30,16 @@ "required": true, "placeholderLeft": "e.g. Product Searched", "options": [ - { - "name": "ViewContent", - "value": "ViewContent" - }, - { - "name": "Search", - "value": "Search" - }, - { - "name": "AddToCart", - "value": "AddToCart" - }, - { - "name": "AddToWishlist", - "value": "AddToWishlist" - }, - { - "name": "InitiateCheckout", - "value": "InitiateCheckout" - }, - { - "name": "AddPaymentInfo", - "value": "AddPaymentInfo" - }, - { - "name": "Purchase", - "value": "Purchase" - }, - { - "name": "Lead", - "value": "Lead" - }, - { - "name": "CompleteRegistration", - "value": "CompleteRegistration" - }, - { - "name": "Other", - "value": "Other" - } + { "name": "ViewContent", "value": "ViewContent" }, + { "name": "Search", "value": "Search" }, + { "name": "AddToCart", "value": "AddToCart" }, + { "name": "AddToWishlist", "value": "AddToWishlist" }, + { "name": "InitiateCheckout", "value": "InitiateCheckout" }, + { "name": "AddPaymentInfo", "value": "AddPaymentInfo" }, + { "name": "Purchase", "value": "Purchase" }, + { "name": "Lead", "value": "Lead" }, + { "name": "CompleteRegistration", "value": "CompleteRegistration" }, + { "name": "Other", "value": "Other" } ] }, { @@ -84,46 +54,16 @@ "placeholderRight": "e.g. 506289934669334", "reverse": true, "options": [ - { - "name": "ViewContent", - "value": "ViewContent" - }, - { - "name": "Search", - "value": "Search" - }, - { - "name": "AddToCart", - "value": "AddToCart" - }, - { - "name": "AddToWishlist", - "value": "AddToWishlist" - }, - { - "name": "InitiateCheckout", - "value": "InitiateCheckout" - }, - { - "name": "AddPaymentInfo", - "value": "AddPaymentInfo" - }, - { - "name": "Purchase", - "value": "Purchase" - }, - { - "name": "Lead", - "value": "Lead" - }, - { - "name": "CompleteRegistration", - "value": "CompleteRegistration" - }, - { - "name": "Other", - "value": "Other" - } + { "name": "ViewContent", "value": "ViewContent" }, + { "name": "Search", "value": "Search" }, + { "name": "AddToCart", "value": "AddToCart" }, + { "name": "AddToWishlist", "value": "AddToWishlist" }, + { "name": "InitiateCheckout", "value": "InitiateCheckout" }, + { "name": "AddPaymentInfo", "value": "AddPaymentInfo" }, + { "name": "Purchase", "value": "Purchase" }, + { "name": "Lead", "value": "Lead" }, + { "name": "CompleteRegistration", "value": "CompleteRegistration" }, + { "name": "Other", "value": "Other" } ] }, { @@ -152,11 +92,7 @@ { "title": "Other Settings", "fields": [ - { - "type": "checkbox", - "label": "Limited Data Usage", - "value": "limitedDataUSage" - }, + { "type": "checkbox", "label": "Limited Data Usage", "value": "limitedDataUSage" }, { "type": "checkbox", "label": "Enable Hashing", @@ -164,6 +100,25 @@ "default": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/facebook_pixel/db-config.json b/src/configurations/destinations/facebook_pixel/db-config.json index e3203a40c..cd35a0657 100644 --- a/src/configurations/destinations/facebook_pixel/db-config.json +++ b/src/configurations/destinations/facebook_pixel/db-config.json @@ -35,12 +35,7 @@ "flutter", "cordova" ], - "supportedMessageTypes": [ - "identify", - "page", - "screen", - "track" - ], + "supportedMessageTypes": ["identify", "page", "screen", "track"], "destConfig": { "defaultConfig": [ "blacklistPiiProperties", @@ -60,14 +55,11 @@ "whitelistedEvents", "eventFilteringOption", "removeExternalId", - "useUpdatedMapping" - ], - "web": [ - "useNativeSDK", - "legacyConversionPixelId", + "useUpdatedMapping", "oneTrustCookieCategories" - ] + ], + "web": ["useNativeSDK", "legacyConversionPixelId"] }, "secretKeys": [] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/facebook_pixel/schema.json b/src/configurations/destinations/facebook_pixel/schema.json index f2f6ede4f..75af2b728 100644 --- a/src/configurations/destinations/facebook_pixel/schema.json +++ b/src/configurations/destinations/facebook_pixel/schema.json @@ -1,9 +1,7 @@ { "configSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "required": [ - "pixelId" - ], + "required": ["pixelId"], "type": "object", "properties": { "pixelId": { @@ -14,22 +12,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,208})$" }, - "standardPageCall": { - "type": "boolean" - }, + "standardPageCall": { "type": "boolean" }, "valueFieldIdentifier": { "type": "string", "pattern": "^(properties.value|properties.price)$" }, - "removeExternalId": { - "type": "boolean" - }, - "advancedMapping": { - "type": "boolean" - }, - "testDestination": { - "type": "boolean" - }, + "removeExternalId": { "type": "boolean" }, + "advancedMapping": { "type": "boolean" }, + "testDestination": { "type": "boolean" }, "testEventCode": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -71,9 +61,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "blacklistPiiHash": { - "type": "boolean" - } + "blacklistPiiHash": { "type": "boolean" } } } }, @@ -105,14 +93,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "legacyConversionPixelId": { "type": "object", "properties": { @@ -155,22 +136,17 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } } } } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/factorsai/db-config.json b/src/configurations/destinations/factorsai/db-config.json index 8c1d0934e..41eb8e793 100644 --- a/src/configurations/destinations/factorsai/db-config.json +++ b/src/configurations/destinations/factorsai/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,9 +20,7 @@ "cordova" ], "supportedMessageTypes": ["identify", "track"], - "destConfig": { - "defaultConfig": ["factorsAIApiKey"] - }, + "destConfig": { "defaultConfig": ["factorsAIApiKey", "oneTrustCookieCategories"] }, "secretKeys": ["factorsAIApiKey"] } } diff --git a/src/configurations/destinations/factorsai/schema.json b/src/configurations/destinations/factorsai/schema.json index be4eb3211..a62d74145 100644 --- a/src/configurations/destinations/factorsai/schema.json +++ b/src/configurations/destinations/factorsai/schema.json @@ -7,6 +7,18 @@ "factorsAIApiKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/factorsai/ui-config.json b/src/configurations/destinations/factorsai/ui-config.json index 470e60030..d4f23555c 100644 --- a/src/configurations/destinations/factorsai/ui-config.json +++ b/src/configurations/destinations/factorsai/ui-config.json @@ -14,6 +14,25 @@ "placeholder": "e.g: ABC1231RDG" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/fb/db-config.json b/src/configurations/destinations/fb/db-config.json index 300b9b50f..a5a5bacac 100644 --- a/src/configurations/destinations/fb/db-config.json +++ b/src/configurations/destinations/fb/db-config.json @@ -36,10 +36,11 @@ "dpoState", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"] + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/fb/schema.json b/src/configurations/destinations/fb/schema.json index 3296327f1..69f22a1c9 100644 --- a/src/configurations/destinations/fb/schema.json +++ b/src/configurations/destinations/fb/schema.json @@ -8,9 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "limitedDataUse": { - "type": "boolean" - }, + "limitedDataUse": { "type": "boolean" }, "dpoState": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(0|1000)$" @@ -19,14 +17,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(0|1)$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(disable|whitelistedEvents|blacklistedEvents)$" @@ -56,30 +47,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "android": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } - } - }, - "ios": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/fb_custom_audience/db-config.json b/src/configurations/destinations/fb_custom_audience/db-config.json index db668cd9b..9cff3687e 100644 --- a/src/configurations/destinations/fb_custom_audience/db-config.json +++ b/src/configurations/destinations/fb_custom_audience/db-config.json @@ -7,7 +7,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": ["cloud", "warehouse"], "supportedMessageTypes": ["audiencelist"], @@ -23,7 +23,8 @@ "disableFormat", "skipVerify", "type", - "subType" + "subType", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessToken"] @@ -32,27 +33,13 @@ "responseType": "JSON", "rules": { "abortable": [ - { - "errors.0.code": 200 - }, - { - "errors.0.code": 100 - }, - { - "errors.0.code": 2650 - }, - { - "errors.0.code": 368 - }, - { - "errors.0.code": 105 - }, - { - "errors.0.code": 294 - }, - { - "errors.0.code": 190 - } + { "errors.0.code": 200 }, + { "errors.0.code": 100 }, + { "errors.0.code": 2650 }, + { "errors.0.code": 368 }, + { "errors.0.code": 105 }, + { "errors.0.code": 294 }, + { "errors.0.code": 190 } ] } } diff --git a/src/configurations/destinations/fb_custom_audience/ui-config.json b/src/configurations/destinations/fb_custom_audience/ui-config.json index 2c5c588c7..e428fa9b1 100644 --- a/src/configurations/destinations/fb_custom_audience/ui-config.json +++ b/src/configurations/destinations/fb_custom_audience/ui-config.json @@ -31,70 +31,23 @@ "placeholder": "EMAIL", "mode": "multiple", "options": [ - { - "name": "EMAIL", - "value": "EMAIL" - }, - { - "name": "PHONE", - "value": "PHONE" - }, - { - "name": "GENDER", - "value": "GEN" - }, - { - "name": "MADID", - "value": "MADID" - }, - { - "name": "EXTERN_ID", - "value": "EXTERN_ID" - }, - { - "name": "DOB YEAR (YYYY)", - "value": "DOBY" - }, - { - "name": "DOB MONTH (MM)", - "value": "DOBM" - }, - { - "name": "DOB DATE (DD)", - "value": "DOBD" - }, - { - "name": "LAST NAME", - "value": "LN" - }, - { - "name": "FIRST NAME", - "value": "FN" - }, - { - "name": "FIRST NAME INITIAL", - "value": "FI" - }, - { - "name": "CITY", - "value": "CT" - }, - { - "name": "US STATES", - "value": "ST" - }, - { - "name": "ZIP", - "value": "ZIP" - }, - { - "name": "COUNTRY", - "value": "COUNTRY" - } + { "name": "EMAIL", "value": "EMAIL" }, + { "name": "PHONE", "value": "PHONE" }, + { "name": "GENDER", "value": "GEN" }, + { "name": "MADID", "value": "MADID" }, + { "name": "EXTERN_ID", "value": "EXTERN_ID" }, + { "name": "DOB YEAR (YYYY)", "value": "DOBY" }, + { "name": "DOB MONTH (MM)", "value": "DOBM" }, + { "name": "DOB DATE (DD)", "value": "DOBD" }, + { "name": "LAST NAME", "value": "LN" }, + { "name": "FIRST NAME", "value": "FN" }, + { "name": "FIRST NAME INITIAL", "value": "FI" }, + { "name": "CITY", "value": "CT" }, + { "name": "US STATES", "value": "ST" }, + { "name": "ZIP", "value": "ZIP" }, + { "name": "COUNTRY", "value": "COUNTRY" } ], - "defaultOption": { - "value": ["EMAIL"] - }, + "defaultOption": { "value": ["EMAIL"] }, "footerNote": "The Allowed Parameter List : https://developers.facebook.com/docs/marketing-api/audiences/guides/custom-audiences/#hash" }, { @@ -103,24 +56,14 @@ "value": "isHashRequired", "default": true }, - { - "type": "checkbox", - "label": "Is The Data Raw", - "value": "isRaw", - "default": false - }, + { "type": "checkbox", "label": "Is The Data Raw", "value": "isRaw", "default": false }, { "type": "checkbox", "label": "Disable Formatting", "value": "disableFormat", "default": false }, - { - "type": "checkbox", - "label": "Skip verify", - "value": "skipVerify", - "default": false - }, + { "type": "checkbox", "label": "Skip verify", "value": "skipVerify", "default": false }, { "type": "singleSelect", "label": "Type", @@ -128,47 +71,17 @@ "placeholder": "NA", "mode": "single", "options": [ - { - "name": "UNKNOWN", - "value": "UNKNOWN" - }, - { - "name": "FILE_IMPORTED", - "value": "FILE_IMPORTED" - }, - { - "name": "EVENT_BASED", - "value": "EVENT_BASED" - }, - { - "name": "SEED_BASED", - "value": "SEED_BASED" - }, - { - "name": "THIRD_PARTY_IMPORTED", - "value": "THIRD_PARTY_IMPORTED" - }, - { - "name": "COPY_PASTE", - "value": "COPY_PASTE" - }, - { - "name": "CONTACT_IMPORTER", - "value": "CONTACT_IMPORTER" - }, - { - "name": "HOUSEHOLD_AUDIENCE", - "value": "HOUSEHOLD_AUDIENCE" - }, - { - "name": "NA", - "value": "NA" - } + { "name": "UNKNOWN", "value": "UNKNOWN" }, + { "name": "FILE_IMPORTED", "value": "FILE_IMPORTED" }, + { "name": "EVENT_BASED", "value": "EVENT_BASED" }, + { "name": "SEED_BASED", "value": "SEED_BASED" }, + { "name": "THIRD_PARTY_IMPORTED", "value": "THIRD_PARTY_IMPORTED" }, + { "name": "COPY_PASTE", "value": "COPY_PASTE" }, + { "name": "CONTACT_IMPORTER", "value": "CONTACT_IMPORTER" }, + { "name": "HOUSEHOLD_AUDIENCE", "value": "HOUSEHOLD_AUDIENCE" }, + { "name": "NA", "value": "NA" } ], - "defaultOption": { - "name": "NA", - "value": "NA" - } + "defaultOption": { "name": "NA", "value": "NA" } }, { "type": "singleSelect", @@ -177,118 +90,34 @@ "placeholder": "NA", "mode": "single", "options": [ - { - "name": "ANYTHING", - "value": "ANYTHING" - }, - { - "name": "NOTHING", - "value": "NOTHING" - }, - { - "name": "HASHES", - "value": "HASHES" - }, - { - "name": "USER_IDS", - "value": "USER_IDS" - }, - { - "name": "HASHES_OR_USER_IDS", - "value": "HASHES_OR_USER_IDS" - }, - { - "name": "MOBILE_ADVERTISER_IDS", - "value": "MOBILE_ADVERTISER_IDS" - }, - { - "name": "FB_EVENT_SIGNALS", - "value": "FB_EVENT_SIGNALS" - }, - { - "name": "EXTERNAL_IDS", - "value": "EXTERNAL_IDS" - }, - { - "name": "MULTI_HASHES", - "value": "MULTI_HASHES" - }, - { - "name": "TOKENS", - "value": "TOKENS" - }, - { - "name": "EXTERNAL_IDS_MIX", - "value": "EXTERNAL_IDS_MIX" - }, - { - "name": "WEB_PIXEL_HITS", - "value": "WEB_PIXEL_HITS" - }, - { - "name": "MOBILE_APP_EVENTS", - "value": "MOBILE_APP_EVENTS" - }, - { - "name": "MOBILE_APP_COMBINATION_EVENTS", - "value": "MOBILE_APP_COMBINATION_EVENTS" - }, - { - "name": "VIDEO_EVENTS", - "value": "VIDEO_EVENTS" - }, - { - "name": "WEB_PIXEL_COMBINATION_EVENTS", - "value": "WEB_PIXEL_COMBINATION_EVENTS" - }, - { - "name": "IG_BUSINESS_EVENTS", - "value": "IG_BUSINESS_EVENTS" - }, - { - "name": "MULTI_DATA_EVENTS", - "value": "MULTI_DATA_EVENTS" - }, - { - "name": "STORE_VISIT_EVENTS", - "value": "STORE_VISIT_EVENTS" - }, - { - "name": "INSTANT_ARTICLE_EVENTS", - "value": "INSTANT_ARTICLE_EVENTS" - }, - { - "name": "ENGAGEMENT_EVENT_USERS", - "value": "ENGAGEMENT_EVENT_USERS" - }, - { - "name": "FACEBOOK_WIFI_EVENTS", - "value": "FACEBOOK_WIFI_EVENTS" - }, - { - "name": "CUSTOM_AUDIENCE_USERS", - "value": "CUSTOM_AUDIENCE_USERS" - }, - { - "name": "S_EXPR", - "value": "S_EXPR" - }, - { - "name": "DYNAMIC_RULE", - "value": "DYNAMIC_RULE" - }, - { - "name": "CONVERSION_PIXEL_HITS", - "value": "CONVERSION_PIXEL_HITS" - }, - { - "name": "APP_USERS", - "value": "APP_USERS" - }, - { - "name": "CAMPAIGN_CONVERSIONS", - "value": "CAMPAIGN_CONVERSIONS" - }, + { "name": "ANYTHING", "value": "ANYTHING" }, + { "name": "NOTHING", "value": "NOTHING" }, + { "name": "HASHES", "value": "HASHES" }, + { "name": "USER_IDS", "value": "USER_IDS" }, + { "name": "HASHES_OR_USER_IDS", "value": "HASHES_OR_USER_IDS" }, + { "name": "MOBILE_ADVERTISER_IDS", "value": "MOBILE_ADVERTISER_IDS" }, + { "name": "FB_EVENT_SIGNALS", "value": "FB_EVENT_SIGNALS" }, + { "name": "EXTERNAL_IDS", "value": "EXTERNAL_IDS" }, + { "name": "MULTI_HASHES", "value": "MULTI_HASHES" }, + { "name": "TOKENS", "value": "TOKENS" }, + { "name": "EXTERNAL_IDS_MIX", "value": "EXTERNAL_IDS_MIX" }, + { "name": "WEB_PIXEL_HITS", "value": "WEB_PIXEL_HITS" }, + { "name": "MOBILE_APP_EVENTS", "value": "MOBILE_APP_EVENTS" }, + { "name": "MOBILE_APP_COMBINATION_EVENTS", "value": "MOBILE_APP_COMBINATION_EVENTS" }, + { "name": "VIDEO_EVENTS", "value": "VIDEO_EVENTS" }, + { "name": "WEB_PIXEL_COMBINATION_EVENTS", "value": "WEB_PIXEL_COMBINATION_EVENTS" }, + { "name": "IG_BUSINESS_EVENTS", "value": "IG_BUSINESS_EVENTS" }, + { "name": "MULTI_DATA_EVENTS", "value": "MULTI_DATA_EVENTS" }, + { "name": "STORE_VISIT_EVENTS", "value": "STORE_VISIT_EVENTS" }, + { "name": "INSTANT_ARTICLE_EVENTS", "value": "INSTANT_ARTICLE_EVENTS" }, + { "name": "ENGAGEMENT_EVENT_USERS", "value": "ENGAGEMENT_EVENT_USERS" }, + { "name": "FACEBOOK_WIFI_EVENTS", "value": "FACEBOOK_WIFI_EVENTS" }, + { "name": "CUSTOM_AUDIENCE_USERS", "value": "CUSTOM_AUDIENCE_USERS" }, + { "name": "S_EXPR", "value": "S_EXPR" }, + { "name": "DYNAMIC_RULE", "value": "DYNAMIC_RULE" }, + { "name": "CONVERSION_PIXEL_HITS", "value": "CONVERSION_PIXEL_HITS" }, + { "name": "APP_USERS", "value": "APP_USERS" }, + { "name": "CAMPAIGN_CONVERSIONS", "value": "CAMPAIGN_CONVERSIONS" }, { "name": "WEB_PIXEL_HITS_CUSTOM_AUDIENCE_USERS", "value": "WEB_PIXEL_HITS_CUSTOM_AUDIENCE_USERS" @@ -297,95 +126,48 @@ "name": "MOBILE_APP_CUSTOM_AUDIENCE_USERS", "value": "MOBILE_APP_CUSTOM_AUDIENCE_USERS" }, - { - "name": "VIDEO_EVENT_USERS", - "value": "VIDEO_EVENT_USERS" - }, - { - "name": "FB_PIXEL_HITS", - "value": "FB_PIXEL_HITS" - }, - { - "name": "IG_PROMOTED_POST", - "value": "IG_PROMOTED_POST" - }, - { - "name": "PLACE_VISITS", - "value": "PLACE_VISITS" - }, - { - "name": "OFFLINE_EVENT_USERS", - "value": "OFFLINE_EVENT_USERS" - }, - { - "name": "EXPANDED_AUDIENCE", - "value": "EXPANDED_AUDIENCE" - }, - { - "name": "SEED_LIST", - "value": "SEED_LIST" - }, - { - "name": "PARTNER_CATEGORY_USERS", - "value": "PARTNER_CATEGORY_USERS" - }, - { - "name": "PAGE_SMART_AUDIENCE", - "value": "PAGE_SMART_AUDIENCE" - }, - { - "name": "MULTICOUNTRY_COMBINATION", - "value": "MULTICOUNTRY_COMBINATION" - }, - { - "name": "PLATFORM_USERS", - "value": "PLATFORM_USERS" - }, - { - "name": "MULTI_EVENT_SOURCE", - "value": "MULTI_EVENT_SOURCE" - }, - { - "name": "SMART_AUDIENCE", - "value": "SMART_AUDIENCE" - }, - { - "name": "LOOKALIKE_PLATFORM", - "value": "LOOKALIKE_PLATFORM" - }, - { - "name": "SIGNAL_SOURCE", - "value": "SIGNAL_SOURCE" - }, - { - "name": "MAIL_CHIMP_EMAIL_HASHES", - "value": "MAIL_CHIMP_EMAIL_HASHES" - }, - { - "name": "CONSTANT_CONTACTS_EMAIL_HASHES", - "value": "CONSTANT_CONTACTS_EMAIL_HASHES" - }, - { - "name": "COPY_PASTE_EMAIL_HASHES", - "value": "COPY_PASTE_EMAIL_HASHES" - }, - { - "name": "CONTACT_IMPORTER", - "value": "CONTACT_IMPORTER" - }, - { - "name": "DATA_FILE", - "value": "DATA_FILE" - }, - { - "name": "NA", - "value": "NA" - } + { "name": "VIDEO_EVENT_USERS", "value": "VIDEO_EVENT_USERS" }, + { "name": "FB_PIXEL_HITS", "value": "FB_PIXEL_HITS" }, + { "name": "IG_PROMOTED_POST", "value": "IG_PROMOTED_POST" }, + { "name": "PLACE_VISITS", "value": "PLACE_VISITS" }, + { "name": "OFFLINE_EVENT_USERS", "value": "OFFLINE_EVENT_USERS" }, + { "name": "EXPANDED_AUDIENCE", "value": "EXPANDED_AUDIENCE" }, + { "name": "SEED_LIST", "value": "SEED_LIST" }, + { "name": "PARTNER_CATEGORY_USERS", "value": "PARTNER_CATEGORY_USERS" }, + { "name": "PAGE_SMART_AUDIENCE", "value": "PAGE_SMART_AUDIENCE" }, + { "name": "MULTICOUNTRY_COMBINATION", "value": "MULTICOUNTRY_COMBINATION" }, + { "name": "PLATFORM_USERS", "value": "PLATFORM_USERS" }, + { "name": "MULTI_EVENT_SOURCE", "value": "MULTI_EVENT_SOURCE" }, + { "name": "SMART_AUDIENCE", "value": "SMART_AUDIENCE" }, + { "name": "LOOKALIKE_PLATFORM", "value": "LOOKALIKE_PLATFORM" }, + { "name": "SIGNAL_SOURCE", "value": "SIGNAL_SOURCE" }, + { "name": "MAIL_CHIMP_EMAIL_HASHES", "value": "MAIL_CHIMP_EMAIL_HASHES" }, + { "name": "CONSTANT_CONTACTS_EMAIL_HASHES", "value": "CONSTANT_CONTACTS_EMAIL_HASHES" }, + { "name": "COPY_PASTE_EMAIL_HASHES", "value": "COPY_PASTE_EMAIL_HASHES" }, + { "name": "CONTACT_IMPORTER", "value": "CONTACT_IMPORTER" }, + { "name": "DATA_FILE", "value": "DATA_FILE" }, + { "name": "NA", "value": "NA" } ], - "defaultOption": { - "name": "NA", - "value": "NA" - } + "defaultOption": { "name": "NA", "value": "NA" } + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] } ] } diff --git a/src/configurations/destinations/firebase/db-config.json b/src/configurations/destinations/firebase/db-config.json index 24ff01309..7fc6cc2d1 100644 --- a/src/configurations/destinations/firebase/db-config.json +++ b/src/configurations/destinations/firebase/db-config.json @@ -14,9 +14,14 @@ "excludeKeys": [], "supportedSourceTypes": ["android", "ios", "unity", "reactnative", "flutter"], "destConfig": { - "defaultConfig": ["blacklistedEvents", "whitelistedEvents", "eventFilteringOption"], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"], + "defaultConfig": [ + "blacklistedEvents", + "whitelistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"], "unity": ["useNativeSDK"], "reactnative": ["useNativeSDK"], "flutter": ["useNativeSDK"] diff --git a/src/configurations/destinations/firehose/db-config.json b/src/configurations/destinations/firehose/db-config.json index aa03b79ed..80904ed9c 100644 --- a/src/configurations/destinations/firehose/db-config.json +++ b/src/configurations/destinations/firehose/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,7 +26,8 @@ "mapEvents", "region", "accessKeyID", - "accessKey" + "accessKey", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessKeyID", "accessKey"] diff --git a/src/configurations/destinations/firehose/ui-config.json b/src/configurations/destinations/firehose/ui-config.json index 2404b49b2..7b7ba9b06 100644 --- a/src/configurations/destinations/firehose/ui-config.json +++ b/src/configurations/destinations/firehose/ui-config.json @@ -20,10 +20,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -37,10 +34,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "^(.{0,100})$", @@ -51,10 +45,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "^(.{0,100})$", @@ -80,6 +71,25 @@ "required": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/freshmarketer/db-config.json b/src/configurations/destinations/freshmarketer/db-config.json index 80d7e3d05..afd43aafb 100644 --- a/src/configurations/destinations/freshmarketer/db-config.json +++ b/src/configurations/destinations/freshmarketer/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["apiKey", "domain"], + "includeKeys": ["apiKey", "domain", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "amp", @@ -21,7 +21,12 @@ ], "supportedMessageTypes": ["identify", "track", "group"], "destConfig": { - "defaultConfig": ["apiKey", "domain", "rudderEventsToFreshmarketerEvents"] + "defaultConfig": [ + "apiKey", + "domain", + "rudderEventsToFreshmarketerEvents", + "oneTrustCookieCategories" + ] } } } diff --git a/src/configurations/destinations/freshmarketer/schema.json b/src/configurations/destinations/freshmarketer/schema.json index 3a6e7efe6..f1bbfafb0 100644 --- a/src/configurations/destinations/freshmarketer/schema.json +++ b/src/configurations/destinations/freshmarketer/schema.json @@ -27,6 +27,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/freshmarketer/ui-config.json b/src/configurations/destinations/freshmarketer/ui-config.json index 21bda5f97..14c9ff660 100644 --- a/src/configurations/destinations/freshmarketer/ui-config.json +++ b/src/configurations/destinations/freshmarketer/ui-config.json @@ -37,13 +37,26 @@ "required": false, "placeholderLeft": "e.g. Sales Activities", "options": [ + { "name": "Sales Activities", "value": "sales_activity" }, + { "name": "Lifecycle Stage", "value": "lifecycle_stage" } + ] + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ { - "name": "Sales Activities", - "value": "sales_activity" - }, - { - "name": "Lifecycle Stage", - "value": "lifecycle_stage" + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false } ] } diff --git a/src/configurations/destinations/freshsales/db-config.json b/src/configurations/destinations/freshsales/db-config.json index ddb175125..8f6e4838a 100644 --- a/src/configurations/destinations/freshsales/db-config.json +++ b/src/configurations/destinations/freshsales/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["apiKey", "domain"], + "includeKeys": ["apiKey", "domain", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "amp", @@ -21,7 +21,12 @@ ], "supportedMessageTypes": ["identify", "track", "group"], "destConfig": { - "defaultConfig": ["apiKey", "domain", "rudderEventsToFreshsalesEvents"] + "defaultConfig": [ + "apiKey", + "domain", + "rudderEventsToFreshsalesEvents", + "oneTrustCookieCategories" + ] } } } diff --git a/src/configurations/destinations/freshsales/schema.json b/src/configurations/destinations/freshsales/schema.json index 480386a82..24e9f9b04 100644 --- a/src/configurations/destinations/freshsales/schema.json +++ b/src/configurations/destinations/freshsales/schema.json @@ -27,6 +27,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/freshsales/ui-config.json b/src/configurations/destinations/freshsales/ui-config.json index 104258e44..19e77db6f 100644 --- a/src/configurations/destinations/freshsales/ui-config.json +++ b/src/configurations/destinations/freshsales/ui-config.json @@ -37,13 +37,26 @@ "required": false, "placeholderLeft": "e.g. Sales Activities", "options": [ + { "name": "Sales Activities", "value": "sales_activity" }, + { "name": "Lifecycle Stage", "value": "lifecycle_stage" } + ] + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ { - "name": "Sales Activities", - "value": "sales_activity" - }, - { - "name": "Lifecycle Stage", - "value": "lifecycle_stage" + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false } ] } diff --git a/src/configurations/destinations/fullstory/db-config.json b/src/configurations/destinations/fullstory/db-config.json index 0d034a8f3..8d4a47ca4 100644 --- a/src/configurations/destinations/fullstory/db-config.json +++ b/src/configurations/destinations/fullstory/db-config.json @@ -21,11 +21,12 @@ "fs_debug_mode", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/ga/db-config.json b/src/configurations/destinations/ga/db-config.json index 8045b86ce..da6b78bbc 100644 --- a/src/configurations/destinations/ga/db-config.json +++ b/src/configurations/destinations/ga/db-config.json @@ -76,7 +76,8 @@ "disableMd5", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "web": [ "useNativeSDK", @@ -90,8 +91,7 @@ "domain", "optimize", "useGoogleAmpClientId", - "namedTracker", - "oneTrustCookieCategories" + "namedTracker" ] }, "secretKeys": [] diff --git a/src/configurations/destinations/ga/schema.json b/src/configurations/destinations/ga/schema.json index f37b20f3b..aa550bf6f 100644 --- a/src/configurations/destinations/ga/schema.json +++ b/src/configurations/destinations/ga/schema.json @@ -12,18 +12,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(disable|whitelistedEvents|blacklistedEvents)$" }, - "doubleClick": { - "type": "boolean" - }, - "enhancedLinkAttribution": { - "type": "boolean" - }, - "includeSearch": { - "type": "boolean" - }, - "enableServerSideIdentify": { - "type": "boolean" - }, + "doubleClick": { "type": "boolean" }, + "enhancedLinkAttribution": { "type": "boolean" }, + "includeSearch": { "type": "boolean" }, + "enableServerSideIdentify": { "type": "boolean" }, "serverSideIdentifyEventCategory": { "type": "string", "pattern": "(^env[.].+)|(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^(.{0,100})$)" @@ -32,21 +24,11 @@ "type": "string", "pattern": "(^env[.].+)|(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^(.{0,100})$)" }, - "disableMd5": { - "type": "boolean" - }, - "anonymizeIp": { - "type": "boolean" - }, - "enhancedEcommerce": { - "type": "boolean" - }, - "nonInteraction": { - "type": "boolean" - }, - "sendUserId": { - "type": "boolean" - }, + "disableMd5": { "type": "boolean" }, + "anonymizeIp": { "type": "boolean" }, + "enhancedEcommerce": { "type": "boolean" }, + "nonInteraction": { "type": "boolean" }, + "sendUserId": { "type": "boolean" }, "whitelistedEvents": { "type": "array", "items": { @@ -71,30 +53,9 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "trackCategorizedPages": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "trackNamedPages": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "trackCategorizedPages": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "trackNamedPages": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "sampleRate": { "type": "object", "properties": { @@ -130,14 +91,7 @@ } } }, - "setAllMappedProps": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "setAllMappedProps": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "domain": { "type": "object", "properties": { @@ -156,22 +110,8 @@ } } }, - "useGoogleAmpClientId": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "namedTracker": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useGoogleAmpClientId": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "namedTracker": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "contentGroupings": { "type": "array", "items": { @@ -205,18 +145,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/ga360/db-config.json b/src/configurations/destinations/ga360/db-config.json index 39f15958a..8987ebc4d 100644 --- a/src/configurations/destinations/ga360/db-config.json +++ b/src/configurations/destinations/ga360/db-config.json @@ -29,7 +29,8 @@ "namedTracker", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -65,7 +66,8 @@ "disableMd5", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "web": [ "useNativeSDK", @@ -78,8 +80,7 @@ "domain", "optimize", "useGoogleAmpClientId", - "namedTracker", - "oneTrustCookieCategories" + "namedTracker" ] }, "secretKeys": [] diff --git a/src/configurations/destinations/gainsight/db-config.json b/src/configurations/destinations/gainsight/db-config.json index 3bbc94468..824030e6d 100644 --- a/src/configurations/destinations/gainsight/db-config.json +++ b/src/configurations/destinations/gainsight/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -31,7 +31,8 @@ "topicName", "eventNameMap", "eventVersionMap", - "contractId" + "contractId", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessKey", "sharedSecret"] diff --git a/src/configurations/destinations/gainsight/ui-config.json b/src/configurations/destinations/gainsight/ui-config.json index e01ce80a9..f64ee1848 100644 --- a/src/configurations/destinations/gainsight/ui-config.json +++ b/src/configurations/destinations/gainsight/ui-config.json @@ -117,6 +117,25 @@ "value": "eventVersionMap" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/gainsight_px/db-config.json b/src/configurations/destinations/gainsight_px/db-config.json index 6a7b20aaf..53827f04c 100644 --- a/src/configurations/destinations/gainsight_px/db-config.json +++ b/src/configurations/destinations/gainsight_px/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,7 +26,8 @@ "productTagKey", "userAttributeMap", "accountAttributeMap", - "globalContextMap" + "globalContextMap", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiKey", "productTagKey"] diff --git a/src/configurations/destinations/gainsight_px/ui-config.json b/src/configurations/destinations/gainsight_px/ui-config.json index fad274e36..1706a2d2d 100644 --- a/src/configurations/destinations/gainsight_px/ui-config.json +++ b/src/configurations/destinations/gainsight_px/ui-config.json @@ -76,6 +76,25 @@ "value": "globalContextMap" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/gcs/db-config.json b/src/configurations/destinations/gcs/db-config.json index 7950a52f6..629b11401 100644 --- a/src/configurations/destinations/gcs/db-config.json +++ b/src/configurations/destinations/gcs/db-config.json @@ -5,7 +5,7 @@ "transformAt": "none", "transformAtV1": "none", "saveDestinationResponse": false, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +21,7 @@ "warehouse" ], "destConfig": { - "defaultConfig": ["bucketName", "prefix", "credentials"] + "defaultConfig": ["bucketName", "prefix", "credentials", "oneTrustCookieCategories"] }, "secretKeys": ["credentials"] } diff --git a/src/configurations/destinations/gcs/schema.json b/src/configurations/destinations/gcs/schema.json index 7f85eea9c..5f64f0526 100644 --- a/src/configurations/destinations/gcs/schema.json +++ b/src/configurations/destinations/gcs/schema.json @@ -9,13 +9,22 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "credentials": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "credentials": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "prefix": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/gcs/ui-config.json b/src/configurations/destinations/gcs/ui-config.json index e35f7c924..a6451fffb 100644 --- a/src/configurations/destinations/gcs/ui-config.json +++ b/src/configurations/destinations/gcs/ui-config.json @@ -32,6 +32,25 @@ "secret": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/gcs_datalake/db-config.json b/src/configurations/destinations/gcs_datalake/db-config.json index 4f103187e..7d7e40014 100644 --- a/src/configurations/destinations/gcs_datalake/db-config.json +++ b/src/configurations/destinations/gcs_datalake/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -29,9 +29,10 @@ "timeWindowLayout", "credentials", "syncFrequency", - "syncStartAt" + "syncStartAt", + "oneTrustCookieCategories" ] }, "secretKeys": [] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/gcs_datalake/schema.json b/src/configurations/destinations/gcs_datalake/schema.json index 69c2cdb50..dff9575d8 100644 --- a/src/configurations/destinations/gcs_datalake/schema.json +++ b/src/configurations/destinations/gcs_datalake/schema.json @@ -8,34 +8,32 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "prefix": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "tableSuffix": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, + "prefix": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "tableSuffix": { "type": "string", "pattern": "(^env[.].*)|.*" }, "timeWindowLayout": { "type": "string", "pattern": "^(2006/01/02/15|dt=2006-01-02|year=2006|year=2006/month=01|year=2006/month=01/day=02|year=2006/month=01/day=02/hour=15)$", "default": "2006/01/02/15" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" + "syncStartAt": { "type": "string" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "additionalProperties": true diff --git a/src/configurations/destinations/gcs_datalake/ui-config.json b/src/configurations/destinations/gcs_datalake/ui-config.json index a12189561..ecd6be0e4 100644 --- a/src/configurations/destinations/gcs_datalake/ui-config.json +++ b/src/configurations/destinations/gcs_datalake/ui-config.json @@ -50,22 +50,10 @@ "label": "Choose time window layout", "value": "timeWindowLayout", "options": [ - { - "name": "Default (YYYY/MM/DD/HH)", - "value": "2006/01/02/15" - }, - { - "name": "Upto Date (dt=YYYY-MM-DD)", - "value": "dt=2006-01-02" - }, - { - "name": "Upto Year (year=YYYY)", - "value": "year=2006" - }, - { - "name": "Upto Month (year=YYYY/month=MM)", - "value": "year=2006/month=01" - }, + { "name": "Default (YYYY/MM/DD/HH)", "value": "2006/01/02/15" }, + { "name": "Upto Date (dt=YYYY-MM-DD)", "value": "dt=2006-01-02" }, + { "name": "Upto Year (year=YYYY)", "value": "year=2006" }, + { "name": "Upto Month (year=YYYY/month=MM)", "value": "year=2006/month=01" }, { "name": "Upto Day (year=YYYY/month=MM/day=DD)", "value": "year=2006/month=01/day=02" @@ -75,10 +63,7 @@ "value": "year=2006/month=01/day=02/hour=15" } ], - "defaultOption": { - "name": "Default (YYYY/MM/DD/HH)", - "value": "2006/01/02/15" - }, + "defaultOption": { "name": "Default (YYYY/MM/DD/HH)", "value": "2006/01/02/15" }, "required": false }, { @@ -95,49 +80,44 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json b/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json index fb21905fb..7d54f3c67 100644 --- a/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json +++ b/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json @@ -11,7 +11,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedMessageTypes": ["track"], "supportedSourceTypes": [ @@ -33,12 +33,11 @@ "listOfConversions", "subAccount", "loginCustomerId", - "requireHash" + "requireHash", + "oneTrustCookieCategories" ] }, "secretKeys": [] }, - "options": { - "isBeta": false - } + "options": { "isBeta": false } } diff --git a/src/configurations/destinations/google_adwords_enhanced_conversions/ui-config.json b/src/configurations/destinations/google_adwords_enhanced_conversions/ui-config.json index f206c2e56..0154e6cc8 100644 --- a/src/configurations/destinations/google_adwords_enhanced_conversions/ui-config.json +++ b/src/configurations/destinations/google_adwords_enhanced_conversions/ui-config.json @@ -22,12 +22,7 @@ { "type": "textInput", "label": "Login Customer ID", - "preRequisiteField": [ - { - "name": "subAccount", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "subAccount", "selectedValue": true }], "value": "loginCustomerId", "regex": "^(.{1,100})$", "required": true, @@ -59,6 +54,25 @@ "footerNote": "If this option is set to on we will encrypt mail, phoneNumber, firstName, lastName and streetAddress" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/google_adwords_offline_conversions/db-config.json b/src/configurations/destinations/google_adwords_offline_conversions/db-config.json index e40974093..ec7b4e643 100644 --- a/src/configurations/destinations/google_adwords_offline_conversions/db-config.json +++ b/src/configurations/destinations/google_adwords_offline_conversions/db-config.json @@ -11,7 +11,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -39,12 +39,11 @@ "conversionEnvironment", "defaultUserIdentifier", "hashUserIdentifier", - "validateOnly" + "validateOnly", + "oneTrustCookieCategories" ] }, "secretKeys": [] }, - "options": { - "isBeta": true - } + "options": { "isBeta": true } } diff --git a/src/configurations/destinations/google_adwords_offline_conversions/schema.json b/src/configurations/destinations/google_adwords_offline_conversions/schema.json index 2b519e5df..d9cf66924 100644 --- a/src/configurations/destinations/google_adwords_offline_conversions/schema.json +++ b/src/configurations/destinations/google_adwords_offline_conversions/schema.json @@ -8,9 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "subAccount": { - "type": "boolean" - }, + "subAccount": { "type": "boolean" }, "loginCustomerId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -71,15 +69,20 @@ "type": "string", "pattern": "(^env[.].*)|^(none|UNSPECIFIED|UNKNOWN|APP|WEB)$" }, - "defaultUserIdentifier": { - "type": "string", - "pattern": "(^env[.].*)|^(email|phone)$" - }, - "enableServerSideIdentify": { - "type": "boolean" - }, - "validateOnly": { - "type": "boolean" + "defaultUserIdentifier": { "type": "string", "pattern": "(^env[.].*)|^(email|phone)$" }, + "enableServerSideIdentify": { "type": "boolean" }, + "validateOnly": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json b/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json index afb23e150..fdccb3e55 100644 --- a/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json +++ b/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json @@ -22,12 +22,7 @@ { "type": "textInput", "label": "Login Customer ID", - "preRequisiteField": [ - { - "name": "subAccount", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "subAccount", "selectedValue": true }], "value": "loginCustomerId", "regex": "^(.{1,100})$", "required": true, @@ -49,14 +44,8 @@ "required": false, "placeholderLeft": "e.g: Sign up completed", "options": [ - { - "name": "Click", - "value": "click" - }, - { - "name": "Call", - "value": "call" - } + { "name": "Click", "value": "click" }, + { "name": "Call", "value": "call" } ] }, { @@ -88,31 +77,13 @@ "required": false, "footerNote": "Source of the user identifier", "options": [ - { - "name": "None", - "value": "none" - }, - { - "name": "UNSPECIFIED", - "value": "UNSPECIFIED" - }, - { - "name": "UNKNOWN", - "value": "UNKNOWN" - }, - { - "name": "FIRST_PARTY", - "value": "FIRST_PARTY" - }, - { - "name": "THIRD_PARTY", - "value": "THIRD_PARTY" - } + { "name": "None", "value": "none" }, + { "name": "UNSPECIFIED", "value": "UNSPECIFIED" }, + { "name": "UNKNOWN", "value": "UNKNOWN" }, + { "name": "FIRST_PARTY", "value": "FIRST_PARTY" }, + { "name": "THIRD_PARTY", "value": "THIRD_PARTY" } ], - "defaultOption": { - "name": "None", - "value": "none" - } + "defaultOption": { "name": "None", "value": "none" } }, { "type": "singleSelect", @@ -121,31 +92,13 @@ "required": false, "footerNote": "The environment this conversion was recorded on. e.g. App or Web.", "options": [ - { - "name": "None", - "value": "none" - }, - { - "name": "UNSPECIFIED", - "value": "UNSPECIFIED" - }, - { - "name": "UNKNOWN", - "value": "UNKNOWN" - }, - { - "name": "APP", - "value": "APP" - }, - { - "name": "WEB", - "value": "WEB" - } + { "name": "None", "value": "none" }, + { "name": "UNSPECIFIED", "value": "UNSPECIFIED" }, + { "name": "UNKNOWN", "value": "UNKNOWN" }, + { "name": "APP", "value": "APP" }, + { "name": "WEB", "value": "WEB" } ], - "defaultOption": { - "name": "None", - "value": "none" - } + "defaultOption": { "name": "None", "value": "none" } }, { "type": "singleSelect", @@ -153,19 +106,10 @@ "value": "defaultUserIdentifier", "footerNote": "The user identifier for click conversions matching", "options": [ - { - "name": "Email", - "value": "email" - }, - { - "name": "Phone number", - "value": "phone" - } + { "name": "Email", "value": "email" }, + { "name": "Phone number", "value": "phone" } ], - "defaultOption": { - "name": "Email", - "value": "email" - } + "defaultOption": { "name": "Email", "value": "email" } }, { "type": "checkbox", @@ -182,6 +126,25 @@ "footerNote": "Enable this option to only validate the request" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/google_adwords_remarketing_lists/db-config.json b/src/configurations/destinations/google_adwords_remarketing_lists/db-config.json index 140097549..df00a55c4 100644 --- a/src/configurations/destinations/google_adwords_remarketing_lists/db-config.json +++ b/src/configurations/destinations/google_adwords_remarketing_lists/db-config.json @@ -11,7 +11,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": ["cloud", "warehouse"], "syncBehaviours": ["mirror"], @@ -27,12 +27,11 @@ "subAccount", "userSchema", "isHashRequired", - "typeOfList" + "typeOfList", + "oneTrustCookieCategories" ] }, "secretKeys": [] }, - "options": { - "isBeta": false - } + "options": { "isBeta": false } } diff --git a/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json b/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json index 71744f75b..2af9fb01f 100644 --- a/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json +++ b/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json @@ -31,12 +31,7 @@ { "type": "textInput", "label": "Login Customer ID", - "preRequisiteField": [ - { - "name": "subAccount", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "subAccount", "selectedValue": true }], "value": "loginCustomerId", "regex": "^(.{0,100})$", "required": true, @@ -53,22 +48,11 @@ "value": "typeOfList", "mode": "single", "options": [ - { - "name": "General", - "value": "General" - }, - { - "name": "User ID", - "value": "userID" - }, - { - "name": "Mobile Device ID", - "value": "mobileDeviceID" - } + { "name": "General", "value": "General" }, + { "name": "User ID", "value": "userID" }, + { "name": "Mobile Device ID", "value": "mobileDeviceID" } ], - "defaultOption": { - "value": "General" - } + "defaultOption": { "value": "General" } }, { "type": "checkbox", @@ -79,32 +63,34 @@ { "type": "singleSelect", "label": "Schema Fields", - "preRequisiteField": [ - { - "name": "typeOfList", - "selectedValue": "General" - } - ], + "preRequisiteField": [{ "name": "typeOfList", "selectedValue": "General" }], "value": "userSchema", "mode": "multiple", "options": [ + { "name": "Email", "value": "email" }, + { "name": "Phone Number", "value": "phone" }, + { "name": "Address Info", "value": "addressInfo" } + ], + "defaultOption": { "name": "Email", "value": ["email"] } + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ { - "name": "Email", - "value": "email" - }, - { - "name": "Phone Number", - "value": "phone" - }, - { - "name": "Address Info", - "value": "addressInfo" + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false } - ], - "defaultOption": { - "name": "Email", - "value": ["email"] - } + ] } ] } diff --git a/src/configurations/destinations/google_cloud_function/db-config.json b/src/configurations/destinations/google_cloud_function/db-config.json index 3137d6cff..9f2be459a 100644 --- a/src/configurations/destinations/google_cloud_function/db-config.json +++ b/src/configurations/destinations/google_cloud_function/db-config.json @@ -10,7 +10,8 @@ "googleCloudFunctionUrl", "gcloudAuthorization", "apiKeyId", - "enableBatchInput" + "enableBatchInput", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -33,7 +34,8 @@ "gcloudAuthorization", "apiKeyId", "enableBatchInput", - "maxBatchSize" + "maxBatchSize", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiKeyId", "gcloudAuthorization"] diff --git a/src/configurations/destinations/google_cloud_function/schema.json b/src/configurations/destinations/google_cloud_function/schema.json index eef8a83b5..71990770e 100644 --- a/src/configurations/destinations/google_cloud_function/schema.json +++ b/src/configurations/destinations/google_cloud_function/schema.json @@ -4,31 +4,26 @@ "type": "object", "required": ["triggerType"], "properties": { - "apiKeyId": { - "type": "string" - }, - "enableBatchInput": { - "type": "boolean" - }, - "maxBatchSize": { - "type": "string", - "pattern": "^[1-9]\\d*$" - }, - "triggerType": { - "type": "string", - "pattern": "^(Http|Https)$" + "apiKeyId": { "type": "string" }, + "enableBatchInput": { "type": "boolean" }, + "maxBatchSize": { "type": "string", "pattern": "^[1-9]\\d*$" }, + "triggerType": { "type": "string", "pattern": "^(Http|Https)$" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { - "if": { - "properties": { - "triggerType": { - "const": "Http" - } - }, - "required": ["triggerType"] - }, + "if": { "properties": { "triggerType": { "const": "Http" } }, "required": ["triggerType"] }, "then": { "properties": { "googleCloudFunctionUrl": { @@ -41,11 +36,7 @@ }, { "if": { - "properties": { - "triggerType": { - "const": "Https" - } - }, + "properties": { "triggerType": { "const": "Https" } }, "required": ["triggerType"] }, "then": { @@ -54,10 +45,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$" }, - "gcloudAuthorization": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "gcloudAuthorization": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["googleCloudFunctionUrl", "gcloudAuthorization"] } diff --git a/src/configurations/destinations/google_cloud_function/ui-config.json b/src/configurations/destinations/google_cloud_function/ui-config.json index 2ec9b6c6d..ccc2b45ae 100644 --- a/src/configurations/destinations/google_cloud_function/ui-config.json +++ b/src/configurations/destinations/google_cloud_function/ui-config.json @@ -8,25 +8,14 @@ "label": "Choose your Trigger Type ", "value": "triggerType", "options": [ - { - "name": "HTTP", - "value": "Http" - }, - { - "name": "HTTPS", - "value": "Https" - } + { "name": "HTTP", "value": "Http" }, + { "name": "HTTPS", "value": "Https" } ], "required": true }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "triggerType", - "selectedValue": "Http" - } - ], + "preRequisiteField": [{ "name": "triggerType", "selectedValue": "Http" }], "label": "URL", "value": "googleCloudFunctionUrl", "required": true, @@ -36,12 +25,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "triggerType", - "selectedValue": "Https" - } - ], + "preRequisiteField": [{ "name": "triggerType", "selectedValue": "Https" }], "label": "URL", "value": "googleCloudFunctionUrl", "required": true, @@ -51,12 +35,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "triggerType", - "selectedValue": "Https" - } - ], + "preRequisiteField": [{ "name": "triggerType", "selectedValue": "Https" }], "label": "Gcloud Authorization", "value": "gcloudAuthorization", "regex": ".*", @@ -90,10 +69,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "enableBatchInput", - "selectedValue": true - }, + "preRequisiteField": { "name": "enableBatchInput", "selectedValue": true }, "label": "Max Batch Size", "value": "maxBatchSize", "regex": "^[1-9]\\d*$", @@ -102,6 +78,25 @@ "required": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/google_optimize/db-config.json b/src/configurations/destinations/google_optimize/db-config.json index 730b32b8f..20f49bc67 100644 --- a/src/configurations/destinations/google_optimize/db-config.json +++ b/src/configurations/destinations/google_optimize/db-config.json @@ -19,16 +19,13 @@ "secretKeys": [], "supportedSourceTypes": ["web"], "destConfig": { - "defaultConfig": ["blacklistedEvents", "whitelistedEvents", "eventFilteringOption"], - "web": [ - "ga", - "trackingId", - "containerId", - "async", - "aflicker", - "useNativeSDK", + "defaultConfig": [ + "blacklistedEvents", + "whitelistedEvents", + "eventFilteringOption", "oneTrustCookieCategories" - ] + ], + "web": ["ga", "trackingId", "containerId", "async", "aflicker", "useNativeSDK"] } } } diff --git a/src/configurations/destinations/googleads/db-config.json b/src/configurations/destinations/googleads/db-config.json index 01206dfec..a1cde665d 100644 --- a/src/configurations/destinations/googleads/db-config.json +++ b/src/configurations/destinations/googleads/db-config.json @@ -47,14 +47,11 @@ "disableAdPersonalization", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" - ], - "web": [ - "useNativeSDK", - "dynamicRemarketing", + "eventFilteringOption", "oneTrustCookieCategories" - ] + ], + "web": ["useNativeSDK", "dynamicRemarketing"] }, "secretKeys": [] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/googleads/schema.json b/src/configurations/destinations/googleads/schema.json index ca8391eba..367f1d4f6 100644 --- a/src/configurations/destinations/googleads/schema.json +++ b/src/configurations/destinations/googleads/schema.json @@ -60,18 +60,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "conversionLinker": { - "type": "boolean" - }, - "sendPageView": { - "type": "boolean" - }, - "trackConversions": { - "type": "boolean" - }, - "enableConversionEventsFiltering": { - "type": "boolean" - }, + "conversionLinker": { "type": "boolean" }, + "sendPageView": { "type": "boolean" }, + "trackConversions": { "type": "boolean" }, + "enableConversionEventsFiltering": { "type": "boolean" }, "eventsToTrackConversions": { "type": "array", "items": { @@ -84,12 +76,8 @@ } } }, - "trackDynamicRemarketing": { - "type": "boolean" - }, - "enableDynamicRemarketingEventsFiltering": { - "type": "boolean" - }, + "trackDynamicRemarketing": { "type": "boolean" }, + "enableDynamicRemarketingEventsFiltering": { "type": "boolean" }, "eventsToTrackDynamicRemarketing": { "type": "array", "items": { @@ -102,9 +90,7 @@ } } }, - "disableAdPersonalization": { - "type": "boolean" - }, + "disableAdPersonalization": { "type": "boolean" }, "eventFilteringOption": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(^(disable|whitelistedEvents|blacklistedEvents)$)" @@ -133,27 +119,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/googlepubsub/db-config.json b/src/configurations/destinations/googlepubsub/db-config.json index a4a6af99b..7b9d3d434 100644 --- a/src/configurations/destinations/googlepubsub/db-config.json +++ b/src/configurations/destinations/googlepubsub/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,7 +20,13 @@ "cordova" ], "destConfig": { - "defaultConfig": ["eventToTopicMap", "credentials", "projectId", "eventToAttributesMap"] + "defaultConfig": [ + "eventToTopicMap", + "credentials", + "projectId", + "eventToAttributesMap", + "oneTrustCookieCategories" + ] }, "secretKeys": ["credentials"] } diff --git a/src/configurations/destinations/googlepubsub/schema.json b/src/configurations/destinations/googlepubsub/schema.json index b878bb609..ef897a596 100644 --- a/src/configurations/destinations/googlepubsub/schema.json +++ b/src/configurations/destinations/googlepubsub/schema.json @@ -8,10 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" }, "eventToTopicMap": { "type": "array", "items": { @@ -43,6 +40,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/googlepubsub/ui-config.json b/src/configurations/destinations/googlepubsub/ui-config.json index ee8853b21..813971df7 100644 --- a/src/configurations/destinations/googlepubsub/ui-config.json +++ b/src/configurations/destinations/googlepubsub/ui-config.json @@ -47,6 +47,25 @@ "value": "eventToAttributesMap" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/googlesheets/db-config.json b/src/configurations/destinations/googlesheets/db-config.json index 48b8f80f5..f0c6c2eba 100644 --- a/src/configurations/destinations/googlesheets/db-config.json +++ b/src/configurations/destinations/googlesheets/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,7 +20,13 @@ "cordova" ], "destConfig": { - "defaultConfig": ["sheetName", "eventKeyMap", "sheetId", "credentials"] + "defaultConfig": [ + "sheetName", + "eventKeyMap", + "sheetId", + "credentials", + "oneTrustCookieCategories" + ] }, "secretKeys": ["credentials"] } diff --git a/src/configurations/destinations/googlesheets/ui-config.json b/src/configurations/destinations/googlesheets/ui-config.json index 68801a85e..66851f673 100644 --- a/src/configurations/destinations/googlesheets/ui-config.json +++ b/src/configurations/destinations/googlesheets/ui-config.json @@ -48,6 +48,25 @@ "required": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/gtm/db-config.json b/src/configurations/destinations/gtm/db-config.json index 2e3cb5d29..69d3bf878 100644 --- a/src/configurations/destinations/gtm/db-config.json +++ b/src/configurations/destinations/gtm/db-config.json @@ -21,9 +21,10 @@ "serverUrl", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/gtm/schema.json b/src/configurations/destinations/gtm/schema.json index 3e182202a..1c7c96300 100644 --- a/src/configurations/destinations/gtm/schema.json +++ b/src/configurations/destinations/gtm/schema.json @@ -40,27 +40,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/heap/db-config.json b/src/configurations/destinations/heap/db-config.json index 3304d0b02..89872ffd2 100644 --- a/src/configurations/destinations/heap/db-config.json +++ b/src/configurations/destinations/heap/db-config.json @@ -29,8 +29,14 @@ ], "supportedMessageTypes": ["identify", "track"], "destConfig": { - "defaultConfig": ["appId", "blacklistedEvents", "whitelistedEvents", "eventFilteringOption"], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "defaultConfig": [ + "appId", + "blacklistedEvents", + "whitelistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/heap/schema.json b/src/configurations/destinations/heap/schema.json index 853509268..2b8ceb073 100644 --- a/src/configurations/destinations/heap/schema.json +++ b/src/configurations/destinations/heap/schema.json @@ -8,14 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(disable|whitelistedEvents|blacklistedEvents)$" @@ -45,18 +38,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/hotjar/db-config.json b/src/configurations/destinations/hotjar/db-config.json index 58edef4d9..b8a13d8f0 100644 --- a/src/configurations/destinations/hotjar/db-config.json +++ b/src/configurations/destinations/hotjar/db-config.json @@ -15,8 +15,14 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "destConfig": { - "defaultConfig": ["siteID", "blacklistedEvents", "whitelistedEvents", "eventFilteringOption"], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "defaultConfig": [ + "siteID", + "blacklistedEvents", + "whitelistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/hotjar/schema.json b/src/configurations/destinations/hotjar/schema.json index bfb5d9969..e609e0ae6 100644 --- a/src/configurations/destinations/hotjar/schema.json +++ b/src/configurations/destinations/hotjar/schema.json @@ -8,14 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(disable|whitelistedEvents|blacklistedEvents)$" @@ -45,18 +38,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/hs/db-config.json b/src/configurations/destinations/hs/db-config.json index 08d452972..b30a335eb 100644 --- a/src/configurations/destinations/hs/db-config.json +++ b/src/configurations/destinations/hs/db-config.json @@ -27,10 +27,7 @@ "flutter", "cordova" ], - "supportedMessageTypes": [ - "identify", - "track" - ], + "supportedMessageTypes": ["identify", "track"], "destConfig": { "defaultConfig": [ "authorizationType", @@ -46,13 +43,11 @@ "blacklistedEvents", "whitelistedEvents", "eventFilteringOption", - "doAssociation" - ], - "web": [ - "useNativeSDK", + "doAssociation", "oneTrustCookieCategories" - ] + ], + "web": ["useNativeSDK"] }, "secretKeys": [] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/hs/schema.json b/src/configurations/destinations/hs/schema.json index a6f097121..fdb5997ad 100644 --- a/src/configurations/destinations/hs/schema.json +++ b/src/configurations/destinations/hs/schema.json @@ -59,14 +59,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(disable|whitelistedEvents|blacklistedEvents)$" @@ -96,18 +89,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/impact/db-config.json b/src/configurations/destinations/impact/db-config.json index 7256c48d1..58fc87fb2 100644 --- a/src/configurations/destinations/impact/db-config.json +++ b/src/configurations/destinations/impact/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -34,7 +34,8 @@ "enablePageEvents", "enableScreenEvents", "actionEventNames", - "installEventNames" + "installEventNames", + "oneTrustCookieCategories" ], "web": [] }, diff --git a/src/configurations/destinations/impact/schema.json b/src/configurations/destinations/impact/schema.json index a33b42634..af10b3861 100644 --- a/src/configurations/destinations/impact/schema.json +++ b/src/configurations/destinations/impact/schema.json @@ -24,9 +24,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*?)\\}\\}$)|(^env[.].+)|^[0-9]+$|^$" }, - "enableEmailHashing": { - "type": "boolean" - }, + "enableEmailHashing": { "type": "boolean" }, "rudderToImpactProperty": { "type": "array", "items": { @@ -59,15 +57,9 @@ } } }, - "enableIdentifyEvents": { - "type": "boolean" - }, - "enablePageEvents": { - "type": "boolean" - }, - "enableScreenEvents": { - "type": "boolean" - }, + "enableIdentifyEvents": { "type": "boolean" }, + "enablePageEvents": { "type": "boolean" }, + "enableScreenEvents": { "type": "boolean" }, "actionEventNames": { "type": "array", "items": { @@ -91,6 +83,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/impact/ui-config.json b/src/configurations/destinations/impact/ui-config.json index 98418ff51..4b3e62640 100644 --- a/src/configurations/destinations/impact/ui-config.json +++ b/src/configurations/destinations/impact/ui-config.json @@ -144,6 +144,25 @@ ] } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/indicative/db-config.json b/src/configurations/destinations/indicative/db-config.json index 04bfbcdeb..fa93aece8 100644 --- a/src/configurations/destinations/indicative/db-config.json +++ b/src/configurations/destinations/indicative/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,9 +20,7 @@ "cordova" ], "supportedMessageTypes": ["alias", "identify", "page", "screen", "track"], - "destConfig": { - "defaultConfig": ["apiKey"] - }, + "destConfig": { "defaultConfig": ["apiKey", "oneTrustCookieCategories"] }, "secretKeys": [] } } diff --git a/src/configurations/destinations/indicative/ui-config.json b/src/configurations/destinations/indicative/ui-config.json index 7ee07e6b2..6f5c07d1f 100644 --- a/src/configurations/destinations/indicative/ui-config.json +++ b/src/configurations/destinations/indicative/ui-config.json @@ -14,6 +14,25 @@ "secret": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/intercom/db-config.json b/src/configurations/destinations/intercom/db-config.json index f599c3840..8311143fa 100644 --- a/src/configurations/destinations/intercom/db-config.json +++ b/src/configurations/destinations/intercom/db-config.json @@ -38,11 +38,12 @@ "sendAnonymousId", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "android": ["useNativeSDK", "mobileApiKeyAndroid", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "mobileApiKeyIOS", "oneTrustCookieCategories"], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "android": ["useNativeSDK", "mobileApiKeyAndroid"], + "ios": ["useNativeSDK", "mobileApiKeyIOS"], + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/iterable/db-config.json b/src/configurations/destinations/iterable/db-config.json index 40f801460..1de236441 100644 --- a/src/configurations/destinations/iterable/db-config.json +++ b/src/configurations/destinations/iterable/db-config.json @@ -28,7 +28,8 @@ "closeButtonColorSideOffset", "iconPath", "isRequiredToDismissMessage", - "closeButtonPosition" + "closeButtonPosition", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -50,7 +51,8 @@ "mapToSingleEvent", "trackAllPages", "trackCategorisedPages", - "trackNamedPages" + "trackNamedPages", + "oneTrustCookieCategories" ], "web": [ "useNativeSDK", @@ -73,8 +75,7 @@ "closeButtonColorSideOffset", "iconPath", "isRequiredToDismissMessage", - "closeButtonPosition", - "oneTrustCookieCategories" + "closeButtonPosition" ] }, "secretKeys": [] diff --git a/src/configurations/destinations/iterable/schema.json b/src/configurations/destinations/iterable/schema.json index 8c5eda682..f57c94249 100644 --- a/src/configurations/destinations/iterable/schema.json +++ b/src/configurations/destinations/iterable/schema.json @@ -8,43 +8,23 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "mapToSingleEvent": { - "type": "boolean" - }, - "trackAllPages": { - "type": "boolean" - }, - "trackCategorisedPages": { - "type": "boolean" - }, - "trackNamedPages": { - "type": "boolean" - }, + "mapToSingleEvent": { "type": "boolean" }, + "trackAllPages": { "type": "boolean" }, + "trackCategorisedPages": { "type": "boolean" }, + "trackNamedPages": { "type": "boolean" }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "getInAppEventMapping": { "type": "object", "properties": { @@ -79,158 +59,40 @@ } } }, - "apiSecret": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "apiSecret": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "initialisationIdentifier": { "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "animationDuration": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "displayInterval": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } + "properties": { "web": { "type": "string" } } }, + "animationDuration": { "type": "object", "properties": { "web": { "type": "string" } } }, + "displayInterval": { "type": "object", "properties": { "web": { "type": "string" } } }, "onOpenScreenReaderMessage": { "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "onOpenNodeToTakeFocus": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "packageName": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "rightOffset": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "topOffset": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "bottomOffset": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "closeButtonColor": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "closeButtonSize": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } + "properties": { "web": { "type": "string" } } }, + "onOpenNodeToTakeFocus": { "type": "object", "properties": { "web": { "type": "string" } } }, + "packageName": { "type": "object", "properties": { "web": { "type": "string" } } }, + "rightOffset": { "type": "object", "properties": { "web": { "type": "string" } } }, + "topOffset": { "type": "object", "properties": { "web": { "type": "string" } } }, + "bottomOffset": { "type": "object", "properties": { "web": { "type": "string" } } }, + "closeButtonColor": { "type": "object", "properties": { "web": { "type": "string" } } }, + "closeButtonSize": { "type": "object", "properties": { "web": { "type": "string" } } }, "closeButtonColorTopOffset": { "type": "object", - "properties": { - "web": { - "type": "string" - } - } + "properties": { "web": { "type": "string" } } }, "closeButtonColorSideOffset": { "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "iconPath": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } + "properties": { "web": { "type": "string" } } }, + "iconPath": { "type": "object", "properties": { "web": { "type": "string" } } }, "isRequiredToDismissMessage": { "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } + "properties": { "web": { "type": "boolean" } } }, - "closeButtonPosition": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, - "sendTrackForInapp": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "handleLinks": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - } + "closeButtonPosition": { "type": "object", "properties": { "web": { "type": "string" } } }, + "sendTrackForInapp": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "handleLinks": { "type": "object", "properties": { "web": { "type": "string" } } } } } } diff --git a/src/configurations/destinations/june/db-config.json b/src/configurations/destinations/june/db-config.json index a8f21ea49..7921ad453 100644 --- a/src/configurations/destinations/june/db-config.json +++ b/src/configurations/destinations/june/db-config.json @@ -5,7 +5,13 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": ["apiKey", "whitelistedEvents", "blacklistedEvents", "eventFilteringOption"], + "includeKeys": [ + "apiKey", + "whitelistedEvents", + "blacklistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,8 +27,14 @@ ], "supportedMessageTypes": ["page", "identify", "track", "group"], "destConfig": { - "defaultConfig": ["apiKey", "whitelistedEvents", "blacklistedEvents", "eventFilteringOption"], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "defaultConfig": [ + "apiKey", + "whitelistedEvents", + "blacklistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], + "web": ["useNativeSDK"] }, "secretKeys": ["apiKey"] } diff --git a/src/configurations/destinations/june/schema.json b/src/configurations/destinations/june/schema.json index 42bb66960..38c8663a0 100644 --- a/src/configurations/destinations/june/schema.json +++ b/src/configurations/destinations/june/schema.json @@ -36,27 +36,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/kafka/db-config.json b/src/configurations/destinations/kafka/db-config.json index 2c7123d0c..b2e4c9226 100644 --- a/src/configurations/destinations/kafka/db-config.json +++ b/src/configurations/destinations/kafka/db-config.json @@ -6,7 +6,7 @@ "transformAtV1": "processor", "configFilters": ["caCertificate"], "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -35,7 +35,8 @@ "avroSchemas", "enableMultiTopic", "eventTypeToTopicMap", - "eventToTopicMap" + "eventToTopicMap", + "oneTrustCookieCategories" ] }, "secretKeys": ["password"] diff --git a/src/configurations/destinations/kafka/ui-config.json b/src/configurations/destinations/kafka/ui-config.json index c6ccc0159..b6942d72f 100644 --- a/src/configurations/destinations/kafka/ui-config.json +++ b/src/configurations/destinations/kafka/ui-config.json @@ -31,18 +31,10 @@ "required": true, "placeholder": "e.g: test-topic" }, - { - "type": "checkbox", - "label": "SSL Enabled", - "value": "sslEnabled", - "default": true - }, + { "type": "checkbox", "label": "SSL Enabled", "value": "sslEnabled", "default": true }, { "type": "textareaInput", - "preRequisiteField": { - "name": "sslEnabled", - "selectedValue": true - }, + "preRequisiteField": { "name": "sslEnabled", "selectedValue": true }, "label": "CA certificate", "value": "caCertificate", "regex": ".*", @@ -62,38 +54,20 @@ }, { "type": "singleSelect", - "preRequisiteField": { - "name": "useSASL", - "selectedValue": true - }, + "preRequisiteField": { "name": "useSASL", "selectedValue": true }, "label": "SASL Type", "value": "saslType", "options": [ - { - "name": "Plain", - "value": "plain" - }, - { - "name": "SCRAM SHA-512", - "value": "sha512" - }, - { - "name": "SCRAM SHA-256", - "value": "sha256" - } + { "name": "Plain", "value": "plain" }, + { "name": "SCRAM SHA-512", "value": "sha512" }, + { "name": "SCRAM SHA-256", "value": "sha256" } ], - "defaultOption": { - "name": "Plain", - "value": "plain" - }, + "defaultOption": { "name": "Plain", "value": "plain" }, "required": true }, { "type": "textInput", - "preRequisiteField": { - "name": "useSASL", - "selectedValue": true - }, + "preRequisiteField": { "name": "useSASL", "selectedValue": true }, "label": "Username", "value": "username", "regex": "^(.{0,100})$", @@ -103,10 +77,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "useSASL", - "selectedValue": true - }, + "preRequisiteField": { "name": "useSASL", "selectedValue": true }, "label": "Password", "value": "password", "regex": "^(.{0,100})$", @@ -128,10 +99,7 @@ "footerNote": "If this option is turned on we will convert the data to avro" }, { - "preRequisiteField": { - "name": "convertToAvro", - "selectedValue": true - }, + "preRequisiteField": { "name": "convertToAvro", "selectedValue": true }, "label": "AVRO Schema Lists", "value": "avroSchemas", "required": true, @@ -166,10 +134,7 @@ "footerNote": "Enable this option to deliver events to multiple topics" }, { - "preRequisiteField": { - "name": "enableMultiTopic", - "selectedValue": true - }, + "preRequisiteField": { "name": "enableMultiTopic", "selectedValue": true }, "type": "dynamicSelectForm", "label": "Map event type to topic", "labelLeft": "Event Type", @@ -181,33 +146,15 @@ "required": true, "placeholderRight": "e.g. Sample-topic", "options": [ - { - "name": "Identify", - "value": "identify" - }, - { - "name": "Page", - "value": "page" - }, - { - "name": "Screen", - "value": "screen" - }, - { - "name": "Group", - "value": "group" - }, - { - "name": "Alias", - "value": "alias" - } + { "name": "Identify", "value": "identify" }, + { "name": "Page", "value": "page" }, + { "name": "Screen", "value": "screen" }, + { "name": "Group", "value": "group" }, + { "name": "Alias", "value": "alias" } ] }, { - "preRequisiteField": { - "name": "enableMultiTopic", - "selectedValue": true - }, + "preRequisiteField": { "name": "enableMultiTopic", "selectedValue": true }, "type": "dynamicForm", "label": "Map Track events to topic", "required": true, @@ -220,6 +167,25 @@ "value": "eventToTopicMap" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/keen/db-config.json b/src/configurations/destinations/keen/db-config.json index 4ffa3917b..31c1cdcb5 100644 --- a/src/configurations/destinations/keen/db-config.json +++ b/src/configurations/destinations/keen/db-config.json @@ -41,9 +41,10 @@ "referrerAddon", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/kinesis/db-config.json b/src/configurations/destinations/kinesis/db-config.json index 7ebb1d442..2726c91d9 100644 --- a/src/configurations/destinations/kinesis/db-config.json +++ b/src/configurations/destinations/kinesis/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -27,7 +27,8 @@ "stream", "accessKeyID", "accessKey", - "useMessageId" + "useMessageId", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessKeyID", "accessKey"] diff --git a/src/configurations/destinations/kinesis/schema.json b/src/configurations/destinations/kinesis/schema.json index 8e02d82b7..fbe8a884c 100644 --- a/src/configurations/destinations/kinesis/schema.json +++ b/src/configurations/destinations/kinesis/schema.json @@ -12,18 +12,24 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "roleBasedAuth": { - "type": "boolean" + "roleBasedAuth": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { "if": { - "properties": { - "roleBasedAuth": { - "const": true - } - }, + "properties": { "roleBasedAuth": { "const": true } }, "required": ["roleBasedAuth"] }, "then": { @@ -38,11 +44,7 @@ }, { "if": { - "properties": { - "roleBasedAuth": { - "const": true - } - }, + "properties": { "roleBasedAuth": { "const": true } }, "required": ["roleBasedAuth", "accessKeyID"] }, "then": { diff --git a/src/configurations/destinations/kinesis/ui-config.json b/src/configurations/destinations/kinesis/ui-config.json index 935380e16..909705ac6 100644 --- a/src/configurations/destinations/kinesis/ui-config.json +++ b/src/configurations/destinations/kinesis/ui-config.json @@ -29,10 +29,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -46,10 +43,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "^(.{0,100})$", @@ -60,10 +54,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "^(.{0,100})$", @@ -79,6 +70,25 @@ "default": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/kissmetrics/db-config.json b/src/configurations/destinations/kissmetrics/db-config.json index ab2089765..89d589ccd 100644 --- a/src/configurations/destinations/kissmetrics/db-config.json +++ b/src/configurations/destinations/kissmetrics/db-config.json @@ -33,9 +33,10 @@ "prefixProperties", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/klaviyo/db-config.json b/src/configurations/destinations/klaviyo/db-config.json index 94b68c82e..57c28911c 100644 --- a/src/configurations/destinations/klaviyo/db-config.json +++ b/src/configurations/destinations/klaviyo/db-config.json @@ -43,9 +43,10 @@ "enforceEmailAsPrimary", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["privateApiKey"] } diff --git a/src/configurations/destinations/klaviyo/schema.json b/src/configurations/destinations/klaviyo/schema.json index af17c49df..e98631006 100644 --- a/src/configurations/destinations/klaviyo/schema.json +++ b/src/configurations/destinations/klaviyo/schema.json @@ -12,30 +12,15 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "enforceEmailAsPrimary": { - "type": "boolean" - }, + "enforceEmailAsPrimary": { "type": "boolean" }, "consent": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(email|web|sms|directmail|mobile)$" }, - "smsConsent": { - "type": "boolean" - }, - "sendPageAsTrack": { - "type": "boolean" - }, - "additionalPageInfo": { - "type": "boolean" - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "smsConsent": { "type": "boolean" }, + "sendPageAsTrack": { "type": "boolean" }, + "additionalPageInfo": { "type": "boolean" }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(disable|whitelistedEvents|blacklistedEvents)$" @@ -65,18 +50,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/kochava/db-config.json b/src/configurations/destinations/kochava/db-config.json index c30843aae..fe000efb5 100644 --- a/src/configurations/destinations/kochava/db-config.json +++ b/src/configurations/destinations/kochava/db-config.json @@ -30,9 +30,15 @@ ], "supportedMessageTypes": ["screen", "track"], "destConfig": { - "defaultConfig": ["apiKey", "blacklistedEvents", "whitelistedEvents", "eventFilteringOption"], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "appTrackingTransparency", "skAdNetwork", "oneTrustCookieCategories"] + "defaultConfig": [ + "apiKey", + "blacklistedEvents", + "whitelistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK", "appTrackingTransparency", "skAdNetwork"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/kustomer/db-config.json b/src/configurations/destinations/kustomer/db-config.json index bb40a5a37..aa9e8c1b0 100644 --- a/src/configurations/destinations/kustomer/db-config.json +++ b/src/configurations/destinations/kustomer/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -27,7 +27,8 @@ "setIdentityEmail", "disableEmailAsTrackingProperty", "genericPage", - "genericScreen" + "genericScreen", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiKey"] diff --git a/src/configurations/destinations/kustomer/ui-config.json b/src/configurations/destinations/kustomer/ui-config.json index 00752643d..fb693f7f3 100644 --- a/src/configurations/destinations/kustomer/ui-config.json +++ b/src/configurations/destinations/kustomer/ui-config.json @@ -52,6 +52,25 @@ "default": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/lambda/db-config.json b/src/configurations/destinations/lambda/db-config.json index 26e63c03a..448ad7ba7 100644 --- a/src/configurations/destinations/lambda/db-config.json +++ b/src/configurations/destinations/lambda/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "amp", @@ -30,7 +30,8 @@ "enableBatchInput", "clientContext", "roleBasedAuth", - "maxBatchSize" + "maxBatchSize", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessKeyId", "accessKey"] diff --git a/src/configurations/destinations/lambda/schema.json b/src/configurations/destinations/lambda/schema.json index 3f772bdd1..df657c086 100644 --- a/src/configurations/destinations/lambda/schema.json +++ b/src/configurations/destinations/lambda/schema.json @@ -4,33 +4,26 @@ "type": "object", "required": ["region", "lambda"], "properties": { - "accessKeyId": { - "type": "string" - }, - "accessKey": { - "type": "string" - }, - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, - "region": { - "type": "string" - }, - "lambda": { - "type": "string" - }, - "enableBatchInput": { - "type": "boolean" - }, - "maxBatchSize": { - "type": "string", - "pattern": "^$|^[1-9]\\d*$" - }, - "clientContext": { - "type": "string" + "accessKeyId": { "type": "string" }, + "accessKey": { "type": "string" }, + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, + "region": { "type": "string" }, + "lambda": { "type": "string" }, + "enableBatchInput": { "type": "boolean" }, + "maxBatchSize": { "type": "string", "pattern": "^$|^[1-9]\\d*$" }, + "clientContext": { "type": "string" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/lambda/ui-config.json b/src/configurations/destinations/lambda/ui-config.json index da0550264..3207c1c16 100644 --- a/src/configurations/destinations/lambda/ui-config.json +++ b/src/configurations/destinations/lambda/ui-config.json @@ -20,10 +20,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -37,10 +34,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "Access Key Id", "value": "accessKeyId", "regex": "^(.{0,100})$", @@ -51,10 +45,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "Secret Access Key", "value": "accessKey", "regex": "^(.{0,100})$", @@ -83,10 +74,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "enableBatchInput", - "selectedValue": true - }, + "preRequisiteField": { "name": "enableBatchInput", "selectedValue": true }, "label": "Max Batch Size", "value": "maxBatchSize", "regex": "^[1-9]\\d*$", @@ -102,6 +90,25 @@ "required": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/launchdarkly/db-config.json b/src/configurations/destinations/launchdarkly/db-config.json index d34922dd9..da52447ad 100644 --- a/src/configurations/destinations/launchdarkly/db-config.json +++ b/src/configurations/destinations/launchdarkly/db-config.json @@ -20,9 +20,10 @@ "blacklistedEvents", "whitelistedEvents", "eventFilteringOption", - "anonymousUsersSharedKey" + "anonymousUsersSharedKey", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] } } } diff --git a/src/configurations/destinations/leanplum/db-config.json b/src/configurations/destinations/leanplum/db-config.json index bfed53607..e7ed46ab0 100644 --- a/src/configurations/destinations/leanplum/db-config.json +++ b/src/configurations/destinations/leanplum/db-config.json @@ -36,10 +36,11 @@ "isDevelop", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "android": ["useNativeSDK", "useNativeSDKToSend", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "useNativeSDKToSend", "oneTrustCookieCategories"], + "android": ["useNativeSDK", "useNativeSDKToSend"], + "ios": ["useNativeSDK", "useNativeSDKToSend"], "flutter": ["useNativeSDK", "useNativeSDKToSend"] }, "secretKeys": ["clientKey"] diff --git a/src/configurations/destinations/lemnisk/db-config.json b/src/configurations/destinations/lemnisk/db-config.json index 434e25d95..55af55d56 100644 --- a/src/configurations/destinations/lemnisk/db-config.json +++ b/src/configurations/destinations/lemnisk/db-config.json @@ -18,7 +18,8 @@ "accountId", "whitelistedEvents", "blacklistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -33,11 +34,7 @@ "cordova", "warehouse" ], - "supportedMessageTypes": [ - "track", - "identify", - "page" - ], + "supportedMessageTypes": ["track", "identify", "page"], "destConfig": { "defaultConfig": [ "apiKey", @@ -50,21 +47,11 @@ "srcId", "whitelistedEvents", "blacklistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": [ - "useNativeSDK", - "oneTrustCookieCategories", - "sdkWriteKey", - "accountId" - ] + "web": ["useNativeSDK", "sdkWriteKey", "accountId"] }, - "secretKeys": [ - "apiKey", - "passKey", - "plWriteKey", - "diapiWriteKey", - "sdkWriteKey" - ] + "secretKeys": ["apiKey", "passKey", "plWriteKey", "diapiWriteKey", "sdkWriteKey"] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/lemnisk/schema.json b/src/configurations/destinations/lemnisk/schema.json index e074395cb..32375ef07 100644 --- a/src/configurations/destinations/lemnisk/schema.json +++ b/src/configurations/destinations/lemnisk/schema.json @@ -2,14 +2,9 @@ "configSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "required": [ - "cloudMode" - ], + "required": ["cloudMode"], "properties": { - "cloudMode": { - "type": "string", - "pattern": "^(web|server|device)$" - }, + "cloudMode": { "type": "string", "pattern": "^(web|server|device)$" }, "sdkWriteKey": { "type": "object", "properties": { @@ -28,14 +23,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "whitelistedEvents": { "type": "array", "items": { @@ -61,18 +49,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } @@ -81,15 +64,8 @@ "allOf": [ { "if": { - "properties": { - "cloudMode": { - "type": "string", - "const": "server" - } - }, - "required": [ - "cloudMode" - ] + "properties": { "cloudMode": { "type": "string", "const": "server" } }, + "required": ["cloudMode"] }, "then": { "properties": { @@ -105,31 +81,16 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(https?|ftp)://[^\\s/$.?#].[^\\s]*$" }, - "srcId": { - "type": "string" - }, - "diapiWriteKey": { - "type": "string" - } + "srcId": { "type": "string" }, + "diapiWriteKey": { "type": "string" } }, - "required": [ - "apiKey", - "passKey", - "diapi" - ] + "required": ["apiKey", "passKey", "diapi"] } }, { "if": { - "properties": { - "cloudMode": { - "type": "string", - "const": "web" - } - }, - "required": [ - "cloudMode" - ] + "properties": { "cloudMode": { "type": "string", "const": "web" } }, + "required": ["cloudMode"] }, "then": { "properties": { @@ -142,13 +103,10 @@ "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" } }, - "required": [ - "pl", - "plWriteKey" - ] + "required": ["pl", "plWriteKey"] } } ], "additionalProperties": true } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/linkedin_insight_tag/db-config.json b/src/configurations/destinations/linkedin_insight_tag/db-config.json index c06fbe48d..2db26dd87 100644 --- a/src/configurations/destinations/linkedin_insight_tag/db-config.json +++ b/src/configurations/destinations/linkedin_insight_tag/db-config.json @@ -21,9 +21,10 @@ "blacklistedEvents", "whitelistedEvents", "eventFilteringOption", - "eventToConversionIdMap" + "eventToConversionIdMap", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] } } } diff --git a/src/configurations/destinations/livechat/db-config.json b/src/configurations/destinations/livechat/db-config.json index 604a5e48c..9c1b9bf0d 100644 --- a/src/configurations/destinations/livechat/db-config.json +++ b/src/configurations/destinations/livechat/db-config.json @@ -13,7 +13,8 @@ "eventsList", "eventFilteringOption", "blacklistedEvents", - "whitelistedEvents" + "whitelistedEvents", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": ["web"], @@ -27,9 +28,10 @@ "eventFilteringOption", "eventsList", "blacklistedEvents", - "whitelistedEvents" + "whitelistedEvents", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["licenseId"] } diff --git a/src/configurations/destinations/livechat/schema.json b/src/configurations/destinations/livechat/schema.json index ad2fbbe7e..b543dffe6 100644 --- a/src/configurations/destinations/livechat/schema.json +++ b/src/configurations/destinations/livechat/schema.json @@ -8,16 +8,12 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "recordLiveChatEvents": { - "type": "boolean" - }, + "recordLiveChatEvents": { "type": "boolean" }, "eventsList": { "type": "string", "pattern": "^(onReady|onAvailabilityChanged|onVisibilityChanged|onCustomerStatusChanged|onNewEvent|onFormSubmitted|onRatingSubmitted|onGreetingDisplayed|onGreetingHidden|onRichMessageButtonClicked)$" }, - "updateEventNames": { - "type": "boolean" - }, + "updateEventNames": { "type": "boolean" }, "eventsToStandard": { "type": "array", "items": { @@ -58,27 +54,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/lotame/db-config.json b/src/configurations/destinations/lotame/db-config.json index eda2daebd..6bd309aa6 100644 --- a/src/configurations/destinations/lotame/db-config.json +++ b/src/configurations/destinations/lotame/db-config.json @@ -27,9 +27,10 @@ "mappings", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"], + "web": ["useNativeSDK"], "amp": ["useNativeSDK"] }, "secretKeys": [] diff --git a/src/configurations/destinations/lotame_mobile/db-config.json b/src/configurations/destinations/lotame_mobile/db-config.json index 3a90c17e7..80577348b 100644 --- a/src/configurations/destinations/lotame_mobile/db-config.json +++ b/src/configurations/destinations/lotame_mobile/db-config.json @@ -11,7 +11,8 @@ "mappings", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": ["android", "ios"], @@ -22,7 +23,8 @@ "mappings", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "android": ["useNativeSDK"], "ios": ["useNativeSDK"] diff --git a/src/configurations/destinations/lotame_mobile/ui-config.json b/src/configurations/destinations/lotame_mobile/ui-config.json index 3e99e6627..a9f1fb357 100644 --- a/src/configurations/destinations/lotame_mobile/ui-config.json +++ b/src/configurations/destinations/lotame_mobile/ui-config.json @@ -75,23 +75,11 @@ "value": "eventFilteringOption", "required": false, "options": [ - { - "name": "Disable", - "value": "disable" - }, - { - "name": "Allowlist", - "value": "whitelistedEvents" - }, - { - "name": "Denylist", - "value": "blacklistedEvents" - } + { "name": "Disable", "value": "disable" }, + { "name": "Allowlist", "value": "whitelistedEvents" }, + { "name": "Denylist", "value": "blacklistedEvents" } ], - "defaultOption": { - "name": "Disable", - "value": "disable" - } + "defaultOption": { "name": "Disable", "value": "disable" } }, { "type": "dynamicCustomForm", @@ -120,6 +108,25 @@ ] } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/lytics/db-config.json b/src/configurations/destinations/lytics/db-config.json index 084052eb2..35b6342bb 100644 --- a/src/configurations/destinations/lytics/db-config.json +++ b/src/configurations/destinations/lytics/db-config.json @@ -37,9 +37,10 @@ "stream", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "accountId", "blockload", "loadid", "oneTrustCookieCategories"] + "web": ["useNativeSDK", "accountId", "blockload", "loadid"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/mailchimp/db-config.json b/src/configurations/destinations/mailchimp/db-config.json index 812bf62dc..4424196b3 100644 --- a/src/configurations/destinations/mailchimp/db-config.json +++ b/src/configurations/destinations/mailchimp/db-config.json @@ -7,7 +7,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -27,9 +27,10 @@ "apiKey", "audienceId", "datacenterId", - "enableMergeFields" + "enableMergeFields", + "oneTrustCookieCategories" ] }, "secretKeys": [] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/mailchimp/schema.json b/src/configurations/destinations/mailchimp/schema.json index 03adc48c3..4bdc68798 100644 --- a/src/configurations/destinations/mailchimp/schema.json +++ b/src/configurations/destinations/mailchimp/schema.json @@ -16,8 +16,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "enableMergeFields": { - "type": "boolean" + "enableMergeFields": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/mailchimp/ui-config.json b/src/configurations/destinations/mailchimp/ui-config.json index 1f4b22a41..6966fea76 100644 --- a/src/configurations/destinations/mailchimp/ui-config.json +++ b/src/configurations/destinations/mailchimp/ui-config.json @@ -43,6 +43,25 @@ "footerNote": "It is recomended to set this to on as it will help to add merge_fields while updating a subscriber." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/mailjet/db-config.json b/src/configurations/destinations/mailjet/db-config.json index b71bf53a2..2b6db30d0 100644 --- a/src/configurations/destinations/mailjet/db-config.json +++ b/src/configurations/destinations/mailjet/db-config.json @@ -5,7 +5,13 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["apiKey", "apiSecret", "listId", "contactPropertiesMapping"], + "includeKeys": [ + "apiKey", + "apiSecret", + "listId", + "contactPropertiesMapping", + "oneTrustCookieCategories" + ], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +27,13 @@ ], "supportedMessageTypes": ["identify"], "destConfig": { - "defaultConfig": ["apiKey", "apiSecret", "listId", "contactPropertiesMapping"] + "defaultConfig": [ + "apiKey", + "apiSecret", + "listId", + "contactPropertiesMapping", + "oneTrustCookieCategories" + ] }, "secretKeys": ["apiSecret"] } diff --git a/src/configurations/destinations/mailjet/schema.json b/src/configurations/destinations/mailjet/schema.json index d614e650e..f1f0cac6b 100644 --- a/src/configurations/destinations/mailjet/schema.json +++ b/src/configurations/destinations/mailjet/schema.json @@ -31,6 +31,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/mailjet/ui-config.json b/src/configurations/destinations/mailjet/ui-config.json index e86dca605..71e1ecdb0 100644 --- a/src/configurations/destinations/mailjet/ui-config.json +++ b/src/configurations/destinations/mailjet/ui-config.json @@ -48,6 +48,25 @@ "labelRight": "mailjet contact property" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/mailmodo/db-config.json b/src/configurations/destinations/mailmodo/db-config.json index c2d08f8e8..491599ac1 100644 --- a/src/configurations/destinations/mailmodo/db-config.json +++ b/src/configurations/destinations/mailmodo/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["apiKey", "listName"], + "includeKeys": ["apiKey", "listName", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,9 +20,7 @@ "warehouse" ], "supportedMessageTypes": ["identify", "track"], - "destConfig": { - "defaultConfig": ["apiKey", "listName"] - }, + "destConfig": { "defaultConfig": ["apiKey", "listName", "oneTrustCookieCategories"] }, "secretKeys": ["apiKey"] } } diff --git a/src/configurations/destinations/mailmodo/schema.json b/src/configurations/destinations/mailmodo/schema.json index 46c032476..72d7474f5 100644 --- a/src/configurations/destinations/mailmodo/schema.json +++ b/src/configurations/destinations/mailmodo/schema.json @@ -11,6 +11,18 @@ "listName": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/mailmodo/ui-config.json b/src/configurations/destinations/mailmodo/ui-config.json index d4a421cc4..5bee43d01 100644 --- a/src/configurations/destinations/mailmodo/ui-config.json +++ b/src/configurations/destinations/mailmodo/ui-config.json @@ -22,7 +22,26 @@ "required": false, "placeholder": "e.g. rudderstack", "secret": false, - "footerNote": "Name of the list where contacts should be added. If not provided, \u201cRudderstack\u201d is taken as the default name. Only applicable for the identify call" + "footerNote": "Name of the list where contacts should be added. If not provided, “Rudderstack” is taken as the default name. Only applicable for the identify call" + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] } ] } diff --git a/src/configurations/destinations/marketo/db-config.json b/src/configurations/destinations/marketo/db-config.json index 3c9796c3d..b9852bf36 100644 --- a/src/configurations/destinations/marketo/db-config.json +++ b/src/configurations/destinations/marketo/db-config.json @@ -7,7 +7,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,10 +21,7 @@ "flutter", "cordova" ], - "supportedMessageTypes": [ - "identify", - "track" - ], + "supportedMessageTypes": ["identify", "track"], "destConfig": { "defaultConfig": [ "accountId", @@ -35,78 +32,35 @@ "customActivityEventMap", "customActivityPropertyMap", "customActivityPrimaryKeyMap", - "leadTraitMapping" + "leadTraitMapping", + "oneTrustCookieCategories" ] }, - "secretKeys": [ - "clientSecret" - ] + "secretKeys": ["clientSecret"] }, "responseRules": { "responseType": "JSON", "rules": { "retryable": [ - { - "success": "false", - "errors.0.code": 600 - }, - { - "success": "false", - "errors.0.code": 601 - }, - { - "success": "false", - "errors.0.code": 602 - }, - { - "success": "false", - "errors.0.code": 604 - }, - { - "success": "false", - "errors.0.code": 611 - } + { "success": "false", "errors.0.code": 600 }, + { "success": "false", "errors.0.code": 601 }, + { "success": "false", "errors.0.code": 602 }, + { "success": "false", "errors.0.code": 604 }, + { "success": "false", "errors.0.code": 611 } ], "abortable": [ - { - "success": "false", - "errors.0.code": 603 - }, - { - "success": "false", - "errors.0.code": 605 - }, - { - "success": "false", - "errors.0.code": 609 - }, - { - "success": "false", - "errors.0.code": 610 - } + { "success": "false", "errors.0.code": 603 }, + { "success": "false", "errors.0.code": 605 }, + { "success": "false", "errors.0.code": 609 }, + { "success": "false", "errors.0.code": 610 } ], "throttled": [ - { - "success": "false", - "errors.0.code": 502 - }, - { - "success": "false", - "errors.0.code": 606 - }, - { - "success": "false", - "errors.0.code": 607 - }, - { - "success": "false", - "errors.0.code": 608 - }, - { - "success": "false", - "errors.0.code": 615 - } + { "success": "false", "errors.0.code": 502 }, + { "success": "false", "errors.0.code": 606 }, + { "success": "false", "errors.0.code": 607 }, + { "success": "false", "errors.0.code": 608 }, + { "success": "false", "errors.0.code": 615 } ] } } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/marketo/ui-config.json b/src/configurations/destinations/marketo/ui-config.json index f6e51ebb6..03a9837db 100644 --- a/src/configurations/destinations/marketo/ui-config.json +++ b/src/configurations/destinations/marketo/ui-config.json @@ -107,6 +107,25 @@ "footerNote": "Map your user traits to your desired custom field's api name." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/marketo_bulk_upload/db-config.json b/src/configurations/destinations/marketo_bulk_upload/db-config.json index a2558a8ba..bcc40d613 100644 --- a/src/configurations/destinations/marketo_bulk_upload/db-config.json +++ b/src/configurations/destinations/marketo_bulk_upload/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,7 +26,8 @@ "munchkinId", "deDuplicationField", "columnFieldsMapping", - "uploadInterval" + "uploadInterval", + "oneTrustCookieCategories" ] }, "secretKeys": ["clientId", "clientSecret"] diff --git a/src/configurations/destinations/marketo_bulk_upload/ui-config.json b/src/configurations/destinations/marketo_bulk_upload/ui-config.json index d1bdf95aa..33749a565 100644 --- a/src/configurations/destinations/marketo_bulk_upload/ui-config.json +++ b/src/configurations/destinations/marketo_bulk_upload/ui-config.json @@ -48,23 +48,11 @@ "label": "Upload Interval", "value": "uploadInterval", "options": [ - { - "name": "Every 10 minutes", - "value": "10" - }, - { - "name": "Every 20 minutes", - "value": "20" - }, - { - "name": "Every 30 minutes", - "value": "30" - } + { "name": "Every 10 minutes", "value": "10" }, + { "name": "Every 20 minutes", "value": "20" }, + { "name": "Every 30 minutes", "value": "30" } ], - "defaultOption": { - "name": "Every 10 minutes", - "value": "10" - } + "defaultOption": { "name": "Every 10 minutes", "value": "10" } } ] }, @@ -84,6 +72,25 @@ "footerNote": "Map your user's traits to the allowed standard fields in Marketo" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/marketo_static_list/db-config.json b/src/configurations/destinations/marketo_static_list/db-config.json index afb14c71d..d2eeebb1f 100644 --- a/src/configurations/destinations/marketo_static_list/db-config.json +++ b/src/configurations/destinations/marketo_static_list/db-config.json @@ -5,12 +5,24 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["clientId", "clientSecret", "accountId", "staticListId"], + "includeKeys": [ + "clientId", + "clientSecret", + "accountId", + "staticListId", + "oneTrustCookieCategories" + ], "excludeKeys": [], "supportedSourceTypes": ["cloud", "warehouse"], "supportedMessageTypes": ["audiencelist"], "destConfig": { - "defaultConfig": ["clientId", "clientSecret", "accountId", "staticListId"] + "defaultConfig": [ + "clientId", + "clientSecret", + "accountId", + "staticListId", + "oneTrustCookieCategories" + ] }, "secretKeys": ["clientId", "clientSecret", "accountId"] } diff --git a/src/configurations/destinations/marketo_static_list/schema.json b/src/configurations/destinations/marketo_static_list/schema.json index 379702a4e..02113570a 100644 --- a/src/configurations/destinations/marketo_static_list/schema.json +++ b/src/configurations/destinations/marketo_static_list/schema.json @@ -19,6 +19,18 @@ "staticListId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/marketo_static_list/ui-config.json b/src/configurations/destinations/marketo_static_list/ui-config.json index 88ade764d..2f5b0059e 100644 --- a/src/configurations/destinations/marketo_static_list/ui-config.json +++ b/src/configurations/destinations/marketo_static_list/ui-config.json @@ -48,6 +48,25 @@ "footerNote": "This Static list Id would be used as a default Static List Id (if not provided in externalId) to add/remove leads to/from. " } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/matomo/db-config.json b/src/configurations/destinations/matomo/db-config.json index ceb12ce0b..9e39cfe3e 100644 --- a/src/configurations/destinations/matomo/db-config.json +++ b/src/configurations/destinations/matomo/db-config.json @@ -23,7 +23,8 @@ "setCrossDomainLinkingTimeout", "timeout", "getCrossDomainLinkingUrlParameter", - "disableBrowserFeatureDetection" + "disableBrowserFeatureDetection", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": ["web"], @@ -47,9 +48,10 @@ "setCrossDomainLinkingTimeout", "timeout", "getCrossDomainLinkingUrlParameter", - "disableBrowserFeatureDetection" + "disableBrowserFeatureDetection", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["serverUrl", "siteId"] } diff --git a/src/configurations/destinations/matomo/schema.json b/src/configurations/destinations/matomo/schema.json index cf4623805..d50519eb1 100644 --- a/src/configurations/destinations/matomo/schema.json +++ b/src/configurations/destinations/matomo/schema.json @@ -44,64 +44,37 @@ } } }, - "trackAllContentImpressions": { - "type": "boolean" - }, - "trackVisibleContentImpressions": { - "type": "boolean" - }, - "checkOnScroll": { - "type": "boolean" - }, + "trackAllContentImpressions": { "type": "boolean" }, + "trackVisibleContentImpressions": { "type": "boolean" }, + "checkOnScroll": { "type": "boolean" }, "timeIntervalInMs": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "logAllContentBlocksOnPage": { - "type": "boolean" - }, - "enableHeartBeatTimer": { - "type": "boolean" - }, + "logAllContentBlocksOnPage": { "type": "boolean" }, + "enableHeartBeatTimer": { "type": "boolean" }, "activeTimeInseconds": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "enableLinkTracking": { - "type": "boolean" - }, - "disablePerformanceTracking": { - "type": "boolean" - }, - "enableCrossDomainLinking": { - "type": "boolean" - }, - "setCrossDomainLinkingTimeout": { - "type": "boolean" - }, + "enableLinkTracking": { "type": "boolean" }, + "disablePerformanceTracking": { "type": "boolean" }, + "enableCrossDomainLinking": { "type": "boolean" }, + "setCrossDomainLinkingTimeout": { "type": "boolean" }, "timeout": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "getCrossDomainLinkingUrlParameter": { - "type": "boolean" - }, - "disableBrowserFeatureDetection": { - "type": "boolean" - }, + "getCrossDomainLinkingUrlParameter": { "type": "boolean" }, + "disableBrowserFeatureDetection": { "type": "boolean" }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/mautic/db-config.json b/src/configurations/destinations/mautic/db-config.json index dd0e95070..c50f7de24 100644 --- a/src/configurations/destinations/mautic/db-config.json +++ b/src/configurations/destinations/mautic/db-config.json @@ -11,7 +11,8 @@ "subDomainName", "lookUpField", "domainName", - "domainMethod" + "domainMethod", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -26,10 +27,7 @@ "cordova", "warehouse" ], - "supportedMessageTypes": [ - "identify", - "group" - ], + "supportedMessageTypes": ["identify", "group"], "destConfig": { "defaultConfig": [ "userName", @@ -37,8 +35,9 @@ "subDomainName", "lookUpField", "domainName", - "domainMethod" + "domainMethod", + "oneTrustCookieCategories" ] } } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/mautic/schema.json b/src/configurations/destinations/mautic/schema.json index e34dab49f..7b29f97ac 100644 --- a/src/configurations/destinations/mautic/schema.json +++ b/src/configurations/destinations/mautic/schema.json @@ -2,38 +2,35 @@ "configSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", - "required": [ - "userName", - "password", - "lookUpField", - "domainMethod" - ], + "required": ["userName", "password", "lookUpField", "domainMethod"], "properties": { "userName": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, + "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, "lookUpField": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { "if": { - "properties": { - "domainMethod": { - "type": "string", - "const": "subDomainNameOption" - } - }, - "required": [ - "domainMethod" - ] + "properties": { "domainMethod": { "type": "string", "const": "subDomainNameOption" } }, + "required": ["domainMethod"] }, "then": { "properties": { @@ -42,22 +39,13 @@ "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" } }, - "required": [ - "subDomainName" - ] + "required": ["subDomainName"] } }, { "if": { - "properties": { - "domainMethod": { - "type": "string", - "const": "domainNameOption" - } - }, - "required": [ - "domainMethod" - ] + "properties": { "domainMethod": { "type": "string", "const": "domainNameOption" } }, + "required": ["domainMethod"] }, "then": { "properties": { @@ -66,12 +54,10 @@ "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(https?|ftp)://[^\\s/$.?#].[^\\s]*[^/]$" } }, - "required": [ - "domainName" - ] + "required": ["domainName"] } } ], "additionalProperties": true } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/mautic/ui-config.json b/src/configurations/destinations/mautic/ui-config.json index c61accc3a..8d4349e8e 100644 --- a/src/configurations/destinations/mautic/ui-config.json +++ b/src/configurations/destinations/mautic/ui-config.json @@ -25,19 +25,10 @@ "label": "Domain Method", "value": "domainMethod", "options": [ - { - "name": "SubDomain", - "value": "subDomainNameOption" - }, - { - "name": "Domain (Preferred for Self Hosted Instance)", - "value": "domainNameOption" - } + { "name": "SubDomain", "value": "subDomainNameOption" }, + { "name": "Domain (Preferred for Self Hosted Instance)", "value": "domainNameOption" } ], - "defaultOption": { - "name": "SubDomain", - "value": "subDomainNameOption" - }, + "defaultOption": { "name": "SubDomain", "value": "subDomainNameOption" }, "required": true, "footerNote": "Select Domain Input Method" }, @@ -46,12 +37,7 @@ "label": "Sub-Domain Name", "value": "subDomainName", "required": true, - "preRequisiteField": [ - { - "name": "domainMethod", - "selectedValue": "subDomainNameOption" - } - ], + "preRequisiteField": [{ "name": "domainMethod", "selectedValue": "subDomainNameOption" }], "placeholder": "e.g: testdomain", "footerNote": "Enter the subdomain name of your Mautic instance." }, @@ -61,12 +47,7 @@ "value": "domainName", "required": true, "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(https?|ftp)://[^\\s/$.?#].[^\\s]*[^/]$", - "preRequisiteField": [ - { - "name": "domainMethod", - "selectedValue": "domainNameOption" - } - ], + "preRequisiteField": [{ "name": "domainMethod", "selectedValue": "domainNameOption" }], "placeholder": "e.g: https://test.mautic.app", "footerNote": "Enter the Domain name of your Mautic instance." }, @@ -79,6 +60,25 @@ "footerNote": "Enter a unique Mautic user property to be used for contact lookup. The provided lookup field key will be retrieved from the traits." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] -} \ No newline at end of file +} diff --git a/src/configurations/destinations/microsoft_clarity/db-config.json b/src/configurations/destinations/microsoft_clarity/db-config.json index f53eb06ae..485b4c39c 100644 --- a/src/configurations/destinations/microsoft_clarity/db-config.json +++ b/src/configurations/destinations/microsoft_clarity/db-config.json @@ -22,9 +22,10 @@ "cookieConsent", "whitelistedEvents", "eventFilteringOption", - "blacklistedEvents" + "blacklistedEvents", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] } } } diff --git a/src/configurations/destinations/microsoft_clarity/schema.json b/src/configurations/destinations/microsoft_clarity/schema.json index 765f6d83a..2bca173f7 100644 --- a/src/configurations/destinations/microsoft_clarity/schema.json +++ b/src/configurations/destinations/microsoft_clarity/schema.json @@ -8,9 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "cookieConsent": { - "type": "boolean" - }, + "cookieConsent": { "type": "boolean" }, "whitelistedEvents": { "type": "array", "items": { @@ -35,27 +33,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/minio/db-config.json b/src/configurations/destinations/minio/db-config.json index cb47856c6..e91ce43ab 100644 --- a/src/configurations/destinations/minio/db-config.json +++ b/src/configurations/destinations/minio/db-config.json @@ -5,7 +5,7 @@ "transformAt": "none", "transformAtV1": "none", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,7 +26,8 @@ "secretAccessKey", "bucketName", "prefix", - "useSSL" + "useSSL", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessKeyID", "secretAccessKey"] diff --git a/src/configurations/destinations/minio/ui-config.json b/src/configurations/destinations/minio/ui-config.json index e3e970edc..d21c0fdd0 100644 --- a/src/configurations/destinations/minio/ui-config.json +++ b/src/configurations/destinations/minio/ui-config.json @@ -57,6 +57,25 @@ "default": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/moengage/db-config.json b/src/configurations/destinations/moengage/db-config.json index d8cf8b6d8..22826183f 100644 --- a/src/configurations/destinations/moengage/db-config.json +++ b/src/configurations/destinations/moengage/db-config.json @@ -35,11 +35,12 @@ "region", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "debug", "oneTrustCookieCategories"], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"], + "web": ["useNativeSDK", "debug"], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"], "reactnative": ["useNativeSDK"] }, "secretKeys": ["apiKey"] diff --git a/src/configurations/destinations/monday/db-config.json b/src/configurations/destinations/monday/db-config.json index dc54911ac..8e7e23ea2 100644 --- a/src/configurations/destinations/monday/db-config.json +++ b/src/configurations/destinations/monday/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,7 +26,8 @@ "boardId", "groupTitle", "columnToPropertyMapping", - "whitelistedEvents" + "whitelistedEvents", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiToken"] diff --git a/src/configurations/destinations/monday/schema.json b/src/configurations/destinations/monday/schema.json index 21af61db8..993055e77 100644 --- a/src/configurations/destinations/monday/schema.json +++ b/src/configurations/destinations/monday/schema.json @@ -43,6 +43,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/monday/ui-config.json b/src/configurations/destinations/monday/ui-config.json index ae2d1997f..93bd186cb 100644 --- a/src/configurations/destinations/monday/ui-config.json +++ b/src/configurations/destinations/monday/ui-config.json @@ -77,6 +77,25 @@ ] } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/monetate/db-config.json b/src/configurations/destinations/monetate/db-config.json index a1fd15264..99427046d 100644 --- a/src/configurations/destinations/monetate/db-config.json +++ b/src/configurations/destinations/monetate/db-config.json @@ -19,8 +19,9 @@ ], "supportedMessageTypes": ["page", "screen", "track"], "destConfig": { - "defaultConfig": ["monetateChannel", "retailerShortName"] + "defaultConfig": ["monetateChannel", "retailerShortName", "oneTrustCookieCategories"] }, - "secretKeys": [] + "secretKeys": [], + "includeKeys": ["oneTrustCookieCategories"] } } diff --git a/src/configurations/destinations/monetate/ui-config.json b/src/configurations/destinations/monetate/ui-config.json index d15149e2c..facd8bbab 100644 --- a/src/configurations/destinations/monetate/ui-config.json +++ b/src/configurations/destinations/monetate/ui-config.json @@ -20,6 +20,25 @@ "regexErrorMessage": "Invalid Retailer Short Name" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/mouseflow/db-config.json b/src/configurations/destinations/mouseflow/db-config.json index 55cb26f71..8c922d56e 100644 --- a/src/configurations/destinations/mouseflow/db-config.json +++ b/src/configurations/destinations/mouseflow/db-config.json @@ -20,9 +20,10 @@ "websiteId", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["websiteId"] } diff --git a/src/configurations/destinations/mouseflow/schema.json b/src/configurations/destinations/mouseflow/schema.json index e1a4b4e24..e798251d8 100644 --- a/src/configurations/destinations/mouseflow/schema.json +++ b/src/configurations/destinations/mouseflow/schema.json @@ -32,27 +32,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/mp/db-config.json b/src/configurations/destinations/mp/db-config.json index 0b75bb04d..fecedb97e 100644 --- a/src/configurations/destinations/mp/db-config.json +++ b/src/configurations/destinations/mp/db-config.json @@ -68,9 +68,10 @@ "useNewMapping", "serviceAccountUserName", "serviceAccountSecret", - "projectId" + "projectId", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["token"] } diff --git a/src/configurations/destinations/mp/schema.json b/src/configurations/destinations/mp/schema.json index 094c8983b..d10cf2282 100644 --- a/src/configurations/destinations/mp/schema.json +++ b/src/configurations/destinations/mp/schema.json @@ -12,39 +12,19 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "dataResidency": { - "type": "string", - "pattern": "^(us|eu)$" - }, - "people": { - "type": "boolean" - }, - "setAllTraitsByDefault": { - "type": "boolean" - }, - "consolidatedPageCalls": { - "type": "boolean" - }, - "trackCategorizedPages": { - "type": "boolean" - }, - "trackNamedPages": { - "type": "boolean" - }, + "dataResidency": { "type": "string", "pattern": "^(us|eu)$" }, + "people": { "type": "boolean" }, + "setAllTraitsByDefault": { "type": "boolean" }, + "consolidatedPageCalls": { "type": "boolean" }, + "trackCategorizedPages": { "type": "boolean" }, + "trackNamedPages": { "type": "boolean" }, "sourceName": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "crossSubdomainCookie": { - "type": "boolean" - }, - "persistence": { - "type": "string", - "pattern": "^(none|cookie|localStorage)$" - }, - "secureCookie": { - "type": "boolean" - }, + "crossSubdomainCookie": { "type": "boolean" }, + "persistence": { "type": "string", "pattern": "^(none|cookie|localStorage)$" }, + "secureCookie": { "type": "boolean" }, "superProperties": { "type": "array", "items": { @@ -61,58 +41,31 @@ "type": "array", "items": { "type": "object", - "properties": { - "property": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } - } + "properties": { "property": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } } } }, "eventIncrements": { "type": "array", "items": { "type": "object", - "properties": { - "property": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } - } + "properties": { "property": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } } } }, "propIncrements": { "type": "array", "items": { "type": "object", - "properties": { - "property": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } - } + "properties": { "property": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } } } }, "groupKeySettings": { "type": "array", "items": { "type": "object", - "properties": { - "groupKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } - } - } - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } + "properties": { "groupKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } } } }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "whitelistedEvents": { "type": "array", "items": { @@ -138,18 +91,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/mssql/db-config.json b/src/configurations/destinations/mssql/db-config.json index cfe0e3038..f078e4307 100644 --- a/src/configurations/destinations/mssql/db-config.json +++ b/src/configurations/destinations/mssql/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -47,7 +47,8 @@ "syncFrequency", "syncStartAt", "excludeWindow", - "useRudderStorage" + "useRudderStorage", + "oneTrustCookieCategories" ] }, "secretKeys": [ diff --git a/src/configurations/destinations/mssql/schema.json b/src/configurations/destinations/mssql/schema.json index e28a09699..d31089e81 100644 --- a/src/configurations/destinations/mssql/schema.json +++ b/src/configurations/destinations/mssql/schema.json @@ -13,109 +13,68 @@ "useRudderStorage" ], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" - }, - "database": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "user": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "password": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "sslMode": { - "type": "string", - "pattern": "^(disable|true|false)$" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, + "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "sslMode": { "type": "string", "pattern": "^(disable|true|false)$" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, - "bucketProvider": { - "type": "string", - "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" + "useRudderStorage": { "type": "boolean", "default": false }, + "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, - "then": { - "required": ["bucketProvider"] - } + "then": { "required": ["bucketProvider"] } }, { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, "then": { "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, "bucketName": { "type": "string", "pattern": "(^env[.].+)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } }, "required": ["bucketName", "accessKeyID", "accessKey"] } @@ -123,12 +82,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -138,10 +93,7 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["bucketName", "credentials"] } @@ -149,12 +101,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -164,31 +112,20 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } @@ -198,12 +135,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "MINIO" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "MINIO" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -213,21 +146,13 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "secretAccessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "useSSL": { - "type": "boolean" - } + "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "useSSL": { "type": "boolean" } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } diff --git a/src/configurations/destinations/mssql/ui-config.json b/src/configurations/destinations/mssql/ui-config.json index 7863e34df..a0ed1d532 100644 --- a/src/configurations/destinations/mssql/ui-config.json +++ b/src/configurations/destinations/mssql/ui-config.json @@ -63,23 +63,11 @@ "label": "SSL Mode", "value": "sslMode", "options": [ - { - "name": "disable", - "value": "disable" - }, - { - "name": "true", - "value": "true" - }, - { - "name": "false", - "value": "false" - } + { "name": "disable", "value": "disable" }, + { "name": "true", "value": "true" }, + { "name": "false", "value": "false" } ], - "defaultOption": { - "name": "disable", - "value": "disable" - }, + "defaultOption": { "name": "disable", "value": "disable" }, "required": true }, { @@ -87,45 +75,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -133,18 +97,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -165,44 +120,20 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - }, - { - "name": "MINIO", - "value": "MINIO" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, + { "name": "MINIO", "value": "MINIO" } ], - "defaultOption": { - "name": "MINIO", - "value": "MINIO" - }, + "defaultOption": { "name": "MINIO", "value": "MINIO" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into Mssql", @@ -216,14 +147,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into Mssql", @@ -237,14 +162,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into Mssql", @@ -258,14 +177,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into Mssql", @@ -279,14 +192,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -295,18 +202,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -322,18 +220,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -345,18 +234,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -368,14 +248,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -387,18 +261,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -411,18 +276,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": true } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -435,14 +291,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -452,14 +302,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -471,14 +315,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -490,14 +328,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -509,14 +341,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -528,20 +354,33 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use SSL for connection", "value": "useSSL", "default": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/new_relic/db-config.json b/src/configurations/destinations/new_relic/db-config.json index dd5a2f7a5..af9cd9412 100644 --- a/src/configurations/destinations/new_relic/db-config.json +++ b/src/configurations/destinations/new_relic/db-config.json @@ -12,7 +12,8 @@ "dataCenter", "customEventType", "sendDeviceContext", - "sendUserIdanonymousId" + "sendUserIdanonymousId", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -35,7 +36,8 @@ "dataCenter", "customEventType", "sendDeviceContext", - "sendUserIdanonymousId" + "sendUserIdanonymousId", + "oneTrustCookieCategories" ] }, "secretKeys": ["accountId", "insertKey"] diff --git a/src/configurations/destinations/new_relic/schema.json b/src/configurations/destinations/new_relic/schema.json index edbbaa222..f9d59a1f4 100644 --- a/src/configurations/destinations/new_relic/schema.json +++ b/src/configurations/destinations/new_relic/schema.json @@ -12,19 +12,24 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "dataCenter": { - "type": "string", - "pattern": "^(us|eu)$" - }, + "dataCenter": { "type": "string", "pattern": "^(us|eu)$" }, "customEventType": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "sendDeviceContext": { - "type": "boolean" - }, - "sendUserIdanonymousId": { - "type": "boolean" + "sendDeviceContext": { "type": "boolean" }, + "sendUserIdanonymousId": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/new_relic/ui-config.json b/src/configurations/destinations/new_relic/ui-config.json index d0c13767a..61d7d9864 100644 --- a/src/configurations/destinations/new_relic/ui-config.json +++ b/src/configurations/destinations/new_relic/ui-config.json @@ -29,19 +29,10 @@ "value": "dataCenter", "mode": "single", "options": [ - { - "name": "US(standard)", - "value": "us" - }, - { - "name": "EU", - "value": "eu" - } + { "name": "US(standard)", "value": "us" }, + { "name": "EU", "value": "eu" } ], - "defaultOption": { - "name": "US(standard)", - "value": "us" - } + "defaultOption": { "name": "US(standard)", "value": "us" } } ] }, @@ -69,6 +60,25 @@ "default": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/olark/db-config.json b/src/configurations/destinations/olark/db-config.json index ec7cc5d63..c3dc26008 100644 --- a/src/configurations/destinations/olark/db-config.json +++ b/src/configurations/destinations/olark/db-config.json @@ -13,7 +13,8 @@ "standardToEvent", "eventFilteringOption", "blacklistedEvents", - "whitelistedEvents" + "whitelistedEvents", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": ["web"], @@ -27,9 +28,10 @@ "standardToEvent", "eventFilteringOption", "blacklistedEvents", - "whitelistedEvents" + "whitelistedEvents", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] } } } diff --git a/src/configurations/destinations/olark/schema.json b/src/configurations/destinations/olark/schema.json index 346cf5e76..2ca5f4b9e 100644 --- a/src/configurations/destinations/olark/schema.json +++ b/src/configurations/destinations/olark/schema.json @@ -12,12 +12,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "recordLiveChatEvents": { - "type": "boolean" - }, - "updateEventNames": { - "type": "boolean" - }, + "recordLiveChatEvents": { "type": "boolean" }, + "updateEventNames": { "type": "boolean" }, "eventsToStandard": { "type": "array", "items": { @@ -63,18 +59,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/ometria/db-config.json b/src/configurations/destinations/ometria/db-config.json index ffbecbef2..11e4d4986 100644 --- a/src/configurations/destinations/ometria/db-config.json +++ b/src/configurations/destinations/ometria/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +21,13 @@ ], "supportedMessageTypes": ["identify", "track"], "destConfig": { - "defaultConfig": ["apiKey", "marketingOptin", "allowMarketing", "allowTransactional"] + "defaultConfig": [ + "apiKey", + "marketingOptin", + "allowMarketing", + "allowTransactional", + "oneTrustCookieCategories" + ] }, "secretKeys": ["apiKey"] } diff --git a/src/configurations/destinations/ometria/ui-config.json b/src/configurations/destinations/ometria/ui-config.json index 20b35a10c..c032cd8c4 100644 --- a/src/configurations/destinations/ometria/ui-config.json +++ b/src/configurations/destinations/ometria/ui-config.json @@ -24,23 +24,11 @@ "required": false, "placeholder": "Explicitly Opted Out", "options": [ - { - "name": "Explicitly Opted Out", - "value": "EXPLICITLY_OPTEDOUT" - }, - { - "name": "Not Specified", - "value": "NOT_SPECIFIED" - }, - { - "name": "Explicitly Opted In", - "value": "EXPLICITLY_OPTEDIN" - } + { "name": "Explicitly Opted Out", "value": "EXPLICITLY_OPTEDOUT" }, + { "name": "Not Specified", "value": "NOT_SPECIFIED" }, + { "name": "Explicitly Opted In", "value": "EXPLICITLY_OPTEDIN" } ], - "defaultOption": { - "name": "Explicitly Opted Out", - "value": "EXPLICITLY_OPTEDOUT" - } + "defaultOption": { "name": "Explicitly Opted Out", "value": "EXPLICITLY_OPTEDOUT" } } ] }, @@ -60,6 +48,25 @@ "default": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/one_signal/db-config.json b/src/configurations/destinations/one_signal/db-config.json index b08ba4e0d..f8113cb88 100644 --- a/src/configurations/destinations/one_signal/db-config.json +++ b/src/configurations/destinations/one_signal/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,7 +26,8 @@ "emailDeviceType", "smsDeviceType", "eventAsTags", - "allowedProperties" + "allowedProperties", + "oneTrustCookieCategories" ] }, "secretKeys": [] diff --git a/src/configurations/destinations/one_signal/schema.json b/src/configurations/destinations/one_signal/schema.json index bc815f050..913e3ea39 100644 --- a/src/configurations/destinations/one_signal/schema.json +++ b/src/configurations/destinations/one_signal/schema.json @@ -12,15 +12,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "emailDeviceType": { - "type": "boolean" - }, - "smsDeviceType": { - "type": "boolean" - }, - "eventAsTags": { - "type": "boolean" - }, + "emailDeviceType": { "type": "boolean" }, + "smsDeviceType": { "type": "boolean" }, + "eventAsTags": { "type": "boolean" }, "allowedProperties": { "type": "array", "items": { @@ -32,6 +26,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/one_signal/ui-config.json b/src/configurations/destinations/one_signal/ui-config.json index e3201ade0..e4e75b43b 100644 --- a/src/configurations/destinations/one_signal/ui-config.json +++ b/src/configurations/destinations/one_signal/ui-config.json @@ -46,10 +46,23 @@ "type": "dynamicCustomForm", "value": "allowedProperties", "label": "Allowed Property List", + "customFields": [{ "type": "textInput", "value": "propertyName", "required": false }] + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", "customFields": [ { "type": "textInput", - "value": "propertyName", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", "required": false } ] diff --git a/src/configurations/destinations/optimizely/db-config.json b/src/configurations/destinations/optimizely/db-config.json index 5f98279b1..2582e060f 100644 --- a/src/configurations/destinations/optimizely/db-config.json +++ b/src/configurations/destinations/optimizely/db-config.json @@ -31,9 +31,10 @@ "customCampaignProperties", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/optimizely_fullstack/db-config.json b/src/configurations/destinations/optimizely_fullstack/db-config.json index 3ea359ba4..e12e63f50 100644 --- a/src/configurations/destinations/optimizely_fullstack/db-config.json +++ b/src/configurations/destinations/optimizely_fullstack/db-config.json @@ -43,10 +43,11 @@ "trackNamedPages", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"] + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"] }, "secretKeys": ["sdkKey"] } diff --git a/src/configurations/destinations/optimizely_fullstack/schema.json b/src/configurations/destinations/optimizely_fullstack/schema.json index 108f7ec9a..1efde8ced 100644 --- a/src/configurations/destinations/optimizely_fullstack/schema.json +++ b/src/configurations/destinations/optimizely_fullstack/schema.json @@ -47,28 +47,16 @@ }, "useNativeSDK": { "type": "object", - "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - } - } + "properties": { "android": { "type": "boolean" }, "ios": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/pagerduty/db-config.json b/src/configurations/destinations/pagerduty/db-config.json index 25b7d9cf1..dc626096c 100644 --- a/src/configurations/destinations/pagerduty/db-config.json +++ b/src/configurations/destinations/pagerduty/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": ["routingKey", "dedupKeyFieldIdentifier"], + "includeKeys": ["routingKey", "dedupKeyFieldIdentifier", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "web", @@ -22,7 +22,7 @@ ], "supportedMessageTypes": ["track"], "destConfig": { - "defaultConfig": ["routingKey", "dedupKeyFieldIdentifier"] + "defaultConfig": ["routingKey", "dedupKeyFieldIdentifier", "oneTrustCookieCategories"] }, "secretKeys": ["routingKey"] } diff --git a/src/configurations/destinations/pagerduty/schema.json b/src/configurations/destinations/pagerduty/schema.json index 84b18256b..c89b5bc25 100644 --- a/src/configurations/destinations/pagerduty/schema.json +++ b/src/configurations/destinations/pagerduty/schema.json @@ -11,6 +11,18 @@ "valueFieldIdentifier": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/pagerduty/ui-config.json b/src/configurations/destinations/pagerduty/ui-config.json index 628a8707c..10c71dbf3 100644 --- a/src/configurations/destinations/pagerduty/ui-config.json +++ b/src/configurations/destinations/pagerduty/ui-config.json @@ -26,6 +26,25 @@ "placeholder": "e.g: properties.dedupKey" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/pardot/db-config.json b/src/configurations/destinations/pardot/db-config.json index 3f8fec1b2..912d311c4 100644 --- a/src/configurations/destinations/pardot/db-config.json +++ b/src/configurations/destinations/pardot/db-config.json @@ -2,15 +2,11 @@ "name": "PARDOT", "displayName": "Pardot", "config": { - "auth": { - "type": "OAuth", - "role": "pardot", - "rudderScopes": ["delivery"] - }, + "auth": { "type": "OAuth", "role": "pardot", "rudderScopes": ["delivery"] }, "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -25,11 +21,14 @@ "cordova" ], "destConfig": { - "defaultConfig": ["rudderAccountId", "businessUnitId", "campaignId"] + "defaultConfig": [ + "rudderAccountId", + "businessUnitId", + "campaignId", + "oneTrustCookieCategories" + ] }, "secretKeys": ["businessUnitId"] }, - "options": { - "isBeta": false - } + "options": { "isBeta": false } } diff --git a/src/configurations/destinations/pardot/ui-config.json b/src/configurations/destinations/pardot/ui-config.json index 70acdff8e..87446bb4b 100644 --- a/src/configurations/destinations/pardot/ui-config.json +++ b/src/configurations/destinations/pardot/ui-config.json @@ -21,6 +21,25 @@ "placeholder": "12345" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/pendo/db-config.json b/src/configurations/destinations/pendo/db-config.json index febe8fe98..c60c9db93 100644 --- a/src/configurations/destinations/pendo/db-config.json +++ b/src/configurations/destinations/pendo/db-config.json @@ -15,8 +15,14 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "destConfig": { - "defaultConfig": ["apiKey", "blacklistedEvents", "whitelistedEvents", "eventFilteringOption"], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "defaultConfig": [ + "apiKey", + "blacklistedEvents", + "whitelistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/persistiq/db-config.json b/src/configurations/destinations/persistiq/db-config.json index 3b7cd1f3e..cb1536a3b 100644 --- a/src/configurations/destinations/persistiq/db-config.json +++ b/src/configurations/destinations/persistiq/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["apiKey"], + "includeKeys": ["apiKey", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "web", @@ -22,7 +22,7 @@ ], "supportedMessageTypes": ["identify", "group"], "destConfig": { - "defaultConfig": ["apiKey", "persistIqAttributesMapping"] + "defaultConfig": ["apiKey", "persistIqAttributesMapping", "oneTrustCookieCategories"] }, "secretKeys": ["apiKey"] } diff --git a/src/configurations/destinations/persistiq/schema.json b/src/configurations/destinations/persistiq/schema.json index df77eb65d..3411ba23b 100644 --- a/src/configurations/destinations/persistiq/schema.json +++ b/src/configurations/destinations/persistiq/schema.json @@ -23,6 +23,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/persistiq/ui-config.json b/src/configurations/destinations/persistiq/ui-config.json index f5a8b2ed5..b2e12a689 100644 --- a/src/configurations/destinations/persistiq/ui-config.json +++ b/src/configurations/destinations/persistiq/ui-config.json @@ -31,6 +31,25 @@ "labelRight": "PersistIQ Lead attribute" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/personalize/db-config.json b/src/configurations/destinations/personalize/db-config.json index 7ccd8d265..a665c25e4 100644 --- a/src/configurations/destinations/personalize/db-config.json +++ b/src/configurations/destinations/personalize/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": false, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -30,7 +30,8 @@ "datasetARN", "eventChoice", "customMappings", - "disableStringify" + "disableStringify", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessKeyId", "secretAccessKey"] diff --git a/src/configurations/destinations/personalize/schema.json b/src/configurations/destinations/personalize/schema.json index fb151e558..b3cca54a8 100644 --- a/src/configurations/destinations/personalize/schema.json +++ b/src/configurations/destinations/personalize/schema.json @@ -4,36 +4,14 @@ "type": "object", "required": ["region"], "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, - "accessKeyId": { - "type": "string", - "pattern": "^(.{0,100})$" - }, - "secretAccessKey": { - "type": "string", - "pattern": "^(.{0,100})$" - }, - "region": { - "type": "string", - "pattern": "^(.{0,100})$" - }, - "trackingId": { - "type": "string", - "pattern": "^(.{0,100})$" - }, - "datasetARN": { - "type": "string", - "pattern": "arn:([a-z/d-]+):personalize:.*:.*:.+" - }, - "eventChoice": { - "type": "string", - "pattern": "(^env[.].*)|^(PutEvents|PutUsers|PutItems)$" - }, + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, + "accessKeyId": { "type": "string", "pattern": "^(.{0,100})$" }, + "secretAccessKey": { "type": "string", "pattern": "^(.{0,100})$" }, + "region": { "type": "string", "pattern": "^(.{0,100})$" }, + "trackingId": { "type": "string", "pattern": "^(.{0,100})$" }, + "datasetARN": { "type": "string", "pattern": "arn:([a-z/d-]+):personalize:.*:.*:.+" }, + "eventChoice": { "type": "string", "pattern": "(^env[.].*)|^(PutEvents|PutUsers|PutItems)$" }, "customMappings": { "type": "array", "items": { @@ -50,8 +28,18 @@ } } }, - "disableStringify": { - "type": "boolean" + "disableStringify": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/personalize/ui-config.json b/src/configurations/destinations/personalize/ui-config.json index a74d7720c..48d59b5db 100644 --- a/src/configurations/destinations/personalize/ui-config.json +++ b/src/configurations/destinations/personalize/ui-config.json @@ -11,10 +11,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -28,10 +25,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "Access Key Id", "value": "accessKeyId", "regex": "^(.{0,100})$", @@ -41,10 +35,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "Secret Access Key", "value": "secretAccessKey", "regex": "^(.{0,100})$", @@ -96,23 +87,11 @@ "placeholder": "PutEvents", "mode": "single", "options": [ - { - "name": "PutEvents", - "value": "PutEvents" - }, - { - "name": "PutUsers", - "value": "PutUsers" - }, - { - "name": "PutItems", - "value": "PutItems" - } + { "name": "PutEvents", "value": "PutEvents" }, + { "name": "PutUsers", "value": "PutUsers" }, + { "name": "PutItems", "value": "PutItems" } ], - "defaultOption": { - "name": "PutEvents", - "value": "PutEvents" - } + "defaultOption": { "name": "PutEvents", "value": "PutEvents" } } ] }, @@ -137,6 +116,25 @@ "default": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/pinterest_tag/db-config.json b/src/configurations/destinations/pinterest_tag/db-config.json index 1afb35968..67374b7e1 100644 --- a/src/configurations/destinations/pinterest_tag/db-config.json +++ b/src/configurations/destinations/pinterest_tag/db-config.json @@ -46,9 +46,10 @@ "enhancedMatch", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/pinterest_tag/schema.json b/src/configurations/destinations/pinterest_tag/schema.json index ec58e937a..8472ee9d3 100644 --- a/src/configurations/destinations/pinterest_tag/schema.json +++ b/src/configurations/destinations/pinterest_tag/schema.json @@ -3,31 +3,19 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { - "tagId": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" - }, + "tagId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" }, "advertiserId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" }, - "appId": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" - }, - "sendingUnHashedData": { - "type": "boolean" - }, - "enableDeduplication": { - "type": "boolean" - }, + "appId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" }, + "sendingUnHashedData": { "type": "boolean" }, + "enableDeduplication": { "type": "boolean" }, "deduplicationKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "enhancedMatch": { - "type": "boolean" - }, + "enhancedMatch": { "type": "boolean" }, "eventsMapping": { "type": "array", "items": { @@ -85,18 +73,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/pipedream/db-config.json b/src/configurations/destinations/pipedream/db-config.json index 3131ed05a..ba9fbcaea 100644 --- a/src/configurations/destinations/pipedream/db-config.json +++ b/src/configurations/destinations/pipedream/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": false, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,7 +20,7 @@ "cordova" ], "destConfig": { - "defaultConfig": ["pipedreamUrl", "pipedreamMethod", "headers"] + "defaultConfig": ["pipedreamUrl", "pipedreamMethod", "headers", "oneTrustCookieCategories"] }, "secretKeys": ["headers.to"] } diff --git a/src/configurations/destinations/pipedream/schema.json b/src/configurations/destinations/pipedream/schema.json index 0d836e59f..49f7bcf93 100644 --- a/src/configurations/destinations/pipedream/schema.json +++ b/src/configurations/destinations/pipedream/schema.json @@ -27,6 +27,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/pipedream/ui-config.json b/src/configurations/destinations/pipedream/ui-config.json index 8a52bb2f2..6e128845b 100644 --- a/src/configurations/destinations/pipedream/ui-config.json +++ b/src/configurations/destinations/pipedream/ui-config.json @@ -17,31 +17,13 @@ "value": "pipedreamMethod", "placeholder": "POST", "options": [ - { - "name": "POST", - "value": "POST" - }, - { - "name": "PUT", - "value": "PUT" - }, - { - "name": "PATCH", - "value": "PATCH" - }, - { - "name": "GET", - "value": "GET" - }, - { - "name": "DELETE", - "value": "DELETE" - } + { "name": "POST", "value": "POST" }, + { "name": "PUT", "value": "PUT" }, + { "name": "PATCH", "value": "PATCH" }, + { "name": "GET", "value": "GET" }, + { "name": "DELETE", "value": "DELETE" } ], - "defaultOption": { - "name": "POST", - "value": "POST" - } + "defaultOption": { "name": "POST", "value": "POST" } }, { "type": "dynamicForm", @@ -55,6 +37,25 @@ "value": "headers" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/pipedrive/db-config.json b/src/configurations/destinations/pipedrive/db-config.json index 5af9dad8c..3564ad97f 100644 --- a/src/configurations/destinations/pipedrive/db-config.json +++ b/src/configurations/destinations/pipedrive/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,12 +26,11 @@ "enableUserCreation", "personsMap", "leadsMap", - "organizationMap" + "organizationMap", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiToken"] }, - "options": { - "hidden": true - } + "options": { "hidden": true } } diff --git a/src/configurations/destinations/pipedrive/ui-config.json b/src/configurations/destinations/pipedrive/ui-config.json index 1130e499b..4f4c97fbb 100644 --- a/src/configurations/destinations/pipedrive/ui-config.json +++ b/src/configurations/destinations/pipedrive/ui-config.json @@ -80,6 +80,25 @@ "value": "organizationMap" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/podsights/db-config.json b/src/configurations/destinations/podsights/db-config.json index 904385c81..fbc21519e 100644 --- a/src/configurations/destinations/podsights/db-config.json +++ b/src/configurations/destinations/podsights/db-config.json @@ -24,9 +24,10 @@ "blacklistedEvents", "whitelistedEvents", "eventFilteringOption", - "enableAliasCall" + "enableAliasCall", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["pixelId"] } diff --git a/src/configurations/destinations/podsights/schema.json b/src/configurations/destinations/podsights/schema.json index 808fd2d0d..509469367 100644 --- a/src/configurations/destinations/podsights/schema.json +++ b/src/configurations/destinations/podsights/schema.json @@ -24,10 +24,7 @@ } } }, - "enableAliasCall": { - "type": "boolean", - "default": false - }, + "enableAliasCall": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "pattern": "(^env[.].+)|^(disable|whitelistedEvents|blacklistedEvents)$" @@ -56,27 +53,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/post_affiliate_pro/db-config.json b/src/configurations/destinations/post_affiliate_pro/db-config.json index d6aabe6e6..73b7b2ce2 100644 --- a/src/configurations/destinations/post_affiliate_pro/db-config.json +++ b/src/configurations/destinations/post_affiliate_pro/db-config.json @@ -47,9 +47,10 @@ "affiliateToCustomField", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] } } } diff --git a/src/configurations/destinations/postgres/db-config.json b/src/configurations/destinations/postgres/db-config.json index 707d3c826..b04259ddd 100644 --- a/src/configurations/destinations/postgres/db-config.json +++ b/src/configurations/destinations/postgres/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -56,7 +56,8 @@ "useRudderStorage", "clientKey", "clientCert", - "serverCA" + "serverCA", + "oneTrustCookieCategories" ] }, "secretKeys": [ diff --git a/src/configurations/destinations/postgres/schema.json b/src/configurations/destinations/postgres/schema.json index 733ff1f6f..4aa9beba4 100644 --- a/src/configurations/destinations/postgres/schema.json +++ b/src/configurations/destinations/postgres/schema.json @@ -13,144 +13,81 @@ "useRudderStorage" ], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*.ngrok.io)^(.{1,100})$" - }, - "database": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "user": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "password": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "sslMode": { - "type": "string", - "pattern": "^(disable|require|verify-ca)$" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*.ngrok.io)^(.{1,100})$" }, + "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "sslMode": { "type": "string", "pattern": "^(disable|require|verify-ca)$" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "jsonPaths": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, - "bucketProvider": { - "type": "string", - "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" + "jsonPaths": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "useRudderStorage": { "type": "boolean", "default": false }, + "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { - "if": { - "properties": { - "useSSH": { - "const": true - } - }, - "required": ["useSSH"] - }, + "if": { "properties": { "useSSH": { "const": true } }, "required": ["useSSH"] }, "then": { "properties": { - "sshHost": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,255})$" - }, - "sshPort": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,255})$" - }, - "sshUser": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,255})$" - }, - "sshPublicKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,10000})$" - } + "sshHost": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, + "sshPort": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, + "sshUser": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, + "sshPublicKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,10000})$" } }, "required": ["sshHost", "sshPort", "sshUser", "sshPublicKey"] } }, { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, - "then": { - "required": ["bucketProvider"] - } + "then": { "required": ["bucketProvider"] } }, { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, "then": { "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, "bucketName": { "type": "string", "pattern": "(^env[.].+)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } }, "required": ["bucketName", "accessKeyID", "accessKey"] } @@ -158,12 +95,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -173,10 +106,7 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["bucketName", "credentials"] } @@ -184,12 +114,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -199,31 +125,20 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } @@ -233,12 +148,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "MINIO" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "MINIO" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -248,34 +159,19 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|^(?!.*\\.ngrok\\.io)(.{1,100})$" }, - "secretAccessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "useSSL": { - "type": "boolean" - } + "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "useSSL": { "type": "boolean" } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } }, { - "if": { - "properties": { - "sslMode": { - "const": "verify-ca" - } - }, - "required": ["sslMode"] - }, + "if": { "properties": { "sslMode": { "const": "verify-ca" } }, "required": ["sslMode"] }, "then": { "properties": { "clientKey": { diff --git a/src/configurations/destinations/postgres/ui-config.json b/src/configurations/destinations/postgres/ui-config.json index 8bd7da5f7..805315842 100644 --- a/src/configurations/destinations/postgres/ui-config.json +++ b/src/configurations/destinations/postgres/ui-config.json @@ -63,33 +63,18 @@ "label": "SSL Mode", "value": "sslMode", "options": [ - { - "name": "disable", - "value": "disable" - }, - { - "name": "require", - "value": "require" - }, - { - "name": "verify ca", - "value": "verify-ca" - } + { "name": "disable", "value": "disable" }, + { "name": "require", "value": "require" }, + { "name": "verify ca", "value": "verify-ca" } ], - "defaultOption": { - "name": "disable", - "value": "disable" - }, + "defaultOption": { "name": "disable", "value": "disable" }, "required": true }, { "type": "textInput", "required": true, "regex": "-----BEGIN RSA PRIVATE KEY-----.*-----END RSA PRIVATE KEY-----", - "preRequisiteField": { - "name": "sslMode", - "selectedValue": "verify-ca" - }, + "preRequisiteField": { "name": "sslMode", "selectedValue": "verify-ca" }, "label": "Client Key Pem File", "value": "clientKey" }, @@ -97,10 +82,7 @@ "type": "textInput", "required": true, "regex": "-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----", - "preRequisiteField": { - "name": "sslMode", - "selectedValue": "verify-ca" - }, + "preRequisiteField": { "name": "sslMode", "selectedValue": "verify-ca" }, "label": "Client Cert Pem File", "value": "clientCert" }, @@ -108,10 +90,7 @@ "type": "textInput", "required": true, "regex": "-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----", - "preRequisiteField": { - "name": "sslMode", - "selectedValue": "verify-ca" - }, + "preRequisiteField": { "name": "sslMode", "selectedValue": "verify-ca" }, "label": "Server CA Pem File", "value": "serverCA" }, @@ -120,45 +99,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -166,18 +121,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -211,44 +157,20 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - }, - { - "name": "MINIO", - "value": "MINIO" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, + { "name": "MINIO", "value": "MINIO" } ], - "defaultOption": { - "name": "MINIO", - "value": "MINIO" - }, + "defaultOption": { "name": "MINIO", "value": "MINIO" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into Postgres", @@ -262,14 +184,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into Postgres", @@ -283,14 +199,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into Postgres", @@ -304,14 +214,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into Postgres", @@ -325,14 +229,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -341,18 +239,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -368,18 +257,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -391,18 +271,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -414,14 +285,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -433,18 +298,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -457,18 +313,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": true } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -481,14 +328,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -498,14 +339,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -517,14 +352,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -536,14 +365,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -555,14 +378,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -574,20 +391,33 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use SSL for connection", "value": "useSSL", "default": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/posthog/db-config.json b/src/configurations/destinations/posthog/db-config.json index 881a77ce3..0163975da 100644 --- a/src/configurations/destinations/posthog/db-config.json +++ b/src/configurations/destinations/posthog/db-config.json @@ -41,7 +41,8 @@ "blacklistedEvents", "whitelistedEvents", "eventFilteringOption", - "useV2Group" + "useV2Group", + "oneTrustCookieCategories" ], "web": [ "useNativeSDK", @@ -50,7 +51,6 @@ "disableSessionRecording", "propertyBlackList", "xhrHeaders", - "oneTrustCookieCategories", "enableLocalStoragePersistence" ] }, diff --git a/src/configurations/destinations/profitwell/db-config.json b/src/configurations/destinations/profitwell/db-config.json index 44a5f3ab6..b58f84dde 100644 --- a/src/configurations/destinations/profitwell/db-config.json +++ b/src/configurations/destinations/profitwell/db-config.json @@ -32,9 +32,10 @@ "privateApiKey", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "publicApiKey", "siteType", "oneTrustCookieCategories"] + "web": ["useNativeSDK", "publicApiKey", "siteType"] }, "secretKeys": ["privateApiKey", "publicApiKey"] } diff --git a/src/configurations/destinations/qualaroo/db-config.json b/src/configurations/destinations/qualaroo/db-config.json index a80774dc2..52a2006bb 100644 --- a/src/configurations/destinations/qualaroo/db-config.json +++ b/src/configurations/destinations/qualaroo/db-config.json @@ -14,7 +14,8 @@ "eventsToStandard", "eventFilteringOption", "whitelistedEvents", - "blacklistedEvents" + "blacklistedEvents", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": ["web"], @@ -29,9 +30,10 @@ "eventsToStandard", "eventFilteringOption", "whitelistedEvents", - "blacklistedEvents" + "blacklistedEvents", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["customerId", "siteToken"] } diff --git a/src/configurations/destinations/qualaroo/schema.json b/src/configurations/destinations/qualaroo/schema.json index dd3a375bf..e712ad15b 100644 --- a/src/configurations/destinations/qualaroo/schema.json +++ b/src/configurations/destinations/qualaroo/schema.json @@ -12,12 +12,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "recordQualarooEvents": { - "type": "boolean" - }, - "updateEventNames": { - "type": "boolean" - }, + "recordQualarooEvents": { "type": "boolean" }, + "updateEventNames": { "type": "boolean" }, "eventsToStandard": { "type": "array", "items": { @@ -62,27 +58,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/qualtrics/db-config.json b/src/configurations/destinations/qualtrics/db-config.json index 50dac8770..0d153e5e0 100644 --- a/src/configurations/destinations/qualtrics/db-config.json +++ b/src/configurations/destinations/qualtrics/db-config.json @@ -22,11 +22,12 @@ "brandId", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "enableGenericPageTitle", "oneTrustCookieCategories"], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK", "enableGenericPageTitle"], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"] }, "secretKeys": ["projectId"] } diff --git a/src/configurations/destinations/quantummetric/db-config.json b/src/configurations/destinations/quantummetric/db-config.json index c8768ba53..6fa4dd14a 100644 --- a/src/configurations/destinations/quantummetric/db-config.json +++ b/src/configurations/destinations/quantummetric/db-config.json @@ -15,8 +15,14 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "destConfig": { - "defaultConfig": ["siteID", "blacklistedEvents", "whitelistedEvents", "eventFilteringOption"], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "defaultConfig": [ + "siteID", + "blacklistedEvents", + "whitelistedEvents", + "eventFilteringOption", + "oneTrustCookieCategories" + ], + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/quora_pixel/db-config.json b/src/configurations/destinations/quora_pixel/db-config.json index 0527f99f8..6ea5547b0 100644 --- a/src/configurations/destinations/quora_pixel/db-config.json +++ b/src/configurations/destinations/quora_pixel/db-config.json @@ -22,9 +22,10 @@ "eventsToQPEvents", "whitelistedEvents", "blacklistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["pixelId"] } diff --git a/src/configurations/destinations/quora_pixel/schema.json b/src/configurations/destinations/quora_pixel/schema.json index b74b4970e..00e925657 100644 --- a/src/configurations/destinations/quora_pixel/schema.json +++ b/src/configurations/destinations/quora_pixel/schema.json @@ -52,27 +52,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/reddit_pixel/db-config.json b/src/configurations/destinations/reddit_pixel/db-config.json index 807e64ac8..b0d0b9335 100644 --- a/src/configurations/destinations/reddit_pixel/db-config.json +++ b/src/configurations/destinations/reddit_pixel/db-config.json @@ -21,9 +21,10 @@ "eventMappingFromConfig", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["advertiserId"] } diff --git a/src/configurations/destinations/redis/db-config.json b/src/configurations/destinations/redis/db-config.json index ee66ede2e..6b181a5a2 100644 --- a/src/configurations/destinations/redis/db-config.json +++ b/src/configurations/destinations/redis/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "secretKeys": ["password", "caCertificate"], "supportedSourceTypes": [ @@ -30,7 +30,8 @@ "secure", "skipVerify", "caCertificate", - "clusterMode" + "clusterMode", + "oneTrustCookieCategories" ] } } diff --git a/src/configurations/destinations/redis/schema.json b/src/configurations/destinations/redis/schema.json index e53c8f70c..bf6542350 100644 --- a/src/configurations/destinations/redis/schema.json +++ b/src/configurations/destinations/redis/schema.json @@ -9,16 +9,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{0,100})$" }, - "password": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, - "clusterMode": { - "type": "boolean" - }, - "secure": { - "type": "boolean" - }, + "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "clusterMode": { "type": "boolean" }, + "secure": { "type": "boolean" }, "prefix": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -31,8 +24,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, - "skipVerify": { - "type": "boolean" + "skipVerify": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/redis/ui-config.json b/src/configurations/destinations/redis/ui-config.json index 4a2f362af..8a4e586e4 100644 --- a/src/configurations/destinations/redis/ui-config.json +++ b/src/configurations/destinations/redis/ui-config.json @@ -29,29 +29,13 @@ "regexErrorMessage": "Invalid Database", "required": false, "placeholder": "", - "preRequisiteField": { - "name": "clusterMode", - "selectedValue": false - } + "preRequisiteField": { "name": "clusterMode", "selectedValue": false } }, + { "type": "checkbox", "label": "Cluster Mode", "value": "clusterMode", "default": true }, + { "type": "checkbox", "label": "Secure", "value": "secure", "default": false }, { "type": "checkbox", - "label": "Cluster Mode", - "value": "clusterMode", - "default": true - }, - { - "type": "checkbox", - "label": "Secure", - "value": "secure", - "default": false - }, - { - "type": "checkbox", - "preRequisiteField": { - "name": "secure", - "selectedValue": true - }, + "preRequisiteField": { "name": "secure", "selectedValue": true }, "label": "Skip verify", "value": "skipVerify", "default": false, @@ -59,10 +43,7 @@ }, { "type": "textareaInput", - "preRequisiteField": { - "name": "secure", - "selectedValue": true - }, + "preRequisiteField": { "name": "secure", "selectedValue": true }, "label": "CA certificate", "value": "caCertificate", "regex": ".*", @@ -80,6 +61,25 @@ "placeholder": "" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/refiner/db-config.json b/src/configurations/destinations/refiner/db-config.json index 39c875db5..c05177b4a 100644 --- a/src/configurations/destinations/refiner/db-config.json +++ b/src/configurations/destinations/refiner/db-config.json @@ -38,9 +38,10 @@ "accountAttributesMapping", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] } } } diff --git a/src/configurations/destinations/refiner/schema.json b/src/configurations/destinations/refiner/schema.json index f720e7a7d..098ec124f 100644 --- a/src/configurations/destinations/refiner/schema.json +++ b/src/configurations/destinations/refiner/schema.json @@ -68,27 +68,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/revenue_cat/db-config.json b/src/configurations/destinations/revenue_cat/db-config.json index 36d9b0b3e..70d8b2c61 100644 --- a/src/configurations/destinations/revenue_cat/db-config.json +++ b/src/configurations/destinations/revenue_cat/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "web", @@ -21,8 +21,6 @@ "cordova" ], "supportedMessageTypes": ["identify", "track"], - "destConfig": { - "defaultConfig": ["apiKey", "xPlatform"] - } + "destConfig": { "defaultConfig": ["apiKey", "xPlatform", "oneTrustCookieCategories"] } } } diff --git a/src/configurations/destinations/revenue_cat/schema.json b/src/configurations/destinations/revenue_cat/schema.json index 62d31a40f..ef312897e 100644 --- a/src/configurations/destinations/revenue_cat/schema.json +++ b/src/configurations/destinations/revenue_cat/schema.json @@ -11,6 +11,18 @@ "xPlatform": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(ios|android|amazon|macos|stripe|uikitformac)$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/revenue_cat/ui-config.json b/src/configurations/destinations/revenue_cat/ui-config.json index cf4e16c1c..241acd692 100644 --- a/src/configurations/destinations/revenue_cat/ui-config.json +++ b/src/configurations/destinations/revenue_cat/ui-config.json @@ -18,35 +18,33 @@ "label": "X-Platform", "value": "xPlatform", "options": [ + { "name": "iOS", "value": "ios" }, + { "name": "Android", "value": "android" }, + { "name": "Amazon", "value": "amazon" }, + { "name": "macOS", "value": "macos" }, + { "name": "Stripe", "value": "stripe" }, + { "name": "UI kit for mac", "value": "uikitformac" } + ], + "defaultOption": { "name": "Stripe", "value": "stripe" } + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ { - "name": "iOS", - "value": "ios" - }, - { - "name": "Android", - "value": "android" - }, - { - "name": "Amazon", - "value": "amazon" - }, - { - "name": "macOS", - "value": "macos" - }, - { - "name": "Stripe", - "value": "stripe" - }, - { - "name": "UI kit for mac", - "value": "uikitformac" + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false } - ], - "defaultOption": { - "name": "Stripe", - "value": "stripe" - } + ] } ] } diff --git a/src/configurations/destinations/rockerbox/db-config.json b/src/configurations/destinations/rockerbox/db-config.json index 52ac4b212..a6b123333 100644 --- a/src/configurations/destinations/rockerbox/db-config.json +++ b/src/configurations/destinations/rockerbox/db-config.json @@ -37,13 +37,13 @@ "eventsMap", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "web": [ "useNativeSDK", "useNativeSDKToSend", "clientAuthId", - "oneTrustCookieCategories", "customDomain", "enableCookieSync" ] diff --git a/src/configurations/destinations/rockerbox/schema.json b/src/configurations/destinations/rockerbox/schema.json index c7db566a0..2f1985574 100644 --- a/src/configurations/destinations/rockerbox/schema.json +++ b/src/configurations/destinations/rockerbox/schema.json @@ -4,34 +4,13 @@ "type": "object", "required": ["advertiserId"], "properties": { - "advertiserId": { - "type": "string" - }, - "clientAuthId": { - "type": "object", - "properties": { - "web": { - "type": "string" - } - } - }, + "advertiserId": { "type": "string" }, + "clientAuthId": { "type": "object", "properties": { "web": { "type": "string" } } }, "customDomain": { "type": "object", - "properties": { - "web": { - "type": "string", - "pattern": "^(?!.*\\.ngrok\\.io).*$" - } - } - }, - "enableCookieSync": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } + "properties": { "web": { "type": "string", "pattern": "^(?!.*\\.ngrok\\.io).*$" } } }, + "enableCookieSync": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventsMap": { "type": "array", "items": { @@ -76,35 +55,16 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "useNativeSDKToSend": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDKToSend": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/rollbar/db-config.json b/src/configurations/destinations/rollbar/db-config.json index e8d9c578e..10fd56315 100644 --- a/src/configurations/destinations/rollbar/db-config.json +++ b/src/configurations/destinations/rollbar/db-config.json @@ -15,7 +15,8 @@ "ignoredMessages", "sourceMapEnabled", "blacklistedEvents", - "whitelistedEvents" + "whitelistedEvents", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": ["web"], @@ -31,9 +32,10 @@ "ignoredMessages", "sourceMapEnabled", "blacklistedEvents", - "whitelistedEvents" + "whitelistedEvents", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["accessToken"] } diff --git a/src/configurations/destinations/rollbar/schema.json b/src/configurations/destinations/rollbar/schema.json index 60ccbf260..94f4c0e0d 100644 --- a/src/configurations/destinations/rollbar/schema.json +++ b/src/configurations/destinations/rollbar/schema.json @@ -8,15 +8,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "captureUncaughtException": { - "type": "boolean" - }, - "captureUnhandledRejections": { - "type": "boolean" - }, - "guessUncaughtFrames": { - "type": "boolean" - }, + "captureUncaughtException": { "type": "boolean" }, + "captureUnhandledRejections": { "type": "boolean" }, + "guessUncaughtFrames": { "type": "boolean" }, "codeVersion": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" @@ -37,9 +31,7 @@ } } }, - "sourceMapEnabled": { - "type": "boolean" - }, + "sourceMapEnabled": { "type": "boolean" }, "whitelistedEvents": { "type": "array", "items": { @@ -64,27 +56,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/rs/db-config.json b/src/configurations/destinations/rs/db-config.json index 90d585440..c16933063 100644 --- a/src/configurations/destinations/rs/db-config.json +++ b/src/configurations/destinations/rs/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -44,7 +44,8 @@ "enableSSE", "excludeWindow", "jsonPaths", - "useRudderStorage" + "useRudderStorage", + "oneTrustCookieCategories" ] }, "secretKeys": ["password", "accessKeyID", "accessKey"] diff --git a/src/configurations/destinations/rs/schema.json b/src/configurations/destinations/rs/schema.json index 00ca600cc..48721a476 100644 --- a/src/configurations/destinations/rs/schema.json +++ b/src/configurations/destinations/rs/schema.json @@ -12,119 +12,63 @@ "useRudderStorage" ], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,255})$" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "database": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "user": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "password": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,255})$" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "jsonPaths": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, - "prefix": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "enableSSE": { - "type": "boolean" + "jsonPaths": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "useRudderStorage": { "type": "boolean", "default": false }, + "prefix": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "enableSSE": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { - "if": { - "properties": { - "useSSH": { - "const": true - } - }, - "required": ["useSSH"] - }, + "if": { "properties": { "useSSH": { "const": true } }, "required": ["useSSH"] }, "then": { "properties": { - "sshHost": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,255})$" - }, - "sshPort": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,255})$" - }, - "sshUser": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,255})$" - }, - "sshPublicKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,10000})$" - } + "sshHost": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, + "sshPort": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, + "sshUser": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, + "sshPublicKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,10000})$" } }, "required": ["sshHost", "sshPort", "sshUser", "sshPublicKey"] } }, { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, "then": { diff --git a/src/configurations/destinations/rs/ui-config.json b/src/configurations/destinations/rs/ui-config.json index b3a2c4e71..68ce16680 100644 --- a/src/configurations/destinations/rs/ui-config.json +++ b/src/configurations/destinations/rs/ui-config.json @@ -64,45 +64,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -110,18 +86,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -160,10 +127,7 @@ "required": true, "placeholder": "e.g: event-bucket", "footerNote": "Please make sure the bucket exists in your S3", - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", @@ -173,19 +137,11 @@ "regexErrorMessage": "Invalid Prefix", "required": false, "placeholder": "e.g: rudder", - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "checkbox", - "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "useRudderStorage", "selectedValue": false }], "label": "Role Based Authentication", "value": "roleBasedAuth", "default": true @@ -193,14 +149,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -223,14 +173,8 @@ "placeholder": "e.g: access-key-id", "secret": true, "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ] }, { @@ -243,14 +187,8 @@ "placeholder": "e.g: secret-access-key", "secret": true, "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ] }, { @@ -258,10 +196,26 @@ "label": "Enable Server Side Encryption For S3?", "value": "enableSSE", "default": false, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] } ] } diff --git a/src/configurations/destinations/s3/db-config.json b/src/configurations/destinations/s3/db-config.json index bf4dc92b8..f606fe594 100644 --- a/src/configurations/destinations/s3/db-config.json +++ b/src/configurations/destinations/s3/db-config.json @@ -5,7 +5,7 @@ "transformAt": "none", "transformAtV1": "none", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -28,7 +28,8 @@ "roleBasedAuth", "accessKeyID", "accessKey", - "enableSSE" + "enableSSE", + "oneTrustCookieCategories" ] }, "secretKeys": ["accessKeyID", "accessKey"] diff --git a/src/configurations/destinations/s3/schema.json b/src/configurations/destinations/s3/schema.json index 09be03e4f..6e226362c 100644 --- a/src/configurations/destinations/s3/schema.json +++ b/src/configurations/destinations/s3/schema.json @@ -12,18 +12,24 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, "accessKeyID": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "enableSSE": { - "type": "boolean" + "enableSSE": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/s3/ui-config.json b/src/configurations/destinations/s3/ui-config.json index 5f123c5d3..920e9f0af 100644 --- a/src/configurations/destinations/s3/ui-config.json +++ b/src/configurations/destinations/s3/ui-config.json @@ -29,10 +29,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -46,10 +43,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "^(.{0,100})$", @@ -60,10 +54,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "^(.{0,100})$", @@ -79,6 +70,25 @@ "default": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/s3_datalake/db-config.json b/src/configurations/destinations/s3_datalake/db-config.json index 7a6a3ea9b..a60b199ac 100644 --- a/src/configurations/destinations/s3_datalake/db-config.json +++ b/src/configurations/destinations/s3_datalake/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -34,13 +34,10 @@ "syncFrequency", "syncStartAt", "excludeWindow", - "timeWindowLayout" + "timeWindowLayout", + "oneTrustCookieCategories" ] }, - "secretKeys": [ - "password", - "accessKeyID", - "accessKey" - ] + "secretKeys": ["password", "accessKeyID", "accessKey"] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/s3_datalake/schema.json b/src/configurations/destinations/s3_datalake/schema.json index cd37bb0ec..f58a4e13b 100644 --- a/src/configurations/destinations/s3_datalake/schema.json +++ b/src/configurations/destinations/s3_datalake/schema.json @@ -8,60 +8,38 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "useGlue": { - "type": "boolean" - }, - "prefix": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "type": "boolean" - }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, - "enableSSE": { - "type": "boolean" - }, + "useGlue": { "type": "boolean" }, + "prefix": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "type": "boolean" }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "accessKey": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "enableSSE": { "type": "boolean" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" + "syncStartAt": { "type": "string" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } }, "allOf": [ { - "if": { - "properties": { - "useGlue": { - "const": true - } - }, - "required": ["useGlue"] - }, + "if": { "properties": { "useGlue": { "const": true } }, "required": ["useGlue"] }, "then": { - "properties": { - "region": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } - }, + "properties": { "region": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["region"] } } diff --git a/src/configurations/destinations/s3_datalake/ui-config.json b/src/configurations/destinations/s3_datalake/ui-config.json index 858dc90fc..440e82bdd 100644 --- a/src/configurations/destinations/s3_datalake/ui-config.json +++ b/src/configurations/destinations/s3_datalake/ui-config.json @@ -26,10 +26,7 @@ "value": "region", "regex": ".*", "required": true, - "preRequisiteField": { - "name": "useGlue", - "selectedValue": true - } + "preRequisiteField": { "name": "useGlue", "selectedValue": true } }, { "type": "textInput", @@ -57,12 +54,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "roleBasedAuth", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "roleBasedAuth", "selectedValue": true }], "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -76,12 +68,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "roleBasedAuth", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "roleBasedAuth", "selectedValue": false }], "label": "AWS Access Key ID", "value": "accessKeyID", "regex": ".*", @@ -91,12 +78,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "roleBasedAuth", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "roleBasedAuth", "selectedValue": false }], "label": "AWS Secret Access Key", "value": "accessKey", "regex": ".*", @@ -115,48 +97,44 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true - }, + "options": { "omitSeconds": true }, "required": false, "footerNote": "Note: Please specify time in UTC" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/salesforce/db-config.json b/src/configurations/destinations/salesforce/db-config.json index de08c3723..7a9a7e12a 100644 --- a/src/configurations/destinations/salesforce/db-config.json +++ b/src/configurations/destinations/salesforce/db-config.json @@ -7,7 +7,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,9 +21,7 @@ "flutter", "cordova" ], - "supportedMessageTypes": [ - "identify" - ], + "supportedMessageTypes": ["identify"], "destConfig": { "defaultConfig": [ "userName", @@ -31,12 +29,10 @@ "initialAccessToken", "mapProperties", "sandbox", - "useContactId" + "useContactId", + "oneTrustCookieCategories" ] }, - "secretKeys": [ - "password", - "initialAccessToken" - ] + "secretKeys": ["password", "initialAccessToken"] } -} \ No newline at end of file +} diff --git a/src/configurations/destinations/salesforce/schema.json b/src/configurations/destinations/salesforce/schema.json index 34c9b644f..79ea036d1 100644 --- a/src/configurations/destinations/salesforce/schema.json +++ b/src/configurations/destinations/salesforce/schema.json @@ -16,14 +16,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "mapProperties": { - "type": "boolean" - }, - "sandbox": { - "type": "boolean" - }, - "useContactId": { - "type": "boolean" + "mapProperties": { "type": "boolean" }, + "sandbox": { "type": "boolean" }, + "useContactId": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/salesforce/ui-config.json b/src/configurations/destinations/salesforce/ui-config.json index 425d289e6..499f0d13c 100644 --- a/src/configurations/destinations/salesforce/ui-config.json +++ b/src/configurations/destinations/salesforce/ui-config.json @@ -42,12 +42,7 @@ "value": "mapProperties", "default": true }, - { - "type": "checkbox", - "label": "Sandbox mode", - "value": "sandbox", - "default": false - }, + { "type": "checkbox", "label": "Sandbox mode", "value": "sandbox", "default": false }, { "type": "checkbox", "label": "Use contactId for converted leads", @@ -56,6 +51,25 @@ "footerNote": "It is suggested to enable this option when both lead and contact field mappings are same." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/satismeter/db-config.json b/src/configurations/destinations/satismeter/db-config.json index a096e26b7..c167e0301 100644 --- a/src/configurations/destinations/satismeter/db-config.json +++ b/src/configurations/destinations/satismeter/db-config.json @@ -14,7 +14,8 @@ "eventsToStandard", "eventFilteringOption", "whitelistedEvents", - "blacklistedEvents" + "blacklistedEvents", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": ["web"], @@ -29,9 +30,10 @@ "eventsToStandard", "eventFilteringOption", "whitelistedEvents", - "blacklistedEvents" + "blacklistedEvents", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["writeKey"] } diff --git a/src/configurations/destinations/satismeter/schema.json b/src/configurations/destinations/satismeter/schema.json index 1876b819a..3e4eb4bda 100644 --- a/src/configurations/destinations/satismeter/schema.json +++ b/src/configurations/destinations/satismeter/schema.json @@ -8,15 +8,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "identifyAnonymousUsers": { - "type": "boolean" - }, - "recordSatismeterEvents": { - "type": "boolean" - }, - "updateEventNames": { - "type": "boolean" - }, + "identifyAnonymousUsers": { "type": "boolean" }, + "recordSatismeterEvents": { "type": "boolean" }, + "updateEventNames": { "type": "boolean" }, "eventsToStandard": { "type": "array", "items": { @@ -61,27 +55,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/segment/db-config.json b/src/configurations/destinations/segment/db-config.json index 140a3b130..a3c1f375e 100644 --- a/src/configurations/destinations/segment/db-config.json +++ b/src/configurations/destinations/segment/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -19,9 +19,7 @@ "flutter", "cordova" ], - "destConfig": { - "defaultConfig": ["writeKey"] - }, + "destConfig": { "defaultConfig": ["writeKey", "oneTrustCookieCategories"] }, "secretKeys": [] } } diff --git a/src/configurations/destinations/segment/ui-config.json b/src/configurations/destinations/segment/ui-config.json index 11a28881b..25b65204f 100644 --- a/src/configurations/destinations/segment/ui-config.json +++ b/src/configurations/destinations/segment/ui-config.json @@ -13,6 +13,25 @@ "placeholder": "e.g: bSjsdGYsOo9sjw23Shj" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/sendgrid/db-config.json b/src/configurations/destinations/sendgrid/db-config.json index fa1599433..f3ab91637 100644 --- a/src/configurations/destinations/sendgrid/db-config.json +++ b/src/configurations/destinations/sendgrid/db-config.json @@ -6,7 +6,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -56,7 +56,8 @@ "utmMedium", "utmTerm", "utmContent", - "utmCampaign" + "utmCampaign", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiKey"] diff --git a/src/configurations/destinations/sendgrid/ui-config.json b/src/configurations/destinations/sendgrid/ui-config.json index 6fd0d641b..e7b3c73f5 100644 --- a/src/configurations/destinations/sendgrid/ui-config.json +++ b/src/configurations/destinations/sendgrid/ui-config.json @@ -19,12 +19,7 @@ "required": true, "placeholder": "e.g. Sample subject" }, - { - "type": "textInput", - "label": "Template ID", - "value": "templateId", - "required": false - }, + { "type": "textInput", "label": "Template ID", "value": "templateId", "required": false }, { "type": "checkbox", "label": "Get email ID from traits", @@ -83,18 +78,8 @@ { "title": "From", "fields": [ - { - "type": "textInput", - "label": "Email ID", - "value": "fromEmail", - "required": true - }, - { - "type": "textInput", - "label": "Name", - "value": "fromName", - "required": false - } + { "type": "textInput", "label": "Email ID", "value": "fromEmail", "required": true }, + { "type": "textInput", "label": "Name", "value": "fromName", "required": false } ] }, { @@ -122,18 +107,8 @@ "type": "dynamicCustomForm", "value": "contents", "customFields": [ - { - "type": "textInput", - "label": "Type", - "value": "type", - "required": false - }, - { - "type": "textInput", - "label": "Value", - "value": "value", - "required": false - } + { "type": "textInput", "label": "Type", "value": "type", "required": false }, + { "type": "textInput", "label": "Value", "value": "value", "required": false } ] } ] @@ -145,36 +120,16 @@ "type": "dynamicCustomForm", "value": "attachments", "customFields": [ - { - "type": "textInput", - "label": "Content", - "value": "content", - "required": false - }, - { - "type": "textInput", - "label": "Type", - "value": "type", - "required": false - }, - { - "type": "textInput", - "label": "Filename", - "value": "filename", - "required": false - }, + { "type": "textInput", "label": "Content", "value": "content", "required": false }, + { "type": "textInput", "label": "Type", "value": "type", "required": false }, + { "type": "textInput", "label": "Filename", "value": "filename", "required": false }, { "type": "textInput", "label": "Disposition", "value": "disposition", "required": false }, - { - "type": "textInput", - "label": "Content ID", - "value": "contentId", - "required": false - } + { "type": "textInput", "label": "Content ID", "value": "contentId", "required": false } ] } ] @@ -207,38 +162,22 @@ { "title": "Email Settings", "fields": [ - { - "type": "checkbox", - "label": "Footer", - "value": "footer", - "default": false - }, + { "type": "checkbox", "label": "Footer", "value": "footer", "default": false }, { "type": "textInput", - "preRequisiteField": { - "name": "footer", - "selectedValue": true - }, + "preRequisiteField": { "name": "footer", "selectedValue": true }, "label": "Text", "value": "footerText", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "footer", - "selectedValue": true - }, + "preRequisiteField": { "name": "footer", "selectedValue": true }, "label": "HTML", "value": "footerHtml", "required": false }, - { - "type": "checkbox", - "label": "Sandbox Mode", - "value": "sandboxMode", - "default": false - } + { "type": "checkbox", "label": "Sandbox Mode", "value": "sandboxMode", "default": false } ] }, { @@ -256,19 +195,11 @@ "value": "clickTrackingEnableText", "default": false }, - { - "type": "checkbox", - "label": "Open Tracking", - "value": "openTracking", - "default": false - }, + { "type": "checkbox", "label": "Open Tracking", "value": "openTracking", "default": false }, { "type": "textInput", "label": "Substitution Tag", - "preRequisiteField": { - "name": "openTracking", - "selectedValue": true - }, + "preRequisiteField": { "name": "openTracking", "selectedValue": true }, "value": "openTrackingSubstitutionTag", "required": false, "placeholder": "e.g. %open-track%" @@ -281,91 +212,81 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "subscriptionTracking", - "selectedValue": true - }, + "preRequisiteField": { "name": "subscriptionTracking", "selectedValue": true }, "label": "Text", "value": "text", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "subscriptionTracking", - "selectedValue": true - }, + "preRequisiteField": { "name": "subscriptionTracking", "selectedValue": true }, "label": "HTML", "value": "html", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "subscriptionTracking", - "selectedValue": true - }, + "preRequisiteField": { "name": "subscriptionTracking", "selectedValue": true }, "label": "Substitution Tag", "value": "substitutionTag", "required": false }, - { - "type": "checkbox", - "label": "GAnalytics", - "value": "ganalytics", - "default": false - }, + { "type": "checkbox", "label": "GAnalytics", "value": "ganalytics", "default": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm source", "value": "utmSource", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm medium", "value": "utmMedium", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm term", "value": "utmTerm", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm content", "value": "utmContent", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm campaign", "value": "utmCampaign", "required": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/sendinblue/db-config.json b/src/configurations/destinations/sendinblue/db-config.json index abfbe49bb..2bc41d7fe 100644 --- a/src/configurations/destinations/sendinblue/db-config.json +++ b/src/configurations/destinations/sendinblue/db-config.json @@ -15,7 +15,8 @@ "sendTraitsInTrack", "whitelistedEvents", "blacklistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -42,9 +43,10 @@ "sendTraitsInTrack", "whitelistedEvents", "blacklistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["apiKey", "clientKey"] } diff --git a/src/configurations/destinations/sendinblue/schema.json b/src/configurations/destinations/sendinblue/schema.json index 5f75cf6b5..2c5bf83fe 100644 --- a/src/configurations/destinations/sendinblue/schema.json +++ b/src/configurations/destinations/sendinblue/schema.json @@ -66,27 +66,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/sentry/db-config.json b/src/configurations/destinations/sentry/db-config.json index 26c35719a..0a5455484 100644 --- a/src/configurations/destinations/sentry/db-config.json +++ b/src/configurations/destinations/sentry/db-config.json @@ -40,9 +40,10 @@ "debugMode", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["dsn"] } diff --git a/src/configurations/destinations/sentry/schema.json b/src/configurations/destinations/sentry/schema.json index 06cf96be3..8cfa744ee 100644 --- a/src/configurations/destinations/sentry/schema.json +++ b/src/configurations/destinations/sentry/schema.json @@ -5,71 +5,33 @@ "additionalProperties": false, "required": ["dsn"], "properties": { - "dsn": { - "type": "string" - }, - "environment": { - "type": "string" - }, - "customVersionProperty": { - "type": "string" - }, - "release": { - "type": "string" - }, - "serverName": { - "type": "string" - }, - "logger": { - "type": "string" - }, - "debugMode": { - "type": "boolean" - }, + "dsn": { "type": "string" }, + "environment": { "type": "string" }, + "customVersionProperty": { "type": "string" }, + "release": { "type": "string" }, + "serverName": { "type": "string" }, + "logger": { "type": "string" }, + "debugMode": { "type": "boolean" }, "ignoreErrors": { "type": "array", - "items": { - "type": "object", - "properties": { - "ignoreErrors": { - "type": "string" - } - } - } + "items": { "type": "object", "properties": { "ignoreErrors": { "type": "string" } } } }, "includePaths": { "type": "array", - "items": { - "type": "object", - "properties": { - "includePaths": { - "type": "string" - } - } - } + "items": { "type": "object", "properties": { "includePaths": { "type": "string" } } } }, "allowUrls": { "type": "array", "items": { "type": "object", - "properties": { - "allowUrls": { - "type": "string", - "pattern": "^(?!.*\\.ngrok\\.io).*$" - } - } + "properties": { "allowUrls": { "type": "string", "pattern": "^(?!.*\\.ngrok\\.io).*$" } } } }, "denyUrls": { "type": "array", "items": { "type": "object", - "properties": { - "denyUrls": { - "type": "string", - "pattern": "^(?!.*\\.ngrok\\.io).*$" - } - } + "properties": { "denyUrls": { "type": "string", "pattern": "^(?!.*\\.ngrok\\.io).*$" } } } }, "eventFilteringOption": { @@ -100,27 +62,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/serenytics/db-config.json b/src/configurations/destinations/serenytics/db-config.json index 8c4845c3c..614358c52 100644 --- a/src/configurations/destinations/serenytics/db-config.json +++ b/src/configurations/destinations/serenytics/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -28,7 +28,8 @@ "storageUrlGroup", "storageUrlAlias", "storageUrlPage", - "storageUrlScreen" + "storageUrlScreen", + "oneTrustCookieCategories" ] } } diff --git a/src/configurations/destinations/serenytics/schema.json b/src/configurations/destinations/serenytics/schema.json index 7a0117fbc..ac886d20f 100644 --- a/src/configurations/destinations/serenytics/schema.json +++ b/src/configurations/destinations/serenytics/schema.json @@ -42,6 +42,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/serenytics/ui-config.json b/src/configurations/destinations/serenytics/ui-config.json index 15061955b..0eb753f6e 100644 --- a/src/configurations/destinations/serenytics/ui-config.json +++ b/src/configurations/destinations/serenytics/ui-config.json @@ -64,6 +64,25 @@ "placeholder": "e.g. https://api.serenytics.com/api/data_source/7e0670-8cd1-40da-93a3-10a5/push/f06274c43f8904735b9a06c3ae917" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/sfmc/db-config.json b/src/configurations/destinations/sfmc/db-config.json index e82867ba8..848e6d0ca 100644 --- a/src/configurations/destinations/sfmc/db-config.json +++ b/src/configurations/destinations/sfmc/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -29,7 +29,8 @@ "externalKey", "eventToExternalKey", "eventToPrimaryKey", - "eventToUUID" + "eventToUUID", + "oneTrustCookieCategories" ] }, "secretKeys": ["clientId", "clientSecret", "subDomain"] diff --git a/src/configurations/destinations/sfmc/ui-config.json b/src/configurations/destinations/sfmc/ui-config.json index 2f89fa4ea..f59aa63b4 100644 --- a/src/configurations/destinations/sfmc/ui-config.json +++ b/src/configurations/destinations/sfmc/ui-config.json @@ -96,6 +96,25 @@ ] } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/shynet/db-config.json b/src/configurations/destinations/shynet/db-config.json index b28c575c6..cf9c0f125 100644 --- a/src/configurations/destinations/shynet/db-config.json +++ b/src/configurations/destinations/shynet/db-config.json @@ -33,9 +33,10 @@ "shynetServiceUrl", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/shynet/schema.json b/src/configurations/destinations/shynet/schema.json index 63b32561a..ac74b09da 100644 --- a/src/configurations/destinations/shynet/schema.json +++ b/src/configurations/destinations/shynet/schema.json @@ -16,14 +16,7 @@ "type": "string", "pattern": "(^env[.].+)|^(disable|whitelistedEvents|blacklistedEvents)$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "whitelistedEvents": { "type": "array", "items": { @@ -49,18 +42,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/signl4/db-config.json b/src/configurations/destinations/signl4/db-config.json index c8ae3763f..80cffb257 100644 --- a/src/configurations/destinations/signl4/db-config.json +++ b/src/configurations/destinations/signl4/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -34,7 +34,8 @@ "s4StatusValue", "s4StatusProperty", "s4Filter", - "eventToTitleMapping" + "eventToTitleMapping", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiKey"] diff --git a/src/configurations/destinations/signl4/schema.json b/src/configurations/destinations/signl4/schema.json index 29d12a215..3fdc23200 100644 --- a/src/configurations/destinations/signl4/schema.json +++ b/src/configurations/destinations/signl4/schema.json @@ -40,17 +40,12 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "s4StatusValue": { - "type": "string", - "pattern": "^(new|acknowledged|resolved)$" - }, + "s4StatusValue": { "type": "string", "pattern": "^(new|acknowledged|resolved)$" }, "s4StatusProperty": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "s4Filter": { - "type": "boolean" - }, + "s4Filter": { "type": "boolean" }, "columnToPropertyMapping": { "type": "array", "items": { @@ -66,6 +61,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/signl4/ui-config.json b/src/configurations/destinations/signl4/ui-config.json index 686b55ff0..fbc06c885 100644 --- a/src/configurations/destinations/signl4/ui-config.json +++ b/src/configurations/destinations/signl4/ui-config.json @@ -76,23 +76,11 @@ "value": "s4AlertingScenarioValue", "required": false, "options": [ - { - "name": "single_ack", - "value": "single_ack" - }, - { - "name": "multi_ack", - "value": "multi_ack" - }, - { - "name": "emergency", - "value": "emergency" - } + { "name": "single_ack", "value": "single_ack" }, + { "name": "multi_ack", "value": "multi_ack" }, + { "name": "emergency", "value": "emergency" } ], - "defaultOption": { - "name": "single_ack", - "value": "single_ack" - } + "defaultOption": { "name": "single_ack", "value": "single_ack" } }, { "type": "textInput", @@ -142,23 +130,11 @@ "value": "s4StatusValue", "required": false, "options": [ - { - "name": "new", - "value": "new" - }, - { - "name": "acknowledged", - "value": "acknowledged" - }, - { - "name": "resolved", - "value": "resolved" - } + { "name": "new", "value": "new" }, + { "name": "acknowledged", "value": "acknowledged" }, + { "name": "resolved", "value": "resolved" } ], - "defaultOption": { - "name": "new", - "value": "new" - } + "defaultOption": { "name": "new", "value": "new" } }, { "type": "textInput", @@ -200,6 +176,25 @@ "placeholderRight": "e.g: Viewed Product" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/singular/db-config.json b/src/configurations/destinations/singular/db-config.json index 8693dd890..532d524d5 100644 --- a/src/configurations/destinations/singular/db-config.json +++ b/src/configurations/destinations/singular/db-config.json @@ -33,10 +33,11 @@ "sessionEventList", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "android": ["useNativeSDK", "oneTrustCookieCategories"], - "ios": ["useNativeSDK", "oneTrustCookieCategories"], + "android": ["useNativeSDK"], + "ios": ["useNativeSDK"], "reactnative": ["useNativeSDK"], "cordova": ["useNativeSDK"] } diff --git a/src/configurations/destinations/singular/schema.json b/src/configurations/destinations/singular/schema.json index 78fa1f7ef..da3946213 100644 --- a/src/configurations/destinations/singular/schema.json +++ b/src/configurations/destinations/singular/schema.json @@ -4,12 +4,8 @@ "type": "object", "required": ["apiKey"], "properties": { - "apiKey": { - "type": "string" - }, - "apiSecret": { - "type": "string" - }, + "apiKey": { "type": "string" }, + "apiSecret": { "type": "string" }, "sessionEventList": { "type": "array", "items": { @@ -52,12 +48,17 @@ }, "useNativeSDK": { "type": "object", - "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" + "properties": { "android": { "type": "boolean" }, "ios": { "type": "boolean" } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } } } } diff --git a/src/configurations/destinations/slack/db-config.json b/src/configurations/destinations/slack/db-config.json index 7144f7b40..54d6a1d19 100644 --- a/src/configurations/destinations/slack/db-config.json +++ b/src/configurations/destinations/slack/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,7 +26,8 @@ "identifyTemplate", "eventTemplateSettings", "webhookUrl", - "whitelistedTraitsSettings" + "whitelistedTraitsSettings", + "oneTrustCookieCategories" ] }, "secretKeys": [] diff --git a/src/configurations/destinations/slack/schema.json b/src/configurations/destinations/slack/schema.json index 97e49def8..40063cfd6 100644 --- a/src/configurations/destinations/slack/schema.json +++ b/src/configurations/destinations/slack/schema.json @@ -7,9 +7,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{0,100})" }, - "identifyTemplate": { - "type": "string" - }, + "identifyTemplate": { "type": "string" }, "eventChannelSettings": { "type": "array", "items": { @@ -23,9 +21,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "eventRegex": { - "type": "boolean" - } + "eventRegex": { "type": "boolean" } } } }, @@ -42,9 +38,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,1000})$" }, - "eventRegex": { - "type": "boolean" - } + "eventRegex": { "type": "boolean" } } } }, @@ -59,6 +53,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/slack/ui-config.json b/src/configurations/destinations/slack/ui-config.json index 7dd401592..c6382bc51 100644 --- a/src/configurations/destinations/slack/ui-config.json +++ b/src/configurations/destinations/slack/ui-config.json @@ -117,6 +117,25 @@ ] } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/snap_pixel/db-config.json b/src/configurations/destinations/snap_pixel/db-config.json index c237bec30..81b949493 100644 --- a/src/configurations/destinations/snap_pixel/db-config.json +++ b/src/configurations/destinations/snap_pixel/db-config.json @@ -27,9 +27,10 @@ "whitelistedEvents", "eventFilteringOption", "deduplicationKey", - "enableDeduplication" + "enableDeduplication", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["pixelId"] } diff --git a/src/configurations/destinations/snapchat_conversion/db-config.json b/src/configurations/destinations/snapchat_conversion/db-config.json index 0fbcb39f1..488b5c3ea 100644 --- a/src/configurations/destinations/snapchat_conversion/db-config.json +++ b/src/configurations/destinations/snapchat_conversion/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -28,7 +28,8 @@ "appId", "rudderEventsToSnapEvents", "enableDeduplication", - "deduplicationKey" + "deduplicationKey", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiKey"] diff --git a/src/configurations/destinations/snapchat_conversion/schema.json b/src/configurations/destinations/snapchat_conversion/schema.json index 1837c8152..be8efcca7 100644 --- a/src/configurations/destinations/snapchat_conversion/schema.json +++ b/src/configurations/destinations/snapchat_conversion/schema.json @@ -12,12 +12,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "snapAppId": { - "type": "string" - }, - "appId": { - "type": "string" - }, + "snapAppId": { "type": "string" }, + "appId": { "type": "string" }, "rudderEventsToSnapEvents": { "type": "array", "items": { @@ -34,12 +30,22 @@ } } }, - "enableDeduplication": { - "type": "boolean" - }, + "enableDeduplication": { "type": "boolean" }, "deduplicationKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/snapchat_conversion/ui-config.json b/src/configurations/destinations/snapchat_conversion/ui-config.json index 4289c527f..676103aff 100644 --- a/src/configurations/destinations/snapchat_conversion/ui-config.json +++ b/src/configurations/destinations/snapchat_conversion/ui-config.json @@ -58,130 +58,37 @@ "required": false, "placeholderLeft": "e.g. Product Searched", "options": [ - { - "name": "Products Searched", - "value": "products_searched" - }, - { - "name": "Product List Viewed", - "value": "product_list_viewed" - }, - { - "name": "Promotion Viewed", - "value": "promotion_viewed" - }, - { - "name": "Promotion Clicked", - "value": "promotion_clicked" - }, - { - "name": "Product Viewed", - "value": "product_viewed" - }, - { - "name": "Checkout Started", - "value": "checkout_started" - }, - { - "name": "Payment Info Entered", - "value": "payment_info_entered" - }, - { - "name": "Order Completed", - "value": "order_completed" - }, - { - "name": "Product Added", - "value": "product_added" - }, - { - "name": "Product Added To Wishlist", - "value": "product_added_to_wishlist" - }, - { - "name": "Sign Up", - "value": "sign_up" - }, - { - "name": "App Open", - "value": "app_open" - }, - { - "name": "Save", - "value": "save" - }, - { - "name": "Subscribe", - "value": "subscribe" - }, - { - "name": "Complete Tutorial", - "value": "complete_tutorial" - }, - { - "name": "Invite", - "value": "invite" - }, - { - "name": "Login", - "value": "login" - }, - { - "name": "Share", - "value": "share" - }, - { - "name": "Reserve", - "value": "reserve" - }, - { - "name": "Achievement Unlocked", - "value": "achievement_unlocked" - }, - { - "name": "Spent Credits", - "value": "spent_credits" - }, - { - "name": "Rate", - "value": "rate" - }, - { - "name": "Start Trial", - "value": "start_trial" - }, - { - "name": "List View", - "value": "list_view" - }, - { - "name": "Page View", - "value": "page_view" - }, - { - "name": "App Install", - "value": "app_install" - }, - { - "name": "Custom Event 1", - "value": "custom_event_1" - }, - { - "name": "Custom Event 2", - "value": "custom_event_2" - }, - { - "name": "Custom Event 3", - "value": "custom_event_3" - }, - { - "name": "Custom Event 4", - "value": "custom_event_4" - }, - { - "name": "Custom Event 5", - "value": "custom_event_5" - } + { "name": "Products Searched", "value": "products_searched" }, + { "name": "Product List Viewed", "value": "product_list_viewed" }, + { "name": "Promotion Viewed", "value": "promotion_viewed" }, + { "name": "Promotion Clicked", "value": "promotion_clicked" }, + { "name": "Product Viewed", "value": "product_viewed" }, + { "name": "Checkout Started", "value": "checkout_started" }, + { "name": "Payment Info Entered", "value": "payment_info_entered" }, + { "name": "Order Completed", "value": "order_completed" }, + { "name": "Product Added", "value": "product_added" }, + { "name": "Product Added To Wishlist", "value": "product_added_to_wishlist" }, + { "name": "Sign Up", "value": "sign_up" }, + { "name": "App Open", "value": "app_open" }, + { "name": "Save", "value": "save" }, + { "name": "Subscribe", "value": "subscribe" }, + { "name": "Complete Tutorial", "value": "complete_tutorial" }, + { "name": "Invite", "value": "invite" }, + { "name": "Login", "value": "login" }, + { "name": "Share", "value": "share" }, + { "name": "Reserve", "value": "reserve" }, + { "name": "Achievement Unlocked", "value": "achievement_unlocked" }, + { "name": "Spent Credits", "value": "spent_credits" }, + { "name": "Rate", "value": "rate" }, + { "name": "Start Trial", "value": "start_trial" }, + { "name": "List View", "value": "list_view" }, + { "name": "Page View", "value": "page_view" }, + { "name": "App Install", "value": "app_install" }, + { "name": "Custom Event 1", "value": "custom_event_1" }, + { "name": "Custom Event 2", "value": "custom_event_2" }, + { "name": "Custom Event 3", "value": "custom_event_3" }, + { "name": "Custom Event 4", "value": "custom_event_4" }, + { "name": "Custom Event 5", "value": "custom_event_5" } ] } ] @@ -197,12 +104,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "enableDeduplication", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "enableDeduplication", "selectedValue": true }], "label": "Deduplication Key", "value": "deduplicationKey", "placeholder": "e.g: messageId", @@ -210,6 +112,25 @@ "footerNote": "RudderStack will use this field for deduplication. If nothing is specified, messageId field will be used." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/snapchat_custom_audience/db-config.json b/src/configurations/destinations/snapchat_custom_audience/db-config.json index f50fdb41b..01162d2f1 100644 --- a/src/configurations/destinations/snapchat_custom_audience/db-config.json +++ b/src/configurations/destinations/snapchat_custom_audience/db-config.json @@ -2,20 +2,22 @@ "name": "SNAPCHAT_CUSTOM_AUDIENCE", "displayName": "Snapchat Custom Audience", "config": { - "auth": { - "type": "OAuth", - "role": "snapchat_custom_audience", - "rudderScopes": ["delivery"] - }, + "auth": { "type": "OAuth", "role": "snapchat_custom_audience", "rudderScopes": ["delivery"] }, "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["segmentId", "schema", "disableHashing"], + "includeKeys": ["segmentId", "schema", "disableHashing", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": ["cloud", "warehouse"], "supportedMessageTypes": ["audiencelist"], "destConfig": { - "defaultConfig": ["rudderAccountId", "segmentId", "schema", "disableHashing"] + "defaultConfig": [ + "rudderAccountId", + "segmentId", + "schema", + "disableHashing", + "oneTrustCookieCategories" + ] }, "secretKeys": ["segmentId"] } diff --git a/src/configurations/destinations/snapchat_custom_audience/schema.json b/src/configurations/destinations/snapchat_custom_audience/schema.json index ab4216f7c..75b492a28 100644 --- a/src/configurations/destinations/snapchat_custom_audience/schema.json +++ b/src/configurations/destinations/snapchat_custom_audience/schema.json @@ -8,12 +8,19 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "schema": { - "type": "string", - "pattern": "^(email|phone|mobileAdId)$" - }, - "disableHashing": { - "type": "boolean" + "schema": { "type": "string", "pattern": "^(email|phone|mobileAdId)$" }, + "disableHashing": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/snapchat_custom_audience/ui-config.json b/src/configurations/destinations/snapchat_custom_audience/ui-config.json index 4f860c172..64846d94c 100644 --- a/src/configurations/destinations/snapchat_custom_audience/ui-config.json +++ b/src/configurations/destinations/snapchat_custom_audience/ui-config.json @@ -25,23 +25,11 @@ "required": true, "mode": "single", "options": [ - { - "name": "Email", - "value": "email" - }, - { - "name": "Phone", - "value": "phone" - }, - { - "name": "Mobile Ad Id", - "value": "mobileAdId" - } + { "name": "Email", "value": "email" }, + { "name": "Phone", "value": "phone" }, + { "name": "Mobile Ad Id", "value": "mobileAdId" } ], - "defaultOption": { - "name": "Email", - "value": "email" - }, + "defaultOption": { "name": "Email", "value": "email" }, "footerNote": "Schema of your Audience" }, { @@ -51,6 +39,25 @@ "default": false } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/snapengage/db-config.json b/src/configurations/destinations/snapengage/db-config.json index a4f896b38..54de03800 100644 --- a/src/configurations/destinations/snapengage/db-config.json +++ b/src/configurations/destinations/snapengage/db-config.json @@ -12,7 +12,8 @@ "eventsToStandard", "eventFilteringOption", "blacklistedEvents", - "whitelistedEvents" + "whitelistedEvents", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": ["web"], @@ -25,9 +26,10 @@ "eventsToStandard", "eventFilteringOption", "blacklistedEvents", - "whitelistedEvents" + "whitelistedEvents", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["widgetId"] } diff --git a/src/configurations/destinations/snapengage/schema.json b/src/configurations/destinations/snapengage/schema.json index f1cf98ec8..4715b4896 100644 --- a/src/configurations/destinations/snapengage/schema.json +++ b/src/configurations/destinations/snapengage/schema.json @@ -8,12 +8,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "recordLiveChatEvents": { - "type": "boolean" - }, - "updateEventNames": { - "type": "boolean" - }, + "recordLiveChatEvents": { "type": "boolean" }, + "updateEventNames": { "type": "boolean" }, "eventsToStandard": { "type": "array", "items": { @@ -59,18 +55,13 @@ } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/splitio/db-config.json b/src/configurations/destinations/splitio/db-config.json index 4cc045ae1..06699f7a5 100644 --- a/src/configurations/destinations/splitio/db-config.json +++ b/src/configurations/destinations/splitio/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +21,7 @@ ], "supportedMessageTypes": ["group", "identify", "page", "screen", "track"], "destConfig": { - "defaultConfig": ["apiKey", "environment", "trafficType"] + "defaultConfig": ["apiKey", "environment", "trafficType", "oneTrustCookieCategories"] }, "secretKeys": ["apiKey"] } diff --git a/src/configurations/destinations/splitio/ui-config.json b/src/configurations/destinations/splitio/ui-config.json index 58ce715d4..4a4b7563c 100644 --- a/src/configurations/destinations/splitio/ui-config.json +++ b/src/configurations/destinations/splitio/ui-config.json @@ -32,6 +32,25 @@ "required": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/statsig/db-config.json b/src/configurations/destinations/statsig/db-config.json index 353edd3d6..3c1d021bf 100644 --- a/src/configurations/destinations/statsig/db-config.json +++ b/src/configurations/destinations/statsig/db-config.json @@ -6,7 +6,7 @@ "transformAtV1": "router", "cdkEnabled": true, "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,9 +21,7 @@ "warehouse" ], "supportedMessageTypes": ["alias", "group", "identify", "page", "screen", "track"], - "destConfig": { - "defaultConfig": ["secretKey"] - }, + "destConfig": { "defaultConfig": ["secretKey", "oneTrustCookieCategories"] }, "secretKeys": ["secretKey"] } } diff --git a/src/configurations/destinations/statsig/ui-config.json b/src/configurations/destinations/statsig/ui-config.json index 358c481a2..50f7d0498 100644 --- a/src/configurations/destinations/statsig/ui-config.json +++ b/src/configurations/destinations/statsig/ui-config.json @@ -13,6 +13,25 @@ "secret": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/tiktok_ads/db-config.json b/src/configurations/destinations/tiktok_ads/db-config.json index cd0184e08..a5370f4e0 100644 --- a/src/configurations/destinations/tiktok_ads/db-config.json +++ b/src/configurations/destinations/tiktok_ads/db-config.json @@ -5,12 +5,18 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": ["web", "cloud", "mobile"], "supportedMessageTypes": ["track"], "destConfig": { - "defaultConfig": ["accessToken", "pixelCode", "hashUserProperties", "eventsToStandard"] + "defaultConfig": [ + "accessToken", + "pixelCode", + "hashUserProperties", + "eventsToStandard", + "oneTrustCookieCategories" + ] }, "secretKeys": ["accessToken", "pixelCode"] } diff --git a/src/configurations/destinations/tiktok_ads/ui-config.json b/src/configurations/destinations/tiktok_ads/ui-config.json index 461ccadea..a160eecbe 100644 --- a/src/configurations/destinations/tiktok_ads/ui-config.json +++ b/src/configurations/destinations/tiktok_ads/ui-config.json @@ -47,61 +47,38 @@ "required": false, "placeholderLeft": "e.g: Sign up completed", "options": [ + { "name": "Add Payment Info", "value": "AddPaymentInfo" }, + { "name": "Add To Cart", "value": "AddToCart" }, + { "name": "Add To Wishlist", "value": "AddToWishlist" }, + { "name": "Click Button", "value": "ClickButton" }, + { "name": "Complete Payment", "value": "CompletePayment" }, + { "name": "Complete Registration", "value": "CompleteRegistration" }, + { "name": "Contact", "value": "Contact" }, + { "name": "Download", "value": "Download" }, + { "name": "Initiate Checkout", "value": "InitiateCheckout" }, + { "name": "Place An Order", "value": "PlaceAnOrder" }, + { "name": "Search", "value": "Search" }, + { "name": "Submit Form", "value": "SubmitForm" }, + { "name": "Subscribe", "value": "Subscribe" }, + { "name": "View Content", "value": "ViewContent" } + ] + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ { - "name": "Add Payment Info", - "value": "AddPaymentInfo" - }, - { - "name": "Add To Cart", - "value": "AddToCart" - }, - { - "name": "Add To Wishlist", - "value": "AddToWishlist" - }, - { - "name": "Click Button", - "value": "ClickButton" - }, - { - "name": "Complete Payment", - "value": "CompletePayment" - }, - { - "name": "Complete Registration", - "value": "CompleteRegistration" - }, - { - "name": "Contact", - "value": "Contact" - }, - { - "name": "Download", - "value": "Download" - }, - { - "name": "Initiate Checkout", - "value": "InitiateCheckout" - }, - { - "name": "Place An Order", - "value": "PlaceAnOrder" - }, - { - "name": "Search", - "value": "Search" - }, - { - "name": "Submit Form", - "value": "SubmitForm" - }, - { - "name": "Subscribe", - "value": "Subscribe" - }, - { - "name": "View Content", - "value": "ViewContent" + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false } ] } diff --git a/src/configurations/destinations/tiktok_ads_offline_events/db-config.json b/src/configurations/destinations/tiktok_ads_offline_events/db-config.json index 3c5dcd62c..1d21c56e8 100644 --- a/src/configurations/destinations/tiktok_ads_offline_events/db-config.json +++ b/src/configurations/destinations/tiktok_ads_offline_events/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "amp", @@ -19,18 +19,15 @@ "warehouse", "web" ], - "supportedMessageTypes": [ - "track" - ], + "supportedMessageTypes": ["track"], "destConfig": { "defaultConfig": [ "accessToken", "hashUserProperties", - "eventsToStandard" + "eventsToStandard", + "oneTrustCookieCategories" ] }, - "secretKeys": [ - "accessToken" - ] + "secretKeys": ["accessToken"] } } diff --git a/src/configurations/destinations/tiktok_ads_offline_events/schema.json b/src/configurations/destinations/tiktok_ads_offline_events/schema.json index 99ad7fc9a..ac474fc1a 100644 --- a/src/configurations/destinations/tiktok_ads_offline_events/schema.json +++ b/src/configurations/destinations/tiktok_ads_offline_events/schema.json @@ -24,8 +24,18 @@ } } }, - "hashUserProperties": { - "type": "boolean" + "hashUserProperties": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json b/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json index 8530c7f32..97e7d167f 100644 --- a/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json +++ b/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json @@ -29,22 +29,10 @@ "required": false, "placeholderLeft": "e.g: Sign up completed", "options": [ - { - "name": "Complete Payment", - "value": "CompletePayment" - }, - { - "name": "Contact", - "value": "Contact" - }, - { - "name": "Submit Form", - "value": "SubmitForm" - }, - { - "name": "Subscribe", - "value": "Subscribe" - } + { "name": "Complete Payment", "value": "CompletePayment" }, + { "name": "Contact", "value": "Contact" }, + { "name": "Submit Form", "value": "SubmitForm" }, + { "name": "Subscribe", "value": "Subscribe" } ] } ] @@ -60,6 +48,25 @@ "footerNote": "To hash user properties like email and phone number using SHA-256. Only applicable for cloud mode." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/trengo/db-config.json b/src/configurations/destinations/trengo/db-config.json index dabb4090d..1c8632374 100644 --- a/src/configurations/destinations/trengo/db-config.json +++ b/src/configurations/destinations/trengo/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -26,7 +26,8 @@ "channelId", "channelIdentifier", "enableDedup", - "eventTemplateMap" + "eventTemplateMap", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiToken"] diff --git a/src/configurations/destinations/trengo/ui-config.json b/src/configurations/destinations/trengo/ui-config.json index fdf02d2bc..821e82c53 100644 --- a/src/configurations/destinations/trengo/ui-config.json +++ b/src/configurations/destinations/trengo/ui-config.json @@ -30,19 +30,10 @@ "label": "Channel Identifier", "value": "channelIdentifier", "options": [ - { - "name": "Email", - "value": "email" - }, - { - "name": "Phone", - "value": "phone" - } + { "name": "Email", "value": "email" }, + { "name": "Phone", "value": "phone" } ], - "defaultOption": { - "name": "Email", - "value": "email" - }, + "defaultOption": { "name": "Email", "value": "email" }, "required": true }, { @@ -65,6 +56,25 @@ "footerNote": "You can map specific events with custom templates. Note:To track events to Trengo adding event name in the key is mandatory. For details please view destination docs." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/tvsquared/db-config.json b/src/configurations/destinations/tvsquared/db-config.json index f6b465572..aaf0ff315 100644 --- a/src/configurations/destinations/tvsquared/db-config.json +++ b/src/configurations/destinations/tvsquared/db-config.json @@ -25,9 +25,10 @@ "customMetrics", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["credentials"] } diff --git a/src/configurations/destinations/user/db-config.json b/src/configurations/destinations/user/db-config.json index 0b91273e6..135f09ed5 100644 --- a/src/configurations/destinations/user/db-config.json +++ b/src/configurations/destinations/user/db-config.json @@ -13,7 +13,8 @@ "rsEventName", "userEventName", "eventProperties", - "companyAttributesMapping" + "companyAttributesMapping", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -38,7 +39,8 @@ "rsEventName", "userEventName", "eventProperties", - "companyAttributesMapping" + "companyAttributesMapping", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiKey"] diff --git a/src/configurations/destinations/user/schema.json b/src/configurations/destinations/user/schema.json index 8e91fff97..21e56be5b 100644 --- a/src/configurations/destinations/user/schema.json +++ b/src/configurations/destinations/user/schema.json @@ -75,6 +75,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/user/ui-config.json b/src/configurations/destinations/user/ui-config.json index 225eda9e1..d940af1ec 100644 --- a/src/configurations/destinations/user/ui-config.json +++ b/src/configurations/destinations/user/ui-config.json @@ -87,6 +87,25 @@ "labelRight": "user.com company attribute" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/userlist/db-config.json b/src/configurations/destinations/userlist/db-config.json index a097a3833..19901c048 100644 --- a/src/configurations/destinations/userlist/db-config.json +++ b/src/configurations/destinations/userlist/db-config.json @@ -6,7 +6,7 @@ "transformAtV1": "processor", "cdkEnabled": true, "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,9 +21,7 @@ "cordova" ], "supportedMessageTypes": ["group", "identify", "track"], - "destConfig": { - "defaultConfig": ["pushKey"] - }, + "destConfig": { "defaultConfig": ["pushKey", "oneTrustCookieCategories"] }, "secretKeys": ["pushKey"] } } diff --git a/src/configurations/destinations/userlist/ui-config.json b/src/configurations/destinations/userlist/ui-config.json index 111d685d5..07cb38d38 100644 --- a/src/configurations/destinations/userlist/ui-config.json +++ b/src/configurations/destinations/userlist/ui-config.json @@ -13,6 +13,25 @@ "placeholder": "e.g: sk_UuCIkdGmSnN4OaBCCFOuJaBcb3O2wD8S" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/variance/db-config.json b/src/configurations/destinations/variance/db-config.json index b0baa5254..4b8bc7921 100644 --- a/src/configurations/destinations/variance/db-config.json +++ b/src/configurations/destinations/variance/db-config.json @@ -6,7 +6,7 @@ "transformAtV1": "processor", "cdkEnabled": true, "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -20,9 +20,7 @@ "cordova", "warehouse" ], - "destConfig": { - "defaultConfig": ["webhookUrl", "authHeader"] - }, + "destConfig": { "defaultConfig": ["webhookUrl", "authHeader", "oneTrustCookieCategories"] }, "secretKeys": ["authHeader"] } } diff --git a/src/configurations/destinations/variance/ui-config.json b/src/configurations/destinations/variance/ui-config.json index 3eaa6ec45..c8524eab6 100644 --- a/src/configurations/destinations/variance/ui-config.json +++ b/src/configurations/destinations/variance/ui-config.json @@ -21,6 +21,25 @@ "secret": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/vero/db-config.json b/src/configurations/destinations/vero/db-config.json index d12e61a8a..ffd7b26f4 100644 --- a/src/configurations/destinations/vero/db-config.json +++ b/src/configurations/destinations/vero/db-config.json @@ -32,9 +32,10 @@ "authToken", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["apiKey", "useNativeSDK", "oneTrustCookieCategories"] + "web": ["apiKey", "useNativeSDK"] } } } diff --git a/src/configurations/destinations/vero/schema.json b/src/configurations/destinations/vero/schema.json index d1fef5b0c..8770afda4 100644 --- a/src/configurations/destinations/vero/schema.json +++ b/src/configurations/destinations/vero/schema.json @@ -13,9 +13,7 @@ } } }, - "authToken": { - "type": "string" - }, + "authToken": { "type": "string" }, "whitelistedEvents": { "type": "array", "items": { @@ -40,27 +38,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/vitally/db-config.json b/src/configurations/destinations/vitally/db-config.json index 3693f3a6b..912f9df90 100644 --- a/src/configurations/destinations/vitally/db-config.json +++ b/src/configurations/destinations/vitally/db-config.json @@ -20,9 +20,8 @@ "cordova" ], "supportedMessageTypes": ["identify", "track", "group"], - "destConfig": { - "defaultConfig": ["apiKeyVitally"] - }, - "secretKeys": ["apiKeyVitally"] + "destConfig": { "defaultConfig": ["apiKeyVitally", "oneTrustCookieCategories"] }, + "secretKeys": ["apiKeyVitally"], + "includeKeys": ["oneTrustCookieCategories"] } } diff --git a/src/configurations/destinations/vitally/schema.json b/src/configurations/destinations/vitally/schema.json index b74345590..3204fada2 100644 --- a/src/configurations/destinations/vitally/schema.json +++ b/src/configurations/destinations/vitally/schema.json @@ -7,6 +7,18 @@ "apiKeyVitally": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,500})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/vitally/ui-config.json b/src/configurations/destinations/vitally/ui-config.json index 18e3ce06a..dd934784c 100644 --- a/src/configurations/destinations/vitally/ui-config.json +++ b/src/configurations/destinations/vitally/ui-config.json @@ -14,6 +14,25 @@ "placeholder": "e.g: ABC1231RDG" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/vwo/db-config.json b/src/configurations/destinations/vwo/db-config.json index b140bf4a0..b8a883bec 100644 --- a/src/configurations/destinations/vwo/db-config.json +++ b/src/configurations/destinations/vwo/db-config.json @@ -15,7 +15,8 @@ "useExistingJquery", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": ["web"], @@ -30,9 +31,10 @@ "useExistingJquery", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": [] } diff --git a/src/configurations/destinations/vwo/schema.json b/src/configurations/destinations/vwo/schema.json index e6be2d9dd..888358477 100644 --- a/src/configurations/destinations/vwo/schema.json +++ b/src/configurations/destinations/vwo/schema.json @@ -8,15 +8,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "isSPA": { - "type": "boolean" - }, - "sendExperimentTrack": { - "type": "boolean" - }, - "sendExperimentIdentify": { - "type": "boolean" - }, + "isSPA": { "type": "boolean" }, + "sendExperimentTrack": { "type": "boolean" }, + "sendExperimentIdentify": { "type": "boolean" }, "libraryTolerance": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -25,9 +19,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useExistingJquery": { - "type": "boolean" - }, + "useExistingJquery": { "type": "boolean" }, "eventFilteringOption": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(^(disable|whitelistedEvents|blacklistedEvents)$)" @@ -56,27 +48,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/webengage/db-config.json b/src/configurations/destinations/webengage/db-config.json index 8b9ddb71f..7f02a7671 100644 --- a/src/configurations/destinations/webengage/db-config.json +++ b/src/configurations/destinations/webengage/db-config.json @@ -5,7 +5,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "web", @@ -22,7 +22,7 @@ ], "supportedMessageTypes": ["identify", "track", "page", "screen"], "destConfig": { - "defaultConfig": ["licenseCode", "apiKey", "dataCenter"] + "defaultConfig": ["licenseCode", "apiKey", "dataCenter", "oneTrustCookieCategories"] } } } diff --git a/src/configurations/destinations/webengage/schema.json b/src/configurations/destinations/webengage/schema.json index 9a2b616cf..4fcc40fdf 100644 --- a/src/configurations/destinations/webengage/schema.json +++ b/src/configurations/destinations/webengage/schema.json @@ -15,6 +15,18 @@ "dataCenter": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(standard|ind)$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/webengage/ui-config.json b/src/configurations/destinations/webengage/ui-config.json index 30165635b..d1e78326f 100644 --- a/src/configurations/destinations/webengage/ui-config.json +++ b/src/configurations/destinations/webengage/ui-config.json @@ -26,19 +26,29 @@ "label": "Data Center", "value": "dataCenter", "options": [ + { "name": "Standard", "value": "standard" }, + { "name": "IND", "value": "ind" } + ], + "defaultOption": { "name": "Standard", "value": "standard" } + } + ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ { - "name": "Standard", - "value": "standard" - }, - { - "name": "IND", - "value": "ind" + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false } - ], - "defaultOption": { - "name": "Standard", - "value": "standard" - } + ] } ] } diff --git a/src/configurations/destinations/webhook/db-config.json b/src/configurations/destinations/webhook/db-config.json index 1f808efee..a8fa63958 100644 --- a/src/configurations/destinations/webhook/db-config.json +++ b/src/configurations/destinations/webhook/db-config.json @@ -6,7 +6,7 @@ "transformAt": "processor", "transformAtV1": "processor", "saveDestinationResponse": false, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +21,7 @@ "cordova" ], "destConfig": { - "defaultConfig": ["webhookUrl", "webhookMethod", "headers"] + "defaultConfig": ["webhookUrl", "webhookMethod", "headers", "oneTrustCookieCategories"] }, "secretKeys": ["headers.to"] } diff --git a/src/configurations/destinations/webhook/schema.json b/src/configurations/destinations/webhook/schema.json index 96b846930..b9bf8b7aa 100644 --- a/src/configurations/destinations/webhook/schema.json +++ b/src/configurations/destinations/webhook/schema.json @@ -27,6 +27,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/webhook/ui-config.json b/src/configurations/destinations/webhook/ui-config.json index 969acad24..59409991d 100644 --- a/src/configurations/destinations/webhook/ui-config.json +++ b/src/configurations/destinations/webhook/ui-config.json @@ -17,31 +17,13 @@ "value": "webhookMethod", "placeholder": "POST", "options": [ - { - "name": "POST", - "value": "POST" - }, - { - "name": "PUT", - "value": "PUT" - }, - { - "name": "PATCH", - "value": "PATCH" - }, - { - "name": "GET", - "value": "GET" - }, - { - "name": "DELETE", - "value": "DELETE" - } + { "name": "POST", "value": "POST" }, + { "name": "PUT", "value": "PUT" }, + { "name": "PATCH", "value": "PATCH" }, + { "name": "GET", "value": "GET" }, + { "name": "DELETE", "value": "DELETE" } ], - "defaultOption": { - "name": "POST", - "value": "POST" - } + "defaultOption": { "name": "POST", "value": "POST" } }, { "type": "dynamicForm", @@ -55,6 +37,25 @@ "value": "headers" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/woopra/db-config.json b/src/configurations/destinations/woopra/db-config.json index f9b9a82b8..bbda29898 100644 --- a/src/configurations/destinations/woopra/db-config.json +++ b/src/configurations/destinations/woopra/db-config.json @@ -19,7 +19,8 @@ "outgoingTracking", "whitelistedEvents", "blacklistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], "excludeKeys": [], "supportedSourceTypes": [ @@ -50,9 +51,10 @@ "outgoingTracking", "whitelistedEvents", "blacklistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] } } } diff --git a/src/configurations/destinations/woopra/schema.json b/src/configurations/destinations/woopra/schema.json index 9b6f6d189..fdfb411c9 100644 --- a/src/configurations/destinations/woopra/schema.json +++ b/src/configurations/destinations/woopra/schema.json @@ -4,40 +4,17 @@ "type": "object", "required": ["projectName"], "properties": { - "projectName": { - "type": "string", - "pattern": "^(([a-z0-9]+[.])+[a-z]{1,})$" - }, - "cookieName": { - "type": "string" - }, - "cookieDomain": { - "type": "string" - }, - "clickTracking": { - "type": "boolean" - }, - "cookiePath": { - "type": "string" - }, - "downloadTracking": { - "type": "boolean" - }, - "hideCampaign": { - "type": "boolean" - }, - "idleTimeout": { - "type": "string" - }, - "ignoreQueryUrl": { - "type": "boolean" - }, - "outgoingIgnoreSubdomain": { - "type": "boolean" - }, - "outgoingTracking": { - "type": "boolean" - }, + "projectName": { "type": "string", "pattern": "^(([a-z0-9]+[.])+[a-z]{1,})$" }, + "cookieName": { "type": "string" }, + "cookieDomain": { "type": "string" }, + "clickTracking": { "type": "boolean" }, + "cookiePath": { "type": "string" }, + "downloadTracking": { "type": "boolean" }, + "hideCampaign": { "type": "boolean" }, + "idleTimeout": { "type": "string" }, + "ignoreQueryUrl": { "type": "boolean" }, + "outgoingIgnoreSubdomain": { "type": "boolean" }, + "outgoingTracking": { "type": "boolean" }, "whitelistedEvents": { "type": "array", "items": { @@ -62,27 +39,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/wootric/db-config.json b/src/configurations/destinations/wootric/db-config.json index b3929cce3..bd9c19e9f 100644 --- a/src/configurations/destinations/wootric/db-config.json +++ b/src/configurations/destinations/wootric/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": ["username", "password", "accountToken"], + "includeKeys": ["username", "password", "accountToken", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -21,7 +21,7 @@ ], "supportedMessageTypes": ["identify", "track"], "destConfig": { - "defaultConfig": ["username", "password", "accountToken"] + "defaultConfig": ["username", "password", "accountToken", "oneTrustCookieCategories"] }, "secretKeys": ["password", "accountToken"] } diff --git a/src/configurations/destinations/wootric/schema.json b/src/configurations/destinations/wootric/schema.json index 15cde354c..c4c5ac68c 100644 --- a/src/configurations/destinations/wootric/schema.json +++ b/src/configurations/destinations/wootric/schema.json @@ -8,13 +8,22 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, + "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, "accountToken": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/wootric/ui-config.json b/src/configurations/destinations/wootric/ui-config.json index f3426fb2b..93bf13437 100644 --- a/src/configurations/destinations/wootric/ui-config.json +++ b/src/configurations/destinations/wootric/ui-config.json @@ -33,6 +33,25 @@ "secret": true } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/yahoo_dsp/db-config.json b/src/configurations/destinations/yahoo_dsp/db-config.json index 54cf0dcf5..3315935f6 100644 --- a/src/configurations/destinations/yahoo_dsp/db-config.json +++ b/src/configurations/destinations/yahoo_dsp/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": ["cloud", "warehouse"], "syncBehaviours": [], @@ -18,7 +18,8 @@ "accountId", "audienceType", "hashRequired", - "seedListType" + "seedListType", + "oneTrustCookieCategories" ] }, "secretKeys": ["clientId", "clientSecret"] diff --git a/src/configurations/destinations/yahoo_dsp/schema.json b/src/configurations/destinations/yahoo_dsp/schema.json index 14b110d6b..ca1b90f7c 100644 --- a/src/configurations/destinations/yahoo_dsp/schema.json +++ b/src/configurations/destinations/yahoo_dsp/schema.json @@ -20,16 +20,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "audienceType": { - "type": "string", - "pattern": "^(EMAIL|DEVICE_ID|IP_ADDRESS)$" - }, - "seedListType": { - "type": "string", - "pattern": "^(GPADVID|IDFA)$" - }, - "hashRequired": { - "type": "boolean" + "audienceType": { "type": "string", "pattern": "^(EMAIL|DEVICE_ID|IP_ADDRESS)$" }, + "seedListType": { "type": "string", "pattern": "^(GPADVID|IDFA)$" }, + "hashRequired": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/yahoo_dsp/ui-config.json b/src/configurations/destinations/yahoo_dsp/ui-config.json index dbe0dc1b9..94866cca1 100644 --- a/src/configurations/destinations/yahoo_dsp/ui-config.json +++ b/src/configurations/destinations/yahoo_dsp/ui-config.json @@ -53,23 +53,11 @@ "required": true, "placeholder": "Email", "options": [ - { - "name": "Email", - "value": "EMAIL" - }, - { - "name": "Device Id", - "value": "DEVICE_ID" - }, - { - "name": "IP Address", - "value": "IP_ADDRESS" - } + { "name": "Email", "value": "EMAIL" }, + { "name": "Device Id", "value": "DEVICE_ID" }, + { "name": "IP Address", "value": "IP_ADDRESS" } ], - "defaultOption": { - "name": "Email", - "value": "EMAIL" - } + "defaultOption": { "name": "Email", "value": "EMAIL" } }, { "type": "singleSelect", @@ -78,23 +66,11 @@ "required": true, "placeholder": "Google (GPADVID)", "options": [ - { - "name": "Google (GPADVID)", - "value": "GPADVID" - }, - { - "name": "Apple (IDFA)", - "value": "IDFA" - } + { "name": "Google (GPADVID)", "value": "GPADVID" }, + { "name": "Apple (IDFA)", "value": "IDFA" } ], - "defaultOption": { - "name": "Google (GPADVID)", - "value": "GPADVID" - }, - "preRequisiteField": { - "name": "audienceType", - "selectedValue": "DEVICE_ID" - }, + "defaultOption": { "name": "Google (GPADVID)", "value": "GPADVID" }, + "preRequisiteField": { "name": "audienceType", "selectedValue": "DEVICE_ID" }, "footerNote": "Your device type" }, { @@ -121,6 +97,25 @@ "footerNote": "Toggle it off if hashing is not required" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/yandex_metrica/db-config.json b/src/configurations/destinations/yandex_metrica/db-config.json index 60c1c9385..cc4e025a4 100644 --- a/src/configurations/destinations/yandex_metrica/db-config.json +++ b/src/configurations/destinations/yandex_metrica/db-config.json @@ -34,9 +34,10 @@ "goalId", "blacklistedEvents", "whitelistedEvents", - "eventFilteringOption" + "eventFilteringOption", + "oneTrustCookieCategories" ], - "web": ["useNativeSDK", "oneTrustCookieCategories"] + "web": ["useNativeSDK"] }, "secretKeys": ["tagId"] } diff --git a/src/configurations/destinations/yandex_metrica/schema.json b/src/configurations/destinations/yandex_metrica/schema.json index 4c8fbf3a3..2c77637c9 100644 --- a/src/configurations/destinations/yandex_metrica/schema.json +++ b/src/configurations/destinations/yandex_metrica/schema.json @@ -8,18 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "clickMap": { - "type": "boolean" - }, - "trackLinks": { - "type": "boolean" - }, - "trackBounce": { - "type": "boolean" - }, - "webvisor": { - "type": "boolean" - }, + "clickMap": { "type": "boolean" }, + "trackLinks": { "type": "boolean" }, + "trackBounce": { "type": "boolean" }, + "webvisor": { "type": "boolean" }, "containerName": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -72,27 +64,15 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { - "type": "object", - "properties": { - "web": { - "type": "array", - "items": { - "type": "object", - "properties": { - "oneTrustCookieCategory": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" } } } diff --git a/src/configurations/destinations/zapier/db-config.json b/src/configurations/destinations/zapier/db-config.json index 536faa863..e71508e5d 100644 --- a/src/configurations/destinations/zapier/db-config.json +++ b/src/configurations/destinations/zapier/db-config.json @@ -6,7 +6,12 @@ "transformAtV1": "processor", "saveDestinationResponse": true, "cdkEnabled": true, - "includeKeys": ["zapUrl", "trackEventsToZap", "pageScreenEventsToZap"], + "includeKeys": [ + "zapUrl", + "trackEventsToZap", + "pageScreenEventsToZap", + "oneTrustCookieCategories" + ], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -22,7 +27,12 @@ ], "supportedMessageTypes": ["track", "page", "screen"], "destConfig": { - "defaultConfig": ["zapUrl", "trackEventsToZap", "pageScreenEventsToZap"] + "defaultConfig": [ + "zapUrl", + "trackEventsToZap", + "pageScreenEventsToZap", + "oneTrustCookieCategories" + ] }, "secretKeys": ["zapUrl"] } diff --git a/src/configurations/destinations/zapier/schema.json b/src/configurations/destinations/zapier/schema.json index 69b8ab81e..02affeed9 100644 --- a/src/configurations/destinations/zapier/schema.json +++ b/src/configurations/destinations/zapier/schema.json @@ -39,6 +39,18 @@ } } } + }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/zapier/ui-config.json b/src/configurations/destinations/zapier/ui-config.json index 23c8e3cb9..868295f79 100644 --- a/src/configurations/destinations/zapier/ui-config.json +++ b/src/configurations/destinations/zapier/ui-config.json @@ -41,6 +41,25 @@ "footerNote": "Enter the Page or Screen events to be sent to the specified ZAP URL" } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/src/configurations/destinations/zendesk/db-config.json b/src/configurations/destinations/zendesk/db-config.json index d06ef21ea..5596c55f0 100644 --- a/src/configurations/destinations/zendesk/db-config.json +++ b/src/configurations/destinations/zendesk/db-config.json @@ -5,7 +5,7 @@ "transformAt": "router", "transformAtV1": "router", "saveDestinationResponse": true, - "includeKeys": [], + "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -28,7 +28,8 @@ "createUsersAsVerified", "sendGroupCallsWithoutUserId", "removeUsersFromOrganization", - "searchByExternalId" + "searchByExternalId", + "oneTrustCookieCategories" ] }, "secretKeys": ["apiToken"] diff --git a/src/configurations/destinations/zendesk/schema.json b/src/configurations/destinations/zendesk/schema.json index d8cafc20e..47acc678a 100644 --- a/src/configurations/destinations/zendesk/schema.json +++ b/src/configurations/destinations/zendesk/schema.json @@ -17,17 +17,21 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "createUsersAsVerified": { - "type": "boolean" - }, - "sendGroupCallsWithoutUserId": { - "type": "boolean" - }, - "removeUsersFromOrganization": { - "type": "boolean" - }, - "searchByExternalId": { - "type": "boolean" + "createUsersAsVerified": { "type": "boolean" }, + "sendGroupCallsWithoutUserId": { "type": "boolean" }, + "removeUsersFromOrganization": { "type": "boolean" }, + "searchByExternalId": { "type": "boolean" }, + "oneTrustCookieCategories": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } } diff --git a/src/configurations/destinations/zendesk/ui-config.json b/src/configurations/destinations/zendesk/ui-config.json index fabdf3c55..4a61ed791 100644 --- a/src/configurations/destinations/zendesk/ui-config.json +++ b/src/configurations/destinations/zendesk/ui-config.json @@ -57,6 +57,25 @@ "footerNote": "If enabled, RudderStack sets the email in the event as the user's primary email in Zendesk, replacing the previous primary email. Otherwise, it is set as the secondary email, if any primary email exists." } ] + }, + { + "title": "Consent Settings", + "fields": [ + { + "type": "dynamicCustomForm", + "value": "oneTrustCookieCategories", + "label": "OneTrust Cookie Categories", + "customFields": [ + { + "type": "textInput", + "placeholder": "Marketing", + "value": "oneTrustCookieCategory", + "label": "Category Name/ID", + "required": false + } + ] + } + ] } ] } diff --git a/test/data/validation/destinations/adroll.json b/test/data/validation/destinations/adroll.json index 0843d2dc4..c811fdbe4 100644 --- a/test/data/validation/destinations/adroll.json +++ b/test/data/validation/destinations/adroll.json @@ -4,29 +4,10 @@ "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "w1" - }, - { - "eventName": "w2" - } - ], - "blacklistedEvents": [ - { - "eventName": "b1" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], + "blacklistedEvents": [{ "eventName": "b1" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": true }, @@ -34,29 +15,10 @@ "config": { "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "w1" - }, - { - "eventName": "w2" - } - ], - "blacklistedEvents": [ - { - "eventName": "b1" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], + "blacklistedEvents": [{ "eventName": "b1" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": [" must have required property 'advId'"] @@ -66,29 +28,10 @@ "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - }, - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "whitelistedEvents": [{ "eventName": "" }, { "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true }, @@ -97,27 +40,10 @@ "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "w1" - }, - { - "eventName": "w2" - } - ], - "blacklistedEvents": [ - { - "eventName": "b1" - } - ], + "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], + "blacklistedEvents": [{ "eventName": "b1" }], "useNativeSDK": true, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": ["useNativeSDK must be object"] @@ -126,29 +52,10 @@ "config": { "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "w1" - }, - { - "eventName": "w2" - } - ], - "blacklistedEvents": [ - { - "eventName": "b1" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], + "blacklistedEvents": [{ "eventName": "b1" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": [" must have required property 'pixId'"] @@ -159,23 +66,9 @@ "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", "whitelistedEvents": [], - "blacklistedEvents": [ - { - "eventName": { - "key": "eventValue" - } - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "blacklistedEvents": [{ "eventName": { "key": "eventValue" } }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": ["blacklistedEvents.0.eventName must be string"] diff --git a/test/data/validation/destinations/axeptio.json b/test/data/validation/destinations/axeptio.json index d22c80c38..1d901856a 100644 --- a/test/data/validation/destinations/axeptio.json +++ b/test/data/validation/destinations/axeptio.json @@ -6,10 +6,8 @@ "eventFilteringOption": "disable", "whitelistedEvents": [{ "eventName": "" }], "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": { "web": [{ "oneTrustCookieCategory": "" }] }, - "useNativeSDK": { - "web": false - } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": true }, @@ -20,10 +18,8 @@ "eventFilteringOption": "disable", "whitelistedEvents": [{ "eventName": "" }], "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": { "web": [{ "oneTrustCookieCategory": "" }] }, - "useNativeSDK": { - "web": false - } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["clientId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -35,10 +31,8 @@ "eventFilteringOption": "disable", "whitelistedEvents": [{ "eventName": "" }], "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": { "web": [{ "oneTrustCookieCategory": "" }] }, - "useNativeSDK": { - "web": false - } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["toggleToActivateCallback must be boolean"] diff --git a/test/data/validation/destinations/convertflow.json b/test/data/validation/destinations/convertflow.json index 581439807..9eab7a2db 100644 --- a/test/data/validation/destinations/convertflow.json +++ b/test/data/validation/destinations/convertflow.json @@ -4,19 +4,12 @@ "websiteId": "", "toggleToSendData": false, "eventsList": "cfView", - "eventsMapping": [ - { - "from": "cfView", - "to": "Viewed CTA" - } - ], + "eventsMapping": [{ "from": "cfView", "to": "Viewed CTA" }], "eventFilteringOption": "disable", "whitelistedEvents": [{ "eventName": "" }], "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": { "web": [{ "oneTrustCookieCategory": "" }] }, - "useNativeSDK": { - "web": false - } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["websiteId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,10})$\""] @@ -26,19 +19,12 @@ "websiteId": "47838", "toggleToSendData": "false", "eventsList": "cfView", - "eventsMapping": [ - { - "from": "cfView", - "to": "Viewed CTA" - } - ], + "eventsMapping": [{ "from": "cfView", "to": "Viewed CTA" }], "eventFilteringOption": "disable", "whitelistedEvents": [{ "eventName": "" }], "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": { "web": [{ "oneTrustCookieCategory": "" }] }, - "useNativeSDK": { - "web": false - } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["toggleToSendData must be boolean"] @@ -48,19 +34,12 @@ "websiteId": "23894", "toggleToSendData": true, "eventsList": "cfView", - "eventsMapping": [ - { - "from": "cfView", - "to": "Viewed CTA" - } - ], + "eventsMapping": [{ "from": "cfView", "to": "Viewed CTA" }], "eventFilteringOption": "disable", "whitelistedEvents": [{ "eventName": "" }], "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": { "web": [{ "oneTrustCookieCategory": "" }] }, - "useNativeSDK": { - "web": false - } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": true } diff --git a/test/data/validation/destinations/criteo.json b/test/data/validation/destinations/criteo.json index 0e3454de6..352a7afe0 100644 --- a/test/data/validation/destinations/criteo.json +++ b/test/data/validation/destinations/criteo.json @@ -4,44 +4,17 @@ "accountId": "12", "homePageUrl": "https://www.google.com", "hashMethod": "md5", - "fieldMapping": [ - { - "from": "signup", - "to": "billing" - } - ], - "whitelistedEvents": [ - { - "eventName": "login" - } - ], - "blacklistedEvents": [ - { - "eventName": "ad_disabled" - } - ], + "fieldMapping": [{ "from": "signup", "to": "billing" }], + "whitelistedEvents": [{ "eventName": "login" }], + "blacklistedEvents": [{ "eventName": "ad_disabled" }], "eventFilteringOption": "whitelistedEvents", - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "product" - } - ] - }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "product" }], "eventsToStandard": [ - { - "from": "add to cart", - "to": "product viewed" - }, - { - "from": "cart checkout", - "to": "cart viewed" - } + { "from": "add to cart", "to": "product viewed" }, + { "from": "cart checkout", "to": "cart viewed" } ] }, - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "result": true }, { @@ -49,81 +22,33 @@ "accountId": "", "homePageUrl": "https://www.facebook.com", "hashMethod": "md5", - "fieldMapping": [ - { - "from": "signup", - "to": "billing" - } - ], - "whitelistedEvents": [ - { - "eventName": "login" - } - ], - "blacklistedEvents": [ - { - "eventName": "ad_disabled" - } - ], + "fieldMapping": [{ "from": "signup", "to": "billing" }], + "whitelistedEvents": [{ "eventName": "login" }], + "blacklistedEvents": [{ "eventName": "ad_disabled" }], "eventFilteringOption": "whitelistedEvents", - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "product" - } - ] - }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "product" }], "eventsToStandard": [ - { - "from": "add to cart", - "to": "product viewed" - }, - { - "from": "cart checkout", - "to": "cart viewed" - } + { "from": "add to cart", "to": "product viewed" }, + { "from": "cart checkout", "to": "cart viewed" } ] }, - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "result": false, "err": ["accountId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[1-9]+$\""] }, { "config": { "accountId": "15", - "fieldMapping": [ - { - "from": "login", - "to": "logout" - } - ], - "whitelistedEvents": [ - { - "eventName": "product added" - } - ], - "blacklistedEvents": [ - { - "eventName": "ad_disabled" - } - ], + "fieldMapping": [{ "from": "login", "to": "logout" }], + "whitelistedEvents": [{ "eventName": "product added" }], + "blacklistedEvents": [{ "eventName": "ad_disabled" }], "eventFilteringOption": "whitelistedEvents", "eventsToStandard": [ - { - "from": "add to cart", - "to": "product viewed" - }, - { - "from": "cart checkout", - "to": "cart viewed" - } + { "from": "add to cart", "to": "product viewed" }, + { "from": "cart checkout", "to": "cart viewed" } ] }, - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "result": true } ] diff --git a/test/data/validation/destinations/customerio.json b/test/data/validation/destinations/customerio.json index 96df60d0a..4d2c584e9 100644 --- a/test/data/validation/destinations/customerio.json +++ b/test/data/validation/destinations/customerio.json @@ -6,26 +6,10 @@ "deviceTokenEventName": "device_token_registered", "datacenterEU": false, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "eventmodel" - } - ], - "blacklistedEvents": [ - { - "eventName": "taxmodel" - } - ], - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "whitelistedEvents": [{ "eventName": "eventmodel" }], + "blacklistedEvents": [{ "eventName": "taxmodel" }], + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": true }, @@ -35,26 +19,10 @@ "deviceTokenEventName": "device_token_registered", "datacenterEU": false, "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "eventmodel" - } - ], - "blacklistedEvents": [ - { - "eventName": "taxmodel" - } - ], - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "whitelistedEvents": [{ "eventName": "eventmodel" }], + "blacklistedEvents": [{ "eventName": "taxmodel" }], + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": [" must have required property 'siteID'"] @@ -65,26 +33,10 @@ "apiKey": "95bd1330072974f0ff9b", "deviceTokenEventName": "device_location_registered", "datacenterEU": true, - "whitelistedEvents": [ - { - "eventName": "practice" - } - ], - "blacklistedEvents": [ - { - "eventName": "spam_listings" - } - ], - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Sales" - } - ] - } + "whitelistedEvents": [{ "eventName": "practice" }], + "blacklistedEvents": [{ "eventName": "spam_listings" }], + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Sales" }] }, "result": true }, @@ -95,26 +47,10 @@ "deviceTokenEventName": "device_id_removed", "datacenterEU": false, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": ["e1", "v1"] - } - ], - "blacklistedEvents": [ - { - "eventName": "taxmodel" - } - ], - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Pitch" - } - ] - } + "whitelistedEvents": [{ "eventName": ["e1", "v1"] }], + "blacklistedEvents": [{ "eventName": "taxmodel" }], + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] }, "result": false, "err": ["whitelistedEvents.0.eventName must be string"] @@ -126,16 +62,8 @@ "deviceTokenEventName": "device_token_registered", "datacenterEU": "Germany", "eventFilteringOption": "disable", - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": ["datacenterEU must be boolean"] @@ -147,16 +75,8 @@ "deviceTokenEventName": "qwsafpmznjhbfjhchdgeiuudhwgvdfkzxuiookaghhrytedhgfgjslalapooiqnbvemixuhevvsjklodjdokhuijghqwnvzxccdwsalkijediwhfwibkjnkji", "datacenterEU": true, "eventFilteringOption": "disable", - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": [ diff --git a/test/data/validation/destinations/dcm_floodlight.json b/test/data/validation/destinations/dcm_floodlight.json index 2284f8851..752d2691f 100644 --- a/test/data/validation/destinations/dcm_floodlight.json +++ b/test/data/validation/destinations/dcm_floodlight.json @@ -11,14 +11,8 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { - "from": "RudderstackProperty1", - "to": "1" - }, - { - "from": "RudderstackProperty2", - "to": "2" - } + { "from": "RudderstackProperty1", "to": "1" }, + { "from": "RudderstackProperty2", "to": "2" } ] }, { @@ -26,12 +20,7 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [ - { - "from": "", - "to": "" - } - ] + "customVariables": [{ "from": "", "to": "" }] } ] }, @@ -49,14 +38,8 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { - "from": "RudderstackProperty1", - "to": "u1" - }, - { - "from": "RudderstackProperty2", - "to": "2" - } + { "from": "RudderstackProperty1", "to": "u1" }, + { "from": "RudderstackProperty2", "to": "2" } ] }, { @@ -64,12 +47,7 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [ - { - "from": "", - "to": "" - } - ] + "customVariables": [{ "from": "", "to": "" }] } ] }, @@ -90,14 +68,8 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { - "from": "RudderstackProperty1", - "to": "1" - }, - { - "from": "RudderstackProperty2", - "to": "2" - } + { "from": "RudderstackProperty1", "to": "1" }, + { "from": "RudderstackProperty2", "to": "2" } ] }, { @@ -105,12 +77,7 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [ - { - "from": "", - "to": "" - } - ] + "customVariables": [{ "from": "", "to": "" }] } ] }, @@ -131,14 +98,8 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { - "from": "RudderstackProperty1", - "to": "1" - }, - { - "from": "RudderstackProperty2", - "to": "2" - } + { "from": "RudderstackProperty1", "to": "1" }, + { "from": "RudderstackProperty2", "to": "2" } ] }, { @@ -146,48 +107,19 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [ - { - "from": "", - "to": "" - } - ] + "customVariables": [{ "from": "", "to": "" }] } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "conversionLinker": { - "web": true - }, - "allowAdPersonalizationSignals": { - "web": true - }, + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "conversionLinker": { "web": true }, + "allowAdPersonalizationSignals": { "web": true }, "tagFormat": "globalSiteTag", - "doubleclickId": { - "web": true - }, - "googleNetworkId": { - "web": "1234" - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "doubleclickId": { "web": true }, + "googleNetworkId": { "web": "1234" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true }, @@ -203,14 +135,8 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { - "from": "RudderstackProperty1", - "to": "1" - }, - { - "from": "RudderstackProperty2", - "to": "2" - } + { "from": "RudderstackProperty1", "to": "1" }, + { "from": "RudderstackProperty2", "to": "2" } ] }, { @@ -218,48 +144,19 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [ - { - "from": "", - "to": "" - } - ] + "customVariables": [{ "from": "", "to": "" }] } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": false - }, - "conversionLinker": { - "web": true - }, - "allowAdPersonalizationSignals": { - "web": true - }, + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": false }, + "conversionLinker": { "web": true }, + "allowAdPersonalizationSignals": { "web": true }, "tagFormat": "iframeTag", - "doubleclickId": { - "web": false - }, - "googleNetworkId": { - "web": "1234" - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "doubleclickId": { "web": false }, + "googleNetworkId": { "web": "1234" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true } diff --git a/test/data/validation/destinations/fb.json b/test/data/validation/destinations/fb.json index bcb8998c0..7b0489d01 100644 --- a/test/data/validation/destinations/fb.json +++ b/test/data/validation/destinations/fb.json @@ -7,22 +7,11 @@ "eventFilteringOption": "disable", "whitelistedEvents": [], "blacklistedEvents": [], - "useNativeSDK": { - "android": false, - "ios": false - }, - "oneTrustCookieCategories": { - "android": [ - { - "oneTrustCookieCategory": "m1a" - } - ], - "ios": [ - { - "oneTrustCookieCategory": "m1i" - } - ] - } + "useNativeSDK": { "android": false, "ios": false }, + "oneTrustCookieCategories": [ + { "oneTrustCookieCategory": "m1a" }, + { "oneTrustCookieCategory": "m1i" } + ] }, "result": false, "err": [" must have required property 'appID'"] @@ -36,22 +25,11 @@ "eventFilteringOption": "disable", "whitelistedEvents": [], "blacklistedEvents": [], - "useNativeSDK": { - "android": false, - "ios": false - }, - "oneTrustCookieCategories": { - "android": [ - { - "oneTrustCookieCategory": "m1a" - } - ], - "ios": [ - { - "oneTrustCookieCategory": "m1i" - } - ] - } + "useNativeSDK": { "android": false, "ios": false }, + "oneTrustCookieCategories": [ + { "oneTrustCookieCategory": "m1a" }, + { "oneTrustCookieCategory": "m1i" } + ] }, "result": true } diff --git a/test/data/validation/destinations/googleads.json b/test/data/validation/destinations/googleads.json index fe1ac21da..9335ad2d5 100644 --- a/test/data/validation/destinations/googleads.json +++ b/test/data/validation/destinations/googleads.json @@ -7,41 +7,13 @@ "sendPageView": true, "conversionLinker": true, "disableAdPersonalization": true, - "whitelistedEvents": [ - { - "eventName": "login page" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "pageLoadConversions": [ - { - "conversionLabel": "ofwinqeoqwefnoewqo9", - "name": "test" - } - ], - "clickEventConversions": [ - { - "conversionLabel": "1qinqwqoqewfnoewqo9", - "name": "clickTest" - } - ], - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Sales" - } - ] - } + "whitelistedEvents": [{ "eventName": "login page" }], + "blacklistedEvents": [{ "eventName": "" }], + "pageLoadConversions": [{ "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }], + "clickEventConversions": [{ "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }], + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Sales" }] }, "result": true }, @@ -53,61 +25,27 @@ "sendPageView": true, "conversionLinker": true, "disableAdPersonalization": true, - "whitelistedEvents": [ - { - "eventName": "login page" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], + "whitelistedEvents": [{ "eventName": "login page" }], + "blacklistedEvents": [{ "eventName": "" }], "pageLoadConversions": [ - { - "conversionLabel": "ofwinqeoqwefnoewqo9", - "name": "test" - }, - { - "conversionLabel": "idwhcbiwdfbciwdfw", - "name": "entry" - } + { "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }, + { "conversionLabel": "idwhcbiwdfbciwdfw", "name": "entry" } ], "clickEventConversions": [ - { - "conversionLabel": "1qinqwqoqewfnoewqo9", - "name": "clickTest" - }, - { - "conversionLabel": "qwertyasagehrstshregs", - "name": "clickedPrev" - } + { "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }, + { "conversionLabel": "qwertyasagehrstshregs", "name": "clickedPrev" } ], - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Business Tool" - } - ] - } + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Business Tool" }] }, "result": true }, { "config": { "conversionID": "AW-114432", - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - } + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true } }, "result": true }, @@ -118,41 +56,13 @@ "sendPageView": true, "conversionLinker": true, "disableAdPersonalization": true, - "whitelistedEvents": [ - { - "eventName": "login page" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "pageLoadConversions": [ - { - "conversionLabel": "ofwinqeoqwefnoewqo9", - "name": "test" - } - ], - "clickEventConversions": [ - { - "conversionLabel": "1qinqwqoqewfnoewqo9", - "name": "clickTest" - } - ], - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Sales" - } - ] - } + "whitelistedEvents": [{ "eventName": "login page" }], + "blacklistedEvents": [{ "eventName": "" }], + "pageLoadConversions": [{ "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }], + "clickEventConversions": [{ "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }], + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Sales" }] }, "result": false, "err": [" must have required property 'conversionID'"] @@ -162,46 +72,16 @@ "conversionID": "AW-12321", "eventFilteringOption": "whitelistedEvents", "defaultPageConversion": "poiiopqwewqwwqewq", - "sendPageView": { - "sendPageView": true - }, + "sendPageView": { "sendPageView": true }, "conversionLinker": true, "disableAdPersonalization": true, - "whitelistedEvents": [ - { - "eventName": "login page" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "pageLoadConversions": [ - { - "conversionLabel": "ofwinqeoqwefnoewqo9", - "name": "test" - } - ], - "clickEventConversions": [ - { - "conversionLabel": "1qinqwqoqewfnoewqo9", - "name": "clickTest" - } - ], - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "whitelistedEvents": [{ "eventName": "login page" }], + "blacklistedEvents": [{ "eventName": "" }], + "pageLoadConversions": [{ "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }], + "clickEventConversions": [{ "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }], + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": ["sendPageView must be boolean"] diff --git a/test/data/validation/destinations/gtm.json b/test/data/validation/destinations/gtm.json index db36b847f..c22fbf205 100644 --- a/test/data/validation/destinations/gtm.json +++ b/test/data/validation/destinations/gtm.json @@ -4,22 +4,10 @@ "containerID": "GTM-ADDA", "serverUrl": "https://gtm.rudder.com", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [] - } + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [] }, "result": true }, @@ -27,22 +15,10 @@ "config": { "serverUrl": "https://gtm.rudder.com", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [] - } + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [] }, "result": false, "err": [" must have required property 'containerID'"] @@ -52,22 +28,10 @@ "containerID": "GTM-ADDA", "serverUrl": "badurl", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [] - } + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [] }, "result": false, "err": [ @@ -79,22 +43,10 @@ "containerID": "GTM-ADDA", "serverUrl": "", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [] - } + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [] }, "result": true }, @@ -103,22 +55,10 @@ "containerID": "GTM-ADDA", "serverUrl": "http://dfff.ngrok.io", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [] - } + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [] }, "result": false, "err": [ diff --git a/test/data/validation/destinations/heap.json b/test/data/validation/destinations/heap.json index 74f0f2c1c..f180c581e 100644 --- a/test/data/validation/destinations/heap.json +++ b/test/data/validation/destinations/heap.json @@ -3,21 +3,9 @@ "config": { "eventFilteringOption": "whitelistedEvents", "whitelistedEvents": [], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Networking" - } - ] - } + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Networking" }] }, "result": false, "err": [" must have required property 'appId'"] @@ -26,26 +14,10 @@ "config": { "appId": "3123563341", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "practice test" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Networking" - } - ] - } + "whitelistedEvents": [{ "eventName": "practice test" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Networking" }] }, "result": true } diff --git a/test/data/validation/destinations/hotjar.json b/test/data/validation/destinations/hotjar.json index 0d9ea63c0..add2d3635 100644 --- a/test/data/validation/destinations/hotjar.json +++ b/test/data/validation/destinations/hotjar.json @@ -3,52 +3,20 @@ "config": { "siteID": "hd765380", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true }, { "config": { "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": [" must have required property 'siteID'"] diff --git a/test/data/validation/destinations/hs.json b/test/data/validation/destinations/hs.json index 857404eff..48e9f2769 100644 --- a/test/data/validation/destinations/hs.json +++ b/test/data/validation/destinations/hs.json @@ -1,19 +1,14 @@ [ { - "config": { - "hubID": "20262117", - "apiKey": "9ege7142-11be-10bc-a168-df1c714326fv" - }, + "config": { "hubID": "20262117", "apiKey": "9ege7142-11be-10bc-a168-df1c714326fv" }, "result": true }, { "config": { "hubID": "25092175", "apiKey": "eu1-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": {} + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [] }, "result": true }, @@ -21,45 +16,19 @@ "config": { "hubID": "25092175", "apiKey": "eu2-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { - "web": false - }, - "whitelistedEvents": [ - { - "eventName": "sampleHSAllowed" - } - ], - "blacklistedEvents": [ - { - "eventName": "threat" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Pitch" - } - ] - } + "useNativeSDK": { "web": false }, + "whitelistedEvents": [{ "eventName": "sampleHSAllowed" }], + "blacklistedEvents": [{ "eventName": "threat" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] }, "result": true }, { "config": { - "hubID": { - "hub": "25092175" - }, + "hubID": { "hub": "25092175" }, "apiKey": "eu2-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Pitch" - } - ] - } + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] }, "result": false, "err": ["hubID must be string"] @@ -68,26 +37,14 @@ "config": { "hubID": "25092175", "apiKey": "eu2-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "whitelistedEvents": [ { "eventName": "skjahgshwjwdwenhowskjahgshwjwdwenhowefhrebqwedhewifewskjahgshwjwdwenhowefhrebqwskjahgshwjwdwenhowefhrebqwedhewifewedhewifewefhrebqwedhewifew" } ], - "blacklistedEvents": [ - { - "eventName": "threat" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Pitch" - } - ] - } + "blacklistedEvents": [{ "eventName": "threat" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] }, "result": false, "err": [ @@ -107,42 +64,22 @@ "rsEventName": "Purchase", "hubspotEventName": "pe22315509_rs_hub_test", "eventProperties": [ - { - "from": "Revenue", - "to": "value" - }, - { - "from": "Price", - "to": "cost" - } + { "from": "Revenue", "to": "value" }, + { "from": "Price", "to": "cost" } ] }, { "rsEventName": "Order Complete", "hubspotEventName": "pe22315509_rs_hub_chair", "eventProperties": [ - { - "from": "firstName", - "to": "first_name" - }, - { - "from": "lastName", - "to": "last_name" - } + { "from": "firstName", "to": "first_name" }, + { "from": "lastName", "to": "last_name" } ] } ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], + "blacklistedEvents": [{ "eventName": "" }], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }] }, "result": true }, @@ -159,51 +96,23 @@ "rsEventName": "Purchase", "hubspotEventName": "pe22315509_rs_hub_test", "eventProperties": [ - { - "from": "Revenue", - "to": "value" - }, - { - "from": "Price", - "to": "cost" - } + { "from": "Revenue", "to": "value" }, + { "from": "Price", "to": "cost" } ] }, { "rsEventName": "Order Complete", "hubspotEventName": "pe22315509_rs_hub_chair", "eventProperties": [ - { - "from": "firstName", - "to": "first_name" - }, - { - "from": "lastName", - "to": "last_name" - } + { "from": "firstName", "to": "first_name" }, + { "from": "lastName", "to": "last_name" } ] } ], - "useNativeSDK": { - "web": false - }, - "whitelistedEvents": [ - { - "eventName": "sampleHSAllowed" - } - ], - "blacklistedEvents": [ - { - "eventName": "threat" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Pitch" - } - ] - } + "useNativeSDK": { "web": false }, + "whitelistedEvents": [{ "eventName": "sampleHSAllowed" }], + "blacklistedEvents": [{ "eventName": "threat" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] }, "result": true } diff --git a/test/data/validation/destinations/iterable.json b/test/data/validation/destinations/iterable.json index c1692ac1b..4271639dc 100644 --- a/test/data/validation/destinations/iterable.json +++ b/test/data/validation/destinations/iterable.json @@ -6,87 +6,30 @@ "trackAllPages": false, "trackCategorisedPages": true, "trackNamedPages": true, - "useNativeSDK": { - "web": true - }, - "initialisationIdentifier": { - "web": "email" - }, + "useNativeSDK": { "web": true }, + "initialisationIdentifier": { "web": "email" }, "getInAppEventMapping": { - "web": [ - { - "eventName": "sale notification" - }, - { - "eventName": "festival discount" - } - ] - }, - "purchaseEventMapping": { - "web": [ - { - "eventName": "Checkout Done" - } - ] - }, - "sendTrackForInapp": { - "web": true - }, - "animationDuration": { - "web": "200" - }, - "displayInterval": { - "web": "2500" - }, - "onOpenScreenReaderMessage": { - "web": "" - }, - "onOpenNodeToTakeFocus": { - "web": "" - }, - "packageName": { - "web": "my-package-test" - }, - "rightOffset": { - "web": "15" - }, - "topOffset": { - "web": "11" - }, - "bottomOffset": { - "web": "24%" - }, - "handleLinks": { - "web": "open-all-new-tab" - }, - "closeButtonColor": { - "web": "blue" - }, - "closeButtonSize": { - "web": "" - }, - "closeButtonColorTopOffset": { - "web": "3%" - }, - "closeButtonColorSideOffset": { - "web": "2%" - }, - "iconPath": { - "web": "" - }, - "isRequiredToDismissMessage": { - "web": true - }, - "closeButtonPosition": { - "web": "" - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "web": [{ "eventName": "sale notification" }, { "eventName": "festival discount" }] + }, + "purchaseEventMapping": { "web": [{ "eventName": "Checkout Done" }] }, + "sendTrackForInapp": { "web": true }, + "animationDuration": { "web": "200" }, + "displayInterval": { "web": "2500" }, + "onOpenScreenReaderMessage": { "web": "" }, + "onOpenNodeToTakeFocus": { "web": "" }, + "packageName": { "web": "my-package-test" }, + "rightOffset": { "web": "15" }, + "topOffset": { "web": "11" }, + "bottomOffset": { "web": "24%" }, + "handleLinks": { "web": "open-all-new-tab" }, + "closeButtonColor": { "web": "blue" }, + "closeButtonSize": { "web": "" }, + "closeButtonColorTopOffset": { "web": "3%" }, + "closeButtonColorSideOffset": { "web": "2%" }, + "iconPath": { "web": "" }, + "isRequiredToDismissMessage": { "web": true }, + "closeButtonPosition": { "web": "" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true } diff --git a/test/data/validation/destinations/klaviyo.json b/test/data/validation/destinations/klaviyo.json index 1cf748ac3..2e3adbaed 100644 --- a/test/data/validation/destinations/klaviyo.json +++ b/test/data/validation/destinations/klaviyo.json @@ -8,26 +8,10 @@ "sendPageAsTrack": true, "additionalPageInfo": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": [" must have required property 'publicApiKey'"] @@ -42,26 +26,10 @@ "sendPageAsTrack": true, "additionalPageInfo": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true } diff --git a/test/data/validation/destinations/mp.json b/test/data/validation/destinations/mp.json index d88f4be8a..aa946376e 100644 --- a/test/data/validation/destinations/mp.json +++ b/test/data/validation/destinations/mp.json @@ -13,51 +13,15 @@ "crossSubdomainCookie": true, "persistence": "cookie", "secureCookie": true, - "superProperties": [ - { - "property": "super001" - } - ], - "peopleProperties": [ - { - "property": "maidenName" - } - ], - "eventIncrements": [ - { - "property": "triggerName" - } - ], - "propIncrements": [ - { - "property": "extraProps" - } - ], - "groupKeySettings": [ - { - "groupKey": "gg101" - } - ], - "useNativeSDK": { - "android": false - }, - "blacklistedEvents": [ - { - "eventName": "black" - } - ], - "whitelistedEvents": [ - { - "eventName": "white" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "superProperties": [{ "property": "super001" }], + "peopleProperties": [{ "property": "maidenName" }], + "eventIncrements": [{ "property": "triggerName" }], + "propIncrements": [{ "property": "extraProps" }], + "groupKeySettings": [{ "groupKey": "gg101" }], + "useNativeSDK": { "android": false }, + "blacklistedEvents": [{ "eventName": "black" }], + "whitelistedEvents": [{ "eventName": "white" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": true }, @@ -65,11 +29,7 @@ "config": { "apiSecret": "8ac88f162ddfefd91156565c431611fb", "dataResidency": "us", - "groupKeySettings": [ - { - "groupKey": "admissions" - } - ] + "groupKeySettings": [{ "groupKey": "admissions" }] }, "result": false, "err": [" must have required property 'token'"] @@ -87,16 +47,8 @@ "persistence": "localStorage", "secureCookie": false, "eventFilteringOption": "disable", - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": true }, @@ -110,16 +62,8 @@ "persistence": "localStorage", "secureCookie": false, "eventFilteringOption": "disable", - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": true }, @@ -131,16 +75,12 @@ "setAllTraitsByDefault": false, "consolidatedPageCalls": false, "trackCategorizedPages": false, - "trackNamedPages": { - "name": true - }, + "trackNamedPages": { "name": true }, "crossSubdomainCookie": false, "persistence": "localStorage", "secureCookie": false, "eventFilteringOption": "disable", - "useNativeSDK": { - "web": false - } + "useNativeSDK": { "web": false } }, "result": false, "err": ["trackNamedPages must be boolean"] @@ -159,9 +99,7 @@ "persistence": "localStorage", "secureCookie": false, "eventFilteringOption": "disable", - "useNativeSDK": { - "web": false - } + "useNativeSDK": { "web": false } }, "result": false, "err": [ diff --git a/test/data/validation/destinations/rockerbox.json b/test/data/validation/destinations/rockerbox.json index ad7104661..6710a7c9e 100644 --- a/test/data/validation/destinations/rockerbox.json +++ b/test/data/validation/destinations/rockerbox.json @@ -3,88 +3,30 @@ "config": { "advertiserId": "test id", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "eventsMap": [ - { - "from": "Product Added", - "to": "conv.add_to_cart" - } - ], - "useNativeSDK": { - "web": true - }, - "useNativeSDKToSend": { - "web": true - }, - "clientAuthId": { - "web": "test-client-auth-id" - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing Sample" - } - ] - }, - "customDomain": { - "web": "" - }, - "enableCookieSync": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "eventsMap": [{ "from": "Product Added", "to": "conv.add_to_cart" }], + "useNativeSDK": { "web": true }, + "useNativeSDKToSend": { "web": true }, + "clientAuthId": { "web": "test-client-auth-id" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing Sample" }], + "customDomain": { "web": "" }, + "enableCookieSync": { "web": false } }, "result": true }, { "config": { "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "eventsMap": [ - { - "from": "Product Added", - "to": "conv.add_to_cart" - } - ], - "useNativeSDK": { - "web": true - }, - "useNativeSDKToSend": { - "web": true - }, - "clientAuthId": { - "web": "test-client-auth-id" - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing Sample" - } - ] - }, - "customDomain": { - "web": "" - }, - "enableCookieSync": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "eventsMap": [{ "from": "Product Added", "to": "conv.add_to_cart" }], + "useNativeSDK": { "web": true }, + "useNativeSDKToSend": { "web": true }, + "clientAuthId": { "web": "test-client-auth-id" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing Sample" }], + "customDomain": { "web": "" }, + "enableCookieSync": { "web": false } }, "result": false, "err": [" must have required property 'advertiserId'"] @@ -93,44 +35,15 @@ "config": { "advertiserId": "test id", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "eventsMap": [ - { - "from": "Product Added", - "to": "conv.add_to_cart" - } - ], - "useNativeSDK": { - "web": true - }, - "useNativeSDKToSend": { - "web": true - }, - "clientAuthId": { - "web": "test-client-auth-id" - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Marketing Sample" - } - ] - }, - "customDomain": { - "web": "https://cookiedomain.com" - }, - "enableCookieSync": { - "web": true - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "eventsMap": [{ "from": "Product Added", "to": "conv.add_to_cart" }], + "useNativeSDK": { "web": true }, + "useNativeSDKToSend": { "web": true }, + "clientAuthId": { "web": "test-client-auth-id" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing Sample" }], + "customDomain": { "web": "https://cookiedomain.com" }, + "enableCookieSync": { "web": true } }, "result": true } diff --git a/test/data/validation/destinations/sentry.json b/test/data/validation/destinations/sentry.json index 8f4941300..d4614d756 100644 --- a/test/data/validation/destinations/sentry.json +++ b/test/data/validation/destinations/sentry.json @@ -16,9 +16,7 @@ "whitelistedEvents": [{ "eventName": "" }], "blacklistedEvents": [{ "eventName": "" }], "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": { - "web": [{ "oneTrustCookieCategory": "Debugging" }] - } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Debugging" }] }, "result": true }, @@ -38,7 +36,7 @@ "useNativeSDK": { "web": true }, "blacklistedEvents": {}, "whitelistedEvents": {}, - "oneTrustCookieCategories": { "web": [{ "oneTrustCookieCategory": "" }] } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": ["whitelistedEvents must be array", "blacklistedEvents must be array"] @@ -59,7 +57,7 @@ "useNativeSDK": { "web": true }, "blackListedEvents": {}, "whiteListedEvents": {}, - "oneTrustCookieCategories": { "web": [{ "oneTrustCookieCategory": "" }] } + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": [" must NOT have additional properties", " must NOT have additional properties"] diff --git a/test/data/validation/destinations/vero.json b/test/data/validation/destinations/vero.json index d3d7758ff..41147699c 100644 --- a/test/data/validation/destinations/vero.json +++ b/test/data/validation/destinations/vero.json @@ -2,42 +2,17 @@ { "config": { "authToken": "MOx2ZmMwLNE2A2IdNKL0N2VhN2I3ZGY1MTVmMzA1ODk0YmIkNDZhNTojMTk3YTBlMTg1YmU1NWM0MDA2ZDVmZjY0ZGFiOTVkNDMyYTcwOWFk", - "apiKey": { - "web": "755fc11162r14c41ar7e7df232f305984bb021a1" - }, - "useNativeSDK": { - "web": false - }, + "apiKey": { "web": "755fc11162r14c41ar7e7df232f305984bb021a1" }, + "useNativeSDK": { "web": false }, "blacklistedEvents": { - "web": [ - { - "eventName": "Pin Generated" - }, - { - "eventName": "Pin Expired" - } - ] - }, - "whitelistedEvents": { - "web": [ - { - "eventName": "" - } - ] - }, - "eventFilteringOption": { - "web": "blacklistedEvents" - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "Sales" - }, - { - "oneTrustCookieCategory": "Marketing" - } - ] - } + "web": [{ "eventName": "Pin Generated" }, { "eventName": "Pin Expired" }] + }, + "whitelistedEvents": { "web": [{ "eventName": "" }] }, + "eventFilteringOption": { "web": "blacklistedEvents" }, + "oneTrustCookieCategories": [ + { "oneTrustCookieCategory": "Sales" }, + { "oneTrustCookieCategory": "Marketing" } + ] }, "result": false, "err": ["whitelistedEvents must be array", "blacklistedEvents must be array"] @@ -46,56 +21,22 @@ "config": { "authToken": "wbiwefbwiefbfkbfwekj", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "apiKey": { - "web": "bkajbdskasbdkbadasdsa" - }, - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "apiKey": { "web": "bkajbdskasbdkbadasdsa" }, + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true }, { "config": { "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], "apiKey": "djykdftkuf", - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - } + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": ["apiKey must be object"] diff --git a/test/data/validation/destinations/yandex_metrica.json b/test/data/validation/destinations/yandex_metrica.json index a80688d60..ba8b7ef72 100644 --- a/test/data/validation/destinations/yandex_metrica.json +++ b/test/data/validation/destinations/yandex_metrica.json @@ -7,34 +7,13 @@ "trackBounce": false, "webvisor": false, "containerName": "dataLayer", - "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - }, - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["tagId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -47,34 +26,13 @@ "trackBounce": false, "webvisor": false, "containerName": "dataLayer", - "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - }, - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["clickMap must be boolean"] @@ -87,34 +45,13 @@ "trackBounce": false, "webvisor": false, "containerName": "", - "eventNameToYandexEvent": [ - { - "from": true, - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": true, "to": "add" }], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - }, - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["eventNameToYandexEvent.0.from must be string"] @@ -127,34 +64,13 @@ "trackBounce": false, "webvisor": false, "containerName": false, - "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - }, - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["containerName must be string"] @@ -167,34 +83,13 @@ "trackBounce": false, "webvisor": false, "containerName": "dataLayer", - "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], "goalId": "43dfd443", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - }, - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["goalId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$\""] @@ -208,37 +103,15 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "purchase" - }, - { - "from": "Viewing Product", - "to": "detail" - } + { "from": "Order Done", "to": "purchase" }, + { "from": "Viewing Product", "to": "detail" } ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - }, - "useNativeSDK": { - "web": "false" - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": "false" } }, "result": false, "err": ["useNativeSDK.web must be boolean"] @@ -252,37 +125,15 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "purchase" - }, - { - "from": "Viewing Product", - "to": "detail" - } + { "from": "Order Done", "to": "purchase" }, + { "from": "Viewing Product", "to": "detail" } ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": 123 - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - }, - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": 123 }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["whitelistedEvents.0.eventName must be string"] @@ -296,37 +147,15 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "purchase" - }, - { - "from": "Viewing Product", - "to": "detail" - } + { "from": "Order Done", "to": "purchase" }, + { "from": "Viewing Product", "to": "detail" } ], "goalId": "4342432", "eventFilteringOption": true, - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - }, - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["eventFilteringOption must be string"] @@ -340,37 +169,15 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "purchase" - }, - { - "from": "Viewing Product", - "to": "detail" - } + { "from": "Order Done", "to": "purchase" }, + { "from": "Viewing Product", "to": "detail" } ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": { - "web": [ - { - "oneTrustCookieCategory": "" - } - ] - }, - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": true } From fc6d33c2d4b4b201fa9ef02fc54a75f9e695bad1 Mon Sep 17 00:00:00 2001 From: Aris Plakias Date: Thu, 23 Mar 2023 11:50:52 +0200 Subject: [PATCH 3/8] feat(snowflake): drop cloud provider from src ui-config (#449) --- .../sources/snowflake/ui-config.json | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/configurations/sources/snowflake/ui-config.json b/src/configurations/sources/snowflake/ui-config.json index a6fd3516c..6f8605b0f 100644 --- a/src/configurations/sources/snowflake/ui-config.json +++ b/src/configurations/sources/snowflake/ui-config.json @@ -67,30 +67,6 @@ "regex": ".*", "required": true, "secret": true - }, - { - "type": "singleSelect", - "label": "Choose your Cloud", - "value": "cloudProvider", - "options": [ - { - "name": "Amazon Web Services", - "value": "AWS" - }, - { - "name": "Google Cloud Platform", - "value": "GCP" - }, - { - "name": "Microsoft Azure", - "value": "AZURE" - } - ], - "defaultOption": { - "name": "Amazon Web Services", - "value": "AWS" - }, - "required": true } ] } From 43ea475aaff6918ed3617bb0dc66700d8aefbeec Mon Sep 17 00:00:00 2001 From: Alexandros Milaios Date: Mon, 27 Mar 2023 14:39:13 +0300 Subject: [PATCH 4/8] chore: update google analytics v4 to v6.0.0 (#457) --- .../sources/singer_google_analytics_v4/db-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configurations/sources/singer_google_analytics_v4/db-config.json b/src/configurations/sources/singer_google_analytics_v4/db-config.json index 62772d3bd..6a3a0c037 100644 --- a/src/configurations/sources/singer_google_analytics_v4/db-config.json +++ b/src/configurations/sources/singer_google_analytics_v4/db-config.json @@ -7,6 +7,6 @@ "oauthRole": "singer-google-analytics", "provider": "Google" }, - "image": "rudderstack/source-google-analytics-v4:v4.0.1" + "image": "rudderstack/source-google-analytics-data-api:v6.0.0" } } From 4d3270677399adb61fddb663947fe5e5cbc948ae Mon Sep 17 00:00:00 2001 From: Alexandros Milaios Date: Mon, 27 Mar 2023 16:40:18 +0300 Subject: [PATCH 5/8] chore: update zendesk support image version to v6.0.0 (#458) --- .../sources/singer_zendesk_support/db-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configurations/sources/singer_zendesk_support/db-config.json b/src/configurations/sources/singer_zendesk_support/db-config.json index 49a7bd6d5..4eef8ecce 100644 --- a/src/configurations/sources/singer_zendesk_support/db-config.json +++ b/src/configurations/sources/singer_zendesk_support/db-config.json @@ -3,6 +3,6 @@ "category": "singer-protocol", "displayName": "Zendesk Support", "options": { - "image": "rudderstack/source-zendesk-support:v1" + "image": "rudderstack/source-zendesk-support:v6.1.0" } } From 7b7b654f17dbd81861abad872c00baa38e326bbe Mon Sep 17 00:00:00 2001 From: Alexandros Milaios Date: Mon, 27 Mar 2023 17:10:07 +0300 Subject: [PATCH 6/8] chore: update source pipedrive image to v6.1.1 (#479) --- src/configurations/sources/singer_pipedrive/db-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configurations/sources/singer_pipedrive/db-config.json b/src/configurations/sources/singer_pipedrive/db-config.json index 751534171..8c499d3a1 100644 --- a/src/configurations/sources/singer_pipedrive/db-config.json +++ b/src/configurations/sources/singer_pipedrive/db-config.json @@ -4,7 +4,7 @@ "displayName": "Pipedrive", "options": { "isBeta": true, - "image": "rudderstack/source-pipedrive:v5.3.1", + "image": "rudderstack/source-pipedrive:v6.1.1", "hidden": false } } From 3dcc917730fb8c2a3d0e8c0fb31d993b23289b97 Mon Sep 17 00:00:00 2001 From: Mihir Bhalala <77438541+mihir-4116@users.noreply.github.com> Date: Tue, 28 Mar 2023 11:02:32 +0530 Subject: [PATCH 7/8] fix(optimizely_fullstack): filter identify events (#482) --- .../destinations/optimizely_fullstack/db-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configurations/destinations/optimizely_fullstack/db-config.json b/src/configurations/destinations/optimizely_fullstack/db-config.json index e12e63f50..19cde3802 100644 --- a/src/configurations/destinations/optimizely_fullstack/db-config.json +++ b/src/configurations/destinations/optimizely_fullstack/db-config.json @@ -31,7 +31,7 @@ "cordova", "warehouse" ], - "supportedMessageTypes": ["track", "page", "screen", "identify"], + "supportedMessageTypes": ["track", "page", "screen"], "destConfig": { "defaultConfig": [ "sdkKey", From 9d9f31c38fe23f0d3230b89f4022e0bcdf52c7da Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 28 Mar 2023 08:23:34 +0000 Subject: [PATCH 8/8] chore(release): 1.18.0 --- CHANGELOG.md | 418 ++++++++++++++++++++++++++++++++++++++++++++++ package-lock.json | 4 +- package.json | 2 +- 3 files changed, 421 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bcf2da386..bc652dc3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,424 @@ 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.18.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.17.1...1.18.0) (2023-03-28) + + +### Bug Fixes + +* **optimizely_fullstack:** filter identify events ([#482](https://github.com/rudderlabs/rudder-config-schema/issues/482)) ([3dcc917](https://github.com/rudderlabs/rudder-config-schema/commit/3dcc917730fb8c2a3d0e8c0fb31d993b23289b97)) + +## [1.17.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.16.0...1.17.0) (2023-03-23) + + +### Features + +* moved oneTrustCookieCategories field to defaultConfig ([#456](https://github.com/rudderlabs/rudder-config-schema/issues/456)) ([eccf357](https://github.com/rudderlabs/rudder-config-schema/commit/eccf35751916879255dd25848a34912b13298135)) +* moved oneTrustCookieCategories field to defaultConfig ([#456](https://github.com/rudderlabs/rudder-config-schema/issues/456)) ([f527af7](https://github.com/rudderlabs/rudder-config-schema/commit/f527af765254598c0670bed9e43509ff174271a7)) +* **snowflake:** drop cloud provider from src ui-config ([#449](https://github.com/rudderlabs/rudder-config-schema/issues/449)) ([fc6d33c](https://github.com/rudderlabs/rudder-config-schema/commit/fc6d33c2d4b4b201fa9ef02fc54a75f9e695bad1)) + + +### Bug Fixes + +* destination name revamp to latest standard ([#459](https://github.com/rudderlabs/rudder-config-schema/issues/459)) ([44b243b](https://github.com/rudderlabs/rudder-config-schema/commit/44b243b14cb8a9e2608f321845b5555297b4d4b1)) + +## [1.16.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.15.1...1.16.0) (2023-03-21) + + +### Features + +* **clevertap:** add support for indonesia and middle east regions ([#460](https://github.com/rudderlabs/rudder-config-schema/issues/460)) ([205ceb5](https://github.com/rudderlabs/rudder-config-schema/commit/205ceb5cfb94b67ee6eed59c4e731fa91f503b75)) +* remove beta tag from courier ([#465](https://github.com/rudderlabs/rudder-config-schema/issues/465)) ([114b164](https://github.com/rudderlabs/rudder-config-schema/commit/114b164612bebaa6c666fcb84ecfe95967044f36)) + +### [1.15.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.15.0...1.15.1) (2023-03-20) + +## [1.15.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.14.0...1.15.0) (2023-03-14) + + +### Features + +* default role based auth to true for all AWS dests using roleBaseAuth ([#447](https://github.com/rudderlabs/rudder-config-schema/issues/447)) ([f2925cc](https://github.com/rudderlabs/rudder-config-schema/commit/f2925cca2a590d9c22d1cdc51e055a9d0cc9dea2)) + + +### Bug Fixes + +* remove dest pipedrive by using hidden flag ([#453](https://github.com/rudderlabs/rudder-config-schema/issues/453)) ([bd8cb89](https://github.com/rudderlabs/rudder-config-schema/commit/bd8cb89820438685becb9f7cafbc3f5064b34b66)) + +## [1.14.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.13.1...1.14.0) (2023-03-13) + + +### Features + +* remove supportedMessageTypes for Firehose ([#450](https://github.com/rudderlabs/rudder-config-schema/issues/450)) ([623f897](https://github.com/rudderlabs/rudder-config-schema/commit/623f897fcb348465c520e61113b7e0dc37b5c547)) + +### [1.13.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.13.0...1.13.1) (2023-03-13) + + +### Features + +* enable moengage source ([#448](https://github.com/rudderlabs/rudder-config-schema/issues/448)) ([f8b2320](https://github.com/rudderlabs/rudder-config-schema/commit/f8b23206c75aca187de5c837766d9d0862e011f2)) +* ga4 new ui layout ([#389](https://github.com/rudderlabs/rudder-config-schema/issues/389)) ([c03ce2f](https://github.com/rudderlabs/rudder-config-schema/commit/c03ce2f6690ff90a442668ccc26ea328010aaf70)) +* mautic: support self hosted instance ([#424](https://github.com/rudderlabs/rudder-config-schema/issues/424)) ([afda253](https://github.com/rudderlabs/rudder-config-schema/commit/afda253d3d7fe73297caf10189e7a95e132f06f4)) +* moengage alias call ([#445](https://github.com/rudderlabs/rudder-config-schema/issues/445)) ([33e3965](https://github.com/rudderlabs/rudder-config-schema/commit/33e3965d63bc77a94c3a429860d5342003f6e113)) +* moving sfmc to router ([#443](https://github.com/rudderlabs/rudder-config-schema/issues/443)) ([ab0255d](https://github.com/rudderlabs/rudder-config-schema/commit/ab0255d5b1fc4d4b314f4814757e0a9cc84d9bcf)) + +## [1.13.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.12.0...1.13.0) (2023-03-09) + + +### Features + +* add missing schema and ui validations for top 40 destination ([#355](https://github.com/rudderlabs/rudder-config-schema/issues/355)) ([050f3da](https://github.com/rudderlabs/rudder-config-schema/commit/050f3daf577d9baa952ee93d5696e3c16358d17b)) +* **AM:** add supportedConnectionModes ([#438](https://github.com/rudderlabs/rudder-config-schema/issues/438)) ([09b119c](https://github.com/rudderlabs/rudder-config-schema/commit/09b119c1d70d9f87b696b36b0be5328471f2b53f)) + + +### Bug Fixes + +* missing consent settings for FB ([fdeca41](https://github.com/rudderlabs/rudder-config-schema/commit/fdeca4101aa79177d83bc831792e8f0362a4caf9)) +* missing consent settings schema for FB ([524a8b1](https://github.com/rudderlabs/rudder-config-schema/commit/524a8b1393c450d2cbbd4e46ef33016d78cb89c4)) +* missing schema testcase for FB ([5376a0f](https://github.com/rudderlabs/rudder-config-schema/commit/5376a0f387049361426e074e0d709a4f09ae0f50)) + +## [1.12.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.11.1...1.12.0) (2023-03-07) + + +### Features + +* introduced external_id flag ([#425](https://github.com/rudderlabs/rudder-config-schema/issues/425)) ([47b2ae3](https://github.com/rudderlabs/rudder-config-schema/commit/47b2ae3af21ebcf81305d5f03c85143a7605cfd7)) +* moved oneTrustCookieCategories to default config and made available for cloud mode ([#403](https://github.com/rudderlabs/rudder-config-schema/issues/403)) ([12c7ee8](https://github.com/rudderlabs/rudder-config-schema/commit/12c7ee82457ffda2c1d2299cf3ef2e235a941340)) + + +### Bug Fixes + +* fbPixel UI Config ([#435](https://github.com/rudderlabs/rudder-config-schema/issues/435)) ([79e4b3d](https://github.com/rudderlabs/rudder-config-schema/commit/79e4b3d348a98de50337ae3c626de3bcac6e2a3e)) +* reverting an unwanted change, adding connectionMode field back to uiConfig ([#433](https://github.com/rudderlabs/rudder-config-schema/issues/433)) ([a6a07f5](https://github.com/rudderlabs/rudder-config-schema/commit/a6a07f5da55f960f805ee21365d86e5e74f582c7)) +* singer-shopify image version ([#432](https://github.com/rudderlabs/rudder-config-schema/issues/432)) ([c715761](https://github.com/rudderlabs/rudder-config-schema/commit/c715761ebea1ca2d830a69c7e7c52e3f582c9773)) + +### [1.11.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.11.0...1.11.1) (2023-03-03) + + +### Features + +* add connection mode to AM ([#422](https://github.com/rudderlabs/rudder-config-schema/issues/422)) ([dabe652](https://github.com/rudderlabs/rudder-config-schema/commit/dabe65217c67b971ecb496d9340e3c4b190a4f3b)) + +## [1.11.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.10.0...1.11.0) (2023-03-02) + +## [1.10.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.9.0...1.10.0) (2023-02-28) + + +### Features + +* add beta to courier destination ([#409](https://github.com/rudderlabs/rudder-config-schema/issues/409)) ([93fe0ed](https://github.com/rudderlabs/rudder-config-schema/commit/93fe0edae50f1f71e15d8cb40ef55ce31dd246c2)) +* upgrade ga version to 5.1.0 ([#354](https://github.com/rudderlabs/rudder-config-schema/issues/354)) ([29c5d11](https://github.com/rudderlabs/rudder-config-schema/commit/29c5d11f6994657412b2a6a779d44f79a889a8f4)) + +## [1.9.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.8.2...1.9.0) (2023-02-27) + + +### Features + +* added roles for snoflake ([78f6e0d](https://github.com/rudderlabs/rudder-config-schema/commit/78f6e0d01df7ac544722e65dd548879615616ca3)) + +### [1.8.2](https://github.com/rudderlabs/rudder-config-schema/compare/1.8.1...1.8.2) (2023-02-27) + +### [1.8.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.8.0...1.8.1) (2023-02-27) + + +### Features + +* added customerio group call support ([#382](https://github.com/rudderlabs/rudder-config-schema/issues/382)) ([19cfdb5](https://github.com/rudderlabs/rudder-config-schema/commit/19cfdb51e13cb3d462517ae22478903ed01b1ff7)) +* added new destination vitally ([#406](https://github.com/rudderlabs/rudder-config-schema/issues/406)) ([7a11e32](https://github.com/rudderlabs/rudder-config-schema/commit/7a11e322308d09ac7616e9ec4d6863825fa17e7d)) +* onboard destination courier ([#379](https://github.com/rudderlabs/rudder-config-schema/issues/379)) ([22d124a](https://github.com/rudderlabs/rudder-config-schema/commit/22d124a2e1110cf96d7aefe73d50a6935def1560)) +* upgrade stripe version to 5.3.0 ([#399](https://github.com/rudderlabs/rudder-config-schema/issues/399)) ([659aae1](https://github.com/rudderlabs/rudder-config-schema/commit/659aae1cf17f68157ff317f12a84e7202df02f05)) + +## [1.8.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.7.2...1.8.0) (2023-02-21) + + +### Bug Fixes + +* use node 16 for test coverage ([#395](https://github.com/rudderlabs/rudder-config-schema/issues/395)) ([4f447e4](https://github.com/rudderlabs/rudder-config-schema/commit/4f447e4314da94f549a834fe424727919a3290d8)) + +### [1.7.2](https://github.com/rudderlabs/rudder-config-schema/compare/1.7.1...1.7.2) (2023-02-17) + +### [1.7.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.7.0...1.7.1) (2023-02-16) + + +### Features + +* **ga4:** add sent_to parameter ([#381](https://github.com/rudderlabs/rudder-config-schema/issues/381)) ([bb4fd20](https://github.com/rudderlabs/rudder-config-schema/commit/bb4fd20086f617bc9e270b556b1c60522d6c0afc)) + + +### Bug Fixes + +* destination transformation change from processor to router ([#347](https://github.com/rudderlabs/rudder-config-schema/issues/347)) ([3e0f05d](https://github.com/rudderlabs/rudder-config-schema/commit/3e0f05d5c7479b39a72f478aa607c098e3636c25)) + +## [1.7.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.6.5...1.7.0) (2023-02-14) + + +### Features + +* for amplitude moved oneTrustCookieCategory field to sdkTemplate ([#375](https://github.com/rudderlabs/rudder-config-schema/issues/375)) ([d02f82b](https://github.com/rudderlabs/rudder-config-schema/commit/d02f82b34090b459a7ced90e9db0afda1eac8755)) +* for amplitude, moved oneTrustCookieCategory field to sdkTemplate in uiConfig ([b5820aa](https://github.com/rudderlabs/rudder-config-schema/commit/b5820aaaa10ffd146ea097264bac4759c04e7732)) + +### [1.6.5](https://github.com/rudderlabs/rudder-config-schema/compare/1.6.4...1.6.5) (2023-02-13) + +### [1.6.4](https://github.com/rudderlabs/rudder-config-schema/compare/1.6.3...1.6.4) (2023-02-10) + + +### Features + +* adds singer shopify ([98d1057](https://github.com/rudderlabs/rudder-config-schema/commit/98d1057e50c0793ffd23ed7317b98ec14ef13621)) +* updates mixpanel image ([d86d0c2](https://github.com/rudderlabs/rudder-config-schema/commit/d86d0c2bccc5644a0f44aab81165f6b76b7aee39)) + +### [1.6.3](https://github.com/rudderlabs/rudder-config-schema/compare/1.6.2...1.6.3) (2023-02-07) + +### [1.6.2](https://github.com/rudderlabs/rudder-config-schema/compare/1.6.1...1.6.2) (2023-02-07) + + +### Features + +* added support for both click event and dynamic remarketing events ([#309](https://github.com/rudderlabs/rudder-config-schema/issues/309)) ([2d8a2b4](https://github.com/rudderlabs/rudder-config-schema/commit/2d8a2b420fa97d76565190ebb37b7b462c9de0af)) + + +### Bug Fixes + +* **facebook_pixel:** validation inconsistency in ui and schema ([#356](https://github.com/rudderlabs/rudder-config-schema/issues/356)) ([9b4e48d](https://github.com/rudderlabs/rudder-config-schema/commit/9b4e48d2c49aae203b11fef35099b6a2998ce51b)) +* update googleAds config ([#364](https://github.com/rudderlabs/rudder-config-schema/issues/364)) ([e2abc96](https://github.com/rudderlabs/rudder-config-schema/commit/e2abc9609bd884bf6934cf12f6eade9c204cfe73)) + +### [1.6.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.6.0...1.6.1) (2023-02-03) + + +### Features + +* onboarding Lemnisk device mode ([#326](https://github.com/rudderlabs/rudder-config-schema/issues/326)) ([e64f957](https://github.com/rudderlabs/rudder-config-schema/commit/e64f957d9fd5d4b8d4d7ea75c9be44f172b83f6e)) + +## [1.6.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.5.0...1.6.0) (2023-02-02) + + +### Features + +* add time window layout to s3 datalake glue ([#348](https://github.com/rudderlabs/rudder-config-schema/issues/348)) ([784bd3f](https://github.com/rudderlabs/rudder-config-schema/commit/784bd3fca1f50899430c544608cee4234cf858e9)) +* added catalog for databricks ([#253](https://github.com/rudderlabs/rudder-config-schema/issues/253)) ([#338](https://github.com/rudderlabs/rudder-config-schema/issues/338)) ([56e9bf8](https://github.com/rudderlabs/rudder-config-schema/commit/56e9bf8c5fa76200c0611833673b648d0109fc5c)) +* added OneTrust consent support for mobile device modes ([19454ee](https://github.com/rudderlabs/rudder-config-schema/commit/19454ee8b72a8e0d6f7348fbc02ae860323623a4)) +* added use rudder storage option to deltalake ([#349](https://github.com/rudderlabs/rudder-config-schema/issues/349)) ([3ad3317](https://github.com/rudderlabs/rudder-config-schema/commit/3ad3317b17e0a5f2b8074c35c3863507d1a6cdd4)) +* **CDK v2:** enabling CDK v2 comparison for webhook ([#341](https://github.com/rudderlabs/rudder-config-schema/issues/341)) ([33e59c5](https://github.com/rudderlabs/rudder-config-schema/commit/33e59c5c43334f567689de70e971081df093f661)) +* **destination:** onboard criteo audience integration ([#320](https://github.com/rudderlabs/rudder-config-schema/issues/320)) ([fd6fbb6](https://github.com/rudderlabs/rudder-config-schema/commit/fd6fbb61ead9b7a576a9f32326336a302f35a0da)) +* **integration:** rockerbox- revert adding support for custom properties ([#345](https://github.com/rudderlabs/rudder-config-schema/issues/345)) ([2de567a](https://github.com/rudderlabs/rudder-config-schema/commit/2de567a37943f1d95621f35b6d58a93f49b99f75)) +* **mailchimp:** add support for track call ([#327](https://github.com/rudderlabs/rudder-config-schema/issues/327)) ([16ce89a](https://github.com/rudderlabs/rudder-config-schema/commit/16ce89afa5a6faa76f3877365b524cf46ae1d3e9)) +* **optimizely:** add fullstack cloude mode support ([#317](https://github.com/rudderlabs/rudder-config-schema/issues/317)) ([cda7dd5](https://github.com/rudderlabs/rudder-config-schema/commit/cda7dd594cdc4dafc0f3e77b43faa18686347fd0)) + + +### Bug Fixes + +* add supportedMessageTypes in GAEC ([#339](https://github.com/rudderlabs/rudder-config-schema/issues/339)) ([8a93e92](https://github.com/rudderlabs/rudder-config-schema/commit/8a93e92276e70268f5e49c0de94cc9553b24ee56)) +* add tag option to standard-version command ([fc8264b](https://github.com/rudderlabs/rudder-config-schema/commit/fc8264b543005a6a6ed6e4077d8125a7b9f60480)) +* adobe_analytics schema regex ([#325](https://github.com/rudderlabs/rudder-config-schema/issues/325)) ([9751dba](https://github.com/rudderlabs/rudder-config-schema/commit/9751dba7c141e8507edcb452a4da03d13b4b6351)) +* default blockPageViewEvent enabled to prevent duplicate page calls ([#340](https://github.com/rudderlabs/rudder-config-schema/issues/340)) ([24f8fcf](https://github.com/rudderlabs/rudder-config-schema/commit/24f8fcfec22cf06849bfed76f08584024c109489)) +* optimizely fullstack schema ([#344](https://github.com/rudderlabs/rudder-config-schema/issues/344)) ([e42af44](https://github.com/rudderlabs/rudder-config-schema/commit/e42af44f05ed72c51c590839b635b18e7808e2df)) + +## [1.5.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.4.1...1.5.0) (2023-01-25) + + +### Features + +* **integration:** rockerbox- add support for custom properties ([#315](https://github.com/rudderlabs/rudder-config-schema/issues/315)) ([a06c9d5](https://github.com/rudderlabs/rudder-config-schema/commit/a06c9d539b9aebef04e85f05515366707c54762a)) + + +### Bug Fixes + +* **changelog:** fixing changelog for release 1.4.0, 1.3.7 and 1.3.4 ([#333](https://github.com/rudderlabs/rudder-config-schema/issues/333)) ([b2d5604](https://github.com/rudderlabs/rudder-config-schema/commit/b2d5604abe825c81acab638464b9de224c08a3fb)) + +### [1.4.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.4.0...1.4.1) (2023-01-24) + + +### Bug Fixes + +* move mp,zendesk,sfmc to processor ([7433e22](https://github.com/rudderlabs/rudder-config-schema/commit/7433e229c1426a7cd5d0aefc2fd94442170b9e45)) + +## [1.4.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.3.7...1.4.0) (2023-01-24) + + +### Features + +* **destination:** onboard lemnisk integration ([#306](https://github.com/rudderlabs/rudder-config-schema/issues/306)) ([392a9d1](https://github.com/rudderlabs/rudder-config-schema/commit/392a9d1ae1be9f4046c4eeea0f49b1b9166a5fcd)) +* ga4 hybrid mode support ([#316](https://github.com/rudderlabs/rudder-config-schema/issues/316)) ([724e865](https://github.com/rudderlabs/rudder-config-schema/commit/724e86516a8b5d86aefeb3db6da0e54ac1ebc569)) +* updated the ui-config of amplitude to version2 ([#318](https://github.com/rudderlabs/rudder-config-schema/issues/318)) ([caa8bf8](https://github.com/rudderlabs/rudder-config-schema/commit/caa8bf8108fe213c6162eb800a2b17e549330925)) + + +### Bug Fixes + +* disables skills resource in freshdesk ([f2c7343](https://github.com/rudderlabs/rudder-config-schema/commit/f2c7343bb7c411685c92609d67bffdfd59bc3b64)) + +### [1.3.7](https://github.com/rudderlabs/rudder-config-schema/compare/1.3.6...1.3.7) (2023-01-18) + + +### Features + +* add axeptio into prod ([#302](https://github.com/rudderlabs/rudder-config-schema/issues/302)) ([231db08](https://github.com/rudderlabs/rudder-config-schema/commit/231db0873b9bd948521d69fa7cc25efdd621a394)) +* add microsoft clarity to prod ([#275](https://github.com/rudderlabs/rudder-config-schema/issues/275)) ([9327566](https://github.com/rudderlabs/rudder-config-schema/commit/9327566284652fb48c98da3ca31776661df03e66)) +* added catalog for databricks ([#253](https://github.com/rudderlabs/rudder-config-schema/issues/253)) ([#308](https://github.com/rudderlabs/rudder-config-schema/issues/308)) ([4446798](https://github.com/rudderlabs/rudder-config-schema/commit/4446798083cff92760b5dac7ee6b7d2a9939e0c9)) +* update footernote in bigquerystream ([#271](https://github.com/rudderlabs/rudder-config-schema/issues/271)) ([4aeaa42](https://github.com/rudderlabs/rudder-config-schema/commit/4aeaa42240d237e784bb8ea397ad69a003573dc4)) + + +### Bug Fixes + +* bing ads updated image ([#292](https://github.com/rudderlabs/rudder-config-schema/issues/292)) ([e3891c1](https://github.com/rudderlabs/rudder-config-schema/commit/e3891c1a8ca2567a95e398d1dfbceefa6013edc5)) + +### [1.3.6](https://github.com/rudderlabs/rudder-config-schema/compare/1.3.5...1.3.6) (2023-01-13) + + +### Bug Fixes + +* reenable ga4 page call support for cloud mode ([#299](https://github.com/rudderlabs/rudder-config-schema/issues/299)) ([8bf3643](https://github.com/rudderlabs/rudder-config-schema/commit/8bf3643c4edd268a562f67f79f4a0b3ea22248d1)) + +### [1.3.5](https://github.com/rudderlabs/rudder-config-schema/compare/1.3.4...1.3.5) (2023-01-13) + + +### Bug Fixes + +* enanble pro and enterpise for cdkv2 comparison test ([#293](https://github.com/rudderlabs/rudder-config-schema/issues/293)) ([a6593dc](https://github.com/rudderlabs/rudder-config-schema/commit/a6593dcac8f96d2ad925121095ce307a3daabe5a)) + +### [1.3.4](https://github.com/rudderlabs/rudder-config-schema/compare/1.3.3...1.3.4) (2023-01-13) + +### [1.3.3](https://github.com/rudderlabs/rudder-config-schema/compare/1.3.2...1.3.3) (2023-01-13) + + +### Bug Fixes + +* enable cdkv2 for algolia and pinterest ([630644e](https://github.com/rudderlabs/rudder-config-schema/commit/630644e5466d5d624e76f52dd37d1524e71ef499)) +* revert a specific commit from [#253](https://github.com/rudderlabs/rudder-config-schema/issues/253) ([#284](https://github.com/rudderlabs/rudder-config-schema/issues/284)) ([856c9b9](https://github.com/rudderlabs/rudder-config-schema/commit/856c9b91c3f33bef5ca8c46b1d0b751629574b8f)) + +### [1.3.2](https://github.com/rudderlabs/rudder-config-schema/compare/1.3.1...1.3.2) (2023-01-12) + + +### Bug Fixes + +* hotfix intercom image update ([#280](https://github.com/rudderlabs/rudder-config-schema/issues/280)) ([0aeef10](https://github.com/rudderlabs/rudder-config-schema/commit/0aeef10eed47b0715fd878c2753c0c298ab794b3)) + +### [1.3.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.3.0...1.3.1) (2023-01-12) + + +### Bug Fixes + +* destination transformation change from processor to router ([#246](https://github.com/rudderlabs/rudder-config-schema/issues/246)) ([2c3b461](https://github.com/rudderlabs/rudder-config-schema/commit/2c3b46186db5e5d286c293a1af644a98f82d2123)) + +## [1.3.0](https://github.com/rudderlabs/rudder-config-schema/compare/a615d2b76ce7cf7cebb5c1241806b5de3de2f857...1.3.0) (2023-01-12) + + +### Features + +* add config for enabling iam role for streaming destinations ([#121](https://github.com/rudderlabs/rudder-config-schema/issues/121)) ([0ec3a1e](https://github.com/rudderlabs/rudder-config-schema/commit/0ec3a1e79a9c8ed49f45f3f2f60d5783691cf086)) +* add validations and made it a node repo ([a615d2b](https://github.com/rudderlabs/rudder-config-schema/commit/a615d2b76ce7cf7cebb5c1241806b5de3de2f857)) +* added block pageview toggle ([#264](https://github.com/rudderlabs/rudder-config-schema/issues/264)) ([2f4f48c](https://github.com/rudderlabs/rudder-config-schema/commit/2f4f48c64c6135e1a4abdc693ab78d6cbb12b7c4)) +* added Braze dedup support for mobile SDKs ([#242](https://github.com/rudderlabs/rudder-config-schema/issues/242)) ([1912792](https://github.com/rudderlabs/rudder-config-schema/commit/1912792a39dd869ee329d38c0cc938b95d508971)) +* added IAM role based configurations for warehouse destinations ([#198](https://github.com/rudderlabs/rudder-config-schema/issues/198)) ([19220d2](https://github.com/rudderlabs/rudder-config-schema/commit/19220d251434821f29712a89f1f7b5800e09f06f)) +* added profileId in dest config campaign manager ([#130](https://github.com/rudderlabs/rudder-config-schema/issues/130)) ([f9e641e](https://github.com/rudderlabs/rudder-config-schema/commit/f9e641e7597c3138ab72f39a088ca1f5aee03007)) +* added role parameter to snowflake RETL ([f10bb88](https://github.com/rudderlabs/rudder-config-schema/commit/f10bb8882abcce10a1c26a0f9b5a9bbf1d836b91)) +* added singer-freshdesk ([8958966](https://github.com/rudderlabs/rudder-config-schema/commit/89589660fdd3824f655133442e4a9978929d1dc6)) +* added singer-freshdesk ([a2fbad6](https://github.com/rudderlabs/rudder-config-schema/commit/a2fbad63a7ab5ba7760eb18738bbc08985133c6b)) +* **algolia:** configure cdk v2 threshold ([#70](https://github.com/rudderlabs/rudder-config-schema/issues/70)) ([b964439](https://github.com/rudderlabs/rudder-config-schema/commit/b964439db84bbd6008245ecd15518df030df0e3c)) +* allow usage of OneTrust category ids or names ([#237](https://github.com/rudderlabs/rudder-config-schema/issues/237)) ([4892d4e](https://github.com/rudderlabs/rudder-config-schema/commit/4892d4eee308b8fdb8bad8bb062b01f37b1ad8b9)) +* **braze:** braze logs feat ([#251](https://github.com/rudderlabs/rudder-config-schema/issues/251)) ([5758d23](https://github.com/rudderlabs/rudder-config-schema/commit/5758d2343fd2abe0eb1c63fdfe633c495ff5b51d)) +* **braze:** braze logs feat ([#254](https://github.com/rudderlabs/rudder-config-schema/issues/254)) ([7e8cc34](https://github.com/rudderlabs/rudder-config-schema/commit/7e8cc349640e835d05e9eb383fd4e95c13e1d7e0)) +* **braze:** braze logs flag ([#252](https://github.com/rudderlabs/rudder-config-schema/issues/252)) ([c2f8017](https://github.com/rudderlabs/rudder-config-schema/commit/c2f80170113a9f91d9789903fdee7ed7335068b5)) +* **braze:** make logs visibility configurable braze ([#240](https://github.com/rudderlabs/rudder-config-schema/issues/240)) ([c052a6d](https://github.com/rudderlabs/rudder-config-schema/commit/c052a6d885eb8f773596900fcbf43b61c270271b)) +* **dcm floodlight:** add iframe support ([#61](https://github.com/rudderlabs/rudder-config-schema/issues/61)) ([e1804c0](https://github.com/rudderlabs/rudder-config-schema/commit/e1804c0dcc28fbf1a6db4a37cb8e17a627bb37fa)) +* **dcm floodlight:** add iframe support ([#80](https://github.com/rudderlabs/rudder-config-schema/issues/80)) ([559fbaa](https://github.com/rudderlabs/rudder-config-schema/commit/559fbaaa273c080bf227bbb1333cdaa524255b53)) +* deploying singer freshdesk ([7aac54c](https://github.com/rudderlabs/rudder-config-schema/commit/7aac54caf4f5def3f9be4e477cffaf0359070407)) +* **destination:** onboard awin integration ([#140](https://github.com/rudderlabs/rudder-config-schema/issues/140)) ([a58f507](https://github.com/rudderlabs/rudder-config-schema/commit/a58f507ab51ae812ac0a9751594c6c2ad40ddeec)) +* **destination:** onboard discord ([#227](https://github.com/rudderlabs/rudder-config-schema/issues/227)) ([7407f26](https://github.com/rudderlabs/rudder-config-schema/commit/7407f264da59e1a45ad1a53eac83637bc9b0b68b)) +* **destination:** onboard persistIq ([#164](https://github.com/rudderlabs/rudder-config-schema/issues/164)) ([0619326](https://github.com/rudderlabs/rudder-config-schema/commit/06193265ed48e91aed2996431e57c14071426902)) +* **destination:** onboard pipedream ([#223](https://github.com/rudderlabs/rudder-config-schema/issues/223)) ([46e612c](https://github.com/rudderlabs/rudder-config-schema/commit/46e612c4ee5fe4d3f4ff34c7789f8ea840e9d462)) +* **destination:** onboard pipedream as event stream source ([#208](https://github.com/rudderlabs/rudder-config-schema/issues/208)) ([c044f40](https://github.com/rudderlabs/rudder-config-schema/commit/c044f40de05484ee532f9ee76630988a97712724)) +* **destination:** onboard satismeter destination and source ([#156](https://github.com/rudderlabs/rudder-config-schema/issues/156)) ([c90d9e7](https://github.com/rudderlabs/rudder-config-schema/commit/c90d9e7e803b05a68f92fff9b584301e79e253c9)) +* **destinations:** support for dedup key in Braze ([#120](https://github.com/rudderlabs/rudder-config-schema/issues/120)) ([b4d058f](https://github.com/rudderlabs/rudder-config-schema/commit/b4d058f74412f68a119b39b2019712c2ce2b1b3c)) +* **destination:** support custom mapping with client_id for ga4 destination ([#104](https://github.com/rudderlabs/rudder-config-schema/issues/104)) ([9cc40a0](https://github.com/rudderlabs/rudder-config-schema/commit/9cc40a0d42718cadd7ae37b976cc90068323d3f6)) +* enable delete support for ga ([#102](https://github.com/rudderlabs/rudder-config-schema/issues/102)) ([a1842d2](https://github.com/rudderlabs/rudder-config-schema/commit/a1842d2a7ed6ffed6f4923e27a0276d01c349447)) +* ga4 config schema changes ([#247](https://github.com/rudderlabs/rudder-config-schema/issues/247)) ([2a962e7](https://github.com/rudderlabs/rudder-config-schema/commit/2a962e792a47957d39b4f627427e384f8853dc43)) +* ga4 hybrid mode support ([#119](https://github.com/rudderlabs/rudder-config-schema/issues/119)) ([4f5efaf](https://github.com/rudderlabs/rudder-config-schema/commit/4f5efaf5f9a0a9223f801c85a32e657f00c01177)) +* ga4 hybrid mode support ([#196](https://github.com/rudderlabs/rudder-config-schema/issues/196)) ([7ca38f3](https://github.com/rudderlabs/rudder-config-schema/commit/7ca38f3de8f8d0d055557d4e2cac3429c8db2076)) +* ga4 hybrid mode support ([#214](https://github.com/rudderlabs/rudder-config-schema/issues/214)) ([7ecbaa5](https://github.com/rudderlabs/rudder-config-schema/commit/7ecbaa57a7beb80ac98f0717ac87e78e3e780f7b)) +* google analytics v4 release ([#202](https://github.com/rudderlabs/rudder-config-schema/issues/202)) ([0315e65](https://github.com/rudderlabs/rudder-config-schema/commit/0315e6507e569c4a5ffcc72f1e81bac5766adbcc)) +* hide moengage source from prod ([#255](https://github.com/rudderlabs/rudder-config-schema/issues/255)) ([7387bca](https://github.com/rudderlabs/rudder-config-schema/commit/7387bca688d8e80101ddc7ce503eebfbce675b68)) +* hotfix 1.0.9 ([#100](https://github.com/rudderlabs/rudder-config-schema/issues/100)) ([fc850e3](https://github.com/rudderlabs/rudder-config-schema/commit/fc850e39d67e135946260c73ec7bfc7eecb0f1ed)), closes [#89](https://github.com/rudderlabs/rudder-config-schema/issues/89) +* hotfix 1.1.1 ([#124](https://github.com/rudderlabs/rudder-config-schema/issues/124)) ([3273a16](https://github.com/rudderlabs/rudder-config-schema/commit/3273a16a125d4f2ed5b743e6eddfb4ce25daddde)), closes [#123](https://github.com/rudderlabs/rudder-config-schema/issues/123) +* impact radius - onbaord impact radius ([#225](https://github.com/rudderlabs/rudder-config-schema/issues/225)) ([72dfb30](https://github.com/rudderlabs/rudder-config-schema/commit/72dfb30e5ff90ab3cb51530e6cfed359806c1c7c)) +* **integration:** Adobe Analytics - add schema validations ([#142](https://github.com/rudderlabs/rudder-config-schema/issues/142)) ([2a3b221](https://github.com/rudderlabs/rudder-config-schema/commit/2a3b22132c1e53c380f18356caf3f8128f47bfa8)) +* **integration:** Adobe Analytics - fix schema validations ([#144](https://github.com/rudderlabs/rudder-config-schema/issues/144)) ([5f5135c](https://github.com/rudderlabs/rudder-config-schema/commit/5f5135cf6117636a71b7b8b32bab5a005d5b9d34)) +* **integration:** adobe_analytics-remove supportedsourcevalidation ([#190](https://github.com/rudderlabs/rudder-config-schema/issues/190)) ([9cc2e42](https://github.com/rudderlabs/rudder-config-schema/commit/9cc2e42172b298e55d055c84e3ca0ebeba488243)) +* **integration:** Iterable - useNativeSDK set to checkbox ([efac387](https://github.com/rudderlabs/rudder-config-schema/commit/efac3877ee4b6727a75125c584c13d92d7f644fa)) +* **integration:** Marketo UI label updates ([#105](https://github.com/rudderlabs/rudder-config-schema/issues/105)) ([ae462f4](https://github.com/rudderlabs/rudder-config-schema/commit/ae462f484cc14805dcce7289d90a95ba51f9588e)) +* **integrations:** update primary email for zendesk ([#151](https://github.com/rudderlabs/rudder-config-schema/issues/151)) ([d19913d](https://github.com/rudderlabs/rudder-config-schema/commit/d19913dff3530b8d106a83f18010bc92af705d96)) +* **Integration:** support for track call ([#29](https://github.com/rudderlabs/rudder-config-schema/issues/29)) ([f703e6d](https://github.com/rudderlabs/rudder-config-schema/commit/f703e6dc66813bf86117cde8649e058f38dc47df)) +* **mailjet:** onboarding mailjet destination ([#31](https://github.com/rudderlabs/rudder-config-schema/issues/31)) ([f718663](https://github.com/rudderlabs/rudder-config-schema/commit/f7186635062ea8e4be5bd60435e5298898788ccc)) +* **new integration:** iterable-web-device-mode ([#28](https://github.com/rudderlabs/rudder-config-schema/issues/28)) ([8b4e57e](https://github.com/rudderlabs/rudder-config-schema/commit/8b4e57ee1e5fdac733e72c7a4ac7112b2e0fd7f2)) +* **new integration:** onboard TikTok_Ads_Offline_Events destination ([#241](https://github.com/rudderlabs/rudder-config-schema/issues/241)) ([ef329cc](https://github.com/rudderlabs/rudder-config-schema/commit/ef329cc2195cd77552bc138b5f480757704c4782)) +* **new integration:** onboarding qualaroo device mode destination ([#78](https://github.com/rudderlabs/rudder-config-schema/issues/78)) ([d7add66](https://github.com/rudderlabs/rudder-config-schema/commit/d7add6636ad8c878decc2549a73599d51bfb3bf1)) +* **new integration:** onboarding sendinblue destination ([#181](https://github.com/rudderlabs/rudder-config-schema/issues/181)) ([474c722](https://github.com/rudderlabs/rudder-config-schema/commit/474c72200203eb897fb9b535244e2e50e0870711)) +* onboard moengage source ([#224](https://github.com/rudderlabs/rudder-config-schema/issues/224)) ([a5f1944](https://github.com/rudderlabs/rudder-config-schema/commit/a5f194409a05a7ada90d5c5dd37596954ee71df8)) +* onboard olark source ([#166](https://github.com/rudderlabs/rudder-config-schema/issues/166)) ([9f6c31d](https://github.com/rudderlabs/rudder-config-schema/commit/9f6c31d55c3ed3f4b20a700c109fd21317fca6ad)) +* onboard olark web device mode ([#179](https://github.com/rudderlabs/rudder-config-schema/issues/179)) ([f134c88](https://github.com/rudderlabs/rudder-config-schema/commit/f134c88be25c505b16d9232eb73f99e19bfaca79)) +* onboard pagerduty destination ([#231](https://github.com/rudderlabs/rudder-config-schema/issues/231)) ([af545d1](https://github.com/rudderlabs/rudder-config-schema/commit/af545d1eb181c5d17a981af1d1c91775bf9707c7)) +* onboard pagerduty source ([#220](https://github.com/rudderlabs/rudder-config-schema/issues/220)) ([cfdacbd](https://github.com/rudderlabs/rudder-config-schema/commit/cfdacbd988ca64048fdabf6d9521c19cad7ead86)) +* onboarding marketo static list destination ([#103](https://github.com/rudderlabs/rudder-config-schema/issues/103)) ([be6c0ab](https://github.com/rudderlabs/rudder-config-schema/commit/be6c0ab558fca8af6670f675b4ac0e7442c8de92)) +* onboarding microsoft clarity ([#132](https://github.com/rudderlabs/rudder-config-schema/issues/132)) ([614f3a3](https://github.com/rudderlabs/rudder-config-schema/commit/614f3a33fefb4ce1f1fb93c1b7a118e583c330b9)) +* onboarding multi topic support configs for kafka destination ([#115](https://github.com/rudderlabs/rudder-config-schema/issues/115)) ([2a32d02](https://github.com/rudderlabs/rudder-config-schema/commit/2a32d02b8e603c714edf845188ed8d800892e298)) +* **Podsights:** onboarding new destination ([#63](https://github.com/rudderlabs/rudder-config-schema/issues/63)) ([1f13d94](https://github.com/rudderlabs/rudder-config-schema/commit/1f13d94e004d442f40547dd2104b6f54acc2792e)) +* release v1.0.2 ([a3605a4](https://github.com/rudderlabs/rudder-config-schema/commit/a3605a4f377cbc6a6b32c06cf53fd60026e82cbf)) +* release version1.0.3 ([8b71983](https://github.com/rudderlabs/rudder-config-schema/commit/8b71983bb9e91571e50b2bd92dec3f830d676474)) +* release version1.0.4 ([c783ee6](https://github.com/rudderlabs/rudder-config-schema/commit/c783ee6f9978356b9b194c5d3fa6b727bb31bf1c)) +* removed preRequisiteField for supportDedup property in Braze's ui_config.json ([#244](https://github.com/rudderlabs/rudder-config-schema/issues/244)) ([3a8f28a](https://github.com/rudderlabs/rudder-config-schema/commit/3a8f28aa118cd3466cbdebac9a8410eb142b2bcb)) +* revert ga4 hybrid mode ([#261](https://github.com/rudderlabs/rudder-config-schema/issues/261)) ([e332c9b](https://github.com/rudderlabs/rudder-config-schema/commit/e332c9b791301fb9322e71a3bcd7d316449e8972)) +* **s3-source:** added configuration for validation and cross account roles ([#162](https://github.com/rudderlabs/rudder-config-schema/issues/162)) ([0214723](https://github.com/rudderlabs/rudder-config-schema/commit/02147232546647b20ece0c5cf542222cbe3c9f80)) +* sendgrid idetify and user deletion support ([#112](https://github.com/rudderlabs/rudder-config-schema/issues/112)) ([78d2f0d](https://github.com/rudderlabs/rudder-config-schema/commit/78d2f0d0cc1b84098341eb7938a3ae0566e67855)) +* sendgrid idetify and user deletion support ([#127](https://github.com/rudderlabs/rudder-config-schema/issues/127)) ([ffb10c1](https://github.com/rudderlabs/rudder-config-schema/commit/ffb10c148bebe347822cc9948d0a26fe65ea6db4)) +* subscription support in braze ([#175](https://github.com/rudderlabs/rudder-config-schema/issues/175)) ([b744a3c](https://github.com/rudderlabs/rudder-config-schema/commit/b744a3ce71d446195ebbd72f53ba3ba4d34248b2)) +* support nested array ops braze ([#215](https://github.com/rudderlabs/rudder-config-schema/issues/215)) ([b7d592d](https://github.com/rudderlabs/rudder-config-schema/commit/b7d592d5f34455cdc22b957b45eaf53e98d0fb0f)) +* update config for bing ads source release ([#217](https://github.com/rudderlabs/rudder-config-schema/issues/217)) ([d0884fa](https://github.com/rudderlabs/rudder-config-schema/commit/d0884fad309fdaf43a62dc7df06e3abaf7f9a4b5)) +* update footernote in bigquery ([#189](https://github.com/rudderlabs/rudder-config-schema/issues/189)) ([b0af34c](https://github.com/rudderlabs/rudder-config-schema/commit/b0af34cbfa71ae0cac30406d9e6100e391ec0bd1)) + + +### Bug Fixes + +* add coming soon and remove from audience ([#139](https://github.com/rudderlabs/rudder-config-schema/issues/139)) ([d9d9a26](https://github.com/rudderlabs/rudder-config-schema/commit/d9d9a2632dd858bd1507c452613ce0d14a400842)) +* add coming soon and remove from audience ([#143](https://github.com/rudderlabs/rudder-config-schema/issues/143)) ([638a957](https://github.com/rudderlabs/rudder-config-schema/commit/638a957f1d73f4a6862c3544857dd59914973663)) +* add TestCase and update config for Podsights ([#92](https://github.com/rudderlabs/rudder-config-schema/issues/92)) ([4375261](https://github.com/rudderlabs/rudder-config-schema/commit/43752611be9ed2080085cffeb70e81eb91e71ab7)) +* added onetrustCookieCategories in destinations schema ([#163](https://github.com/rudderlabs/rudder-config-schema/issues/163)) ([29daf01](https://github.com/rudderlabs/rudder-config-schema/commit/29daf014be7d8a7a04cce5b3858b10500a23ca63)) +* braze update supportDedup key and footernote ([#176](https://github.com/rudderlabs/rudder-config-schema/issues/176)) ([95421be](https://github.com/rudderlabs/rudder-config-schema/commit/95421bef953df2f9262fb4e0380ec22656d3c757)) +* content_type is customised for facebook offline conversions ([#57](https://github.com/rudderlabs/rudder-config-schema/issues/57)) ([b37c7e2](https://github.com/rudderlabs/rudder-config-schema/commit/b37c7e2c1e88f6d16b8a2dbd7b469e3dc910b44a)) +* facebook_offline_conversions access token length issue ([#133](https://github.com/rudderlabs/rudder-config-schema/issues/133)) ([b9cc76e](https://github.com/rudderlabs/rudder-config-schema/commit/b9cc76ee522aa2bd02e6fd077c24c7873a68fed8)) +* fix impact radius regex ([#258](https://github.com/rudderlabs/rudder-config-schema/issues/258)) ([8981b1b](https://github.com/rudderlabs/rudder-config-schema/commit/8981b1bf498a7cacf3c8255b361c6b6bc7f18320)) +* fixed schema validation ([41536f4](https://github.com/rudderlabs/rudder-config-schema/commit/41536f4f08659474ec1eb128b8b47f534de9bfd0)) +* footer note update on Podsights ([#98](https://github.com/rudderlabs/rudder-config-schema/issues/98)) ([cf4404e](https://github.com/rudderlabs/rudder-config-schema/commit/cf4404eb5498808bafa67473a2a24d8212b1c1b3)) +* Footernode updated for Engage ([15526b7](https://github.com/rudderlabs/rudder-config-schema/commit/15526b79231bcaa7932559b699ab1fc33c1523a8)) +* freshdesk spec file cleanup ([3bf07c3](https://github.com/rudderlabs/rudder-config-schema/commit/3bf07c3581ff5a4d0919cf1c0d5783e782c543f1)) +* google-ads source config ([#169](https://github.com/rudderlabs/rudder-config-schema/issues/169)) ([a3c559c](https://github.com/rudderlabs/rudder-config-schema/commit/a3c559c16528e4feecb6a5ff4f614a2996a433f3)) +* hubspot token hotfix ([e8f2b4c](https://github.com/rudderlabs/rudder-config-schema/commit/e8f2b4cee7be581a8ba53c85eebebb9fe8827a95)) +* **integration:** adobe analytics - update regex for video events mapping to allow specific values ([#171](https://github.com/rudderlabs/rudder-config-schema/issues/171)) ([3133a4e](https://github.com/rudderlabs/rudder-config-schema/commit/3133a4e8dfc9687d80212aed6c0cd84ce1fe7fd9)) +* marketo static list: removing preview tag ([#188](https://github.com/rudderlabs/rudder-config-schema/issues/188)) ([25983ef](https://github.com/rudderlabs/rudder-config-schema/commit/25983efbfa8f95f6ef3963963f6098f7e6f197ff)) +* move files to new directory structure ([#257](https://github.com/rudderlabs/rudder-config-schema/issues/257)) ([e3a7ade](https://github.com/rudderlabs/rudder-config-schema/commit/e3a7aded5ea60af10c66ec3048a0890e94282c37)) +* **qualaroo:** remove eventsList schema ([#87](https://github.com/rudderlabs/rudder-config-schema/issues/87)) ([9511a13](https://github.com/rudderlabs/rudder-config-schema/commit/9511a132d1e43f7a712fb5f75d411387ebca9cf5)) +* remove iam role support ([e725fee](https://github.com/rudderlabs/rudder-config-schema/commit/e725fee95de7597e4b4075560af7bb9734e8fc1c)) +* remove iam role support ([5032df2](https://github.com/rudderlabs/rudder-config-schema/commit/5032df2a2ea954902c934b0dbf0c8e1c24a3232a)) +* removes oauth role from singer gsc ([#67](https://github.com/rudderlabs/rudder-config-schema/issues/67)) ([d73e610](https://github.com/rudderlabs/rudder-config-schema/commit/d73e6100881820733848210b79fe01a18e2e1b07)) +* removes oauthrole for google sheets ([#117](https://github.com/rudderlabs/rudder-config-schema/issues/117)) ([1a56973](https://github.com/rudderlabs/rudder-config-schema/commit/1a5697392933d317e8e78b8bd4b69e300f6b9ba3)) +* removing preview tag ([#167](https://github.com/rudderlabs/rudder-config-schema/issues/167)) ([ffb79ba](https://github.com/rudderlabs/rudder-config-schema/commit/ffb79ba1af2e495a421cdbaff6d316ce58a63722)) +* rename files to the latest format ([efecaf7](https://github.com/rudderlabs/rudder-config-schema/commit/efecaf7652d828beaa90c6360362a43fd6a4bf30)) +* resolve conflicts with master ([#107](https://github.com/rudderlabs/rudder-config-schema/issues/107)) ([fef97a8](https://github.com/rudderlabs/rudder-config-schema/commit/fef97a8560f6aaf1cc6daa3c9147d1d1ede5ddbd)), closes [#80](https://github.com/rudderlabs/rudder-config-schema/issues/80) [#100](https://github.com/rudderlabs/rudder-config-schema/issues/100) [#89](https://github.com/rudderlabs/rudder-config-schema/issues/89) +* revert bq changes ([#270](https://github.com/rudderlabs/rudder-config-schema/issues/270)) ([7775865](https://github.com/rudderlabs/rudder-config-schema/commit/77758655d8ac27d090a36fb2f316e3814bff5ac7)) +* revert personalize config changed to remove iam role ([#122](https://github.com/rudderlabs/rudder-config-schema/issues/122)) ([6f66035](https://github.com/rudderlabs/rudder-config-schema/commit/6f6603582947d62253e2ffbc74719222ddbd8216)) +* **satismeter:** set hidden to false ([#207](https://github.com/rudderlabs/rudder-config-schema/issues/207)) ([c4f6723](https://github.com/rudderlabs/rudder-config-schema/commit/c4f6723ed1e3e44663fe7c7a8e119a65d7f0f6b4)) +* sendinblue regex ([#269](https://github.com/rudderlabs/rudder-config-schema/issues/269)) ([424ff9c](https://github.com/rudderlabs/rudder-config-schema/commit/424ff9c52e4342a14b94a236c66a3aee97cbc83f)) +* **sendinblue:** schema ([#262](https://github.com/rudderlabs/rudder-config-schema/issues/262)) ([00bec4a](https://github.com/rudderlabs/rudder-config-schema/commit/00bec4a72bf15d90658a9d3ba41a745a2ca4cab0)) +* **sendinblue:** schema ([#263](https://github.com/rudderlabs/rudder-config-schema/issues/263)) ([5888a95](https://github.com/rudderlabs/rudder-config-schema/commit/5888a95d570a50556e82e15894d4fac1dd1bf744)) +* set preview to true (satismeter, axeptio, microsoft_clarity) ([#206](https://github.com/rudderlabs/rudder-config-schema/issues/206)) ([625d76f](https://github.com/rudderlabs/rudder-config-schema/commit/625d76fbd8508a387f5959e2af578a306481363a)) +* singer salesforce new version ([#89](https://github.com/rudderlabs/rudder-config-schema/issues/89)) ([761ba3d](https://github.com/rudderlabs/rudder-config-schema/commit/761ba3dfa4207521ce6abca34c3820787784925c)) +* supportedSourcesValidation in dbconfig ([#174](https://github.com/rudderlabs/rudder-config-schema/issues/174)) ([2112936](https://github.com/rudderlabs/rudder-config-schema/commit/2112936894e65b8c723b24641e1b4e7bb9291857)) +* typo introduced while hiding facebook ads ([#238](https://github.com/rudderlabs/rudder-config-schema/issues/238)) ([1c5d860](https://github.com/rudderlabs/rudder-config-schema/commit/1c5d860d9fecb72a8ebd74ad68eb556f49db91ab)) +* typo introduced while hiding facebook ads ([#238](https://github.com/rudderlabs/rudder-config-schema/issues/238)) ([2b63885](https://github.com/rudderlabs/rudder-config-schema/commit/2b63885619aace90910ac6c748c2e62cce236837)) +* update google sheets image ([#194](https://github.com/rudderlabs/rudder-config-schema/issues/194)) ([3057183](https://github.com/rudderlabs/rudder-config-schema/commit/30571838340d13e64c5d7a28073321150f5a3a17)) +* update singer_hubspot image ([68000da](https://github.com/rudderlabs/rudder-config-schema/commit/68000da2fed52f065ab938b75f308575cc51dbf9)) +* updated factorsAI configs ([c586f5b](https://github.com/rudderlabs/rudder-config-schema/commit/c586f5b99db1738f746ada41d193589f09e7ecf6)) +* updated flutter device mode support for destinations ADJ, AM, AppCenter, Braze, Firebase, Leanplum ([65bd102](https://github.com/rudderlabs/rudder-config-schema/commit/65bd102752a9a9bb93b0f8592125168c23ef0ec9)) +* Webhook category added ([#81](https://github.com/rudderlabs/rudder-config-schema/issues/81)) ([0239729](https://github.com/rudderlabs/rudder-config-schema/commit/023972953dee246a6b60ecc2c3220bf8b94c45c1)) + ### [1.17.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.17.0...1.17.1) (2023-03-27) ## [1.17.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.16.0...1.17.0) (2023-03-23) diff --git a/package-lock.json b/package-lock.json index 01fd7ef96..1c37bb370 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-config-schema", - "version": "1.17.1", + "version": "1.18.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "rudder-config-schema", - "version": "1.17.1", + "version": "1.18.0", "license": "MIT", "dependencies": { "ajv": "^8.11.2", diff --git a/package.json b/package.json index 1bae2d0b6..5fa623630 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-config-schema", - "version": "1.17.1", + "version": "1.18.0", "description": "", "main": "src/index.ts", "private": true,