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.

2.2 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT id, macro_id, fusionauth_user_id, email_address, provider as \"provider: _\",\n               is_sync_active, is_primary, needs_reauth, last_sync_error_at, created_at, updated_at\n        FROM email_links\n        WHERE email_address = $1 AND provider = $2\n        LIMIT 1\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "macro_id",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "fusionauth_user_id",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "email_address",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "provider: _",
        "type_info": {
          "Custom": {
            "name": "email_user_provider_enum",
            "kind": {
              "Enum": [
                "GMAIL",
                "OUTLOOK"
              ]
            }
          }
        }
      },
      {
        "ordinal": 5,
        "name": "is_sync_active",
        "type_info": "Bool"
      },
      {
        "ordinal": 6,
        "name": "is_primary",
        "type_info": "Bool"
      },
      {
        "ordinal": 7,
        "name": "needs_reauth",
        "type_info": "Bool"
      },
      {
        "ordinal": 8,
        "name": "last_sync_error_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 9,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 10,
        "name": "updated_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        {
          "Custom": {
            "name": "email_user_provider_enum",
            "kind": {
              "Enum": [
                "GMAIL",
                "OUTLOOK"
              ]
            }
          }
        }
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      false,
      false
    ]
  },
  "hash": "b7286b5c7483bde7946d25e62e0afed919e8cc8dc0347b824f4372b9325e33f3"
}