@platform-modules/foreign-ministry 1.3.141 → 1.3.143

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.
Files changed (51) hide show
  1. package/.env +6 -15
  2. package/dist/data-source.js +2 -12
  3. package/dist/index.d.ts +1 -10
  4. package/dist/index.js +2 -23
  5. package/dist/models/MissionTravelClassConfigModel.d.ts +10 -0
  6. package/dist/models/MissionTravelClassConfigModel.js +50 -0
  7. package/dist/models/MissionTravelPerdiemModel.d.ts +10 -0
  8. package/dist/models/MissionTravelPerdiemModel.js +54 -0
  9. package/dist/models/ProjectModel.d.ts +9 -0
  10. package/dist/models/ProjectModel.js +49 -0
  11. package/package.json +1 -1
  12. package/src/data-source.ts +2 -12
  13. package/src/index.ts +1 -12
  14. package/src/models/DocumentTranslationRequestModel.ts +54 -54
  15. package/src/models/LeaveConfigModel.ts +71 -71
  16. package/src/models/MissionTravelApprovalModel.ts +101 -101
  17. package/src/models/MissionTravelAttachmentModel.ts +56 -56
  18. package/src/models/MissionTravelChatModel.ts +52 -52
  19. package/src/models/MissionTravelPersonModel.ts +105 -105
  20. package/src/models/MissionTravelWorkflowModel.ts +54 -54
  21. package/src/models/ProjectModel.ts +35 -0
  22. package/src/models/RegisterCandidateRequestModel.ts +177 -177
  23. package/src/models/SectionModel.ts +35 -35
  24. package/src/models/ServicesNotificationConfigsModel.ts +55 -55
  25. package/dist/models/AppointmentApprovalModel.d.ts +0 -22
  26. package/dist/models/AppointmentApprovalModel.js +0 -84
  27. package/dist/models/AppointmentAttachmentModel.d.ts +0 -11
  28. package/dist/models/AppointmentAttachmentModel.js +0 -52
  29. package/dist/models/AppointmentAttendeeModel.d.ts +0 -14
  30. package/dist/models/AppointmentAttendeeModel.js +0 -47
  31. package/dist/models/AppointmentChatModel.d.ts +0 -19
  32. package/dist/models/AppointmentChatModel.js +0 -77
  33. package/dist/models/AppointmentRequestModel.d.ts +0 -47
  34. package/dist/models/AppointmentRequestModel.js +0 -126
  35. package/dist/models/AppointmentWorkflowModel.d.ts +0 -17
  36. package/dist/models/AppointmentWorkflowModel.js +0 -62
  37. package/dist/models/HelpContentMappedCategoriesModel.d.ts +0 -6
  38. package/dist/models/HelpContentMappedCategoriesModel.js +0 -34
  39. package/dist/models/HelpContentMappedTagsModel.d.ts +0 -6
  40. package/dist/models/HelpContentMappedTagsModel.js +0 -34
  41. package/dist/models/HelpContentTagsModel.d.ts +0 -5
  42. package/dist/models/HelpContentTagsModel.js +0 -29
  43. package/dist/models/questionTagsModel.d.ts +0 -6
  44. package/dist/models/questionTagsModel.js +0 -34
  45. package/src/models/AppointmentApprovalModel.ts +0 -57
  46. package/src/models/AppointmentAttachmentModel.ts +0 -30
  47. package/src/models/AppointmentAttendeeModel.ts +0 -28
  48. package/src/models/AppointmentChatModel.ts +0 -64
  49. package/src/models/AppointmentRequestModel.ts +0 -93
  50. package/src/models/AppointmentWorkflowModel.ts +0 -39
  51. /package/src/models/{LeaveConfigGradesModel.ts → LeaveConfigGradesModel.Ts} +0 -0
