UNPKG

@area37/vendure-plugin-customer-approve

Version:

Vendure plugin for approving customers

11 lines (10 loc) 593 B
import { ID, RequestContext, TransactionalConnection, CustomerService, UserService, HistoryService, EventBus } from "@vendure/core"; export declare class CustomerApproveService { private connection; private readonly userService; private readonly customerService; private readonly historyService; private readonly eventBus; constructor(connection: TransactionalConnection, userService: UserService, customerService: CustomerService, historyService: HistoryService, eventBus: EventBus); switchApproveCustomer(ctx: RequestContext, customerId: ID): Promise<boolean>; }