rm-api-sdk
Version:
A NodeJS wrapper for some of the RESTful methods documented at doc.revenuemonster.my
9 lines • 865 B
TypeScript
import { RMSDKInstance } from ".";
export declare function issueVoucher(this: RMSDKInstance, accessToken: string, batchKey: string): Promise<any>;
export declare function voidVoucher(this: RMSDKInstance, accessToken: string, code: string): Promise<any>;
export declare function getVoucherByCode(this: RMSDKInstance, accessToken: string, code: string): Promise<any>;
export declare function getVoucherBatches(this: RMSDKInstance, accessToken: string): Promise<any>;
export declare function getVoucherBatchByKey(this: RMSDKInstance, accessToken: string, batchKey: string): Promise<any>;
export declare function reinstateVoucher(this: RMSDKInstance, accessToken: string, code: string, data: object): Promise<any>;
export declare function bulkRedeemVouchers(this: RMSDKInstance, accessToken: string, codes: string[]): Promise<any>;
//# sourceMappingURL=voucher.d.ts.map