@@ -1,52 +0,0 @@
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.AppointmentRequestAttachment = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- let AppointmentRequestAttachment = class AppointmentRequestAttachment extends BaseModel_1.BaseModel {
16
- };
17
- exports.AppointmentRequestAttachment = AppointmentRequestAttachment;
18
- __decorate([
19
- (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
20
- __metadata("design:type", Number)
21
- ], AppointmentRequestAttachment.prototype, "appointment_id", void 0);
22
- __decorate([
23
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
24
- __metadata("design:type", Object)
25
- ], AppointmentRequestAttachment.prototype, "service_id", void 0);
26
- __decorate([
27
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
28
- __metadata("design:type", Object)
29
- ], AppointmentRequestAttachment.prototype, "sub_service_id", void 0);
30
- __decorate([
31
- (0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
32
- __metadata("design:type", String)
33
- ], AppointmentRequestAttachment.prototype, "file_url", void 0);
34
- __decorate([
35
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
36
- __metadata("design:type", String)
37
- ], AppointmentRequestAttachment.prototype, "file_name", void 0);
38
- __decorate([
39
- (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
40
- __metadata("design:type", String)
41
- ], AppointmentRequestAttachment.prototype, "file_type", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
44
- __metadata("design:type", Object)
45
- ], AppointmentRequestAttachment.prototype, "file_size", void 0);
46
- __decorate([
47
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
48
- __metadata("design:type", Object)
49
- ], AppointmentRequestAttachment.prototype, "chat_id", void 0);
50
- exports.AppointmentRequestAttachment = AppointmentRequestAttachment = __decorate([
51
- (0, typeorm_1.Entity)({ name: 'appointment_attachments' })
52
- ], AppointmentRequestAttachment);
@@ -1,14 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare enum AppointmentAttendeeStatus {
3
- INVITED = "Invited",
4
- ACCEPTED = "Accepted",
5
- REJECTED = "Rejected",
6
- NO_SHOW = "No-Show"
7
- }
8
- export declare class AppointmentAttendees extends BaseModel {
9
- attendee_id: number;
10
- appointment_id: number;
11
- status: AppointmentAttendeeStatus;
12
- attendee_email: string | null;
13
- attendee_name: string | null;
14
- }
@@ -1,47 +0,0 @@
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.AppointmentAttendees = exports.AppointmentAttendeeStatus = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var AppointmentAttendeeStatus;
16
- (function (AppointmentAttendeeStatus) {
17
- AppointmentAttendeeStatus["INVITED"] = "Invited";
18
- AppointmentAttendeeStatus["ACCEPTED"] = "Accepted";
19
- AppointmentAttendeeStatus["REJECTED"] = "Rejected";
20
- AppointmentAttendeeStatus["NO_SHOW"] = "No-Show";
21
- })(AppointmentAttendeeStatus || (exports.AppointmentAttendeeStatus = AppointmentAttendeeStatus = {}));
22
- let AppointmentAttendees = class AppointmentAttendees extends BaseModel_1.BaseModel {
23
- };
24
- exports.AppointmentAttendees = AppointmentAttendees;
25
- __decorate([
26
- (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
27
- __metadata("design:type", Number)
28
- ], AppointmentAttendees.prototype, "attendee_id", void 0);
29
- __decorate([
30
- (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
31
- __metadata("design:type", Number)
32
- ], AppointmentAttendees.prototype, "appointment_id", void 0);
33
- __decorate([
34
- (0, typeorm_1.Column)({ type: 'enum', enum: AppointmentAttendeeStatus, default: AppointmentAttendeeStatus.INVITED, nullable: false }),
35
- __metadata("design:type", String)
36
- ], AppointmentAttendees.prototype, "status", void 0);
37
- __decorate([
38
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
39
- __metadata("design:type", Object)
40
- ], AppointmentAttendees.prototype, "attendee_email", void 0);
41
- __decorate([
42
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
43
- __metadata("design:type", Object)
44
- ], AppointmentAttendees.prototype, "attendee_name", void 0);
45
- exports.AppointmentAttendees = AppointmentAttendees = __decorate([
46
- (0, typeorm_1.Entity)({ name: 'appointment_attendees' })
47
- ], AppointmentAttendees);
@@ -1,19 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare enum AppointmentMessageType {
3
- TEXT = "text",
4
- IMAGE = "image",
5
- VIDEO = "video",
6
- FILE = "file",
7
- LINK = "link"
8
- }
9
- export declare class AppointmentRequestChat extends BaseModel {
10
- appointment_id: number;
11
- service_id: number | null;
12
- sub_service_id: number | null;
13
- user_id: number;
14
- role_id: number;
15
- message: string;
16
- messageType: AppointmentMessageType;
17
- status: string;
18
- constructor(appointment_id: number, user_id: number, role_id: number, message: string, service_id?: number, sub_service_id?: number, messageType?: AppointmentMessageType, status?: string);
19
- }
@@ -1,77 +0,0 @@
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.AppointmentRequestChat = exports.AppointmentMessageType = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var AppointmentMessageType;
16
- (function (AppointmentMessageType) {
17
- AppointmentMessageType["TEXT"] = "text";
18
- AppointmentMessageType["IMAGE"] = "image";
19
- AppointmentMessageType["VIDEO"] = "video";
20
- AppointmentMessageType["FILE"] = "file";
21
- AppointmentMessageType["LINK"] = "link";
22
- })(AppointmentMessageType || (exports.AppointmentMessageType = AppointmentMessageType = {}));
23
- let AppointmentRequestChat = class AppointmentRequestChat extends BaseModel_1.BaseModel {
24
- constructor(appointment_id, user_id, role_id, message, service_id, sub_service_id, messageType, status) {
25
- super();
26
- this.appointment_id = appointment_id;
27
- this.service_id = service_id ?? null;
28
- this.sub_service_id = sub_service_id ?? null;
29
- this.user_id = user_id;
30
- this.role_id = role_id;
31
- this.message = message;
32
- this.messageType = messageType ?? AppointmentMessageType.TEXT;
33
- this.status = status ?? 'Pending';
34
- }
35
- };
36
- exports.AppointmentRequestChat = AppointmentRequestChat;
37
- __decorate([
38
- (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
39
- __metadata("design:type", Number)
40
- ], AppointmentRequestChat.prototype, "appointment_id", void 0);
41
- __decorate([
42
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
43
- __metadata("design:type", Object)
44
- ], AppointmentRequestChat.prototype, "service_id", void 0);
45
- __decorate([
46
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
47
- __metadata("design:type", Object)
48
- ], AppointmentRequestChat.prototype, "sub_service_id", void 0);
49
- __decorate([
50
- (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
51
- __metadata("design:type", Number)
52
- ], AppointmentRequestChat.prototype, "user_id", void 0);
53
- __decorate([
54
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
55
- __metadata("design:type", Number)
56
- ], AppointmentRequestChat.prototype, "role_id", void 0);
57
- __decorate([
58
- (0, typeorm_1.Column)({ type: 'text', nullable: false }),
59
- __metadata("design:type", String)
60
- ], AppointmentRequestChat.prototype, "message", void 0);
61
- __decorate([
62
- (0, typeorm_1.Column)({
63
- type: 'enum',
64
- enum: AppointmentMessageType,
65
- default: AppointmentMessageType.TEXT,
66
- nullable: false,
67
- }),
68
- __metadata("design:type", String)
69
- ], AppointmentRequestChat.prototype, "messageType", void 0);
70
- __decorate([
71
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
72
- __metadata("design:type", String)
73
- ], AppointmentRequestChat.prototype, "status", void 0);
74
- exports.AppointmentRequestChat = AppointmentRequestChat = __decorate([
75
- (0, typeorm_1.Entity)({ name: 'appointment_chats' }),
76
- __metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
77
- ], AppointmentRequestChat);
@@ -1,47 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare enum AppointmentRequestStatus {
3
- PENDING = "Pending",
4
- ASSIGNED = "Assigned",
5
- IN_PROGRESS = "In Progress",
6
- APPROVED = "Approved",
7
- REJECTED = "Rejected"
8
- }
9
- export declare enum AppointmentRequestType {
10
- INTERNAL = "Internal",
11
- EXTERNAL = "External",
12
- OTHER_MINISTERS = "Other Ministers"
13
- }
14
- export declare enum AppointmentType {
15
- PHYSICAL = "Physical",
16
- ONLINE = "Online"
17
- }
18
- export declare enum AppointmentYesNo {
19
- YES = "Yes",
20
- NO = "No"
21
- }
22
- export declare enum AppointmentLocation {
23
- EMBASSY = "Embassy",
24
- MINISTRY = "Ministry",
25
- EXTERNAL_VENUE = "External Venue"
26
- }
27
- export declare class AppointmentRequests extends BaseModel {
28
- req_user_department_id: number | null;
29
- req_user_section_id: number | null;
30
- service_id: number | null;
31
- sub_service_id: number | null;
32
- user_id: number;
33
- department_id: number | null;
34
- receiving_department_id: number | null;
35
- request_type: AppointmentRequestType | null;
36
- appointment_type: AppointmentType | null;
37
- appointment_date: string | null;
38
- from_time: string | null;
39
- to_time: string | null;
40
- comments: string | null;
41
- person_name: string | null;
42
- contact_number: string | null;
43
- agenda: string | null;
44
- appointment_location: AppointmentLocation | null;
45
- status: AppointmentRequestStatus;
46
- workflow_execution_id: string | null;
47
- }
@@ -1,126 +0,0 @@
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.AppointmentRequests = exports.AppointmentLocation = exports.AppointmentYesNo = exports.AppointmentType = exports.AppointmentRequestType = exports.AppointmentRequestStatus = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var AppointmentRequestStatus;
16
- (function (AppointmentRequestStatus) {
17
- AppointmentRequestStatus["PENDING"] = "Pending";
18
- AppointmentRequestStatus["ASSIGNED"] = "Assigned";
19
- AppointmentRequestStatus["IN_PROGRESS"] = "In Progress";
20
- AppointmentRequestStatus["APPROVED"] = "Approved";
21
- AppointmentRequestStatus["REJECTED"] = "Rejected";
22
- })(AppointmentRequestStatus || (exports.AppointmentRequestStatus = AppointmentRequestStatus = {}));
23
- var AppointmentRequestType;
24
- (function (AppointmentRequestType) {
25
- AppointmentRequestType["INTERNAL"] = "Internal";
26
- AppointmentRequestType["EXTERNAL"] = "External";
27
- AppointmentRequestType["OTHER_MINISTERS"] = "Other Ministers";
28
- })(AppointmentRequestType || (exports.AppointmentRequestType = AppointmentRequestType = {}));
29
- var AppointmentType;
30
- (function (AppointmentType) {
31
- AppointmentType["PHYSICAL"] = "Physical";
32
- AppointmentType["ONLINE"] = "Online";
33
- })(AppointmentType || (exports.AppointmentType = AppointmentType = {}));
34
- var AppointmentYesNo;
35
- (function (AppointmentYesNo) {
36
- AppointmentYesNo["YES"] = "Yes";
37
- AppointmentYesNo["NO"] = "No";
38
- })(AppointmentYesNo || (exports.AppointmentYesNo = AppointmentYesNo = {}));
39
- var AppointmentLocation;
40
- (function (AppointmentLocation) {
41
- AppointmentLocation["EMBASSY"] = "Embassy";
42
- AppointmentLocation["MINISTRY"] = "Ministry";
43
- AppointmentLocation["EXTERNAL_VENUE"] = "External Venue";
44
- })(AppointmentLocation || (exports.AppointmentLocation = AppointmentLocation = {}));
45
- let AppointmentRequests = class AppointmentRequests extends BaseModel_1.BaseModel {
46
- };
47
- exports.AppointmentRequests = AppointmentRequests;
48
- __decorate([
49
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
50
- __metadata("design:type", Object)
51
- ], AppointmentRequests.prototype, "req_user_department_id", void 0);
52
- __decorate([
53
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
54
- __metadata("design:type", Object)
55
- ], AppointmentRequests.prototype, "req_user_section_id", void 0);
56
- __decorate([
57
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
58
- __metadata("design:type", Object)
59
- ], AppointmentRequests.prototype, "service_id", void 0);
60
- __decorate([
61
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
62
- __metadata("design:type", Object)
63
- ], AppointmentRequests.prototype, "sub_service_id", void 0);
64
- __decorate([
65
- (0, typeorm_1.Column)({ type: 'int', nullable: false }),
66
- __metadata("design:type", Number)
67
- ], AppointmentRequests.prototype, "user_id", void 0);
68
- __decorate([
69
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
70
- __metadata("design:type", Object)
71
- ], AppointmentRequests.prototype, "department_id", void 0);
72
- __decorate([
73
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
74
- __metadata("design:type", Object)
75
- ], AppointmentRequests.prototype, "receiving_department_id", void 0);
76
- __decorate([
77
- (0, typeorm_1.Column)({ type: 'enum', enum: AppointmentRequestType, nullable: true }),
78
- __metadata("design:type", Object)
79
- ], AppointmentRequests.prototype, "request_type", void 0);
80
- __decorate([
81
- (0, typeorm_1.Column)({ type: 'enum', enum: AppointmentType, nullable: true }),
82
- __metadata("design:type", Object)
83
- ], AppointmentRequests.prototype, "appointment_type", void 0);
84
- __decorate([
85
- (0, typeorm_1.Column)({ type: 'date', nullable: true }),
86
- __metadata("design:type", Object)
87
- ], AppointmentRequests.prototype, "appointment_date", void 0);
88
- __decorate([
89
- (0, typeorm_1.Column)({ type: 'time', nullable: true }),
90
- __metadata("design:type", Object)
91
- ], AppointmentRequests.prototype, "from_time", void 0);
92
- __decorate([
93
- (0, typeorm_1.Column)({ type: 'time', nullable: true }),
94
- __metadata("design:type", Object)
95
- ], AppointmentRequests.prototype, "to_time", void 0);
96
- __decorate([
97
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
98
- __metadata("design:type", Object)
99
- ], AppointmentRequests.prototype, "comments", void 0);
100
- __decorate([
101
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
102
- __metadata("design:type", Object)
103
- ], AppointmentRequests.prototype, "person_name", void 0);
104
- __decorate([
105
- (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
106
- __metadata("design:type", Object)
107
- ], AppointmentRequests.prototype, "contact_number", void 0);
108
- __decorate([
109
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
110
- __metadata("design:type", Object)
111
- ], AppointmentRequests.prototype, "agenda", void 0);
112
- __decorate([
113
- (0, typeorm_1.Column)({ type: 'enum', enum: AppointmentLocation, nullable: true }),
114
- __metadata("design:type", Object)
115
- ], AppointmentRequests.prototype, "appointment_location", void 0);
116
- __decorate([
117
- (0, typeorm_1.Column)({ type: 'enum', enum: AppointmentRequestStatus, default: AppointmentRequestStatus.PENDING, nullable: false }),
118
- __metadata("design:type", String)
119
- ], AppointmentRequests.prototype, "status", void 0);
120
- __decorate([
121
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
122
- __metadata("design:type", Object)
123
- ], AppointmentRequests.prototype, "workflow_execution_id", void 0);
124
- exports.AppointmentRequests = AppointmentRequests = __decorate([
125
- (0, typeorm_1.Entity)({ name: 'appointment_requests' })
126
- ], AppointmentRequests);
@@ -1,17 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare enum AppointmentWorkFlowStatus {
3
- COMPLETED = "Completed",
4
- NOT_YET_STARTED = "Not Yet Started",
5
- PENDING = "Pending"
6
- }
7
- export declare class AppointmentWorkFlow extends BaseModel {
8
- appointment_id: number;
9
- service_id: number | null;
10
- sub_service_id: number | null;
11
- content: string;
12
- status: AppointmentWorkFlowStatus;
13
- user_id: number | null;
14
- role_id: number | null;
15
- department_id: number | null;
16
- section_id: number | null;
17
- }
@@ -1,62 +0,0 @@
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.AppointmentWorkFlow = exports.AppointmentWorkFlowStatus = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- var AppointmentWorkFlowStatus;
16
- (function (AppointmentWorkFlowStatus) {
17
- AppointmentWorkFlowStatus["COMPLETED"] = "Completed";
18
- AppointmentWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
19
- AppointmentWorkFlowStatus["PENDING"] = "Pending";
20
- })(AppointmentWorkFlowStatus || (exports.AppointmentWorkFlowStatus = AppointmentWorkFlowStatus = {}));
21
- let AppointmentWorkFlow = class AppointmentWorkFlow extends BaseModel_1.BaseModel {
22
- };
23
- exports.AppointmentWorkFlow = AppointmentWorkFlow;
24
- __decorate([
25
- (0, typeorm_1.Column)({ type: 'integer', nullable: false }),
26
- __metadata("design:type", Number)
27
- ], AppointmentWorkFlow.prototype, "appointment_id", void 0);
28
- __decorate([
29
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
30
- __metadata("design:type", Object)
31
- ], AppointmentWorkFlow.prototype, "service_id", void 0);
32
- __decorate([
33
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
34
- __metadata("design:type", Object)
35
- ], AppointmentWorkFlow.prototype, "sub_service_id", void 0);
36
- __decorate([
37
- (0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
38
- __metadata("design:type", String)
39
- ], AppointmentWorkFlow.prototype, "content", void 0);
40
- __decorate([
41
- (0, typeorm_1.Column)({ type: 'enum', enum: AppointmentWorkFlowStatus, default: AppointmentWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
42
- __metadata("design:type", String)
43
- ], AppointmentWorkFlow.prototype, "status", void 0);
44
- __decorate([
45
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
46
- __metadata("design:type", Object)
47
- ], AppointmentWorkFlow.prototype, "user_id", void 0);
48
- __decorate([
49
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
50
- __metadata("design:type", Object)
51
- ], AppointmentWorkFlow.prototype, "role_id", void 0);
52
- __decorate([
53
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
54
- __metadata("design:type", Object)
55
- ], AppointmentWorkFlow.prototype, "department_id", void 0);
56
- __decorate([
57
- (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
58
- __metadata("design:type", Object)
59
- ], AppointmentWorkFlow.prototype, "section_id", void 0);
60
- exports.AppointmentWorkFlow = AppointmentWorkFlow = __decorate([
61
- (0, typeorm_1.Entity)({ name: 'appointment_workflows' })
62
- ], AppointmentWorkFlow);
@@ -1,6 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare class HelpContentMappedCategories extends BaseModel {
3
- help_content_category_Id: number;
4
- help_content_Id: number;
5
- constructor(help_content_category_Id: number, help_content_Id: number);
6
- }
@@ -1,34 +0,0 @@
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.HelpContentMappedCategories = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- let HelpContentMappedCategories = class HelpContentMappedCategories extends BaseModel_1.BaseModel {
16
- constructor(help_content_category_Id, help_content_Id) {
17
- super();
18
- this.help_content_category_Id = help_content_category_Id,
19
- this.help_content_Id = help_content_Id;
20
- }
21
- };
22
- exports.HelpContentMappedCategories = HelpContentMappedCategories;
23
- __decorate([
24
- (0, typeorm_1.Column)({ nullable: true }),
25
- __metadata("design:type", Number)
26
- ], HelpContentMappedCategories.prototype, "help_content_category_Id", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)({ nullable: true }),
29
- __metadata("design:type", Number)
30
- ], HelpContentMappedCategories.prototype, "help_content_Id", void 0);
31
- exports.HelpContentMappedCategories = HelpContentMappedCategories = __decorate([
32
- (0, typeorm_1.Entity)({ name: 'help_content_mapped_categories' }),
33
- __metadata("design:paramtypes", [Number, Number])
34
- ], HelpContentMappedCategories);
@@ -1,6 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare class HelpContentMappedTags extends BaseModel {
3
- help_content_tag_Id: number;
4
- help_content_Id: number;
5
- constructor(help_content_tag_Id: number, help_content_Id: number);
6
- }
@@ -1,34 +0,0 @@
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.HelpContentMappedTags = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- let HelpContentMappedTags = class HelpContentMappedTags extends BaseModel_1.BaseModel {
16
- constructor(help_content_tag_Id, help_content_Id) {
17
- super();
18
- this.help_content_tag_Id = help_content_tag_Id,
19
- this.help_content_Id = help_content_Id;
20
- }
21
- };
22
- exports.HelpContentMappedTags = HelpContentMappedTags;
23
- __decorate([
24
- (0, typeorm_1.Column)({ nullable: true }),
25
- __metadata("design:type", Number)
26
- ], HelpContentMappedTags.prototype, "help_content_tag_Id", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)({ nullable: true }),
29
- __metadata("design:type", Number)
30
- ], HelpContentMappedTags.prototype, "help_content_Id", void 0);
31
- exports.HelpContentMappedTags = HelpContentMappedTags = __decorate([
32
- (0, typeorm_1.Entity)({ name: 'help_content_mapped_tags' }),
33
- __metadata("design:paramtypes", [Number, Number])
34
- ], HelpContentMappedTags);
@@ -1,5 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare class HelpContentTags extends BaseModel {
3
- name: string;
4
- constructor(name: string);
5
- }
@@ -1,29 +0,0 @@
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.HelpContentTags = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- let HelpContentTags = class HelpContentTags extends BaseModel_1.BaseModel {
16
- constructor(name) {
17
- super();
18
- this.name = name;
19
- }
20
- };
21
- exports.HelpContentTags = HelpContentTags;
22
- __decorate([
23
- (0, typeorm_1.Column)({ nullable: true }),
24
- __metadata("design:type", String)
25
- ], HelpContentTags.prototype, "name", void 0);
26
- exports.HelpContentTags = HelpContentTags = __decorate([
27
- (0, typeorm_1.Entity)({ name: 'help_content_tags' }),
28
- __metadata("design:paramtypes", [String])
29
- ], HelpContentTags);
@@ -1,6 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare class QuestionTags extends BaseModel {
3
- name: string;
4
- question_Id: number;
5
- constructor(name: string, question_Id: number);
6
- }
@@ -1,34 +0,0 @@
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.QuestionTags = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const BaseModel_1 = require("./BaseModel");
15
- let QuestionTags = class QuestionTags extends BaseModel_1.BaseModel {
16
- constructor(name, question_Id) {
17
- super();
18
- this.name = name,
19
- this.question_Id = question_Id;
20
- }
21
- };
22
- exports.QuestionTags = QuestionTags;
23
- __decorate([
24
- (0, typeorm_1.Column)({ nullable: true }),
25
- __metadata("design:type", String)
26
- ], QuestionTags.prototype, "name", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)({ nullable: true }),
29
- __metadata("design:type", Number)
30
- ], QuestionTags.prototype, "question_Id", void 0);
31
- exports.QuestionTags = QuestionTags = __decorate([
32
- (0, typeorm_1.Entity)({ name: 'question_tags' }),
33
- __metadata("design:paramtypes", [String, Number])
34
- ], QuestionTags);