@experts_hub/shared
Version:
Shared DTOs, interfaces, and utilities for experts hub applications
53 lines (52 loc) • 1.23 kB
TypeScript
export interface IFetchClientProfileQuery {
page_size?: number;
page: number;
searchText?: string;
companyName: string;
right: string;
sortColumn?: string;
sortBy?: string;
}
export interface IFetchClientProfileResponse {
statusCode: number;
status: boolean;
message: string;
data: any;
}
export interface IUpdateClientProfilePayload {
userId?: number;
companyName?: string;
bio?: string;
webSite?: string;
isServiceAgreementSigned?: boolean;
aboutCompany: string;
companyAddress: string;
phoneNumber: string;
skills?: string[];
requiredFreelancer?: string;
kindOfHiring?: string;
modeOfHire?: string;
foundUsOn?: string;
}
export interface IUpdateClientProfileResponse {
statusCode: number;
status: boolean;
message: string;
}
export interface IUpdateClientLogoPayload {
logo: string;
}
export interface IUpdateClientLogoResponse {
statusCode: number;
status: boolean;
message: string;
}
export interface IUpdateClientPasswordPayload {
oldPassword: string;
newPassword: string;
}
export interface IUpdateClientProfileResponse {
statusCode: number;
status: boolean;
message: string;
}