UNPKG

@los_generic/shared

Version:

Shared DTOs, interfaces, and utilities for LOS applications

63 lines (62 loc) 1.38 kB
export interface IFetchTehsilQuery { page_size?: number; page: number; searchText?: string; tehsil: string; right: string; sortColumn?: string; sortBy?: string; } export interface IFetchTehsilResponse { statusCode: number; status: boolean; message: string; data: any; } export interface IFetchTehsilByIdQuery { permission?: string; } export interface IFetchTehsilByIdResponse { statusCode: number; status: boolean; message: string; data: any; } export interface ICreateTehsilPayload { districtId: number; tehsilName: string; isActive: boolean; } export interface ICreateTehsilResponse { statusCode: number; status: boolean; message: string; } export interface IUpdateTehsilPayload { districtId: number; tehsilName: string; isActive: boolean; } export interface IUpdateTehsilResponse { statusCode: number; status: boolean; message: string; } export interface IToggleTehsilVisibilityPayload { isActive: boolean; } export interface IToggleTehsilVisibilityResponse { statusCode: number; status: boolean; message: string; } export interface IDeleteTehsilResponse { statusCode: number; status: boolean; message: string; } export interface IAttachPermissionsToTehsilResponse { statusCode: number; status: boolean; message: string; }