cloud-ide-lms-model 1.0.312 → 1.0.314
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,6 +7,9 @@ type IFdskLeadsErrorLogger = {
|
|
|
7
7
|
type FdskLeadsErrorLogger = {
|
|
8
8
|
[key in keyof FdskLeads]: string;
|
|
9
9
|
};
|
|
10
|
+
type IFdskLeadsGetByIdErrorLogger = {
|
|
11
|
+
[key in keyof MFdskLeadsGetByIdPayload]: string;
|
|
12
|
+
};
|
|
10
13
|
declare class FdskLeadsSaveUpdatePayload {
|
|
11
14
|
fdsk_leads?: FdskLeads;
|
|
12
15
|
constructor(init: FdskLeadsSaveUpdatePayload);
|
|
@@ -17,6 +20,11 @@ declare class MFdskLeads extends MTableQueries {
|
|
|
17
20
|
constructor(init: MFdskLeads);
|
|
18
21
|
Validate?(): Partial<IFdskLeadsErrorLogger>;
|
|
19
22
|
}
|
|
23
|
+
declare class MFdskLeadsGetByIdPayload {
|
|
24
|
+
fdlds_id?: string;
|
|
25
|
+
constructor(init: MFdskLeadsGetByIdPayload);
|
|
26
|
+
Validate?(): Partial<IFdskLeadsGetByIdErrorLogger>;
|
|
27
|
+
}
|
|
20
28
|
interface fdskLeadsControllerResponse extends controllerResponse {
|
|
21
29
|
data?: FdskLeadsListResponse[];
|
|
22
30
|
}
|
|
@@ -24,7 +32,7 @@ interface fdskLeadsInsertUpdateControllerResponse extends controllerResponse {
|
|
|
24
32
|
data?: FdskLeads;
|
|
25
33
|
}
|
|
26
34
|
interface fdskLeadsByIdControllerResponse extends controllerResponse {
|
|
27
|
-
data?:
|
|
35
|
+
data?: FdskLeadsListResponse;
|
|
28
36
|
}
|
|
29
37
|
interface FdskLeadsListResponse extends FdskLeadsBase {
|
|
30
38
|
fdlds_entity_id_syen?: {
|
|
@@ -73,5 +81,7 @@ interface FdskLeadsListResponse extends FdskLeadsBase {
|
|
|
73
81
|
};
|
|
74
82
|
}
|
|
75
83
|
export { IFdskLeadsErrorLogger, //interface
|
|
84
|
+
IFdskLeadsGetByIdErrorLogger, //interface
|
|
76
85
|
MFdskLeads, // model
|
|
86
|
+
MFdskLeadsGetByIdPayload, // model
|
|
77
87
|
fdskLeadsControllerResponse, FdskLeadsListResponse, fdskLeadsInsertUpdateControllerResponse, fdskLeadsByIdControllerResponse, FdskLeadsSaveUpdatePayload };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FdskLeadsSaveUpdatePayload = exports.MFdskLeads = void 0;
|
|
3
|
+
exports.FdskLeadsSaveUpdatePayload = exports.MFdskLeadsGetByIdPayload = exports.MFdskLeads = void 0;
|
|
4
4
|
const common_1 = require("../../common-types/common");
|
|
5
5
|
/* INTERFACE END */
|
|
6
6
|
/* MODEL START */
|
|
@@ -25,3 +25,16 @@ class MFdskLeads extends common_1.MTableQueries {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
exports.MFdskLeads = MFdskLeads;
|
|
28
|
+
class MFdskLeadsGetByIdPayload {
|
|
29
|
+
constructor(init) {
|
|
30
|
+
Object.assign(this, init);
|
|
31
|
+
}
|
|
32
|
+
Validate() {
|
|
33
|
+
let errorLogger = {};
|
|
34
|
+
if (!this.fdlds_id) {
|
|
35
|
+
errorLogger.fdlds_id = "Lead ID is Required!";
|
|
36
|
+
}
|
|
37
|
+
return errorLogger;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.MFdskLeadsGetByIdPayload = MFdskLeadsGetByIdPayload;
|
|
@@ -13,17 +13,17 @@ declare class FdskLeadsBase {
|
|
|
13
13
|
fdlds_email?: string;
|
|
14
14
|
}
|
|
15
15
|
declare class FdskLeads extends FdskLeadsBase {
|
|
16
|
-
fdlds_entity_id_syen?: string;
|
|
17
|
-
fdlds_config_fdlcm?: string;
|
|
18
|
-
fdlds_counselor_id_user?: string;
|
|
19
|
-
fdlds_owner_id_user?: string;
|
|
20
|
-
fdlds_active_status_id_sygms?: string;
|
|
21
|
-
fdlds_pin_sypin?: string;
|
|
22
|
-
fdlds_city_sypin?: string;
|
|
23
|
-
fdlds_state_sypin?: string;
|
|
24
|
-
fdlds_country_syctr?: string;
|
|
25
|
-
fdlds_priority_id_sygms?: string;
|
|
26
|
-
fdlds_reference_by_id_user?: string;
|
|
16
|
+
fdlds_entity_id_syen?: string | null;
|
|
17
|
+
fdlds_config_fdlcm?: string | null;
|
|
18
|
+
fdlds_counselor_id_user?: string | null;
|
|
19
|
+
fdlds_owner_id_user?: string | null;
|
|
20
|
+
fdlds_active_status_id_sygms?: string | null;
|
|
21
|
+
fdlds_pin_sypin?: string | null;
|
|
22
|
+
fdlds_city_sypin?: string | null;
|
|
23
|
+
fdlds_state_sypin?: string | null;
|
|
24
|
+
fdlds_country_syctr?: string | null;
|
|
25
|
+
fdlds_priority_id_sygms?: string | null;
|
|
26
|
+
fdlds_reference_by_id_user?: string | null;
|
|
27
27
|
}
|
|
28
28
|
export { FdskLeads, // interface
|
|
29
29
|
FdskLeadsBase };
|