@platform-modules/foreign-ministry 1.3.73 → 1.3.75
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/.env +7 -16
- package/dist/index.d.ts +5 -1
- package/dist/index.js +7 -3
- package/dist/models/DocumentTranslationApprovalModel.d.ts +22 -0
- package/dist/models/DocumentTranslationApprovalModel.js +79 -0
- package/dist/models/DocumentTranslationAttachmentModel.d.ts +11 -0
- package/dist/models/DocumentTranslationAttachmentModel.js +52 -0
- package/dist/models/DocumentTranslationChatModel.d.ts +19 -0
- package/dist/models/DocumentTranslationChatModel.js +78 -0
- package/dist/models/DocumentTranslationRequestModel.d.ts +25 -0
- package/dist/models/DocumentTranslationRequestModel.js +74 -0
- package/dist/models/DocumentTranslationWorkflowModel.d.ts +17 -0
- package/dist/models/DocumentTranslationWorkflowModel.js +62 -0
- package/dist/models/MissionTravelClassConfigModel.d.ts +10 -0
- package/dist/models/MissionTravelClassConfigModel.js +50 -0
- package/dist/models/MissionTravelPerdiemModel.d.ts +10 -0
- package/dist/models/MissionTravelPerdiemModel.js +54 -0
- package/package.json +1 -1
- package/src/index.ts +225 -220
- package/src/models/DocumentTranslationApprovalModel.ts +52 -0
- package/src/models/DocumentTranslationAttachmentModel.ts +31 -0
- package/src/models/DocumentTranslationChatModel.ts +66 -0
- package/src/models/DocumentTranslationRequestModel.ts +54 -0
- package/src/models/DocumentTranslationWorkflowModel.ts +39 -0
- package/src/models/LeaveConfigModel.ts +71 -71
- package/src/models/MissionTravelApprovalModel.ts +100 -100
- package/src/models/MissionTravelAttachmentModel.ts +56 -56
- package/src/models/MissionTravelChatModel.ts +52 -52
- package/src/models/MissionTravelPersonModel.ts +105 -105
- package/src/models/MissionTravelWorkflowModel.ts +54 -54
- package/src/models/SectionModel.ts +35 -35
- package/dist/models/HelpContentMappedCategoriesModel.d.ts +0 -6
- package/dist/models/HelpContentMappedCategoriesModel.js +0 -34
- package/dist/models/HelpContentMappedTagsModel.d.ts +0 -6
- package/dist/models/HelpContentMappedTagsModel.js +0 -34
- package/dist/models/HelpContentTagsModel.d.ts +0 -5
- package/dist/models/HelpContentTagsModel.js +0 -29
- package/dist/models/questionTagsModel.d.ts +0 -6
- package/dist/models/questionTagsModel.js +0 -34
- /package/src/models/{LeaveConfigGradesModel.ts → LeaveConfigGradesModel.Ts} +0 -0
package/.env
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
# DB_PORT=5433
|
|
3
|
-
# DB_USER=postgres
|
|
4
|
-
# DB_PASS=123
|
|
5
|
-
# DB_NAME=FM
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
DB_HOST=164.52.222.169
|
|
1
|
+
DB_HOST=localhost
|
|
10
2
|
DB_PORT=5432
|
|
11
|
-
DB_USER=
|
|
12
|
-
DB_PASS=
|
|
3
|
+
DB_USER=postgres
|
|
4
|
+
DB_PASS=stevejobs
|
|
13
5
|
DB_NAME=FM
|
|
14
6
|
|
|
15
|
-
# DB_HOST=
|
|
16
|
-
#
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
# DB_NAME=FM_QA
|
|
7
|
+
# DB_HOST = 164.52.222.169
|
|
8
|
+
# DB_USER = postgres_admin_user
|
|
9
|
+
# DB_PASS = pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
10
|
+
# DB_NAME= FM
|
package/dist/index.d.ts
CHANGED
|
@@ -108,7 +108,6 @@ export * from './models/RegisterCandidateAttachmentModel';
|
|
|
108
108
|
export * from './models/RegisterCandidateChatModel';
|
|
109
109
|
export * from './models/RegisterCandidateWorkflowModel';
|
|
110
110
|
export * from './models/RegisterCandidateExperienceActivityModel';
|
|
111
|
-
export { RegisterCandidateExperienceActivity } from './models/RegisterCandidateExperienceActivityModel';
|
|
112
111
|
export * from './models/RequestParcelRequestModel';
|
|
113
112
|
export * from './models/RequestParcelApprovalModel';
|
|
114
113
|
export * from './models/RequestParcelAttachmentModel';
|
|
@@ -214,3 +213,8 @@ export { MissionTravelWorkFlowStatus } from './models/MissionTravelWorkflowModel
|
|
|
214
213
|
export * from './models/MissionTravelChatModel';
|
|
215
214
|
export * from './models/TravelClassEnum';
|
|
216
215
|
export { TravelClass } from './models/TravelClassEnum';
|
|
216
|
+
export * from './models/DocumentTranslationRequestModel';
|
|
217
|
+
export * from './models/DocumentTranslationApprovalModel';
|
|
218
|
+
export * from './models/DocumentTranslationAttachmentModel';
|
|
219
|
+
export * from './models/DocumentTranslationChatModel';
|
|
220
|
+
export * from './models/DocumentTranslationWorkflowModel';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.TravelClass = exports.MissionTravelWorkFlowStatus = exports.MissionTravelApprovalStatus = exports.AllowanceRatio = exports.DecisionType = exports.MissionType = exports.MissionTravelStatus = exports.GatePassMessageType = exports.GatePassWorkFlowStatus = exports.GatePassApprovalStatus = exports.GatePassType = exports.GatePassRequestStatus = exports.SecurityDeptMessageType = exports.SecurityDeptAccessType = exports.SecurityDeptRequestStatus = exports.RetiredCardMessageType = exports.RetiredCardWorkFlowStatus = exports.RetiredCardApprovalStatus = exports.RetiredCardAccessType = exports.RetiredCardRequestStatus = exports.TitleCategory = exports.ProfileUpdateRequestStatus = exports.StayAfterHoursTransactionStatus = exports.StayAfterHoursTransaction = exports.StayAfterHoursBalance = exports.EarlyCheckoutTransactionStatus = exports.EarlyCheckoutTransaction = exports.EarlyCheckoutFrequency = exports.EarlyCheckoutConfiguration = exports.EarlyCheckoutBalance = exports.LeaveTransactionStatus = exports.LeaveTransaction = exports.LeaveConfigurationGrades = exports.enumFrequency = exports.LeaveConfiguration = exports.ParcelDepartmentCategory =
|
|
17
|
+
exports.TravelClass = exports.MissionTravelWorkFlowStatus = exports.MissionTravelApprovalStatus = exports.AllowanceRatio = exports.DecisionType = exports.MissionType = exports.MissionTravelStatus = exports.GatePassMessageType = exports.GatePassWorkFlowStatus = exports.GatePassApprovalStatus = exports.GatePassType = exports.GatePassRequestStatus = exports.SecurityDeptMessageType = exports.SecurityDeptAccessType = exports.SecurityDeptRequestStatus = exports.RetiredCardMessageType = exports.RetiredCardWorkFlowStatus = exports.RetiredCardApprovalStatus = exports.RetiredCardAccessType = exports.RetiredCardRequestStatus = exports.TitleCategory = exports.ProfileUpdateRequestStatus = exports.StayAfterHoursTransactionStatus = exports.StayAfterHoursTransaction = exports.StayAfterHoursBalance = exports.EarlyCheckoutTransactionStatus = exports.EarlyCheckoutTransaction = exports.EarlyCheckoutFrequency = exports.EarlyCheckoutConfiguration = exports.EarlyCheckoutBalance = exports.LeaveTransactionStatus = exports.LeaveTransaction = exports.LeaveConfigurationGrades = exports.enumFrequency = exports.LeaveConfiguration = exports.ParcelDepartmentCategory = void 0;
|
|
18
18
|
__exportStar(require("./models/user"), exports);
|
|
19
19
|
__exportStar(require("./models/role"), exports);
|
|
20
20
|
__exportStar(require("./models/user-sessions"), exports);
|
|
@@ -125,8 +125,6 @@ __exportStar(require("./models/RegisterCandidateAttachmentModel"), exports);
|
|
|
125
125
|
__exportStar(require("./models/RegisterCandidateChatModel"), exports);
|
|
126
126
|
__exportStar(require("./models/RegisterCandidateWorkflowModel"), exports);
|
|
127
127
|
__exportStar(require("./models/RegisterCandidateExperienceActivityModel"), exports);
|
|
128
|
-
var RegisterCandidateExperienceActivityModel_1 = require("./models/RegisterCandidateExperienceActivityModel");
|
|
129
|
-
Object.defineProperty(exports, "RegisterCandidateExperienceActivity", { enumerable: true, get: function () { return RegisterCandidateExperienceActivityModel_1.RegisterCandidateExperienceActivity; } });
|
|
130
128
|
__exportStar(require("./models/RequestParcelRequestModel"), exports);
|
|
131
129
|
__exportStar(require("./models/RequestParcelApprovalModel"), exports);
|
|
132
130
|
__exportStar(require("./models/RequestParcelAttachmentModel"), exports);
|
|
@@ -272,3 +270,9 @@ __exportStar(require("./models/MissionTravelChatModel"), exports);
|
|
|
272
270
|
__exportStar(require("./models/TravelClassEnum"), exports);
|
|
273
271
|
var TravelClassEnum_1 = require("./models/TravelClassEnum");
|
|
274
272
|
Object.defineProperty(exports, "TravelClass", { enumerable: true, get: function () { return TravelClassEnum_1.TravelClass; } });
|
|
273
|
+
// Document Translation Models
|
|
274
|
+
__exportStar(require("./models/DocumentTranslationRequestModel"), exports);
|
|
275
|
+
__exportStar(require("./models/DocumentTranslationApprovalModel"), exports);
|
|
276
|
+
__exportStar(require("./models/DocumentTranslationAttachmentModel"), exports);
|
|
277
|
+
__exportStar(require("./models/DocumentTranslationChatModel"), exports);
|
|
278
|
+
__exportStar(require("./models/DocumentTranslationWorkflowModel"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum DocumentTranslationApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class DocumentTranslationApprovalDetails extends BaseModel {
|
|
9
|
+
request_id: number;
|
|
10
|
+
service_id: number | null;
|
|
11
|
+
sub_service_id: number | null;
|
|
12
|
+
level: number;
|
|
13
|
+
approver_role_id: number;
|
|
14
|
+
department_id: number | null;
|
|
15
|
+
section_id: number | null;
|
|
16
|
+
approver_user_id: number | null;
|
|
17
|
+
delegate_user_id: number | null;
|
|
18
|
+
approved_by: number | null;
|
|
19
|
+
comment: string;
|
|
20
|
+
approval_status: DocumentTranslationApprovalStatus;
|
|
21
|
+
is_allowed: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.DocumentTranslationApprovalDetails = exports.DocumentTranslationApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var DocumentTranslationApprovalStatus;
|
|
16
|
+
(function (DocumentTranslationApprovalStatus) {
|
|
17
|
+
DocumentTranslationApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
DocumentTranslationApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
DocumentTranslationApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
DocumentTranslationApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(DocumentTranslationApprovalStatus || (exports.DocumentTranslationApprovalStatus = DocumentTranslationApprovalStatus = {}));
|
|
22
|
+
let DocumentTranslationApprovalDetails = class DocumentTranslationApprovalDetails extends BaseModel_1.BaseModel {
|
|
23
|
+
};
|
|
24
|
+
exports.DocumentTranslationApprovalDetails = DocumentTranslationApprovalDetails;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], DocumentTranslationApprovalDetails.prototype, "request_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], DocumentTranslationApprovalDetails.prototype, "service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], DocumentTranslationApprovalDetails.prototype, "sub_service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], DocumentTranslationApprovalDetails.prototype, "level", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], DocumentTranslationApprovalDetails.prototype, "approver_role_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], DocumentTranslationApprovalDetails.prototype, "department_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], DocumentTranslationApprovalDetails.prototype, "section_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], DocumentTranslationApprovalDetails.prototype, "approver_user_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], DocumentTranslationApprovalDetails.prototype, "delegate_user_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], DocumentTranslationApprovalDetails.prototype, "approved_by", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true, default: '' }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], DocumentTranslationApprovalDetails.prototype, "comment", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: DocumentTranslationApprovalStatus, default: DocumentTranslationApprovalStatus.PENDING, nullable: false }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], DocumentTranslationApprovalDetails.prototype, "approval_status", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
75
|
+
__metadata("design:type", Boolean)
|
|
76
|
+
], DocumentTranslationApprovalDetails.prototype, "is_allowed", void 0);
|
|
77
|
+
exports.DocumentTranslationApprovalDetails = DocumentTranslationApprovalDetails = __decorate([
|
|
78
|
+
(0, typeorm_1.Entity)({ name: 'document_translation_approvals' })
|
|
79
|
+
], DocumentTranslationApprovalDetails);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class DocumentTranslationRequestAttachment extends BaseModel {
|
|
3
|
+
request_id: number;
|
|
4
|
+
service_id: number | null;
|
|
5
|
+
sub_service_id: number | null;
|
|
6
|
+
file_url: string;
|
|
7
|
+
file_name: string;
|
|
8
|
+
file_type: string;
|
|
9
|
+
file_size: number | null;
|
|
10
|
+
chat_id: number | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.DocumentTranslationRequestAttachment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let DocumentTranslationRequestAttachment = class DocumentTranslationRequestAttachment extends BaseModel_1.BaseModel {
|
|
16
|
+
};
|
|
17
|
+
exports.DocumentTranslationRequestAttachment = DocumentTranslationRequestAttachment;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], DocumentTranslationRequestAttachment.prototype, "request_id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], DocumentTranslationRequestAttachment.prototype, "service_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], DocumentTranslationRequestAttachment.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
|
+
], DocumentTranslationRequestAttachment.prototype, "file_url", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], DocumentTranslationRequestAttachment.prototype, "file_name", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], DocumentTranslationRequestAttachment.prototype, "file_type", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], DocumentTranslationRequestAttachment.prototype, "file_size", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
48
|
+
__metadata("design:type", Object)
|
|
49
|
+
], DocumentTranslationRequestAttachment.prototype, "chat_id", void 0);
|
|
50
|
+
exports.DocumentTranslationRequestAttachment = DocumentTranslationRequestAttachment = __decorate([
|
|
51
|
+
(0, typeorm_1.Entity)({ name: 'document_translation_attachments' })
|
|
52
|
+
], DocumentTranslationRequestAttachment);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum DocumentTranslationMessageType {
|
|
3
|
+
TEXT = "text",
|
|
4
|
+
IMAGE = "image",
|
|
5
|
+
VIDEO = "video",
|
|
6
|
+
FILE = "file",
|
|
7
|
+
LINK = "link"
|
|
8
|
+
}
|
|
9
|
+
export declare class DocumentTranslationRequestChat extends BaseModel {
|
|
10
|
+
request_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: DocumentTranslationMessageType;
|
|
17
|
+
status: string;
|
|
18
|
+
constructor(request_id: number, user_id: number, role_id: number, message: string, service_id?: number, sub_service_id?: number, messageType?: DocumentTranslationMessageType, status?: string);
|
|
19
|
+
}
|
|
@@ -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.DocumentTranslationRequestChat = exports.DocumentTranslationMessageType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const DocumentTranslationApprovalModel_1 = require("./DocumentTranslationApprovalModel");
|
|
16
|
+
var DocumentTranslationMessageType;
|
|
17
|
+
(function (DocumentTranslationMessageType) {
|
|
18
|
+
DocumentTranslationMessageType["TEXT"] = "text";
|
|
19
|
+
DocumentTranslationMessageType["IMAGE"] = "image";
|
|
20
|
+
DocumentTranslationMessageType["VIDEO"] = "video";
|
|
21
|
+
DocumentTranslationMessageType["FILE"] = "file";
|
|
22
|
+
DocumentTranslationMessageType["LINK"] = "link";
|
|
23
|
+
})(DocumentTranslationMessageType || (exports.DocumentTranslationMessageType = DocumentTranslationMessageType = {}));
|
|
24
|
+
let DocumentTranslationRequestChat = class DocumentTranslationRequestChat extends BaseModel_1.BaseModel {
|
|
25
|
+
constructor(request_id, user_id, role_id, message, service_id, sub_service_id, messageType, status) {
|
|
26
|
+
super();
|
|
27
|
+
this.request_id = request_id;
|
|
28
|
+
this.service_id = service_id || null;
|
|
29
|
+
this.sub_service_id = sub_service_id || null;
|
|
30
|
+
this.user_id = user_id;
|
|
31
|
+
this.role_id = role_id;
|
|
32
|
+
this.message = message;
|
|
33
|
+
this.messageType = messageType || DocumentTranslationMessageType.TEXT;
|
|
34
|
+
this.status = status || DocumentTranslationApprovalModel_1.DocumentTranslationApprovalStatus.PENDING;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
exports.DocumentTranslationRequestChat = DocumentTranslationRequestChat;
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], DocumentTranslationRequestChat.prototype, "request_id", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], DocumentTranslationRequestChat.prototype, "service_id", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
48
|
+
__metadata("design:type", Object)
|
|
49
|
+
], DocumentTranslationRequestChat.prototype, "sub_service_id", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
52
|
+
__metadata("design:type", Number)
|
|
53
|
+
], DocumentTranslationRequestChat.prototype, "user_id", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], DocumentTranslationRequestChat.prototype, "role_id", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], DocumentTranslationRequestChat.prototype, "message", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({
|
|
64
|
+
type: 'enum',
|
|
65
|
+
enum: DocumentTranslationMessageType,
|
|
66
|
+
default: DocumentTranslationMessageType.TEXT,
|
|
67
|
+
nullable: false
|
|
68
|
+
}),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], DocumentTranslationRequestChat.prototype, "messageType", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], DocumentTranslationRequestChat.prototype, "status", void 0);
|
|
75
|
+
exports.DocumentTranslationRequestChat = DocumentTranslationRequestChat = __decorate([
|
|
76
|
+
(0, typeorm_1.Entity)({ name: 'document_translation_chats' }),
|
|
77
|
+
__metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
|
|
78
|
+
], DocumentTranslationRequestChat);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum DocumentTranslationStatus {
|
|
3
|
+
SUBMITTED = "Submitted",
|
|
4
|
+
PENDING = "Pending",
|
|
5
|
+
ASSIGNED = "Assigned",
|
|
6
|
+
IN_PROGRESS = "In Progress",
|
|
7
|
+
APPROVED = "Approved",
|
|
8
|
+
REJECTED = "Rejected"
|
|
9
|
+
}
|
|
10
|
+
export declare enum DocumentClassificationType {
|
|
11
|
+
NORMAL = "Normal",
|
|
12
|
+
CONFIDENTIAL = "Confidential"
|
|
13
|
+
}
|
|
14
|
+
export declare class DocumentTranslationRequests extends BaseModel {
|
|
15
|
+
req_user_department_id: number | null;
|
|
16
|
+
req_user_section_id: number | null;
|
|
17
|
+
service_id: number | null;
|
|
18
|
+
sub_service_id: number | null;
|
|
19
|
+
user_id: number;
|
|
20
|
+
document_type: string;
|
|
21
|
+
document_name: string;
|
|
22
|
+
document_classification: DocumentClassificationType;
|
|
23
|
+
status: DocumentTranslationStatus;
|
|
24
|
+
workflow_execution_id: string | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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.DocumentTranslationRequests = exports.DocumentClassificationType = exports.DocumentTranslationStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var DocumentTranslationStatus;
|
|
16
|
+
(function (DocumentTranslationStatus) {
|
|
17
|
+
DocumentTranslationStatus["SUBMITTED"] = "Submitted";
|
|
18
|
+
DocumentTranslationStatus["PENDING"] = "Pending";
|
|
19
|
+
DocumentTranslationStatus["ASSIGNED"] = "Assigned";
|
|
20
|
+
DocumentTranslationStatus["IN_PROGRESS"] = "In Progress";
|
|
21
|
+
DocumentTranslationStatus["APPROVED"] = "Approved";
|
|
22
|
+
DocumentTranslationStatus["REJECTED"] = "Rejected";
|
|
23
|
+
})(DocumentTranslationStatus || (exports.DocumentTranslationStatus = DocumentTranslationStatus = {}));
|
|
24
|
+
var DocumentClassificationType;
|
|
25
|
+
(function (DocumentClassificationType) {
|
|
26
|
+
DocumentClassificationType["NORMAL"] = "Normal";
|
|
27
|
+
DocumentClassificationType["CONFIDENTIAL"] = "Confidential";
|
|
28
|
+
})(DocumentClassificationType || (exports.DocumentClassificationType = DocumentClassificationType = {}));
|
|
29
|
+
let DocumentTranslationRequests = class DocumentTranslationRequests extends BaseModel_1.BaseModel {
|
|
30
|
+
};
|
|
31
|
+
exports.DocumentTranslationRequests = DocumentTranslationRequests;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], DocumentTranslationRequests.prototype, "req_user_department_id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], DocumentTranslationRequests.prototype, "req_user_section_id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], DocumentTranslationRequests.prototype, "service_id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
|
+
], DocumentTranslationRequests.prototype, "sub_service_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], DocumentTranslationRequests.prototype, "user_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], DocumentTranslationRequests.prototype, "document_type", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], DocumentTranslationRequests.prototype, "document_name", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: DocumentClassificationType, nullable: false }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], DocumentTranslationRequests.prototype, "document_classification", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: DocumentTranslationStatus, default: DocumentTranslationStatus.SUBMITTED, nullable: false }),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], DocumentTranslationRequests.prototype, "status", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
70
|
+
__metadata("design:type", Object)
|
|
71
|
+
], DocumentTranslationRequests.prototype, "workflow_execution_id", void 0);
|
|
72
|
+
exports.DocumentTranslationRequests = DocumentTranslationRequests = __decorate([
|
|
73
|
+
(0, typeorm_1.Entity)({ name: 'document_translation_requests' })
|
|
74
|
+
], DocumentTranslationRequests);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum DocumentTranslationWorkFlowStatus {
|
|
3
|
+
COMPLETED = "Completed",
|
|
4
|
+
NOT_YET_STARTED = "Not Yet Started",
|
|
5
|
+
PENDING = "Pending"
|
|
6
|
+
}
|
|
7
|
+
export declare class DocumentTranslationWorkFlow extends BaseModel {
|
|
8
|
+
request_id: number;
|
|
9
|
+
service_id: number | null;
|
|
10
|
+
sub_service_id: number | null;
|
|
11
|
+
content: string;
|
|
12
|
+
status: DocumentTranslationWorkFlowStatus;
|
|
13
|
+
user_id: number | null;
|
|
14
|
+
role_id: number | null;
|
|
15
|
+
department_id: number | null;
|
|
16
|
+
section_id: number | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.DocumentTranslationWorkFlow = exports.DocumentTranslationWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var DocumentTranslationWorkFlowStatus;
|
|
16
|
+
(function (DocumentTranslationWorkFlowStatus) {
|
|
17
|
+
DocumentTranslationWorkFlowStatus["COMPLETED"] = "Completed";
|
|
18
|
+
DocumentTranslationWorkFlowStatus["NOT_YET_STARTED"] = "Not Yet Started";
|
|
19
|
+
DocumentTranslationWorkFlowStatus["PENDING"] = "Pending";
|
|
20
|
+
})(DocumentTranslationWorkFlowStatus || (exports.DocumentTranslationWorkFlowStatus = DocumentTranslationWorkFlowStatus = {}));
|
|
21
|
+
let DocumentTranslationWorkFlow = class DocumentTranslationWorkFlow extends BaseModel_1.BaseModel {
|
|
22
|
+
};
|
|
23
|
+
exports.DocumentTranslationWorkFlow = DocumentTranslationWorkFlow;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], DocumentTranslationWorkFlow.prototype, "request_id", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], DocumentTranslationWorkFlow.prototype, "service_id", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], DocumentTranslationWorkFlow.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
|
+
], DocumentTranslationWorkFlow.prototype, "content", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: DocumentTranslationWorkFlowStatus, default: DocumentTranslationWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], DocumentTranslationWorkFlow.prototype, "status", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
46
|
+
__metadata("design:type", Object)
|
|
47
|
+
], DocumentTranslationWorkFlow.prototype, "user_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], DocumentTranslationWorkFlow.prototype, "role_id", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], DocumentTranslationWorkFlow.prototype, "department_id", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], DocumentTranslationWorkFlow.prototype, "section_id", void 0);
|
|
60
|
+
exports.DocumentTranslationWorkFlow = DocumentTranslationWorkFlow = __decorate([
|
|
61
|
+
(0, typeorm_1.Entity)({ name: 'document_translation_workflows' })
|
|
62
|
+
], DocumentTranslationWorkFlow);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { TravelClass } from './MissionTravelPersonModel';
|
|
3
|
+
export declare class MissionTravelClassConfig extends BaseModel {
|
|
4
|
+
grade: number | null;
|
|
5
|
+
position: string | null;
|
|
6
|
+
travel_class: TravelClass;
|
|
7
|
+
is_active: boolean;
|
|
8
|
+
description: string | null;
|
|
9
|
+
constructor(grade: number | null, position: string | null, travel_class: TravelClass, description: string | null);
|
|
10
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.MissionTravelClassConfig = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const MissionTravelPersonModel_1 = require("./MissionTravelPersonModel");
|
|
16
|
+
let MissionTravelClassConfig = class MissionTravelClassConfig extends BaseModel_1.BaseModel {
|
|
17
|
+
constructor(grade, position, travel_class, description) {
|
|
18
|
+
super();
|
|
19
|
+
this.grade = grade;
|
|
20
|
+
this.position = position;
|
|
21
|
+
this.travel_class = travel_class;
|
|
22
|
+
this.description = description;
|
|
23
|
+
this.is_active = true;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.MissionTravelClassConfig = MissionTravelClassConfig;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
|
+
__metadata("design:type", Object)
|
|
30
|
+
], MissionTravelClassConfig.prototype, "grade", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], MissionTravelClassConfig.prototype, "position", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: MissionTravelPersonModel_1.TravelClass, nullable: false }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], MissionTravelClassConfig.prototype, "travel_class", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], MissionTravelClassConfig.prototype, "is_active", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], MissionTravelClassConfig.prototype, "description", void 0);
|
|
47
|
+
exports.MissionTravelClassConfig = MissionTravelClassConfig = __decorate([
|
|
48
|
+
(0, typeorm_1.Entity)({ name: 'mission_travel_class_config' }),
|
|
49
|
+
__metadata("design:paramtypes", [Object, Object, String, Object])
|
|
50
|
+
], MissionTravelClassConfig);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class MissionTravelPerdiem extends BaseModel {
|
|
3
|
+
grade: number;
|
|
4
|
+
perdiem_amount: number;
|
|
5
|
+
currency: string | null;
|
|
6
|
+
effective_from: Date | null;
|
|
7
|
+
effective_to: Date | null;
|
|
8
|
+
is_active: boolean;
|
|
9
|
+
constructor(grade: number, perdiem_amount: number, currency: string | null, effective_from: Date | null, effective_to: Date | null);
|
|
10
|
+
}
|