Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(opensearch_client): remove un-needed fields from response indices (#664)
Will Hutchinson2d1054a5832b
diff --git a/rust/cloud-storage/opensearch_client/src/search/chats.rs b/rust/cloud-storage/opensearch_client/src/search/chats.rsindex 20629c7d85..afe48bf265 100644--- a/rust/cloud-storage/opensearch_client/src/search/chats.rs+++ b/rust/cloud-storage/opensearch_client/src/search/chats.rs@@ -26,7 +26,6 @@ pub(crate) struct ChatIndex {pub chat_message_id: uuid::Uuid,pub user_id: String,pub role: String,- pub updated_at_seconds: i64,pub title: String,pub content: String,}diff --git a/rust/cloud-storage/opensearch_client/src/search/documents.rs b/rust/cloud-storage/opensearch_client/src/search/documents.rsindex 89ab9e8120..b6817eb62c 100644--- a/rust/cloud-storage/opensearch_client/src/search/documents.rs+++ b/rust/cloud-storage/opensearch_client/src/search/documents.rs@@ -92,7 +92,6 @@ pub(crate) struct DocumentIndex {pub content: String,pub owner_id: String,pub file_type: String,- pub updated_at_seconds: i64,}#[derive(Debug, serde::Serialize, serde::Deserialize)]diff --git a/rust/cloud-storage/opensearch_client/src/search/emails.rs b/rust/cloud-storage/opensearch_client/src/search/emails.rsindex e4bac6d547..008fdf697b 100644--- a/rust/cloud-storage/opensearch_client/src/search/emails.rs+++ b/rust/cloud-storage/opensearch_client/src/search/emails.rs@@ -188,8 +188,6 @@ pub(crate) struct EmailIndex {pub link_id: String,/// The user id of the email messagepub user_id: String,- /// The updated at time of the email message- pub updated_at_seconds: i64,/// The subject of the email messagepub subject: Option<String>,/// The sent at time of the email messagediff --git a/rust/cloud-storage/opensearch_client/src/search/projects.rs b/rust/cloud-storage/opensearch_client/src/search/projects.rsindex c1efbb10e9..8f98015901 100644--- a/rust/cloud-storage/opensearch_client/src/search/projects.rs+++ b/rust/cloud-storage/opensearch_client/src/search/projects.rs@@ -86,8 +86,6 @@ pub struct ProjectIndex {pub user_id: String,pub parent_project_id: Option<uuid::Uuid>,pub project_name: String,- pub created_at_seconds: i64,- pub updated_at_seconds: i64,}#[derive(Debug, Default)]