UNPKG

@marceloclp/monzojs

Version:

Unofficial wrapper for the Monzo API written in TypeScript.

21 lines (20 loc) 704 B
export declare type UploadAttachmentParams = { /** The name of the file to be uploaded. */ fileName: string; /** The content type of the file. */ fileType: string; /** The HTTP Content-Length of the upload request body, in bytes. */ contentLength: number; }; export declare type RegisterAttachmentParams = { /** The id of the `transaction` to associate the `attachment` with. */ externalId: string; /** The URL of the uploaded attachment. */ fileUrl: string; /** The content type of the attachment. */ fileType: string; }; export declare type DeregisterAttachmentParams = { /** The id of the `attachment` to deregister. */ attachmentId: string; };