Skip to content

Commit

Permalink
chore: remove references to legacy consent management fields (#3931)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs authored Dec 11, 2024
1 parent 5f299de commit 325dabe
Show file tree
Hide file tree
Showing 34 changed files with 44 additions and 406 deletions.
1 change: 0 additions & 1 deletion src/v0/destinations/braze/braze.util.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ describe('dedup utility tests', () => {
enableNestedArrayOperations: false,
enableSubscriptionGroupInGroupCall: false,
eventFilteringOption: 'disable',
oneTrustCookieCategories: [],
restApiKey: 'test-rest-api-key',
supportDedup: true,
trackAnonymousUser: true,
Expand Down
9 changes: 3 additions & 6 deletions test/apitests/data_scenarios/cdk_v2/failure.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -108,7 +108,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down Expand Up @@ -271,7 +270,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -285,7 +284,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down Expand Up @@ -448,7 +446,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -462,7 +460,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down
9 changes: 3 additions & 6 deletions test/apitests/data_scenarios/cdk_v2/success.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -108,7 +108,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down Expand Up @@ -271,7 +270,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -285,7 +284,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down Expand Up @@ -448,7 +446,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -462,7 +460,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down
20 changes: 5 additions & 15 deletions test/apitests/data_scenarios/destination/batch/failure_batch.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@
"unsetParamsReferrerOnNewSession",
"batchEvents",
"eventUploadPeriodMillis",
"eventUploadThreshold",
"oneTrustCookieCategories"
"eventUploadThreshold"
]
},
"excludeKeys": [],
Expand Down Expand Up @@ -257,7 +256,6 @@
"useIdfaAsDeviceId",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption",
"mapDeviceBrand"
],
Expand Down Expand Up @@ -576,8 +574,7 @@
"unsetParamsReferrerOnNewSession",
"batchEvents",
"eventUploadPeriodMillis",
"eventUploadThreshold",
"oneTrustCookieCategories"
"eventUploadThreshold"
]
},
"excludeKeys": [],
Expand Down Expand Up @@ -612,7 +609,6 @@
"useIdfaAsDeviceId",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption",
"mapDeviceBrand"
],
Expand Down Expand Up @@ -933,8 +929,7 @@
"unsetParamsReferrerOnNewSession",
"batchEvents",
"eventUploadPeriodMillis",
"eventUploadThreshold",
"oneTrustCookieCategories"
"eventUploadThreshold"
]
},
"excludeKeys": [],
Expand Down Expand Up @@ -969,7 +964,6 @@
"useIdfaAsDeviceId",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption",
"mapDeviceBrand"
],
Expand Down Expand Up @@ -1247,8 +1241,7 @@
"unsetParamsReferrerOnNewSession",
"batchEvents",
"eventUploadPeriodMillis",
"eventUploadThreshold",
"oneTrustCookieCategories"
"eventUploadThreshold"
]
},
"excludeKeys": [],
Expand Down Expand Up @@ -1283,7 +1276,6 @@
"useIdfaAsDeviceId",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption",
"mapDeviceBrand"
],
Expand Down Expand Up @@ -1722,8 +1714,7 @@
"unsetParamsReferrerOnNewSession",
"batchEvents",
"eventUploadPeriodMillis",
"eventUploadThreshold",
"oneTrustCookieCategories"
"eventUploadThreshold"
]
},
"excludeKeys": [],
Expand Down Expand Up @@ -1758,7 +1749,6 @@
"useIdfaAsDeviceId",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption",
"mapDeviceBrand"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@
"unsetParamsReferrerOnNewSession",
"batchEvents",
"eventUploadPeriodMillis",
"eventUploadThreshold",
"oneTrustCookieCategories"
"eventUploadThreshold"
]
},
"excludeKeys": [],
Expand Down Expand Up @@ -257,7 +256,6 @@
"useIdfaAsDeviceId",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption",
"mapDeviceBrand"
],
Expand Down Expand Up @@ -578,8 +576,7 @@
"unsetParamsReferrerOnNewSession",
"batchEvents",
"eventUploadPeriodMillis",
"eventUploadThreshold",
"oneTrustCookieCategories"
"eventUploadThreshold"
]
},
"excludeKeys": [],
Expand Down Expand Up @@ -614,7 +611,6 @@
"useIdfaAsDeviceId",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption",
"mapDeviceBrand"
],
Expand Down Expand Up @@ -935,8 +931,7 @@
"unsetParamsReferrerOnNewSession",
"batchEvents",
"eventUploadPeriodMillis",
"eventUploadThreshold",
"oneTrustCookieCategories"
"eventUploadThreshold"
]
},
"excludeKeys": [],
Expand Down Expand Up @@ -971,7 +966,6 @@
"useIdfaAsDeviceId",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption",
"mapDeviceBrand"
],
Expand Down Expand Up @@ -1557,8 +1551,7 @@
"unsetParamsReferrerOnNewSession",
"batchEvents",
"eventUploadPeriodMillis",
"eventUploadThreshold",
"oneTrustCookieCategories"
"eventUploadThreshold"
]
},
"excludeKeys": [],
Expand Down Expand Up @@ -1593,7 +1586,6 @@
"useIdfaAsDeviceId",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption",
"mapDeviceBrand"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -108,7 +108,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down Expand Up @@ -271,7 +270,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -285,7 +284,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -107,7 +107,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -108,7 +108,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down Expand Up @@ -271,7 +270,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -285,7 +284,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"whitelistedEvents",
"eventFilteringOption"
],
"web": ["useNativeSDK", "oneTrustCookieCategories"]
"web": ["useNativeSDK"]
},
"excludeKeys": [],
"includeKeys": [
Expand All @@ -108,7 +108,6 @@
"deduplicationKey",
"blacklistedEvents",
"whitelistedEvents",
"oneTrustCookieCategories",
"eventFilteringOption"
],
"saveDestinationResponse": false,
Expand Down
Loading

0 comments on commit 325dabe

Please sign in to comment.