Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

Shub/let 7138 support custom feeds that recieve data via an endpoint [LET-7138] (#9027)

Shubham Naik8ced2e0c8212
diff --git a/fern/openapi.json b/fern/openapi.json
index 184200e49..29580dd3d 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"]