@los_generic/shared
Version:
Shared DTOs, interfaces, and utilities for LOS applications
65 lines (64 loc) • 1.37 kB
TypeScript
export interface IFetchRtoQuery {
page_size?: number;
page: number;
searchText?: string;
rto: string;
right: string;
sortColumn?: string;
sortBy?: string;
}
export interface IFetchRtoResponse {
statusCode: number;
status: boolean;
message: string;
data: any;
}
export interface IFetchRtoByIdQuery {
permission?: string;
}
export interface IFetchRtoByIdResponse {
statusCode: number;
status: boolean;
message: string;
data: any;
}
export interface ICreateRtoPayload {
rtoNo: string;
rtoName: string;
rtoAddress: string;
isActive: boolean;
}
export interface ICreateRtoResponse {
statusCode: number;
status: boolean;
message: string;
}
export interface IUpdateRtoPayload {
rtoNo: string;
rtoName: string;
rtoAddress: string;
isActive: boolean;
}
export interface IUpdateRtoResponse {
statusCode: number;
status: boolean;
message: string;
}
export interface IToggleRtoVisibilityPayload {
isActive: boolean;
}
export interface IToggleRtoVisibilityResponse {
statusCode: number;
status: boolean;
message: string;
}
export interface IDeleteRtoResponse {
statusCode: number;
status: boolean;
message: string;
}
export interface IAttachPermissionsToRtoResponse {
statusCode: number;
status: boolean;
message: string;
}