export default class SmartFlowAPI {
    constructor(apiClient) {
        if (!apiClient) {
            throw new Error("SmartFlowAPI requires ApiClient");
        }

        this.api = apiClient;
    }

    async fetchVoucherRaw(voucherId) {
        return this.api.get(`voucher/${voucherId}/raw`);
    }
}
