{
  "name": "beeminder",
  "display_name": "Beeminder",
  "description": "Consume Beeminder API",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "beeminderApi",
      "required": true
    },
    {
      "name": "beeminderOAuth2Api",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "authentication",
      "display_name": "Authentication",
      "kind": "options",
      "required": false,
      "default": "apiToken"
    },
    {
      "name": "resource",
      "display_name": "Resource",
      "kind": "options",
      "required": true,
      "default": "datapoint"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": true,
      "default": "create",
      "description": "Create a charge"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": true,
      "default": "create",
      "description": "Create datapoint for goal"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": true,
      "default": "get",
      "description": "Create a new goal"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": true,
      "default": "get",
      "description": "Get user information"
    },
    {
      "name": "goalName",
      "display_name": "Goal Name or ID",
      "kind": "options",
      "required": true,
      "default": "",
      "description": "The name of the goal. Choose from the list, or specify an ID using an <a href="
    },
    {
      "name": "goalName",
      "display_name": "Goal Name or ID",
      "kind": "options",
      "required": true,
      "default": "",
      "description": "The name of the goal to derail. Choose from the list, or specify an ID using an <a href="
    },
    {
      "name": "goalName",
      "display_name": "Goal Name or ID",
      "kind": "options",
      "required": true,
      "default": "",
      "description": "The name of the goal. Choose from the list, or specify an ID using an <a href="
    },
    {
      "name": "amount",
      "display_name": "Amount",
      "kind": "number",
      "required": true,
      "description": "Charge amount in USD"
    },
    {
      "name": "datapoints",
      "display_name": "Datapoints",
      "kind": "json",
      "required": true,
      "default": "[]",
      "description": "Array of datapoint objects to create. Each object should contain value and optionally timestamp, comment, etc."
    },
    {
      "name": "slug",
      "display_name": "Goal Slug",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Unique identifier for the goal"
    },
    {
      "name": "title",
      "display_name": "Goal Title",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Human-readable title for the goal"
    },
    {
      "name": "goal_type",
      "display_name": "Goal Type",
      "kind": "options",
      "required": true,
      "default": "hustler",
      "description": "Type of goal. <a href="
    },
    {
      "name": "gunits",
      "display_name": "Goal Units",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "Units for the goal (e.g., "
    },
    {
      "name": "returnAll",
      "display_name": "Return All",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return all results or only up to a given limit"
    },
    {
      "name": "limit",
      "display_name": "Limit",
      "kind": "number",
      "required": false,
      "description": "Max number of results to return"
    },
    {
      "name": "value",
      "display_name": "Value",
      "kind": "number",
      "required": true,
      "description": "Datapoint value to send"
    },
    {
      "name": "datapointId",
      "display_name": "Datapoint ID",
      "kind": "string",
      "required": true,
      "default": ""
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Defaults to "
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Charge explanation"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "manual",
      "description": "Target date for the goal"
    },
    {
      "name": "updateFields",
      "display_name": "Update Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Human-readable title for the goal"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "description": "Whether to include datapoints in the response"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "description": "Whether to include associations in the response"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "description": "Whether to include the goal attributes called road, roadall, and fullroad will be stripped from the goal objects"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "description": "Whether to include the goal attributes called road, roadall, and fullroad will be stripped from the goal objects"
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "default": "id",
      "description": "Attribute to sort on"
    },
    {
      "name": "updateFields",
      "display_name": "Update Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Datapoint value to send"
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts"
}