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 source_type AS \"source_type!: EntityAccessSourceType\",\n source_id,\n access_level AS \"access_level!: AccessLevel\",\n granted_from_project_id\n FROM entity_access\n WHERE entity_id = $1\n AND entity_type = $2\n AND source_id = ANY($3)\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "source_type!: EntityAccessSourceType",
"type_info": {
"Custom": {
"name": "entity_access_source_type",
"kind": {
"Enum": [
"channel",
"team",
"user",
"bot"
]
}
}
}
},
{
"ordinal": 1,
"name": "source_id",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "access_level!: AccessLevel",
"type_info": {
"Custom": {
"name": "\"AccessLevel\"",
"kind": {
"Enum": [
"view",
"comment",
"edit",
"owner"
]
}
}
}
},
{
"ordinal": 3,
"name": "granted_from_project_id",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Uuid",
"Text",
"TextArray"
]
},
"nullable": [
false,
false,
false,
true
]
},
"hash": "cf53541f8a737c46ac505cb6511044d4e1571addbaa8c0c56f099378188b9c66"
}