diff --git a/src/configurations/destinations/tiktok_ads/db-config.json b/src/configurations/destinations/tiktok_ads/db-config.json index c3d4eba46..e8362c40f 100644 --- a/src/configurations/destinations/tiktok_ads/db-config.json +++ b/src/configurations/destinations/tiktok_ads/db-config.json @@ -28,7 +28,8 @@ "warehouse", "reactnative", "flutter", - "cordova" + "cordova", + "shopify" ], "supportedMessageTypes": { "cloud": ["track"], @@ -46,7 +47,8 @@ "warehouse": ["cloud"], "reactnative": ["cloud"], "flutter": ["cloud"], - "cordova": ["cloud"] + "cordova": ["cloud"], + "shopify": ["cloud"] }, "destConfig": { "defaultConfig": [ @@ -120,6 +122,12 @@ "consentManagement", "oneTrustCookieCategories", "ketchConsentPurposes" + ], + "shopify": [ + "connectionMode", + "consentManagement", + "oneTrustCookieCategories", + "ketchConsentPurposes" ] }, "secretKeys": ["accessToken", "pixelCode"] diff --git a/src/configurations/destinations/tiktok_ads/schema.json b/src/configurations/destinations/tiktok_ads/schema.json index e365dd7a7..add98923e 100644 --- a/src/configurations/destinations/tiktok_ads/schema.json +++ b/src/configurations/destinations/tiktok_ads/schema.json @@ -216,6 +216,18 @@ } } } + }, + "shopify": { + "type": "array", + "items": { + "type": "object", + "properties": { + "oneTrustCookieCategory": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } }, @@ -341,6 +353,18 @@ } } } + }, + "shopify": { + "type": "array", + "items": { + "type": "object", + "properties": { + "purpose": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } } } }, @@ -806,6 +830,52 @@ } ] } + }, + "shopify": { + "type": "array", + "items": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": ["custom", "ketch", "oneTrust"], + "default": "oneTrust" + }, + "consents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "consent": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + } + } + } + } + }, + "allOf": [ + { + "if": { + "properties": { + "provider": { + "const": "custom" + } + }, + "required": ["provider"] + }, + "then": { + "properties": { + "resolutionStrategy": { + "type": "string", + "enum": ["and", "or"] + } + }, + "required": ["resolutionStrategy"] + } + } + ] + } } } }, @@ -851,6 +921,10 @@ "cordova": { "type": "string", "enum": ["cloud"] + }, + "shopify": { + "type": "string", + "enum": ["cloud"] } } }