Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.7 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            INSERT INTO crm_contacts\n                (company_id, email, name, first_interaction, last_interaction, hidden, manually_created, team_id)\n            VALUES ($1, $2, $3, $4, $4, $5, TRUE, $6)\n            ON CONFLICT (company_id, email) DO NOTHING\n            RETURNING id, company_id, email, name, hidden,\n                      first_interaction, last_interaction, created_at, updated_at\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "company_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "email",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "hidden",
        "type_info": "Bool"
      },
      {
        "ordinal": 5,
        "name": "first_interaction",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "last_interaction",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Text",
        "Timestamptz",
        "Bool",
        "Uuid"
      ]
    },
    "nullable": [
      false,
      true,
      true,
      true,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "e0d05203bd8e490818f3273fb2496dca1d118de2907792def6dcc6d70bd1efa8"
}