// PURPOSE:
// Delete customer record
// REQ0006
//
// RULES:
// error handled by caller
// contain definition to collection only
//

import { pb } from '@/lib/pb';
import { COL_CUSTOMERS } from '@/constants';

export async function deleteCustomer(id: string): Promise<boolean> {
  return pb.collection(COL_CUSTOMERS).delete(id);
}
