UNPKG

mpp-sdk

Version:

SDK to talk to the Memento Payments Platform

33 lines (32 loc) 697 B
export interface Image { id: string; url: string; full_screen_url: string; thumbnail_url: string; created_at: string; updated_at: string; } declare type ImageInputId = { id: string; }; declare type ImageInputUrl = { url: string; }; export declare type ImageInput = ImageInputId | ImageInputUrl; export interface ImageOptions { file?: Blob; url?: string; encoded?: string; user_image?: boolean; } interface ImageUploadFile { file: Blob; } interface ImageUploadUrl { url: string; } interface ImageUploadEncoded { encoded: string; } export declare type ImageUploadMethods = ImageUploadFile | ImageUploadUrl | ImageUploadEncoded; export {};