import { MTableQueries } from "../../common-types/common"; import { controllerResponse } from "../../utilities"; interface CoreApiEndpointMaster { _id?: string; api_endpoint: string; api_method: string; api_description: string; api_category: string; api_requires_auth: boolean; api_isactive: boolean; api_created_date?: Date; api_modified_date?: Date; api_created_by_user?: string; api_modified_by_user?: string; } type IApiEndpointMasterErrorLogger = { [key in keyof MApiEndpointMaster]: string; }; type ApiEndpointMasterErrorLogger = { [key in keyof CoreApiEndpointMaster]: string; }; type IApiEndpointMasterGetByIdErrorLogger = { [key in keyof MApiEndpointMasterGetByIdPayload]: string; }; type IApiEndpointMasterDeleteErrorLogger = { [key in keyof MApiEndpointMasterDeletePayload]: string; }; declare class ApiEndpointMasterSaveUpdatePayload { core_api_endpoint_master?: CoreApiEndpointMaster; constructor(init: ApiEndpointMasterSaveUpdatePayload); Validate?(): Partial; } declare class MApiEndpointMaster extends MTableQueries { api_id?: string; constructor(init: MApiEndpointMaster); Validate?(): Partial; } declare class MApiEndpointMasterGetByIdPayload { api_id?: string; constructor(init: MApiEndpointMasterGetByIdPayload); Validate?(): Partial; } declare class MApiEndpointMasterDeletePayload { api_id?: string; constructor(init: MApiEndpointMasterDeletePayload); Validate?(): Partial; } interface apiEndpointMasterControllerResponse extends controllerResponse { data?: ApiEndpointMasterListResponse[]; } interface apiEndpointMasterInsertUpdateControllerResponse extends controllerResponse { data?: CoreApiEndpointMaster; } interface apiEndpointMasterByIdControllerResponse extends controllerResponse { data?: CoreApiEndpointMaster; } interface ApiEndpointMasterListResponse extends Omit { api_created_by_user?: { _id?: string; user_fullname?: string; }; api_modified_by_user?: { _id?: string; user_fullname?: string; }; } export { CoreApiEndpointMaster, IApiEndpointMasterErrorLogger, ApiEndpointMasterErrorLogger, IApiEndpointMasterGetByIdErrorLogger, IApiEndpointMasterDeleteErrorLogger, ApiEndpointMasterSaveUpdatePayload, MApiEndpointMaster, MApiEndpointMasterGetByIdPayload, MApiEndpointMasterDeletePayload, apiEndpointMasterControllerResponse, apiEndpointMasterInsertUpdateControllerResponse, apiEndpointMasterByIdControllerResponse, ApiEndpointMasterListResponse };