first commit
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
export type SysAdminPaginateUsersParams = {
|
||||
page: number;
|
||||
limit: number;
|
||||
name?: string;
|
||||
lastName?: string;
|
||||
email?: string;
|
||||
isVerified?: boolean;
|
||||
createdFrom?: string;
|
||||
createdTo?: string;
|
||||
sortBy?: "name" | "createdAt";
|
||||
sortOrder?: "asc" | "desc";
|
||||
};
|
||||
|
||||
export type PaginateUsersResults = {
|
||||
data: any[];
|
||||
page: number;
|
||||
pages: number;
|
||||
};
|
||||
|
||||
export type SysAdminUpdateProfileParams = {
|
||||
userId: string;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
street?: string;
|
||||
streetNumber?: string;
|
||||
builingFloor?: string;
|
||||
buildingApartament?: string;
|
||||
block?: string;
|
||||
city?: string;
|
||||
state?: string;
|
||||
country?: string;
|
||||
zipCode?: string;
|
||||
phoneCountryCode?: string;
|
||||
phoneAreaCode?: string;
|
||||
phoneNumber?: string;
|
||||
};
|
||||
|
||||
export type SysAdminSetVerifiedParams = {
|
||||
userId: string;
|
||||
isVerified: boolean;
|
||||
};
|
||||
|
||||
export type SysAdminDeleteUserParams = {
|
||||
userId: string;
|
||||
};
|
||||
|
||||
export type SysAdminOrganizationsStatusParams = {
|
||||
userId: string;
|
||||
};
|
||||
|
||||
export type SysAdminUserOrganizationsResult = {
|
||||
clientIn: { companyId: string; companyName: string }[];
|
||||
collaboratorIn: { companyId: string; companyName: string }[];
|
||||
};
|
||||
Reference in New Issue
Block a user