@platform-modules/civil-aviation-authority 2.1.40 → 2.2.20
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/dist/data-source.d.ts +4 -0
- package/dist/data-source.js +106 -0
- package/dist/helpers/utils/enum.d.ts +75 -0
- package/dist/helpers/utils/enum.js +53 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +60 -0
- package/dist/models/BaseModel.d.ts +14 -0
- package/dist/models/BaseModel.js +66 -0
- package/dist/models/CAAServices.d.ts +8 -0
- package/dist/models/CAAServices.js +44 -0
- package/dist/models/CAASubServices.d.ts +11 -0
- package/dist/models/CAASubServices.js +55 -0
- package/dist/models/DelegateSettingsModel.d.ts +9 -0
- package/dist/models/DelegateSettingsModel.js +50 -0
- package/dist/models/DepartmentsModel.d.ts +7 -0
- package/dist/models/DepartmentsModel.js +39 -0
- package/dist/models/DirectorateModel.d.ts +7 -0
- package/dist/models/DirectorateModel.js +39 -0
- package/dist/models/ITHelpDeskModel.d.ts +33 -0
- package/dist/models/ITHelpDeskModel.js +136 -0
- package/dist/models/ITRequestAttachmentModel.d.ts +17 -0
- package/dist/models/ITRequestAttachmentModel.js +81 -0
- package/dist/models/ITRequestChatModel.d.ts +12 -0
- package/dist/models/ITRequestChatModel.js +56 -0
- package/dist/models/ItApprovalsModel.d.ts +21 -0
- package/dist/models/ItApprovalsModel.js +90 -0
- package/dist/models/ItWorkflowModel.d.ts +15 -0
- package/dist/models/ItWorkflowModel.js +61 -0
- package/dist/models/LogisticsApprovalModel.d.ts +22 -0
- package/dist/models/LogisticsApprovalModel.js +91 -0
- package/dist/models/LogisticsAttachmentModel.d.ts +12 -0
- package/dist/models/LogisticsAttachmentModel.js +64 -0
- package/dist/models/LogisticsChatModel.d.ts +17 -0
- package/dist/models/LogisticsChatModel.js +67 -0
- package/dist/models/LogisticsForeignVehicleModel.d.ts +42 -0
- package/dist/models/LogisticsForeignVehicleModel.js +153 -0
- package/dist/models/LogisticsForeignVehiclePassengerModel.d.ts +6 -0
- package/dist/models/LogisticsForeignVehiclePassengerModel.js +34 -0
- package/dist/models/LogisticsModel.d.ts +57 -0
- package/dist/models/LogisticsModel.js +195 -0
- package/dist/models/LogisticsWorkflowModel.d.ts +14 -0
- package/dist/models/LogisticsWorkflowModel.js +56 -0
- package/dist/models/NotificationModel.d.ts +23 -0
- package/dist/models/NotificationModel.js +92 -0
- package/dist/models/PortalFeedbackModel.d.ts +8 -0
- package/dist/models/PortalFeedbackModel.js +44 -0
- package/dist/models/PositionModel.d.ts +6 -0
- package/dist/models/PositionModel.js +34 -0
- package/dist/models/SectionModel.d.ts +8 -0
- package/dist/models/SectionModel.js +44 -0
- package/dist/models/ServiceTypeModel.d.ts +20 -0
- package/dist/models/ServiceTypeModel.js +88 -0
- package/dist/models/VpnApprovalModel.d.ts +21 -0
- package/dist/models/VpnApprovalModel.js +87 -0
- package/dist/models/VpnRequestAttachmentModel.d.ts +11 -0
- package/dist/models/VpnRequestAttachmentModel.js +59 -0
- package/dist/models/VpnRequestChatModel.d.ts +16 -0
- package/dist/models/VpnRequestChatModel.js +62 -0
- package/dist/models/VpnRequestModel.d.ts +70 -0
- package/dist/models/VpnRequestModel.js +175 -0
- package/dist/models/VpnWorkflowModel.d.ts +13 -0
- package/dist/models/VpnWorkflowModel.js +55 -0
- package/dist/models/WorkflowDefinitions.d.ts +16 -0
- package/dist/models/WorkflowDefinitions.js +86 -0
- package/dist/models/WorkflowHierarchy.d.ts +17 -0
- package/dist/models/WorkflowHierarchy.js +86 -0
- package/dist/models/WorkflowTask.d.ts +13 -0
- package/dist/models/WorkflowTask.js +78 -0
- package/dist/models/WorkflowTaskNames.d.ts +17 -0
- package/dist/models/WorkflowTaskNames.js +63 -0
- package/dist/models/contactInfoModel.d.ts +18 -0
- package/dist/models/contactInfoModel.js +80 -0
- package/dist/models/feedbackModel.d.ts +16 -0
- package/dist/models/feedbackModel.js +61 -0
- package/dist/models/importantLinksModel.d.ts +6 -0
- package/dist/models/importantLinksModel.js +34 -0
- package/dist/models/role.d.ts +16 -0
- package/dist/models/role.js +44 -0
- package/dist/models/roleRightsModel.d.ts +16 -0
- package/dist/models/roleRightsModel.js +44 -0
- package/dist/models/serviceBookmarksModel.d.ts +6 -0
- package/dist/models/serviceBookmarksModel.js +34 -0
- package/dist/models/user-sessions.d.ts +18 -0
- package/dist/models/user-sessions.js +54 -0
- package/dist/models/user.d.ts +47 -0
- package/dist/models/user.js +238 -0
- package/dist/models/userRolesModel.d.ts +19 -0
- package/dist/models/userRolesModel.js +59 -0
- package/dist/scripts.d.ts +1 -0
- package/dist/scripts.js +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.WorkflowDefinitions = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const CAAServices_1 = require("./CAAServices");
|
|
16
|
+
const CAASubServices_1 = require("./CAASubServices");
|
|
17
|
+
let WorkflowDefinitions = class WorkflowDefinitions extends BaseModel_1.BaseModel {
|
|
18
|
+
constructor(name, description, version, is_active, service_id, sub_service_id, status, service_type) {
|
|
19
|
+
super();
|
|
20
|
+
this.name = name;
|
|
21
|
+
this.description = description || '';
|
|
22
|
+
this.version = version || 1;
|
|
23
|
+
this.is_active = is_active !== undefined ? is_active : true;
|
|
24
|
+
this.service_id = service_id || null;
|
|
25
|
+
this.sub_service_id = sub_service_id || null;
|
|
26
|
+
this.status = status || 'draft';
|
|
27
|
+
this.service_type = service_type || 'none';
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.WorkflowDefinitions = WorkflowDefinitions;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: false }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], WorkflowDefinitions.prototype, "name", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], WorkflowDefinitions.prototype, "description", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'integer', default: 1 }),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], WorkflowDefinitions.prototype, "version", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], WorkflowDefinitions.prototype, "is_active", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({
|
|
49
|
+
type: 'varchar',
|
|
50
|
+
length: 20,
|
|
51
|
+
nullable: true,
|
|
52
|
+
enum: ['internal', 'external', 'none']
|
|
53
|
+
}),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], WorkflowDefinitions.prototype, "service_type", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], WorkflowDefinitions.prototype, "service_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.ManyToOne)(() => CAAServices_1.CAAServices),
|
|
62
|
+
(0, typeorm_1.JoinColumn)({ name: 'service_id' }),
|
|
63
|
+
__metadata("design:type", CAAServices_1.CAAServices)
|
|
64
|
+
], WorkflowDefinitions.prototype, "service", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
|
+
], WorkflowDefinitions.prototype, "sub_service_id", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.ManyToOne)(() => CAASubServices_1.CAASubServices),
|
|
71
|
+
(0, typeorm_1.JoinColumn)({ name: 'sub_service_id' }),
|
|
72
|
+
__metadata("design:type", CAASubServices_1.CAASubServices)
|
|
73
|
+
], WorkflowDefinitions.prototype, "sub_service", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({
|
|
76
|
+
type: 'varchar',
|
|
77
|
+
length: 20,
|
|
78
|
+
default: 'draft',
|
|
79
|
+
enum: ['draft', 'published']
|
|
80
|
+
}),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], WorkflowDefinitions.prototype, "status", void 0);
|
|
83
|
+
exports.WorkflowDefinitions = WorkflowDefinitions = __decorate([
|
|
84
|
+
(0, typeorm_1.Entity)({ name: 'workflow_definitions' }),
|
|
85
|
+
__metadata("design:paramtypes", [String, String, Number, Boolean, Object, Object, String, String])
|
|
86
|
+
], WorkflowDefinitions);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { WorkflowDefinitions } from './WorkflowDefinitions';
|
|
3
|
+
export declare class WorkflowHierarchy extends BaseModel {
|
|
4
|
+
workflow_definition_id: number;
|
|
5
|
+
department_id: number;
|
|
6
|
+
section_id: number;
|
|
7
|
+
approval_role_id: number;
|
|
8
|
+
approval_user_id: number;
|
|
9
|
+
taskname: string | null;
|
|
10
|
+
status: string | null;
|
|
11
|
+
task: any | null;
|
|
12
|
+
step_order: number;
|
|
13
|
+
is_required: boolean;
|
|
14
|
+
task_type: string | null;
|
|
15
|
+
workflow_definition: WorkflowDefinitions;
|
|
16
|
+
constructor(workflow_definition_id: number, department_id: number, section_id: number, approval_role_id: number, approval_user_id: number, step_order: number, is_required?: boolean, taskname?: string, status?: string, task?: any, task_type?: string);
|
|
17
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.WorkflowHierarchy = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const WorkflowDefinitions_1 = require("./WorkflowDefinitions");
|
|
16
|
+
let WorkflowHierarchy = class WorkflowHierarchy extends BaseModel_1.BaseModel {
|
|
17
|
+
constructor(workflow_definition_id, department_id, section_id, approval_role_id, approval_user_id, step_order, is_required, taskname, status, task, task_type) {
|
|
18
|
+
super();
|
|
19
|
+
this.workflow_definition_id = workflow_definition_id;
|
|
20
|
+
this.department_id = department_id;
|
|
21
|
+
this.section_id = section_id;
|
|
22
|
+
this.approval_role_id = approval_role_id;
|
|
23
|
+
this.approval_user_id = approval_user_id;
|
|
24
|
+
this.step_order = step_order;
|
|
25
|
+
this.is_required = is_required !== undefined ? is_required : true;
|
|
26
|
+
this.taskname = taskname || null;
|
|
27
|
+
this.status = status || null;
|
|
28
|
+
this.task = task || null;
|
|
29
|
+
this.task_type = task_type || null;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
exports.WorkflowHierarchy = WorkflowHierarchy;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], WorkflowHierarchy.prototype, "workflow_definition_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], WorkflowHierarchy.prototype, "department_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], WorkflowHierarchy.prototype, "section_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], WorkflowHierarchy.prototype, "approval_role_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], WorkflowHierarchy.prototype, "approval_user_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], WorkflowHierarchy.prototype, "taskname", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], WorkflowHierarchy.prototype, "status", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], WorkflowHierarchy.prototype, "task", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], WorkflowHierarchy.prototype, "step_order", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
71
|
+
__metadata("design:type", Boolean)
|
|
72
|
+
], WorkflowHierarchy.prototype, "is_required", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
75
|
+
__metadata("design:type", Object)
|
|
76
|
+
], WorkflowHierarchy.prototype, "task_type", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.ManyToOne)(() => WorkflowDefinitions_1.WorkflowDefinitions, { onDelete: 'CASCADE' }),
|
|
79
|
+
(0, typeorm_1.JoinColumn)({ name: 'workflow_definition_id' }),
|
|
80
|
+
__metadata("design:type", WorkflowDefinitions_1.WorkflowDefinitions)
|
|
81
|
+
], WorkflowHierarchy.prototype, "workflow_definition", void 0);
|
|
82
|
+
exports.WorkflowHierarchy = WorkflowHierarchy = __decorate([
|
|
83
|
+
(0, typeorm_1.Entity)({ name: 'workflow_hierarchy' }),
|
|
84
|
+
(0, typeorm_1.Unique)(['workflow_definition_id', 'step_order']),
|
|
85
|
+
__metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Boolean, String, String, Object, String])
|
|
86
|
+
], WorkflowHierarchy);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { TaskType } from "./WorkflowTaskNames";
|
|
3
|
+
import { CategoryType } from "./WorkflowTaskNames";
|
|
4
|
+
export declare class WorkflowTask extends BaseModel {
|
|
5
|
+
task_id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
service_id?: number | null;
|
|
8
|
+
sub_service_id?: number | null;
|
|
9
|
+
service_type?: string | null;
|
|
10
|
+
task_type: TaskType;
|
|
11
|
+
category: CategoryType;
|
|
12
|
+
constructor(name: string, task_id?: number, task_type?: TaskType, category?: CategoryType, service_id?: number | null, sub_service_id?: number | null, service_type?: string | null);
|
|
13
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.WorkflowTask = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const WorkflowTaskNames_1 = require("./WorkflowTaskNames");
|
|
16
|
+
const WorkflowTaskNames_2 = require("./WorkflowTaskNames");
|
|
17
|
+
// export enum TaskNameType {
|
|
18
|
+
// SIMPLE = 'SIMPLE',
|
|
19
|
+
// HUMAN = 'HUMAN'
|
|
20
|
+
// }
|
|
21
|
+
// export enum CategoryNameType {
|
|
22
|
+
// CREATE = 'CREATE',
|
|
23
|
+
// APPROVAL = 'APPROVAL',
|
|
24
|
+
// NOTIFICATION = 'NOTIFICATION'
|
|
25
|
+
// }
|
|
26
|
+
let WorkflowTask = class WorkflowTask extends BaseModel_1.BaseModel {
|
|
27
|
+
constructor(name, task_id, task_type, category, service_id, sub_service_id, service_type) {
|
|
28
|
+
super();
|
|
29
|
+
this.name = name;
|
|
30
|
+
this.task_id = task_id || 0;
|
|
31
|
+
this.task_type = task_type || WorkflowTaskNames_1.TaskType.SIMPLE;
|
|
32
|
+
this.category = category || WorkflowTaskNames_2.CategoryType.CREATE;
|
|
33
|
+
this.service_id = service_id ?? null;
|
|
34
|
+
this.sub_service_id = sub_service_id ?? null;
|
|
35
|
+
this.service_type = service_type ?? null;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
exports.WorkflowTask = WorkflowTask;
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], WorkflowTask.prototype, "task_id", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: false }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], WorkflowTask.prototype, "name", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
49
|
+
__metadata("design:type", Object)
|
|
50
|
+
], WorkflowTask.prototype, "service_id", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
53
|
+
__metadata("design:type", Object)
|
|
54
|
+
], WorkflowTask.prototype, "sub_service_id", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
57
|
+
__metadata("design:type", Object)
|
|
58
|
+
], WorkflowTask.prototype, "service_type", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({
|
|
61
|
+
type: 'enum',
|
|
62
|
+
enum: WorkflowTaskNames_1.TaskType,
|
|
63
|
+
nullable: true
|
|
64
|
+
}),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], WorkflowTask.prototype, "task_type", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({
|
|
69
|
+
type: 'enum',
|
|
70
|
+
enum: WorkflowTaskNames_2.CategoryType,
|
|
71
|
+
nullable: true
|
|
72
|
+
}),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], WorkflowTask.prototype, "category", void 0);
|
|
75
|
+
exports.WorkflowTask = WorkflowTask = __decorate([
|
|
76
|
+
(0, typeorm_1.Entity)({ name: 'workflow_tasks' }),
|
|
77
|
+
__metadata("design:paramtypes", [String, Number, String, String, Object, Object, Object])
|
|
78
|
+
], WorkflowTask);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum TaskType {
|
|
3
|
+
SIMPLE = "SIMPLE",
|
|
4
|
+
HUMAN = "HUMAN"
|
|
5
|
+
}
|
|
6
|
+
export declare enum CategoryType {
|
|
7
|
+
CREATE = "CREATE",
|
|
8
|
+
APPROVAL = "APPROVAL",
|
|
9
|
+
NOTIFICATION = "NOTIFICATION"
|
|
10
|
+
}
|
|
11
|
+
export declare class WorkflowTaskNames extends BaseModel {
|
|
12
|
+
name: string;
|
|
13
|
+
description: string;
|
|
14
|
+
task_type: TaskType;
|
|
15
|
+
category: CategoryType;
|
|
16
|
+
constructor(name: string, description: string, task_type: TaskType, category: CategoryType);
|
|
17
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.WorkflowTaskNames = exports.CategoryType = exports.TaskType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var TaskType;
|
|
16
|
+
(function (TaskType) {
|
|
17
|
+
TaskType["SIMPLE"] = "SIMPLE";
|
|
18
|
+
TaskType["HUMAN"] = "HUMAN";
|
|
19
|
+
})(TaskType || (exports.TaskType = TaskType = {}));
|
|
20
|
+
var CategoryType;
|
|
21
|
+
(function (CategoryType) {
|
|
22
|
+
CategoryType["CREATE"] = "CREATE";
|
|
23
|
+
CategoryType["APPROVAL"] = "APPROVAL";
|
|
24
|
+
CategoryType["NOTIFICATION"] = "NOTIFICATION";
|
|
25
|
+
})(CategoryType || (exports.CategoryType = CategoryType = {}));
|
|
26
|
+
let WorkflowTaskNames = class WorkflowTaskNames extends BaseModel_1.BaseModel {
|
|
27
|
+
constructor(name, description, task_type, category) {
|
|
28
|
+
super();
|
|
29
|
+
this.name = name;
|
|
30
|
+
this.description = description;
|
|
31
|
+
this.task_type = task_type;
|
|
32
|
+
this.category = category;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.WorkflowTaskNames = WorkflowTaskNames;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: false }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], WorkflowTaskNames.prototype, "name", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 200, nullable: true }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], WorkflowTaskNames.prototype, "description", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({
|
|
46
|
+
type: 'enum',
|
|
47
|
+
enum: TaskType,
|
|
48
|
+
nullable: true
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], WorkflowTaskNames.prototype, "task_type", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({
|
|
54
|
+
type: 'enum',
|
|
55
|
+
enum: CategoryType,
|
|
56
|
+
nullable: true
|
|
57
|
+
}),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], WorkflowTaskNames.prototype, "category", void 0);
|
|
60
|
+
exports.WorkflowTaskNames = WorkflowTaskNames = __decorate([
|
|
61
|
+
(0, typeorm_1.Entity)({ name: 'workflow_task_names' }),
|
|
62
|
+
__metadata("design:paramtypes", [String, String, String, String])
|
|
63
|
+
], WorkflowTaskNames);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class ContactInfo extends BaseModel {
|
|
3
|
+
id: number;
|
|
4
|
+
category: "CAA" | "Embassy";
|
|
5
|
+
name: string;
|
|
6
|
+
business_email: string;
|
|
7
|
+
business_phone: string;
|
|
8
|
+
extension_number: string;
|
|
9
|
+
fax_number: string;
|
|
10
|
+
location: string;
|
|
11
|
+
street: string;
|
|
12
|
+
city: string;
|
|
13
|
+
state: string;
|
|
14
|
+
zip_code: string;
|
|
15
|
+
country: string;
|
|
16
|
+
photo_url: string;
|
|
17
|
+
department_id: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ContactInfo = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ContactInfo = class ContactInfo extends BaseModel_1.BaseModel {
|
|
16
|
+
};
|
|
17
|
+
exports.ContactInfo = ContactInfo;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], ContactInfo.prototype, "id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: "enum", enum: ["CAA", "Embassy"], nullable: false }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ContactInfo.prototype, "category", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], ContactInfo.prototype, "name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: false }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], ContactInfo.prototype, "business_email", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: false }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ContactInfo.prototype, "business_phone", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], ContactInfo.prototype, "extension_number", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], ContactInfo.prototype, "fax_number", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], ContactInfo.prototype, "location", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], ContactInfo.prototype, "street", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], ContactInfo.prototype, "city", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], ContactInfo.prototype, "state", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 20, nullable: true }),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], ContactInfo.prototype, "zip_code", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], ContactInfo.prototype, "country", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500, nullable: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], ContactInfo.prototype, "photo_url", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], ContactInfo.prototype, "department_id", void 0);
|
|
78
|
+
exports.ContactInfo = ContactInfo = __decorate([
|
|
79
|
+
(0, typeorm_1.Entity)({ name: "contact_info" })
|
|
80
|
+
], ContactInfo);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum Rating {
|
|
3
|
+
ONE = 1,
|
|
4
|
+
TWO = 2,
|
|
5
|
+
THREE = 3,
|
|
6
|
+
FOUR = 4,
|
|
7
|
+
FIVE = 5
|
|
8
|
+
}
|
|
9
|
+
export declare class Feedback extends BaseModel {
|
|
10
|
+
comment: string;
|
|
11
|
+
rating: Rating;
|
|
12
|
+
category_Id: number;
|
|
13
|
+
sub_category_Id: number;
|
|
14
|
+
user_Id: number;
|
|
15
|
+
constructor(comment: string, rating: Rating, category_Id: number, sub_category_Id: number, user_Id: number);
|
|
16
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Feedback = exports.Rating = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var Rating;
|
|
16
|
+
(function (Rating) {
|
|
17
|
+
Rating[Rating["ONE"] = 1] = "ONE";
|
|
18
|
+
Rating[Rating["TWO"] = 2] = "TWO";
|
|
19
|
+
Rating[Rating["THREE"] = 3] = "THREE";
|
|
20
|
+
Rating[Rating["FOUR"] = 4] = "FOUR";
|
|
21
|
+
Rating[Rating["FIVE"] = 5] = "FIVE";
|
|
22
|
+
})(Rating || (exports.Rating = Rating = {}));
|
|
23
|
+
let Feedback = class Feedback extends BaseModel_1.BaseModel {
|
|
24
|
+
constructor(comment, rating, category_Id, sub_category_Id, user_Id) {
|
|
25
|
+
super();
|
|
26
|
+
this.comment = comment,
|
|
27
|
+
this.rating = rating,
|
|
28
|
+
this.category_Id = category_Id,
|
|
29
|
+
this.sub_category_Id = sub_category_Id,
|
|
30
|
+
this.user_Id = user_Id;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.Feedback = Feedback;
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], Feedback.prototype, "comment", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({
|
|
40
|
+
type: "enum",
|
|
41
|
+
enum: Rating,
|
|
42
|
+
nullable: true,
|
|
43
|
+
}),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], Feedback.prototype, "rating", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], Feedback.prototype, "category_Id", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], Feedback.prototype, "sub_category_Id", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], Feedback.prototype, "user_Id", void 0);
|
|
58
|
+
exports.Feedback = Feedback = __decorate([
|
|
59
|
+
(0, typeorm_1.Entity)({ name: 'feedback' }),
|
|
60
|
+
__metadata("design:paramtypes", [String, Number, Number, Number, Number])
|
|
61
|
+
], Feedback);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ImportantLinks = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ImportantLinks = class ImportantLinks extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(title, url) {
|
|
17
|
+
super();
|
|
18
|
+
this.title = title;
|
|
19
|
+
this.url = url;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.ImportantLinks = ImportantLinks;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: false }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], ImportantLinks.prototype, "title", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: false }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ImportantLinks.prototype, "url", void 0);
|
|
31
|
+
exports.ImportantLinks = ImportantLinks = __decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'important_links' }),
|
|
33
|
+
__metadata("design:paramtypes", [String, String])
|
|
34
|
+
], ImportantLinks);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** *
|
|
2
|
+
@author
|
|
3
|
+
Amnet Digital
|
|
4
|
+
@date
|
|
5
|
+
2024-05-20
|
|
6
|
+
@Model
|
|
7
|
+
Role
|
|
8
|
+
@usage
|
|
9
|
+
Userrole Information will store
|
|
10
|
+
*/
|
|
11
|
+
import { BaseModel } from './BaseModel';
|
|
12
|
+
export declare class Role extends BaseModel {
|
|
13
|
+
name: string;
|
|
14
|
+
is_deleted?: boolean;
|
|
15
|
+
constructor(name: string, is_deleted: boolean);
|
|
16
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/** *
|
|
3
|
+
@author
|
|
4
|
+
Amnet Digital
|
|
5
|
+
@date
|
|
6
|
+
2024-05-20
|
|
7
|
+
@Model
|
|
8
|
+
Role
|
|
9
|
+
@usage
|
|
10
|
+
Userrole Information will store
|
|
11
|
+
*/
|
|
12
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
16
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17
|
+
};
|
|
18
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.Role = void 0;
|
|
23
|
+
const typeorm_1 = require("typeorm");
|
|
24
|
+
const BaseModel_1 = require("./BaseModel");
|
|
25
|
+
let Role = class Role extends BaseModel_1.BaseModel {
|
|
26
|
+
constructor(name, is_deleted) {
|
|
27
|
+
super();
|
|
28
|
+
this.name = name;
|
|
29
|
+
this.is_deleted = is_deleted;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
exports.Role = Role;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Role.prototype, "name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], Role.prototype, "is_deleted", void 0);
|
|
41
|
+
exports.Role = Role = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)({ name: 'role' }),
|
|
43
|
+
__metadata("design:paramtypes", [String, Boolean])
|
|
44
|
+
], Role);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** *
|
|
2
|
+
@author
|
|
3
|
+
Amnet Digital
|
|
4
|
+
@date
|
|
5
|
+
2024-05-20
|
|
6
|
+
@Model
|
|
7
|
+
Role
|
|
8
|
+
@usage
|
|
9
|
+
Userrole Information will store
|
|
10
|
+
*/
|
|
11
|
+
import { BaseModel } from './BaseModel';
|
|
12
|
+
export declare class RoleRights extends BaseModel {
|
|
13
|
+
user_role_id: number;
|
|
14
|
+
service_id: number;
|
|
15
|
+
constructor(user_role_id: number, service_id: number);
|
|
16
|
+
}
|