cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
89 lines (88 loc) • 2.62 kB
TypeScript
import { MTableQueries } from "../../common-types/common";
import { FdskLeads, FdskLeadsBase } from "../../schema";
import { controllerResponse } from "../../utilities";
type IFdskLeadsErrorLogger = {
[key in keyof MFdskLeads]: string;
};
type FdskLeadsErrorLogger = {
[key in keyof FdskLeads]: string;
};
type IFdskLeadsGetByIdErrorLogger = {
[key in keyof MFdskLeadsGetByIdPayload]: string;
};
declare class FdskLeadsSaveUpdatePayload {
fdsk_leads?: FdskLeads;
constructor(init: FdskLeadsSaveUpdatePayload);
Validate?(): Partial<FdskLeadsErrorLogger>;
}
declare class MFdskLeads extends MTableQueries {
fdlds_id?: string;
fdlds_counselor_id_user?: string;
constructor(init: MFdskLeads);
Validate?(): Partial<IFdskLeadsErrorLogger>;
}
declare class MFdskLeadsGetByIdPayload {
fdlds_id?: string;
constructor(init: MFdskLeadsGetByIdPayload);
Validate?(): Partial<IFdskLeadsGetByIdErrorLogger>;
}
interface fdskLeadsControllerResponse extends controllerResponse {
data?: FdskLeadsListResponse[];
}
interface fdskLeadsInsertUpdateControllerResponse extends controllerResponse {
data?: FdskLeads;
}
interface fdskLeadsByIdControllerResponse extends controllerResponse {
data?: FdskLeadsListResponse;
}
interface FdskLeadsListResponse extends FdskLeadsBase {
fdlds_entity_id_syen?: {
_id?: string;
syen_name?: string;
};
fdlds_config_fdlcm?: {
_id?: string;
fdlcm_title?: string;
};
fdlds_counselor_id_user?: {
_id?: string;
user_fullname?: string;
};
fdlds_owner_id_user?: {
_id?: string;
user_fullname?: string;
};
fdlds_active_status_id_sygms?: {
_id?: string;
sygms_title?: string;
};
fdlds_pin_sypin?: {
_id?: string;
sypin_pincode?: string;
};
fdlds_city_sypin?: {
_id?: string;
sypin_division_name?: string;
};
fdlds_state_sypin?: {
_id?: string;
sypin_state_name?: string;
};
fdlds_country_syctr?: {
_id?: string;
syctr_country_iso_name?: string;
};
fdlds_priority_id_sygms?: {
_id?: string;
sygms_title?: string;
};
fdlds_reference_by_id_user?: {
_id?: string;
user_fullname?: string;
};
}
export { IFdskLeadsErrorLogger, //interface
IFdskLeadsGetByIdErrorLogger, //interface
MFdskLeads, // model
MFdskLeadsGetByIdPayload, // model
fdskLeadsControllerResponse, FdskLeadsListResponse, fdskLeadsInsertUpdateControllerResponse, fdskLeadsByIdControllerResponse, FdskLeadsSaveUpdatePayload };