import * as actions from "./actions" import * as triggers from "./triggers" import { defineAccount } from "../../automation/integrations" /** Declares a named Asana account binding for an automation. */ export const asanaAccount = defineAccount("asana") /** Asana callables. */ export const asana = { addProjectCustomField: actions.addAsanaProjectCustomField, addProjectFollowers: actions.addAsanaProjectFollowers, addProjectMembers: actions.addAsanaProjectMembers, addTaskComment: actions.addAsanaTaskComment, addTaskDependencies: actions.addAsanaTaskDependencies, addTaskFollowers: actions.addAsanaTaskFollowers, addTaskTag: actions.addAsanaTaskTag, addTaskToProject: actions.addAsanaTaskToProject, createCustomField: actions.createAsanaCustomField, createCustomFieldEnumOption: actions.createAsanaCustomFieldEnumOption, createProject: actions.createAsanaProject, createSection: actions.createAsanaSection, createSubtask: actions.createAsanaSubtask, createTag: actions.createAsanaTag, createTask: actions.createAsanaTask, deleteAttachment: actions.deleteAsanaAttachment, deleteCustomField: actions.deleteAsanaCustomField, deleteProject: actions.deleteAsanaProject, deleteSection: actions.deleteAsanaSection, deleteTag: actions.deleteAsanaTag, deleteTask: actions.deleteAsanaTask, deleteTaskComment: actions.deleteAsanaTaskComment, duplicateProject: actions.duplicateAsanaProject, duplicateTask: actions.duplicateAsanaTask, getAttachment: actions.getAsanaAttachment, getCustomField: actions.getAsanaCustomField, getCurrentUser: actions.getCurrentAsanaUser, getJob: actions.getAsanaJob, getProject: actions.getAsanaProject, getProjectTaskCounts: actions.getAsanaProjectTaskCounts, getTag: actions.getAsanaTag, getTask: actions.getAsanaTask, getTeam: actions.getAsanaTeam, getUser: actions.getAsanaUser, listAssignedTasks: actions.listAssignedAsanaTasks, listProjects: actions.listAsanaProjects, listProjectTasks: actions.listAsanaProjectTasks, listSections: actions.listAsanaSections, listSectionTasks: actions.listAsanaSectionTasks, listSubtasks: actions.listAsanaSubtasks, listTagTasks: actions.listAsanaTagTasks, listTaskAttachments: actions.listAsanaTaskAttachments, listTaskDependencies: actions.listAsanaTaskDependencies, listTaskDependents: actions.listAsanaTaskDependents, listTaskStories: actions.listAsanaTaskStories, listTeamUsers: actions.listAsanaTeamUsers, listWorkspaces: actions.listAsanaWorkspaces, listWorkspaceCustomFields: actions.listAsanaWorkspaceCustomFields, listWorkspaceTags: actions.listAsanaWorkspaceTags, listWorkspaceTeams: actions.listAsanaWorkspaceTeams, listWorkspaceUsers: actions.listAsanaWorkspaceUsers, moveCustomFieldEnumOption: actions.moveAsanaCustomFieldEnumOption, moveTaskToSection: actions.moveAsanaTaskToSection, onAttachmentDeleted: triggers.onAsanaAttachmentDeleted, onAttachmentRestored: triggers.onAsanaAttachmentRestored, onCommentAdded: triggers.onAsanaCommentAdded, onCommentDeleted: triggers.onAsanaCommentDeleted, onCommentRestored: triggers.onAsanaCommentRestored, onCommentUpdated: triggers.onAsanaCommentUpdated, onProjectAdded: triggers.onAsanaProjectAdded, onProjectChanged: triggers.onAsanaProjectChanged, onProjectDeleted: triggers.onAsanaProjectDeleted, onProjectRemoved: triggers.onAsanaProjectRemoved, onProjectRestored: triggers.onAsanaProjectRestored, onResourceEvent: triggers.onAsanaResourceEvent, onSectionAdded: triggers.onAsanaSectionAdded, onSectionChanged: triggers.onAsanaSectionChanged, onSectionDeleted: triggers.onAsanaSectionDeleted, onSectionRestored: triggers.onAsanaSectionRestored, onTagAdded: triggers.onAsanaTagAdded, onTagChanged: triggers.onAsanaTagChanged, onTagDeleted: triggers.onAsanaTagDeleted, onTagRestored: triggers.onAsanaTagRestored, onTaskAdded: triggers.onAsanaTaskAdded, onTaskAssigned: triggers.onAsanaTaskAssigned, onTaskChanged: triggers.onAsanaTaskChanged, onTaskCompleted: triggers.onAsanaTaskCompleted, onTaskDeleted: triggers.onAsanaTaskDeleted, onTaskDueDateChanged: triggers.onAsanaTaskDueDateChanged, onTaskFollowerAdded: triggers.onAsanaTaskFollowerAdded, onTaskFollowerRemoved: triggers.onAsanaTaskFollowerRemoved, onTaskIncomplete: triggers.onAsanaTaskIncomplete, onTaskProjectAdded: triggers.onAsanaTaskProjectAdded, onTaskProjectRemoved: triggers.onAsanaTaskProjectRemoved, onTaskRemoved: triggers.onAsanaTaskRemoved, onTaskRestored: triggers.onAsanaTaskRestored, onTaskTagAdded: triggers.onAsanaTaskTagAdded, onTaskTagRemoved: triggers.onAsanaTaskTagRemoved, onTaskUnassigned: triggers.onAsanaTaskUnassigned, removeProjectCustomField: actions.removeAsanaProjectCustomField, removeProjectFollowers: actions.removeAsanaProjectFollowers, removeProjectMembers: actions.removeAsanaProjectMembers, removeTaskDependencies: actions.removeAsanaTaskDependencies, removeTaskFollowers: actions.removeAsanaTaskFollowers, removeTaskFromProject: actions.removeAsanaTaskFromProject, removeTaskTag: actions.removeAsanaTaskTag, searchProjects: actions.searchAsanaProjects, searchTasks: actions.searchAsanaTasks, setTaskCompletion: actions.setAsanaTaskCompletion, setTaskParent: actions.setAsanaTaskParent, updateCustomField: actions.updateAsanaCustomField, updateCustomFieldEnumOption: actions.updateAsanaCustomFieldEnumOption, updateProject: actions.updateAsanaProject, updateSection: actions.updateAsanaSection, updateTag: actions.updateAsanaTag, updateTask: actions.updateAsanaTask, updateTaskComment: actions.updateAsanaTaskComment, uploadTaskAttachment: actions.uploadAsanaTaskAttachment, } export * from "./actions" export * from "./triggers" export { AsanaApiError, getAsanaApi, } from "@automate.ax/integration-contracts/asana" export { ASANA_ATTACHMENT_DELETED_EVENT_SCHEMA, ASANA_ATTACHMENT_RESTORED_EVENT_SCHEMA, ASANA_ATTACHMENT_SCHEMA, ASANA_COMMENT_ADDED_EVENT_SCHEMA, ASANA_COMMENT_DELETED_EVENT_SCHEMA, ASANA_COMMENT_RESTORED_EVENT_SCHEMA, ASANA_COMMENT_UPDATED_EVENT_SCHEMA, ASANA_CUSTOM_FIELD_INPUT_VALUE_SCHEMA, ASANA_CUSTOM_FIELD_SCHEMA, ASANA_CUSTOM_FIELD_VALUE_SCHEMA, ASANA_ENUM_OPTION_SCHEMA, ASANA_EVENT_ACTION_SCHEMA, ASANA_EVENT_CHANGE_SCHEMA, ASANA_EVENT_SCHEMA, ASANA_PAGE_INFO_SCHEMA, ASANA_JOB_SCHEMA, ASANA_PROJECT_TASK_COUNTS_SCHEMA, ASANA_PROJECT_ADDED_EVENT_SCHEMA, ASANA_PROJECT_CHANGED_EVENT_SCHEMA, ASANA_PROJECT_DELETED_EVENT_SCHEMA, ASANA_PROJECT_REMOVED_EVENT_SCHEMA, ASANA_PROJECT_RESTORED_EVENT_SCHEMA, ASANA_PROJECT_SCHEMA, ASANA_RESOURCE_SCHEMA, ASANA_SECTION_SCHEMA, ASANA_SECTION_ADDED_EVENT_SCHEMA, ASANA_SECTION_CHANGED_EVENT_SCHEMA, ASANA_SECTION_DELETED_EVENT_SCHEMA, ASANA_SECTION_RESTORED_EVENT_SCHEMA, ASANA_STORY_SCHEMA, ASANA_TAG_ADDED_EVENT_SCHEMA, ASANA_TAG_CHANGED_EVENT_SCHEMA, ASANA_TAG_DELETED_EVENT_SCHEMA, ASANA_TAG_RESTORED_EVENT_SCHEMA, ASANA_TAG_SCHEMA, ASANA_TASK_SCHEMA, ASANA_TASK_ADDED_EVENT_SCHEMA, ASANA_TASK_ASSIGNED_EVENT_SCHEMA, ASANA_TASK_CHANGED_EVENT_SCHEMA, ASANA_TASK_COMPLETED_EVENT_SCHEMA, ASANA_TASK_DELETED_EVENT_SCHEMA, ASANA_TASK_DUE_DATE_CHANGED_EVENT_SCHEMA, ASANA_TASK_FOLLOWER_ADDED_EVENT_SCHEMA, ASANA_TASK_FOLLOWER_REMOVED_EVENT_SCHEMA, ASANA_TASK_INCOMPLETE_EVENT_SCHEMA, ASANA_TASK_PROJECT_ADDED_EVENT_SCHEMA, ASANA_TASK_PROJECT_REMOVED_EVENT_SCHEMA, ASANA_TASK_REMOVED_EVENT_SCHEMA, ASANA_TASK_RESTORED_EVENT_SCHEMA, ASANA_TASK_TAG_ADDED_EVENT_SCHEMA, ASANA_TASK_TAG_REMOVED_EVENT_SCHEMA, ASANA_TASK_UNASSIGNED_EVENT_SCHEMA, ASANA_USER_SCHEMA, ASANA_TEAM_SCHEMA, ASANA_WORKSPACE_SCHEMA, normalizeAsanaEvent, normalizeAsanaStory, normalizeAsanaTask, } from "@automate.ax/integration-contracts/asana"