{
  "name": "gong",
  "display_name": "Gong",
  "description": "Interact with Gong API",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "gongApi",
      "required": true
    },
    {
      "name": "gongOAuth2Api",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "authentication",
      "display_name": "Authentication",
      "kind": "options",
      "required": false,
      "default": "accessToken"
    },
    {
      "name": "resource",
      "display_name": "Resource",
      "kind": "options",
      "required": false,
      "default": "call"
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Gong/Gong.node.ts",
  "routing": {
    "base_url": "={{ $credentials.baseUrl.replace(new RegExp(",
    "auth_headers": [],
    "auth_query": [],
    "credential_name": "gongApi",
    "operations": [
      {
        "value": "get",
        "method": "POST",
        "url": "/v2/calls/extensive",
        "body": ""
      },
      {
        "value": "getAll",
        "method": "POST",
        "url": "/v2/calls/extensive",
        "body": "filter: {},"
      }
    ],
    "sends": [
      {
        "param_name": "url",
        "send_type": "body",
        "dest_key": "filter.callIds",
        "applies_to_operations": [
          "get"
        ],
        "applies_to_resources": [
          "call"
        ]
      },
      {
        "param_name": "Brief",
        "send_type": "body",
        "dest_key": "contentSelector.exposedFields.content.brief",
        "applies_to_operations": [
          "get"
        ],
        "applies_to_resources": [
          "call"
        ]
      },
      {
        "param_name": "fromDateTime",
        "send_type": "body",
        "dest_key": "filter.fromDateTime",
        "applies_to_operations": [
          "getAll"
        ],
        "applies_to_resources": [
          "call"
        ]
      },
      {
        "param_name": "toDateTime",
        "send_type": "body",
        "dest_key": "filter.toDateTime",
        "applies_to_operations": [
          "getAll"
        ],
        "applies_to_resources": [
          "call"
        ]
      },
      {
        "param_name": "workspaceId",
        "send_type": "body",
        "dest_key": "filter.workspaceId",
        "applies_to_operations": [
          "getAll"
        ],
        "applies_to_resources": [
          "call"
        ]
      },
      {
        "param_name": "id",
        "send_type": "body",
        "dest_key": "filter.primaryUserIds",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "createdFromDateTime",
        "send_type": "body",
        "dest_key": "filter.createdFromDateTime",
        "applies_to_operations": [
          "getAll"
        ],
        "applies_to_resources": [
          "user"
        ]
      },
      {
        "param_name": "createdToDateTime",
        "send_type": "body",
        "dest_key": "filter.createdToDateTime",
        "applies_to_operations": [
          "getAll"
        ],
        "applies_to_resources": [
          "user"
        ]
      }
    ]
  }
}