import type { ProviderDefinition } from "../../core/types.ts";

import { asanaActions } from "./actions.ts";

const service = "asana";

export const provider: ProviderDefinition = {
  service,
  displayName: "Asana",
  categories: ["Productivity"],
  authTypes: ["api_key"],
  auth: [
    {
      type: "api_key",
      label: "Personal Access Token",
      placeholder: "asana_pat",
      description:
        "Asana personal access token used with the Authorization Bearer header. Get it from the Asana developer console at https://app.asana.com/0/my-apps.",
      extraFields: [],
    },
  ],
  homepageUrl: "https://asana.com",
  actions: asanaActions,
};
