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 INSERT INTO ai_billing_period_allowance (\n user_id, period_start, billed_users, included_cents_by_user,\n included_cost_cents_by_user\n )\n VALUES ($1, $2, $3, $4, $4)\n ON CONFLICT (user_id, period_start) DO UPDATE\n SET billed_users = EXCLUDED.billed_users,\n included_cents_by_user = EXCLUDED.included_cents_by_user,\n included_cost_cents_by_user = EXCLUDED.included_cost_cents_by_user,\n updated_at = NOW()\n WHERE ai_billing_period_allowance.billed_users\n IS DISTINCT FROM EXCLUDED.billed_users\n OR ai_billing_period_allowance.included_cost_cents_by_user\n IS DISTINCT FROM EXCLUDED.included_cost_cents_by_user\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Timestamptz",
"TextArray",
"Int8Array"
]
},
"nullable": []
},
"hash": "7a3f5bf0c81ca88a00746a60bc2b709c41fa2e7c60e9269f182d354282074035"
}