UNPKG

@marceloclp/monzojs

Version:

Unofficial wrapper for the Monzo API written in TypeScript.

22 lines (21 loc) 867 B
import { Monzo, MonzoAPI } from '../types'; import { AuthedEndpoint } from '../types/endpoints'; /** * The first step when uploading an attachment is to obtain a temporary URL to * which the file can be uploaded. * * @see https://docs.monzo.com/#upload-attachment */ export declare const uploadAttachment: AuthedEndpoint<MonzoAPI.Attachments.UploadAttachmentParams, Monzo.Attachments.UploadedFile>; /** * Register an existing attachment against a transaction. * * @see https://docs.monzo.com/#register-attachment */ export declare const registerAttachment: AuthedEndpoint<MonzoAPI.Attachments.RegisterAttachmentParams, Monzo.Attachments.Attachment>; /** * Remove an attachment by id. * * @see https://docs.monzo.com/#deregister-attachment */ export declare const deregisterAttachment: AuthedEndpoint<MonzoAPI.Attachments.DeregisterAttachmentParams, {}>;