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 edit_stages_role AS \"edit_stages_role: CrmPermissionRole\",\n move_closed_deals_role AS \"move_closed_deals_role: CrmPermissionRole\",\n delete_records_role AS \"delete_records_role: CrmPermissionRole\",\n closed_stage_ids,\n legacy_stage_ids AS \"legacy_stage_ids: sqlx::types::Json<BTreeMap<Uuid, Uuid>>\",\n team_views,\n default_team_view_id,\n exclude_personal_emails\n FROM team_crm_settings\n WHERE team_id = $1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "edit_stages_role: CrmPermissionRole",
"type_info": {
"Custom": {
"name": "team_role",
"kind": {
"Enum": [
"member",
"admin",
"owner"
]
}
}
}
},
{
"ordinal": 1,
"name": "move_closed_deals_role: CrmPermissionRole",
"type_info": {
"Custom": {
"name": "team_role",
"kind": {
"Enum": [
"member",
"admin",
"owner"
]
}
}
}
},
{
"ordinal": 2,
"name": "delete_records_role: CrmPermissionRole",
"type_info": {
"Custom": {
"name": "team_role",
"kind": {
"Enum": [
"member",
"admin",
"owner"
]
}
}
}
},
{
"ordinal": 3,
"name": "closed_stage_ids",
"type_info": "UuidArray"
},
{
"ordinal": 4,
"name": "legacy_stage_ids: sqlx::types::Json<BTreeMap<Uuid, Uuid>>",
"type_info": "Jsonb"
},
{
"ordinal": 5,
"name": "team_views",
"type_info": "Jsonb"
},
{
"ordinal": 6,
"name": "default_team_view_id",
"type_info": "Text"
},
{
"ordinal": 7,
"name": "exclude_personal_emails",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false,
false,
false,
true,
false,
false,
true,
false
]
},
"hash": "ef67d4b5ec42803bf2c18b7ac656263e578154dc3a661ce7ebdbaf1b1547dbb9"
}