UNPKG

@los_generic/shared

Version:

Shared DTOs, interfaces, and utilities for LOS applications

73 lines (72 loc) 1.61 kB
export interface IFetchStateQuery { page_size?: number; page: number; searchText?: string; state: string; right: string; sortColumn?: string; sortBy?: string; } export interface IFetchStateResponse { statusCode: number; status: boolean; message: string; data: any; } export interface IFetchStateByIdQuery { permission?: string; } export interface IFetchStateByIdResponse { statusCode: number; status: boolean; message: string; data: any; } export interface ICreateStatePayload { countryId: number; zoneId: number; stateName: string; gstTinVatId: string; gstTinVatNo: string; gstVatTaxPer: string; isUnionTerritory: boolean; isActive: boolean; } export interface ICreateStateResponse { statusCode: number; status: boolean; message: string; } export interface IUpdateStatePayload { countryId: number; zoneId: number; stateName: string; gstTinVatId: string; gstTinVatNo: string; gstVatTaxPer: string; isUnionTerritory: boolean; isActive: boolean; } export interface IUpdateStateResponse { statusCode: number; status: boolean; message: string; } export interface IToggleStateVisibilityPayload { isActive: boolean; } export interface IToggleStateVisibilityResponse { statusCode: number; status: boolean; message: string; } export interface IDeleteStateResponse { statusCode: number; status: boolean; message: string; } export interface IAttachPermissionsToStateResponse { statusCode: number; status: boolean; message: string; }