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
This commit is contained in:
Shubham Naik
2026-01-22 11:28:45 -08:00
committed by Caren Thomas
parent c162de5127
commit 8ced2e0c82

View File

@@ -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"]