From 8ced2e0c8212e3e26f2bec662d776a3ef48964f7 Mon Sep 17 00:00:00 2001 From: Shubham Naik Date: Thu, 22 Jan 2026 11:28:45 -0800 Subject: [PATCH] Shub/let 7138 support custom feeds that recieve data via an endpoint [LET-7138] (#9027) * feat: support custom endpoint * feat: support custom endpoint * chore: add webhook * chore: add webhook * chore: fix types * chore: fix types * chore: docs --- fern/openapi.json | 126 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 111 insertions(+), 15 deletions(-) diff --git a/fern/openapi.json b/fern/openapi.json index 184200e4..29580dd3 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -23351,7 +23351,7 @@ }, "integration_type": { "type": "string", - "enum": ["slack"] + "enum": ["slack", "custom_webhook"] }, "producer_config": { "discriminator": { @@ -23396,6 +23396,20 @@ } }, "required": ["type", "data"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["custom_webhook"] + }, + "data": { + "type": "object", + "properties": {} + } + }, + "required": ["type", "data"] } ] }, @@ -23446,11 +23460,12 @@ "type": "string" }, "integration_id": { - "type": "string" + "type": "string", + "nullable": true }, "integration_type": { "type": "string", - "enum": ["slack"] + "enum": ["slack", "custom_webhook"] }, "feed_id": { "type": "string" @@ -23498,6 +23513,20 @@ } }, "required": ["type", "data"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["custom_webhook"] + }, + "data": { + "type": "object", + "properties": {} + } + }, + "required": ["type", "data"] } ] }, @@ -23525,7 +23554,8 @@ "format": "date-time" }, "integration_display_name": { - "type": "string" + "type": "string", + "nullable": true }, "feed_name": { "type": "string" @@ -23653,11 +23683,12 @@ "type": "string" }, "integration_id": { - "type": "string" + "type": "string", + "nullable": true }, "integration_type": { "type": "string", - "enum": ["slack"] + "enum": ["slack", "custom_webhook"] }, "feed_id": { "type": "string" @@ -23705,6 +23736,20 @@ } }, "required": ["type", "data"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["custom_webhook"] + }, + "data": { + "type": "object", + "properties": {} + } + }, + "required": ["type", "data"] } ] }, @@ -23732,7 +23777,8 @@ "format": "date-time" }, "integration_display_name": { - "type": "string" + "type": "string", + "nullable": true }, "feed_name": { "type": "string" @@ -23855,11 +23901,12 @@ "type": "string" }, "integration_id": { - "type": "string" + "type": "string", + "nullable": true }, "integration_type": { "type": "string", - "enum": ["slack"] + "enum": ["slack", "custom_webhook"] }, "feed_id": { "type": "string" @@ -23907,6 +23954,20 @@ } }, "required": ["type", "data"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["custom_webhook"] + }, + "data": { + "type": "object", + "properties": {} + } + }, + "required": ["type", "data"] } ] }, @@ -23934,7 +23995,8 @@ "format": "date-time" }, "integration_display_name": { - "type": "string" + "type": "string", + "nullable": true }, "feed_name": { "type": "string" @@ -24047,11 +24109,12 @@ "type": "string" }, "integration_id": { - "type": "string" + "type": "string", + "nullable": true }, "integration_type": { "type": "string", - "enum": ["slack"] + "enum": ["slack", "custom_webhook"] }, "feed_id": { "type": "string" @@ -24099,6 +24162,20 @@ } }, "required": ["type", "data"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["custom_webhook"] + }, + "data": { + "type": "object", + "properties": {} + } + }, + "required": ["type", "data"] } ] }, @@ -24126,7 +24203,8 @@ "format": "date-time" }, "integration_display_name": { - "type": "string" + "type": "string", + "nullable": true }, "feed_name": { "type": "string" @@ -24264,7 +24342,7 @@ "properties": { "integration_type": { "type": "string", - "enum": ["slack"] + "enum": ["slack", "custom_webhook"] }, "integration_id": { "type": "string" @@ -24312,6 +24390,20 @@ } }, "required": ["type", "data"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["custom_webhook"] + }, + "data": { + "type": "object", + "properties": {} + } + }, + "required": ["type", "data"] } ] } @@ -24437,7 +24529,11 @@ }, "errorCode": { "type": "string", - "enum": ["pipelineDisabled", "syncFailed"] + "enum": [ + "pipelineDisabled", + "pipelineNotSyncable", + "syncFailed" + ] } }, "required": ["message", "errorCode"]