UNPKG

@terra-js/terra-kit

Version:

SDK for mobile bridge to offer unified method signatures for Android/iOS.

31 lines (30 loc) 729 B
import { SourceGetPhotoType } from './CommonKitModule'; export interface PrintRequest { base64String: string; } export interface PrintResult { isSuccess: boolean; message?: string; } export interface PrintConfig { clientBillAddress?: string; clientBillLogo?: string; clientBillName?: string; clientBillPhone?: string; } export interface GetPhotoOptions { source: SourceGetPhotoType; } export declare type GetPhotoResult = string; export declare enum BarCodeInputType { DATA_URL = "dataUrl", TEXT = "text" } export interface DownloadBarCodeRequest { inputType: BarCodeInputType; data: string; } export interface DownloadBarCodeResult { fileName: string; filePath: string; }