cloud-ide-lms-model 1.0.239 → 1.0.241
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.
- package/lib/model/academics/aca_academic_year.d.ts +57 -0
- package/lib/model/academics/aca_academic_year.js +80 -0
- package/lib/model/academics/aca_academic_year_mapping.d.ts +57 -0
- package/lib/model/academics/aca_academic_year_mapping.js +74 -0
- package/lib/model/academics/index.d.ts +2 -0
- package/lib/model/academics/index.js +18 -0
- package/lib/model/accounts/acc_financial_year.d.ts +57 -0
- package/lib/model/accounts/acc_financial_year.js +80 -0
- package/lib/model/accounts/acc_financial_year_mapping.d.ts +57 -0
- package/lib/model/accounts/acc_financial_year_mapping.js +74 -0
- package/lib/model/accounts/index.d.ts +2 -0
- package/lib/model/accounts/index.js +18 -0
- package/lib/model/auth/auth_user_mst.d.ts +37 -5
- package/lib/model/auth/auth_user_mst.js +9 -1
- package/lib/model/core/core_academic_year.d.ts +57 -0
- package/lib/model/core/core_academic_year.js +80 -0
- package/lib/model/core/core_academic_year_mapping.d.ts +57 -0
- package/lib/model/core/core_academic_year_mapping.js +74 -0
- package/lib/model/core/core_financial_year.d.ts +57 -0
- package/lib/model/core/core_financial_year.js +80 -0
- package/lib/model/core/core_financial_year_mapping.d.ts +57 -0
- package/lib/model/core/core_financial_year_mapping.js +74 -0
- package/lib/model/core/index.d.ts +0 -4
- package/lib/model/core/index.js +0 -4
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +2 -0
- package/lib/schema/academics/aca_academic_year.d.ts +12 -0
- package/lib/schema/academics/aca_academic_year.js +6 -0
- package/lib/schema/academics/aca_academic_year_mapping.d.ts +11 -0
- package/lib/schema/academics/aca_academic_year_mapping.js +9 -0
- package/lib/schema/academics/index.d.ts +2 -0
- package/lib/schema/academics/index.js +18 -0
- package/lib/schema/accounts/acc_financial_year.d.ts +12 -0
- package/lib/schema/accounts/acc_financial_year.js +6 -0
- package/lib/schema/accounts/acc_financial_year_mapping.d.ts +11 -0
- package/lib/schema/accounts/acc_financial_year_mapping.js +9 -0
- package/lib/schema/accounts/index.d.ts +2 -0
- package/lib/schema/accounts/index.js +18 -0
- package/lib/schema/core/core_academic_year.d.ts +12 -0
- package/lib/schema/core/core_academic_year.js +6 -0
- package/lib/schema/core/core_academic_year_mapping.d.ts +11 -0
- package/lib/schema/core/core_academic_year_mapping.js +9 -0
- package/lib/schema/core/core_financial_year.d.ts +12 -0
- package/lib/schema/core/core_financial_year.js +6 -0
- package/lib/schema/core/core_financial_year_mapping.d.ts +11 -0
- package/lib/schema/core/core_financial_year_mapping.js +9 -0
- package/lib/schema/core/core_user_family_details.d.ts +8 -4
- package/lib/schema/core/core_user_family_details.js +5 -2
- package/lib/schema/core/index.d.ts +0 -5
- package/lib/schema/core/index.js +0 -5
- package/lib/schema/index.d.ts +2 -0
- package/lib/schema/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
import { AcaAcademicYear } from "../../schema";
|
|
3
|
+
import { controllerResponse } from "../../utilities";
|
|
4
|
+
type IAcademicYearErrorLogger = {
|
|
5
|
+
[key in keyof MAcademicYear]: string;
|
|
6
|
+
};
|
|
7
|
+
type IAcademicYearGetByIdErrorLogger = {
|
|
8
|
+
[key in keyof MAcademicYearGetByIdPayload]: string;
|
|
9
|
+
};
|
|
10
|
+
type IAcademicYearDeleteErrorLogger = {
|
|
11
|
+
[key in keyof MAcademicYearDeletePayload]: string;
|
|
12
|
+
};
|
|
13
|
+
type IAcademicYearInsertUpdateErrorLogger = {
|
|
14
|
+
[key in keyof MAcademicYearInsertUpdatePayload]: string;
|
|
15
|
+
};
|
|
16
|
+
type IAcademicYearToggleStatusErrorLogger = {
|
|
17
|
+
[key in keyof MAcademicYearToggleStatusPayload]: string;
|
|
18
|
+
};
|
|
19
|
+
declare class MAcademicYear extends MTableQueries {
|
|
20
|
+
constructor(init: MAcademicYear);
|
|
21
|
+
Validate?(): Partial<IAcademicYearErrorLogger>;
|
|
22
|
+
}
|
|
23
|
+
declare class MAcademicYearGetByIdPayload {
|
|
24
|
+
acayr_id?: string;
|
|
25
|
+
constructor(init: MAcademicYearGetByIdPayload);
|
|
26
|
+
Validate?(): Partial<IAcademicYearGetByIdErrorLogger>;
|
|
27
|
+
}
|
|
28
|
+
declare class MAcademicYearDeletePayload {
|
|
29
|
+
acayr_id?: string;
|
|
30
|
+
constructor(init: MAcademicYearDeletePayload);
|
|
31
|
+
Validate?(): Partial<IAcademicYearDeleteErrorLogger>;
|
|
32
|
+
}
|
|
33
|
+
declare class MAcademicYearToggleStatusPayload {
|
|
34
|
+
acayr_id?: string;
|
|
35
|
+
constructor(init: MAcademicYearToggleStatusPayload);
|
|
36
|
+
Validate?(): Partial<IAcademicYearToggleStatusErrorLogger>;
|
|
37
|
+
}
|
|
38
|
+
declare class MAcademicYearInsertUpdatePayload extends AcaAcademicYear {
|
|
39
|
+
constructor(init: AcaAcademicYear);
|
|
40
|
+
Validate?(): Partial<IAcademicYearInsertUpdateErrorLogger>;
|
|
41
|
+
}
|
|
42
|
+
interface academicYearControllerResponse extends controllerResponse {
|
|
43
|
+
data?: AcaAcademicYear[];
|
|
44
|
+
}
|
|
45
|
+
interface academicYearByIdControllerResponse extends controllerResponse {
|
|
46
|
+
data?: AcaAcademicYear;
|
|
47
|
+
}
|
|
48
|
+
interface academicYearInsertUpdateControllerResponse extends controllerResponse {
|
|
49
|
+
data?: AcaAcademicYear;
|
|
50
|
+
}
|
|
51
|
+
interface academicYearDeleteControllerResponse extends controllerResponse {
|
|
52
|
+
data?: boolean;
|
|
53
|
+
}
|
|
54
|
+
interface academicYearToggleStatusControllerResponse extends controllerResponse {
|
|
55
|
+
data?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export { IAcademicYearErrorLogger, IAcademicYearGetByIdErrorLogger, IAcademicYearDeleteErrorLogger, IAcademicYearInsertUpdateErrorLogger, IAcademicYearToggleStatusErrorLogger, MAcademicYear, MAcademicYearGetByIdPayload, MAcademicYearDeletePayload, MAcademicYearInsertUpdatePayload, MAcademicYearToggleStatusPayload, academicYearControllerResponse, academicYearByIdControllerResponse, academicYearInsertUpdateControllerResponse, academicYearDeleteControllerResponse, academicYearToggleStatusControllerResponse };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MAcademicYearToggleStatusPayload = exports.MAcademicYearInsertUpdatePayload = exports.MAcademicYearDeletePayload = exports.MAcademicYearGetByIdPayload = exports.MAcademicYear = void 0;
|
|
4
|
+
const common_1 = require("../../common-types/common");
|
|
5
|
+
const schema_1 = require("../../schema");
|
|
6
|
+
/* INTERFACE END */
|
|
7
|
+
/* MODEL START */
|
|
8
|
+
class MAcademicYear extends common_1.MTableQueries {
|
|
9
|
+
constructor(init) {
|
|
10
|
+
super(init);
|
|
11
|
+
Object.assign(this, init);
|
|
12
|
+
}
|
|
13
|
+
Validate() {
|
|
14
|
+
let errorLogger = {};
|
|
15
|
+
return errorLogger;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.MAcademicYear = MAcademicYear;
|
|
19
|
+
class MAcademicYearGetByIdPayload {
|
|
20
|
+
constructor(init) {
|
|
21
|
+
Object.assign(this, init);
|
|
22
|
+
}
|
|
23
|
+
Validate() {
|
|
24
|
+
let errorLogger = {};
|
|
25
|
+
if (!this.acayr_id) {
|
|
26
|
+
errorLogger.acayr_id = "Academic Year ID is Required!";
|
|
27
|
+
}
|
|
28
|
+
return errorLogger;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.MAcademicYearGetByIdPayload = MAcademicYearGetByIdPayload;
|
|
32
|
+
class MAcademicYearDeletePayload {
|
|
33
|
+
constructor(init) {
|
|
34
|
+
Object.assign(this, init);
|
|
35
|
+
}
|
|
36
|
+
Validate() {
|
|
37
|
+
let errorLogger = {};
|
|
38
|
+
if (!this.acayr_id) {
|
|
39
|
+
errorLogger.acayr_id = "Academic Year ID is Required!";
|
|
40
|
+
}
|
|
41
|
+
return errorLogger;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.MAcademicYearDeletePayload = MAcademicYearDeletePayload;
|
|
45
|
+
class MAcademicYearToggleStatusPayload {
|
|
46
|
+
constructor(init) {
|
|
47
|
+
Object.assign(this, init);
|
|
48
|
+
}
|
|
49
|
+
Validate() {
|
|
50
|
+
let errorLogger = {};
|
|
51
|
+
if (!this.acayr_id) {
|
|
52
|
+
errorLogger.acayr_id = "Academic Year ID is Required!";
|
|
53
|
+
}
|
|
54
|
+
return errorLogger;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.MAcademicYearToggleStatusPayload = MAcademicYearToggleStatusPayload;
|
|
58
|
+
class MAcademicYearInsertUpdatePayload extends schema_1.AcaAcademicYear {
|
|
59
|
+
constructor(init) {
|
|
60
|
+
super();
|
|
61
|
+
Object.assign(this, init);
|
|
62
|
+
}
|
|
63
|
+
Validate() {
|
|
64
|
+
let errorLogger = {};
|
|
65
|
+
if (!this.acayr_code) {
|
|
66
|
+
errorLogger.acayr_code = "Academic Year code is required!";
|
|
67
|
+
}
|
|
68
|
+
if (!this.acayr_name) {
|
|
69
|
+
errorLogger.acayr_name = "Academic Year name is required!";
|
|
70
|
+
}
|
|
71
|
+
if (!this.acayr_from_date) {
|
|
72
|
+
errorLogger.acayr_from_date = "From date is required!";
|
|
73
|
+
}
|
|
74
|
+
if (!this.acayr_to_date) {
|
|
75
|
+
errorLogger.acayr_to_date = "To date is required!";
|
|
76
|
+
}
|
|
77
|
+
return errorLogger;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.MAcademicYearInsertUpdatePayload = MAcademicYearInsertUpdatePayload;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
import { AcaAcademicYearMapping } from "../../schema";
|
|
3
|
+
import { controllerResponse } from "../../utilities";
|
|
4
|
+
type IAcademicYearMappingErrorLogger = {
|
|
5
|
+
[key in keyof MAcademicYearMapping]: string;
|
|
6
|
+
};
|
|
7
|
+
type IAcademicYearMappingGetByIdErrorLogger = {
|
|
8
|
+
[key in keyof MAcademicYearMappingGetByIdPayload]: string;
|
|
9
|
+
};
|
|
10
|
+
type IAcademicYearMappingDeleteErrorLogger = {
|
|
11
|
+
[key in keyof MAcademicYearMappingDeletePayload]: string;
|
|
12
|
+
};
|
|
13
|
+
type IAcademicYearMappingInsertUpdateErrorLogger = {
|
|
14
|
+
[key in keyof MAcademicYearMappingInsertUpdatePayload]: string;
|
|
15
|
+
};
|
|
16
|
+
type IAcademicYearMappingToggleStatusErrorLogger = {
|
|
17
|
+
[key in keyof MAcademicYearMappingToggleStatusPayload]: string;
|
|
18
|
+
};
|
|
19
|
+
declare class MAcademicYearMapping extends MTableQueries {
|
|
20
|
+
constructor(init: MAcademicYearMapping);
|
|
21
|
+
Validate?(): Partial<IAcademicYearMappingErrorLogger>;
|
|
22
|
+
}
|
|
23
|
+
declare class MAcademicYearMappingGetByIdPayload {
|
|
24
|
+
acayrmp_id?: string;
|
|
25
|
+
constructor(init: MAcademicYearMappingGetByIdPayload);
|
|
26
|
+
Validate?(): Partial<IAcademicYearMappingGetByIdErrorLogger>;
|
|
27
|
+
}
|
|
28
|
+
declare class MAcademicYearMappingDeletePayload {
|
|
29
|
+
acayrmp_id?: string;
|
|
30
|
+
constructor(init: MAcademicYearMappingDeletePayload);
|
|
31
|
+
Validate?(): Partial<IAcademicYearMappingDeleteErrorLogger>;
|
|
32
|
+
}
|
|
33
|
+
declare class MAcademicYearMappingToggleStatusPayload {
|
|
34
|
+
acayrmp_id?: string;
|
|
35
|
+
constructor(init: MAcademicYearMappingToggleStatusPayload);
|
|
36
|
+
Validate?(): Partial<IAcademicYearMappingToggleStatusErrorLogger>;
|
|
37
|
+
}
|
|
38
|
+
declare class MAcademicYearMappingInsertUpdatePayload extends AcaAcademicYearMapping {
|
|
39
|
+
constructor(init: AcaAcademicYearMapping);
|
|
40
|
+
Validate?(): Partial<IAcademicYearMappingInsertUpdateErrorLogger>;
|
|
41
|
+
}
|
|
42
|
+
interface academicYearMappingControllerResponse extends controllerResponse {
|
|
43
|
+
data?: AcaAcademicYearMapping[];
|
|
44
|
+
}
|
|
45
|
+
interface academicYearMappingByIdControllerResponse extends controllerResponse {
|
|
46
|
+
data?: AcaAcademicYearMapping;
|
|
47
|
+
}
|
|
48
|
+
interface academicYearMappingInsertUpdateControllerResponse extends controllerResponse {
|
|
49
|
+
data?: AcaAcademicYearMapping;
|
|
50
|
+
}
|
|
51
|
+
interface academicYearMappingDeleteControllerResponse extends controllerResponse {
|
|
52
|
+
data?: boolean;
|
|
53
|
+
}
|
|
54
|
+
interface academicYearMappingToggleStatusControllerResponse extends controllerResponse {
|
|
55
|
+
data?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export { IAcademicYearMappingErrorLogger, IAcademicYearMappingGetByIdErrorLogger, IAcademicYearMappingDeleteErrorLogger, IAcademicYearMappingInsertUpdateErrorLogger, IAcademicYearMappingToggleStatusErrorLogger, MAcademicYearMapping, MAcademicYearMappingGetByIdPayload, MAcademicYearMappingDeletePayload, MAcademicYearMappingInsertUpdatePayload, MAcademicYearMappingToggleStatusPayload, academicYearMappingControllerResponse, academicYearMappingByIdControllerResponse, academicYearMappingInsertUpdateControllerResponse, academicYearMappingDeleteControllerResponse, academicYearMappingToggleStatusControllerResponse };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MAcademicYearMappingToggleStatusPayload = exports.MAcademicYearMappingInsertUpdatePayload = exports.MAcademicYearMappingDeletePayload = exports.MAcademicYearMappingGetByIdPayload = exports.MAcademicYearMapping = void 0;
|
|
4
|
+
const common_1 = require("../../common-types/common");
|
|
5
|
+
const schema_1 = require("../../schema");
|
|
6
|
+
/* INTERFACE END */
|
|
7
|
+
/* MODEL START */
|
|
8
|
+
class MAcademicYearMapping extends common_1.MTableQueries {
|
|
9
|
+
constructor(init) {
|
|
10
|
+
super(init);
|
|
11
|
+
Object.assign(this, init);
|
|
12
|
+
}
|
|
13
|
+
Validate() {
|
|
14
|
+
let errorLogger = {};
|
|
15
|
+
return errorLogger;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.MAcademicYearMapping = MAcademicYearMapping;
|
|
19
|
+
class MAcademicYearMappingGetByIdPayload {
|
|
20
|
+
constructor(init) {
|
|
21
|
+
Object.assign(this, init);
|
|
22
|
+
}
|
|
23
|
+
Validate() {
|
|
24
|
+
let errorLogger = {};
|
|
25
|
+
if (!this.acayrmp_id) {
|
|
26
|
+
errorLogger.acayrmp_id = "Academic Year Mapping ID is Required!";
|
|
27
|
+
}
|
|
28
|
+
return errorLogger;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.MAcademicYearMappingGetByIdPayload = MAcademicYearMappingGetByIdPayload;
|
|
32
|
+
class MAcademicYearMappingDeletePayload {
|
|
33
|
+
constructor(init) {
|
|
34
|
+
Object.assign(this, init);
|
|
35
|
+
}
|
|
36
|
+
Validate() {
|
|
37
|
+
let errorLogger = {};
|
|
38
|
+
if (!this.acayrmp_id) {
|
|
39
|
+
errorLogger.acayrmp_id = "Academic Year Mapping ID is Required!";
|
|
40
|
+
}
|
|
41
|
+
return errorLogger;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.MAcademicYearMappingDeletePayload = MAcademicYearMappingDeletePayload;
|
|
45
|
+
class MAcademicYearMappingToggleStatusPayload {
|
|
46
|
+
constructor(init) {
|
|
47
|
+
Object.assign(this, init);
|
|
48
|
+
}
|
|
49
|
+
Validate() {
|
|
50
|
+
let errorLogger = {};
|
|
51
|
+
if (!this.acayrmp_id) {
|
|
52
|
+
errorLogger.acayrmp_id = "Academic Year Mapping ID is Required!";
|
|
53
|
+
}
|
|
54
|
+
return errorLogger;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.MAcademicYearMappingToggleStatusPayload = MAcademicYearMappingToggleStatusPayload;
|
|
58
|
+
class MAcademicYearMappingInsertUpdatePayload extends schema_1.AcaAcademicYearMapping {
|
|
59
|
+
constructor(init) {
|
|
60
|
+
super();
|
|
61
|
+
Object.assign(this, init);
|
|
62
|
+
}
|
|
63
|
+
Validate() {
|
|
64
|
+
let errorLogger = {};
|
|
65
|
+
if (!this.acayrmp_academic_year_id_acayr) {
|
|
66
|
+
errorLogger.acayrmp_academic_year_id_acayr = "Academic Year ID is required!";
|
|
67
|
+
}
|
|
68
|
+
if (!this.acayrmp_entity_id_syen) {
|
|
69
|
+
errorLogger.acayrmp_entity_id_syen = "Entity ID is required!";
|
|
70
|
+
}
|
|
71
|
+
return errorLogger;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.MAcademicYearMappingInsertUpdatePayload = MAcademicYearMappingInsertUpdatePayload;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./aca_academic_year"), exports);
|
|
18
|
+
__exportStar(require("./aca_academic_year_mapping"), exports);
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
import { AccFinancialYear } from "../../schema";
|
|
3
|
+
import { controllerResponse } from "../../utilities";
|
|
4
|
+
type IFinancialYearErrorLogger = {
|
|
5
|
+
[key in keyof MFinancialYear]: string;
|
|
6
|
+
};
|
|
7
|
+
type IFinancialYearGetByIdErrorLogger = {
|
|
8
|
+
[key in keyof MFinancialYearGetByIdPayload]: string;
|
|
9
|
+
};
|
|
10
|
+
type IFinancialYearDeleteErrorLogger = {
|
|
11
|
+
[key in keyof MFinancialYearDeletePayload]: string;
|
|
12
|
+
};
|
|
13
|
+
type IFinancialYearInsertUpdateErrorLogger = {
|
|
14
|
+
[key in keyof MFinancialYearInsertUpdatePayload]: string;
|
|
15
|
+
};
|
|
16
|
+
type IFinancialYearToggleStatusErrorLogger = {
|
|
17
|
+
[key in keyof MFinancialYearToggleStatusPayload]: string;
|
|
18
|
+
};
|
|
19
|
+
declare class MFinancialYear extends MTableQueries {
|
|
20
|
+
constructor(init: MFinancialYear);
|
|
21
|
+
Validate?(): Partial<IFinancialYearErrorLogger>;
|
|
22
|
+
}
|
|
23
|
+
declare class MFinancialYearGetByIdPayload {
|
|
24
|
+
accyr_id?: string;
|
|
25
|
+
constructor(init: MFinancialYearGetByIdPayload);
|
|
26
|
+
Validate?(): Partial<IFinancialYearGetByIdErrorLogger>;
|
|
27
|
+
}
|
|
28
|
+
declare class MFinancialYearDeletePayload {
|
|
29
|
+
accyr_id?: string;
|
|
30
|
+
constructor(init: MFinancialYearDeletePayload);
|
|
31
|
+
Validate?(): Partial<IFinancialYearDeleteErrorLogger>;
|
|
32
|
+
}
|
|
33
|
+
declare class MFinancialYearToggleStatusPayload {
|
|
34
|
+
accyr_id?: string;
|
|
35
|
+
constructor(init: MFinancialYearToggleStatusPayload);
|
|
36
|
+
Validate?(): Partial<IFinancialYearToggleStatusErrorLogger>;
|
|
37
|
+
}
|
|
38
|
+
declare class MFinancialYearInsertUpdatePayload extends AccFinancialYear {
|
|
39
|
+
constructor(init: AccFinancialYear);
|
|
40
|
+
Validate?(): Partial<IFinancialYearInsertUpdateErrorLogger>;
|
|
41
|
+
}
|
|
42
|
+
interface financialYearControllerResponse extends controllerResponse {
|
|
43
|
+
data?: AccFinancialYear[];
|
|
44
|
+
}
|
|
45
|
+
interface financialYearByIdControllerResponse extends controllerResponse {
|
|
46
|
+
data?: AccFinancialYear;
|
|
47
|
+
}
|
|
48
|
+
interface financialYearInsertUpdateControllerResponse extends controllerResponse {
|
|
49
|
+
data?: AccFinancialYear;
|
|
50
|
+
}
|
|
51
|
+
interface financialYearDeleteControllerResponse extends controllerResponse {
|
|
52
|
+
data?: boolean;
|
|
53
|
+
}
|
|
54
|
+
interface financialYearToggleStatusControllerResponse extends controllerResponse {
|
|
55
|
+
data?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export { IFinancialYearErrorLogger, IFinancialYearGetByIdErrorLogger, IFinancialYearDeleteErrorLogger, IFinancialYearInsertUpdateErrorLogger, IFinancialYearToggleStatusErrorLogger, MFinancialYear, MFinancialYearGetByIdPayload, MFinancialYearDeletePayload, MFinancialYearInsertUpdatePayload, MFinancialYearToggleStatusPayload, financialYearControllerResponse, financialYearByIdControllerResponse, financialYearInsertUpdateControllerResponse, financialYearDeleteControllerResponse, financialYearToggleStatusControllerResponse };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MFinancialYearToggleStatusPayload = exports.MFinancialYearInsertUpdatePayload = exports.MFinancialYearDeletePayload = exports.MFinancialYearGetByIdPayload = exports.MFinancialYear = void 0;
|
|
4
|
+
const common_1 = require("../../common-types/common");
|
|
5
|
+
const schema_1 = require("../../schema");
|
|
6
|
+
/* INTERFACE END */
|
|
7
|
+
/* MODEL START */
|
|
8
|
+
class MFinancialYear extends common_1.MTableQueries {
|
|
9
|
+
constructor(init) {
|
|
10
|
+
super(init);
|
|
11
|
+
Object.assign(this, init);
|
|
12
|
+
}
|
|
13
|
+
Validate() {
|
|
14
|
+
let errorLogger = {};
|
|
15
|
+
return errorLogger;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.MFinancialYear = MFinancialYear;
|
|
19
|
+
class MFinancialYearGetByIdPayload {
|
|
20
|
+
constructor(init) {
|
|
21
|
+
Object.assign(this, init);
|
|
22
|
+
}
|
|
23
|
+
Validate() {
|
|
24
|
+
let errorLogger = {};
|
|
25
|
+
if (!this.accyr_id) {
|
|
26
|
+
errorLogger.accyr_id = "Financial Year ID is Required!";
|
|
27
|
+
}
|
|
28
|
+
return errorLogger;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.MFinancialYearGetByIdPayload = MFinancialYearGetByIdPayload;
|
|
32
|
+
class MFinancialYearDeletePayload {
|
|
33
|
+
constructor(init) {
|
|
34
|
+
Object.assign(this, init);
|
|
35
|
+
}
|
|
36
|
+
Validate() {
|
|
37
|
+
let errorLogger = {};
|
|
38
|
+
if (!this.accyr_id) {
|
|
39
|
+
errorLogger.accyr_id = "Financial Year ID is Required!";
|
|
40
|
+
}
|
|
41
|
+
return errorLogger;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.MFinancialYearDeletePayload = MFinancialYearDeletePayload;
|
|
45
|
+
class MFinancialYearToggleStatusPayload {
|
|
46
|
+
constructor(init) {
|
|
47
|
+
Object.assign(this, init);
|
|
48
|
+
}
|
|
49
|
+
Validate() {
|
|
50
|
+
let errorLogger = {};
|
|
51
|
+
if (!this.accyr_id) {
|
|
52
|
+
errorLogger.accyr_id = "Financial Year ID is Required!";
|
|
53
|
+
}
|
|
54
|
+
return errorLogger;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.MFinancialYearToggleStatusPayload = MFinancialYearToggleStatusPayload;
|
|
58
|
+
class MFinancialYearInsertUpdatePayload extends schema_1.AccFinancialYear {
|
|
59
|
+
constructor(init) {
|
|
60
|
+
super();
|
|
61
|
+
Object.assign(this, init);
|
|
62
|
+
}
|
|
63
|
+
Validate() {
|
|
64
|
+
let errorLogger = {};
|
|
65
|
+
if (!this.accyr_code) {
|
|
66
|
+
errorLogger.accyr_code = "Financial Year code is required!";
|
|
67
|
+
}
|
|
68
|
+
if (!this.accyr_name) {
|
|
69
|
+
errorLogger.accyr_name = "Financial Year name is required!";
|
|
70
|
+
}
|
|
71
|
+
if (!this.accyr_from_date) {
|
|
72
|
+
errorLogger.accyr_from_date = "From date is required!";
|
|
73
|
+
}
|
|
74
|
+
if (!this.accyr_to_date) {
|
|
75
|
+
errorLogger.accyr_to_date = "To date is required!";
|
|
76
|
+
}
|
|
77
|
+
return errorLogger;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.MFinancialYearInsertUpdatePayload = MFinancialYearInsertUpdatePayload;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
import { AccFinancialYearMapping } from "../../schema";
|
|
3
|
+
import { controllerResponse } from "../../utilities";
|
|
4
|
+
type IFinancialYearMappingErrorLogger = {
|
|
5
|
+
[key in keyof MFinancialYearMapping]: string;
|
|
6
|
+
};
|
|
7
|
+
type IFinancialYearMappingGetByIdErrorLogger = {
|
|
8
|
+
[key in keyof MFinancialYearMappingGetByIdPayload]: string;
|
|
9
|
+
};
|
|
10
|
+
type IFinancialYearMappingDeleteErrorLogger = {
|
|
11
|
+
[key in keyof MFinancialYearMappingDeletePayload]: string;
|
|
12
|
+
};
|
|
13
|
+
type IFinancialYearMappingInsertUpdateErrorLogger = {
|
|
14
|
+
[key in keyof MFinancialYearMappingInsertUpdatePayload]: string;
|
|
15
|
+
};
|
|
16
|
+
type IFinancialYearMappingToggleStatusErrorLogger = {
|
|
17
|
+
[key in keyof MFinancialYearMappingToggleStatusPayload]: string;
|
|
18
|
+
};
|
|
19
|
+
declare class MFinancialYearMapping extends MTableQueries {
|
|
20
|
+
constructor(init: MFinancialYearMapping);
|
|
21
|
+
Validate?(): Partial<IFinancialYearMappingErrorLogger>;
|
|
22
|
+
}
|
|
23
|
+
declare class MFinancialYearMappingGetByIdPayload {
|
|
24
|
+
accfymp_id?: string;
|
|
25
|
+
constructor(init: MFinancialYearMappingGetByIdPayload);
|
|
26
|
+
Validate?(): Partial<IFinancialYearMappingGetByIdErrorLogger>;
|
|
27
|
+
}
|
|
28
|
+
declare class MFinancialYearMappingDeletePayload {
|
|
29
|
+
accfymp_id?: string;
|
|
30
|
+
constructor(init: MFinancialYearMappingDeletePayload);
|
|
31
|
+
Validate?(): Partial<IFinancialYearMappingDeleteErrorLogger>;
|
|
32
|
+
}
|
|
33
|
+
declare class MFinancialYearMappingToggleStatusPayload {
|
|
34
|
+
accfymp_id?: string;
|
|
35
|
+
constructor(init: MFinancialYearMappingToggleStatusPayload);
|
|
36
|
+
Validate?(): Partial<IFinancialYearMappingToggleStatusErrorLogger>;
|
|
37
|
+
}
|
|
38
|
+
declare class MFinancialYearMappingInsertUpdatePayload extends AccFinancialYearMapping {
|
|
39
|
+
constructor(init: AccFinancialYearMapping);
|
|
40
|
+
Validate?(): Partial<IFinancialYearMappingInsertUpdateErrorLogger>;
|
|
41
|
+
}
|
|
42
|
+
interface financialYearMappingControllerResponse extends controllerResponse {
|
|
43
|
+
data?: AccFinancialYearMapping[];
|
|
44
|
+
}
|
|
45
|
+
interface financialYearMappingByIdControllerResponse extends controllerResponse {
|
|
46
|
+
data?: AccFinancialYearMapping;
|
|
47
|
+
}
|
|
48
|
+
interface financialYearMappingInsertUpdateControllerResponse extends controllerResponse {
|
|
49
|
+
data?: AccFinancialYearMapping;
|
|
50
|
+
}
|
|
51
|
+
interface financialYearMappingDeleteControllerResponse extends controllerResponse {
|
|
52
|
+
data?: boolean;
|
|
53
|
+
}
|
|
54
|
+
interface financialYearMappingToggleStatusControllerResponse extends controllerResponse {
|
|
55
|
+
data?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export { IFinancialYearMappingErrorLogger, IFinancialYearMappingGetByIdErrorLogger, IFinancialYearMappingDeleteErrorLogger, IFinancialYearMappingInsertUpdateErrorLogger, IFinancialYearMappingToggleStatusErrorLogger, MFinancialYearMapping, MFinancialYearMappingGetByIdPayload, MFinancialYearMappingDeletePayload, MFinancialYearMappingInsertUpdatePayload, MFinancialYearMappingToggleStatusPayload, financialYearMappingControllerResponse, financialYearMappingByIdControllerResponse, financialYearMappingInsertUpdateControllerResponse, financialYearMappingDeleteControllerResponse, financialYearMappingToggleStatusControllerResponse };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MFinancialYearMappingToggleStatusPayload = exports.MFinancialYearMappingInsertUpdatePayload = exports.MFinancialYearMappingDeletePayload = exports.MFinancialYearMappingGetByIdPayload = exports.MFinancialYearMapping = void 0;
|
|
4
|
+
const common_1 = require("../../common-types/common");
|
|
5
|
+
const schema_1 = require("../../schema");
|
|
6
|
+
/* INTERFACE END */
|
|
7
|
+
/* MODEL START */
|
|
8
|
+
class MFinancialYearMapping extends common_1.MTableQueries {
|
|
9
|
+
constructor(init) {
|
|
10
|
+
super(init);
|
|
11
|
+
Object.assign(this, init);
|
|
12
|
+
}
|
|
13
|
+
Validate() {
|
|
14
|
+
let errorLogger = {};
|
|
15
|
+
return errorLogger;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.MFinancialYearMapping = MFinancialYearMapping;
|
|
19
|
+
class MFinancialYearMappingGetByIdPayload {
|
|
20
|
+
constructor(init) {
|
|
21
|
+
Object.assign(this, init);
|
|
22
|
+
}
|
|
23
|
+
Validate() {
|
|
24
|
+
let errorLogger = {};
|
|
25
|
+
if (!this.accfymp_id) {
|
|
26
|
+
errorLogger.accfymp_id = "Financial Year Mapping ID is Required!";
|
|
27
|
+
}
|
|
28
|
+
return errorLogger;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.MFinancialYearMappingGetByIdPayload = MFinancialYearMappingGetByIdPayload;
|
|
32
|
+
class MFinancialYearMappingDeletePayload {
|
|
33
|
+
constructor(init) {
|
|
34
|
+
Object.assign(this, init);
|
|
35
|
+
}
|
|
36
|
+
Validate() {
|
|
37
|
+
let errorLogger = {};
|
|
38
|
+
if (!this.accfymp_id) {
|
|
39
|
+
errorLogger.accfymp_id = "Financial Year Mapping ID is Required!";
|
|
40
|
+
}
|
|
41
|
+
return errorLogger;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.MFinancialYearMappingDeletePayload = MFinancialYearMappingDeletePayload;
|
|
45
|
+
class MFinancialYearMappingToggleStatusPayload {
|
|
46
|
+
constructor(init) {
|
|
47
|
+
Object.assign(this, init);
|
|
48
|
+
}
|
|
49
|
+
Validate() {
|
|
50
|
+
let errorLogger = {};
|
|
51
|
+
if (!this.accfymp_id) {
|
|
52
|
+
errorLogger.accfymp_id = "Financial Year Mapping ID is Required!";
|
|
53
|
+
}
|
|
54
|
+
return errorLogger;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.MFinancialYearMappingToggleStatusPayload = MFinancialYearMappingToggleStatusPayload;
|
|
58
|
+
class MFinancialYearMappingInsertUpdatePayload extends schema_1.AccFinancialYearMapping {
|
|
59
|
+
constructor(init) {
|
|
60
|
+
super();
|
|
61
|
+
Object.assign(this, init);
|
|
62
|
+
}
|
|
63
|
+
Validate() {
|
|
64
|
+
let errorLogger = {};
|
|
65
|
+
if (!this.accfymp_financial_year_id_accyr) {
|
|
66
|
+
errorLogger.accfymp_financial_year_id_accyr = "Financial Year ID is required!";
|
|
67
|
+
}
|
|
68
|
+
if (!this.accfymp_entity_id_syen) {
|
|
69
|
+
errorLogger.accfymp_entity_id_syen = "Entity ID is required!";
|
|
70
|
+
}
|
|
71
|
+
return errorLogger;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.MFinancialYearMappingInsertUpdatePayload = MFinancialYearMappingInsertUpdatePayload;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./acc_financial_year"), exports);
|
|
18
|
+
__exportStar(require("./acc_financial_year_mapping"), exports);
|
|
@@ -2,8 +2,8 @@ import { MTableQueries } from "../../common-types";
|
|
|
2
2
|
import { AuthUserMst, CoreEntityMappingBase } from "../../schema";
|
|
3
3
|
import { CoreUserAttributes } from "../../schema/core/core_user_attributes";
|
|
4
4
|
import { CoreUserContactAddresses, CoreUserContactAddressesBase } from "../../schema/core/core_user_contact_addresses";
|
|
5
|
-
import { CoreUserDocuments } from "../../schema/core/core_user_documents";
|
|
6
|
-
import { CoreUserFamilyDetails } from "../../schema/core/core_user_family_details";
|
|
5
|
+
import { CoreUserDocuments, CoreUserDocumentsBase } from "../../schema/core/core_user_documents";
|
|
6
|
+
import { CoreUserFamilyDetails, CoreUserFamilyDetailsBase } from "../../schema/core/core_user_family_details";
|
|
7
7
|
import { controllerResponse } from "../../utilities";
|
|
8
8
|
type AuthUserMstListErrorLogger = {
|
|
9
9
|
[key in keyof AuthUserMstListPayload]: string;
|
|
@@ -52,8 +52,8 @@ declare class AuthUserMstGetByIdData {
|
|
|
52
52
|
syenm_entity_id_syen?: string;
|
|
53
53
|
auth_user_mst?: AuthUserMst;
|
|
54
54
|
core_user_contact_addresses?: AuthUserCoreUserContactAddresses[];
|
|
55
|
-
core_user_documents?:
|
|
56
|
-
core_user_family_details?:
|
|
55
|
+
core_user_documents?: AuthUserCoreUserDocuments[];
|
|
56
|
+
core_user_family_details?: AuthUserCoreUserFamilyDetails[];
|
|
57
57
|
core_user_attributes?: CoreUserAttributes[];
|
|
58
58
|
core_entity_mapping?: AuthUserCoreEntityMapping[];
|
|
59
59
|
menu_rights?: {
|
|
@@ -96,6 +96,38 @@ declare class AuthUserCoreUserContactAddresses extends CoreUserContactAddressesB
|
|
|
96
96
|
syctr_country_iso_name: string;
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
+
declare class AuthUserCoreUserDocuments extends CoreUserDocumentsBase {
|
|
100
|
+
syusd_document_type_id_sygms?: {
|
|
101
|
+
_id?: string;
|
|
102
|
+
sygms_name?: string;
|
|
103
|
+
};
|
|
104
|
+
syusd_photo_group_id_cyfm?: {
|
|
105
|
+
_id?: string;
|
|
106
|
+
cyfm_name?: string;
|
|
107
|
+
};
|
|
108
|
+
syusd_doc_verification_status_id_sygms?: {
|
|
109
|
+
_id?: string;
|
|
110
|
+
sygms_name?: string;
|
|
111
|
+
};
|
|
112
|
+
syusd_doc_kyc_status_id_sygms?: {
|
|
113
|
+
_id?: string;
|
|
114
|
+
sygms_name?: string;
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
declare class AuthUserCoreUserFamilyDetails extends CoreUserFamilyDetailsBase {
|
|
118
|
+
syfdl_family_member_id_user?: {
|
|
119
|
+
_id?: string;
|
|
120
|
+
user_fullname?: string;
|
|
121
|
+
};
|
|
122
|
+
syfdl_relationship_id_sygms?: {
|
|
123
|
+
_id?: string;
|
|
124
|
+
sygms_name?: string;
|
|
125
|
+
};
|
|
126
|
+
syfdl_blood_group_sygms?: {
|
|
127
|
+
_id?: string;
|
|
128
|
+
sygms_name?: string;
|
|
129
|
+
};
|
|
130
|
+
}
|
|
99
131
|
export { AuthUserMstListErrorLogger, //interface
|
|
100
132
|
AuthUserMstListPayload, // model
|
|
101
|
-
authUserMstListControllerResponse, AuthUserMstCreatePayload, authUserMstCreateControllerResponse, AuthUserMstGetByIdPayload, authUserMstGetByIdControllerResponse, AuthUserMstGetByIdErrorLogger, AuthUserMstCreateErrorLogger, AuthUserMstGetByIdData, AuthUserCoreEntityMapping, AuthUserCoreUserContactAddresses };
|
|
133
|
+
authUserMstListControllerResponse, AuthUserMstCreatePayload, authUserMstCreateControllerResponse, AuthUserMstGetByIdPayload, authUserMstGetByIdControllerResponse, AuthUserMstGetByIdErrorLogger, AuthUserMstCreateErrorLogger, AuthUserMstGetByIdData, AuthUserCoreEntityMapping, AuthUserCoreUserContactAddresses, AuthUserCoreUserFamilyDetails, AuthUserCoreUserDocuments };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AuthUserCoreUserContactAddresses = exports.AuthUserCoreEntityMapping = exports.AuthUserMstGetByIdData = exports.AuthUserMstGetByIdPayload = exports.AuthUserMstCreatePayload = exports.AuthUserMstListPayload = void 0;
|
|
3
|
+
exports.AuthUserCoreUserDocuments = exports.AuthUserCoreUserFamilyDetails = exports.AuthUserCoreUserContactAddresses = exports.AuthUserCoreEntityMapping = exports.AuthUserMstGetByIdData = exports.AuthUserMstGetByIdPayload = exports.AuthUserMstCreatePayload = exports.AuthUserMstListPayload = void 0;
|
|
4
4
|
const common_types_1 = require("../../common-types");
|
|
5
5
|
const schema_1 = require("../../schema");
|
|
6
6
|
const core_user_contact_addresses_1 = require("../../schema/core/core_user_contact_addresses");
|
|
7
|
+
const core_user_documents_1 = require("../../schema/core/core_user_documents");
|
|
8
|
+
const core_user_family_details_1 = require("../../schema/core/core_user_family_details");
|
|
7
9
|
/* INTERFACE END */
|
|
8
10
|
/* MODEL START */
|
|
9
11
|
class AuthUserMstListPayload extends common_types_1.MTableQueries {
|
|
@@ -77,3 +79,9 @@ exports.AuthUserCoreEntityMapping = AuthUserCoreEntityMapping;
|
|
|
77
79
|
class AuthUserCoreUserContactAddresses extends core_user_contact_addresses_1.CoreUserContactAddressesBase {
|
|
78
80
|
}
|
|
79
81
|
exports.AuthUserCoreUserContactAddresses = AuthUserCoreUserContactAddresses;
|
|
82
|
+
class AuthUserCoreUserDocuments extends core_user_documents_1.CoreUserDocumentsBase {
|
|
83
|
+
}
|
|
84
|
+
exports.AuthUserCoreUserDocuments = AuthUserCoreUserDocuments;
|
|
85
|
+
class AuthUserCoreUserFamilyDetails extends core_user_family_details_1.CoreUserFamilyDetailsBase {
|
|
86
|
+
}
|
|
87
|
+
exports.AuthUserCoreUserFamilyDetails = AuthUserCoreUserFamilyDetails;
|