UNPKG

tracker-api

Version:

A comprehensive JavaScript/TypeScript library for user behavior tracking and analytics

29 lines 955 B
import { BaseClient } from './base-client'; import { CustomerRegistration, CustomerLogin, CustomerUpdate, ChangePassword, AuthResponse, CustomerResponse, APIResponse } from './types'; export declare class CustomerClient extends BaseClient { /** * Register a new customer */ register(data: CustomerRegistration): Promise<AuthResponse>; /** * Login customer */ login(data: CustomerLogin): Promise<AuthResponse>; /** * Get customer profile */ getProfile(token: string): Promise<CustomerResponse>; /** * Update customer profile */ updateProfile(token: string, data: CustomerUpdate): Promise<CustomerResponse>; /** * Change password */ changePassword(token: string, data: ChangePassword): Promise<APIResponse>; /** * Get all customers (Admin only) */ getAllCustomers(token: string): Promise<APIResponse>; } //# sourceMappingURL=customer-client.d.ts.map