-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: braze dedup for non-billable attributes
- Loading branch information
Showing
3 changed files
with
69 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -640,6 +640,59 @@ export const data = [ | |
userId: 'user@50', | ||
}, | ||
}, | ||
{ | ||
destination: { | ||
ID: '2N9UakqKF0D35wfzSeofIxPdL8X', | ||
Name: 'Braze-Test', | ||
Config: { | ||
appKey: '0e5440c3-226b-45d0-91b5-c64da56cde16', | ||
blacklistedEvents: [], | ||
dataCenter: 'US-03', | ||
enableNestedArrayOperations: false, | ||
enableSubscriptionGroupInGroupCall: false, | ||
eventFilteringOption: 'disable', | ||
oneTrustCookieCategories: [], | ||
restApiKey: 'dummyApiKey', | ||
supportDedup: true, | ||
trackAnonymousUser: true, | ||
whitelistedEvents: [], | ||
}, | ||
Enabled: true, | ||
WorkspaceID: '27O0bhB6p5ehfOWeeZlOSsSDTLg', | ||
Transformations: [], | ||
IsProcessorEnabled: true, | ||
RevisionID: '2N9Uaf2tWq2QRmatBWQm03Rz6qX', | ||
}, | ||
metadata: { jobId: 5, userId: 'u1' }, | ||
message: { | ||
anonymousId: 'e6ab2c5e-2cda-44a9-a962-e2f67df78bca', | ||
channel: 'web', | ||
context: { | ||
app: { | ||
build: '1.0.0', | ||
name: 'RudderLabs JavaScript SDK', | ||
namespace: 'com.rudderlabs.javascript', | ||
version: '1.0.5', | ||
}, | ||
ip: '0.0.0.0', | ||
library: { name: 'RudderLabs JavaScript SDK', version: '1.0.5' }, | ||
locale: 'en-GB', | ||
os: { name: '', version: '' }, | ||
screen: { density: 2 }, | ||
traits: { | ||
city: 'Disney', | ||
email: '[email protected]', | ||
firstName: 'Mickey', | ||
}, | ||
userAgent: | ||
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36', | ||
}, | ||
integrations: { All: true }, | ||
messageId: '2536eda4-d638-4c93-8014-8ffe3f083214', | ||
type: 'identify', | ||
userId: 'user@50', | ||
}, | ||
}, | ||
], | ||
destType: 'braze', | ||
}, | ||
|
@@ -688,6 +741,10 @@ export const data = [ | |
external_id: 'user@50', | ||
first_name: 'Mickey', | ||
}, | ||
{ | ||
country: 'USA', | ||
external_id: 'user@50', | ||
}, | ||
], | ||
events: [ | ||
{ | ||
|
@@ -733,6 +790,7 @@ export const data = [ | |
{ jobId: 1, userId: 'u1' }, | ||
{ jobId: 2, userId: 'u1' }, | ||
{ jobId: 3, userId: 'u1' }, | ||
{ jobId: 4, userId: 'u1' }, | ||
], | ||
batched: true, | ||
statusCode: 200, | ||
|
@@ -771,7 +829,7 @@ export const data = [ | |
}, | ||
statusCode: 400, | ||
batched: false, | ||
metadata: [{ jobId: 4, userId: 'u1' }], | ||
metadata: [{ jobId: 5, userId: 'u1' }], | ||
destination: { | ||
ID: '2N9UakqKF0D35wfzSeofIxPdL8X', | ||
Name: 'Braze-Test', | ||
|