Skip to content

Commit

Permalink
feat: add generic consent management fields in initially onboarded de…
Browse files Browse the repository at this point in the history
…stinations config (#1058)
  • Loading branch information
bardisg authored Feb 1, 2024
1 parent ebb47d9 commit 6f80bc9
Show file tree
Hide file tree
Showing 21 changed files with 2,958 additions and 151 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"update:schema:source": "python3 scripts/schemaGenerator.py source -update -name ",
"check:schema:destination:all": "python3 scripts/schemaGenerator.py destination -all",
"check:schema:destination": "python3 scripts/schemaGenerator.py destination -name ",
"update:schema:destination": "python3 scripts/schemaGenerator.py destination -update -name "
"update:schema:destination": "python3 scripts/schemaGenerator.py destination -update -name ",
"deploy:db:local": "python3 scripts/deployToDB.py http://localhost:5050"
},
"devDependencies": {
"@babel/core": "^7.21.3",
Expand Down
Empty file modified scripts/run-schema-validation.sh
100644 → 100755
Empty file.
182 changes: 149 additions & 33 deletions scripts/schemaGenerator.py

Large diffs are not rendered by default.

18 changes: 17 additions & 1 deletion src/configurations/destinations/customerio/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"whitelistedEvents",
"oneTrustCookieCategories",
"ketchConsentPurposes",
"consentManagement",
"eventFilteringOption",
"sendPageNameInSDK",
"dataUseInApp"
Expand Down Expand Up @@ -53,7 +54,22 @@
"oneTrustCookieCategories",
"ketchConsentPurposes"
],
"web": ["connectionMode", "dataUseInApp", "useNativeSDK", "sendPageNameInSDK"]
"android": ["consentManagement"],
"ios": ["consentManagement"],
"web": [
"connectionMode",
"dataUseInApp",
"useNativeSDK",
"sendPageNameInSDK",
"consentManagement"
],
"unity": ["consentManagement"],
"amp": ["consentManagement"],
"warehouse": ["consentManagement"],
"reactnative": ["consentManagement"],
"flutter": ["consentManagement"],
"cordova": ["consentManagement"],
"shopify": ["consentManagement"]
},
"secretKeys": []
}
Expand Down
Loading

0 comments on commit 6f80bc9

Please sign in to comment.