UNPKG

@los_generic/shared

Version:

Shared DTOs, interfaces, and utilities for LOS applications

63 lines (62 loc) 1.35 kB
export interface IFetchZoneQuery { page_size?: number; page: number; searchText?: string; zone: string; right: string; sortColumn?: string; sortBy?: string; } export interface IFetchZoneResponse { statusCode: number; status: boolean; message: string; data: any; } export interface IFetchZoneByIdQuery { permission?: string; } export interface IFetchZoneByIdResponse { statusCode: number; status: boolean; message: string; data: any; } export interface ICreateZonePayload { countryId: number; zoneName: string; isActive: boolean; } export interface ICreateZoneResponse { statusCode: number; status: boolean; message: string; } export interface IUpdateZonePayload { countryId: number; zoneName: string; isActive: boolean; } export interface IUpdateZoneResponse { statusCode: number; status: boolean; message: string; } export interface IToggleZoneVisibilityPayload { isActive: boolean; } export interface IToggleZoneVisibilityResponse { statusCode: number; status: boolean; message: string; } export interface IDeleteZoneResponse { statusCode: number; status: boolean; message: string; } export interface IAttachPermissionsToZoneResponse { statusCode: number; status: boolean; message: string; }