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
{
"db_name": "PostgreSQL",
"query": "\n SELECT\n d.id as \"document_id\",\n d.owner,\n d.name as \"document_name\",\n d.\"fileType\" as \"file_type\",\n dst.sub_type as \"sub_type?: DocumentSubType\"\n FROM\n \"Document\" d\n LEFT JOIN document_sub_type dst ON dst.document_id = d.id\n WHERE d.id = ANY($1)\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "document_id",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "owner",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "document_name",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "file_type",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "sub_type?: DocumentSubType",
"type_info": {
"Custom": {
"name": "document_sub_type_value",
"kind": {
"Enum": [
"task",
"snippet",
"skill",
"initiative_description"
]
}
}
}
}
],
"parameters": {
"Left": [
"TextArray"
]
},
"nullable": [
false,
false,
false,
true,
true
]
},
"hash": "2d1112d21440f0dfdf8fcbec264389f7abdcc74544558d60d817f56ff0c14524"
}