Repository navigation
v0.8.0
Minor Changes
-
#22
cd19eddThanks @Chelu97! - Add the tasks and projects resources and re-pinspec/openapi.jsonfrom the current public contract (457 paths / 564 operations: 81 added, none removed).src/generated/andsrc/resources/are regenerated.New resources on the client (80 operations). Every write sends an
Idempotency-Key, lists return aPagewith cursor auto-pagination, and errors use the typed hierarchy.factuarea.projects(22):list,create,show,update,delete,archive,unarchive,findByKey;columns(list,create,update,delete,reorder);customFields(list,create,update,delete);tasks(export,import);timeSummary.show;timeInvoices(preview,create).columns.deletetakesmove_to_column_idin its query to relocate the column's tasks.factuarea.tasks(45):search,create,show,update,delete,duplicate,findByKey,linked,status,move,reposition,assign,unassign,bulkStatus,bulkUpdate,bulkDelete;comments(list,create,update,delete);relations(list,create,delete);labels(assign,unassign);customFields.set;externalLinks(list,create,delete);entityLinks(list,create,delete);attachments(list,show,create,download,delete);uploadLinks.create;timeEntries(list,show,create,update,delete);timer.start;activities.list.createacceptsentity_linkto link the task to a document or contact in the same call, andcustom_fieldsis a map from field id to a string, number, boolean, string array ornull.factuarea.taskLabels(5):list,create,show,update,delete.factuarea.taskTimers(2):current({ data: null }when nothing is running) andstop.factuarea.users(2):me,list.factuarea.notifications(3):list,read,markAllRead.factuarea.agenda(1):list, a combined agenda of due tasks, document due dates, tax deadlines, absences and holidays.
The request and response types of these resources (
Project,ProjectColumn,Task,TaskComment,TaskLabel,TaskTimeEntry,TaskAttachment,AgendaItem,CreateTaskV1Request,UpdateTaskV1Request,LogTaskTimeV1Requestand the rest) are exported from@factuarea/sdk.Also carried by the re-pin, measured against the previous pinned spec:
- New
invoices.issue(POST /invoices/{invoice}/issue). Invoicegainsissued_at,sent_viaandis_sent, itsstatusis now a typed union, andinvoices.listaccepts anis_sentfilter.- Recurring invoices gain
generation_mode(draft,issueorissue_and_send) on create, update and read. - 24 new webhook event types, accepted by
webhookEndpointssubscriptions and test events:invoice.issued,invoice.marked_sent,invoice.unsentand 21 for tasks, comments, time entries and projects. - New enum values:
issuedin the bulk invoice status change,issuedin place ofsentin the invoice Excel export status filter,issuein place ofdraftas a scheduled invoice action, and the automation action typescreate_task,change_task_status,assign_taskandadd_task_comment. - API key scopes:
projects:read|write|delete,tasks:read|write|delete,users:readandnotifications:read|writeare added; the retiredclients:*andsuppliers:*scopes leave the enum.