diff --git a/src/configurations/destinations/freshsales/db-config.json b/src/configurations/destinations/freshsales/db-config.json index 3a377b063..a23a997e9 100644 --- a/src/configurations/destinations/freshsales/db-config.json +++ b/src/configurations/destinations/freshsales/db-config.json @@ -38,7 +38,6 @@ "apiKey", "domain", "rudderEventsToFreshsalesEvents", - "customPropertyMapping", "oneTrustCookieCategories" ] } diff --git a/src/configurations/destinations/freshsales/schema.json b/src/configurations/destinations/freshsales/schema.json index d13d3de60..a58ed3a80 100644 --- a/src/configurations/destinations/freshsales/schema.json +++ b/src/configurations/destinations/freshsales/schema.json @@ -28,22 +28,6 @@ } } }, - "customPropertyMapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "from": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - }, - "to": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" - } - } - } - }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/freshsales/ui-config.json b/src/configurations/destinations/freshsales/ui-config.json index df24401e7..3aa329eec 100644 --- a/src/configurations/destinations/freshsales/ui-config.json +++ b/src/configurations/destinations/freshsales/ui-config.json @@ -47,19 +47,6 @@ "value": "lifecycle_stage" } ] - }, - { - "type": "dynamicForm", - "label": "Mapping to add custom fields while creating / updating a contact", - "value": "customPropertyMapping", - "required": false, - "labelRight": "Freshsales Contact Custom Field Name", - "labelLeft": "Rudder Payload Property", - "keyLeft": "from", - "keyRight": "to", - "placeholderLeft": "e.g: newTrait", - "placeholderRight": "e.g: cf_new_trait", - "footerNote": "Map Rudder Traits to Freshsales Contact Custom Fields. Here, traits will be fetched from traits object(message.traits or message.context.traits). Please provide the exact Internal name of the custom trait" } ] }, diff --git a/test/data/validation/destinations/freshsales.json b/test/data/validation/destinations/freshsales.json index df7962153..6bece2cec 100644 --- a/test/data/validation/destinations/freshsales.json +++ b/test/data/validation/destinations/freshsales.json @@ -35,22 +35,5 @@ }, "result": false, "err": ["domain must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] - }, - { - "config": { - "apiKey": "adhs123-adhs123-adhs3", - "domain": "rudder-123457.myfreshworks.com", - "customPropertyMapping": [ - { - "from": "ofwinqeoqwefnoewqo9", - "to": "test" - }, - { - "from": "idwhcbiwdfbciwdfw", - "to": "entry" - } - ] - }, - "result": true } ]