Skip to content

Commit

Permalink
feat: refactoring name to customerio_audience
Browse files Browse the repository at this point in the history
  • Loading branch information
manish339k committed Jan 30, 2025
1 parent 9674052 commit a71bf10
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CUSTOMERIO_SEGMENT",
"displayName": "Customerio Segment",
"name": "CUSTOMERIO_AUDIENCE",
"displayName": "Customer.io Audience",
"config": {
"features": ["vdm-next"],
"supportsBlankAudienceCreation": true,
Expand All @@ -9,7 +9,6 @@
"syncBehaviours": ["mirror"],
"transformAtV1": "router",
"saveDestinationResponse": true,
"includeKeys": ["oneTrustCookieCategories", "ketchConsentPurposes", "consentManagement"],
"excludeKeys": [],
"supportedSourceTypes": ["warehouse"],
"supportedMessageTypes": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"configSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"required": ["siteId", "appApiKey", "apiKey"],
"required": ["siteId", "apiKey", "appApiKey"],
"type": "object",
"properties": {
"apiKey": {
Expand Down
28 changes: 28 additions & 0 deletions test/data/validation/destinations/customerio_audience.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[
{
"config": {
"siteId": "test-site-id",
"apiKey": "test-api-key",
"appApiKey": "test-app-api-key"
},
"result": true
},
{
"config": {},
"result": false,
"err": [
" must have required property 'siteId'",
" must have required property 'apiKey'",
" must have required property 'appApiKey'"
]
},
{
"config": {
"siteId": "test-site-id",
"apiKey": 123,
"appApiKey": []
},
"result": false,
"err": ["apiKey must be string", "appApiKey must be string"]
}
]
19 changes: 0 additions & 19 deletions test/data/validation/destinations/customerio_segment.json

This file was deleted.

0 comments on commit a71bf10

Please sign in to comment.