@platform-modules/foreign-ministry 1.3.307 → 1.3.309
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/models/EmployeeOfMonthSupportNominationChatModel.d.ts +9 -8
- package/dist/models/EmployeeOfMonthSupportNominationChatModel.js +10 -12
- package/dist/models/EmployeeOfMonthSupportNominationRequestModel.d.ts +8 -7
- package/dist/models/EmployeeOfMonthSupportNominationRequestModel.js +9 -11
- package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.d.ts +8 -7
- package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.js +9 -11
- package/package.json +1 -1
- package/src/models/EmployeeOfMonthSupportNominationChatModel.ts +13 -11
- package/src/models/EmployeeOfMonthSupportNominationRequestModel.ts +12 -10
- package/src/models/EmployeeOfMonthSupportNominationWorkflowModel.ts +12 -10
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare
|
|
3
|
-
TEXT
|
|
4
|
-
IMAGE
|
|
5
|
-
VIDEO
|
|
6
|
-
FILE
|
|
7
|
-
LINK
|
|
8
|
-
}
|
|
2
|
+
export declare const EmployeeOfMonthSupportNominationMessageType: {
|
|
3
|
+
readonly TEXT: "text";
|
|
4
|
+
readonly IMAGE: "image";
|
|
5
|
+
readonly VIDEO: "video";
|
|
6
|
+
readonly FILE: "file";
|
|
7
|
+
readonly LINK: "link";
|
|
8
|
+
};
|
|
9
|
+
export type EmployeeOfMonthSupportNominationMessageType = (typeof EmployeeOfMonthSupportNominationMessageType)[keyof typeof EmployeeOfMonthSupportNominationMessageType];
|
|
9
10
|
export declare class EmployeeOfMonthSupportNominationRequestChat extends BaseModel {
|
|
10
11
|
request_id: number;
|
|
11
12
|
service_id: number | null;
|
|
@@ -13,6 +14,6 @@ export declare class EmployeeOfMonthSupportNominationRequestChat extends BaseMod
|
|
|
13
14
|
user_id: number;
|
|
14
15
|
role_id: number | null;
|
|
15
16
|
message: string;
|
|
16
|
-
message_type:
|
|
17
|
+
message_type: string;
|
|
17
18
|
status: string | null;
|
|
18
19
|
}
|
|
@@ -12,14 +12,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EmployeeOfMonthSupportNominationRequestChat = exports.EmployeeOfMonthSupportNominationMessageType = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
})(EmployeeOfMonthSupportNominationMessageType || (exports.EmployeeOfMonthSupportNominationMessageType = EmployeeOfMonthSupportNominationMessageType = {}));
|
|
15
|
+
exports.EmployeeOfMonthSupportNominationMessageType = {
|
|
16
|
+
TEXT: 'text',
|
|
17
|
+
IMAGE: 'image',
|
|
18
|
+
VIDEO: 'video',
|
|
19
|
+
FILE: 'file',
|
|
20
|
+
LINK: 'link',
|
|
21
|
+
};
|
|
23
22
|
let EmployeeOfMonthSupportNominationRequestChat = class EmployeeOfMonthSupportNominationRequestChat extends BaseModel_1.BaseModel {
|
|
24
23
|
};
|
|
25
24
|
exports.EmployeeOfMonthSupportNominationRequestChat = EmployeeOfMonthSupportNominationRequestChat;
|
|
@@ -49,10 +48,9 @@ __decorate([
|
|
|
49
48
|
], EmployeeOfMonthSupportNominationRequestChat.prototype, "message", void 0);
|
|
50
49
|
__decorate([
|
|
51
50
|
(0, typeorm_1.Column)({
|
|
52
|
-
type: '
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
default: EmployeeOfMonthSupportNominationMessageType.TEXT,
|
|
51
|
+
type: 'varchar',
|
|
52
|
+
length: 32,
|
|
53
|
+
default: exports.EmployeeOfMonthSupportNominationMessageType.TEXT,
|
|
56
54
|
nullable: false,
|
|
57
55
|
}),
|
|
58
56
|
__metadata("design:type", String)
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare
|
|
3
|
-
PENDING
|
|
4
|
-
IN_PROGRESS
|
|
5
|
-
APPROVED
|
|
6
|
-
REJECTED
|
|
7
|
-
}
|
|
2
|
+
export declare const EmployeeOfMonthSupportNominationRequestStatus: {
|
|
3
|
+
readonly PENDING: "Pending";
|
|
4
|
+
readonly IN_PROGRESS: "In Progress";
|
|
5
|
+
readonly APPROVED: "Approved";
|
|
6
|
+
readonly REJECTED: "Rejected";
|
|
7
|
+
};
|
|
8
|
+
export type EmployeeOfMonthSupportNominationRequestStatus = (typeof EmployeeOfMonthSupportNominationRequestStatus)[keyof typeof EmployeeOfMonthSupportNominationRequestStatus];
|
|
8
9
|
export type EomSupportNominationRatingScores = {
|
|
9
10
|
professional_ethics_teamwork: number;
|
|
10
11
|
additional_responsibilities_adaptability: number;
|
|
@@ -21,7 +22,7 @@ export declare class EmployeeOfMonthSupportNominationRequests extends BaseModel
|
|
|
21
22
|
job_number: string;
|
|
22
23
|
last_annual_assessment: string;
|
|
23
24
|
rating_scores: EomSupportNominationRatingScores;
|
|
24
|
-
status:
|
|
25
|
+
status: string;
|
|
25
26
|
workflow_execution_id: string | null;
|
|
26
27
|
comments: string | null;
|
|
27
28
|
}
|
|
@@ -12,13 +12,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EmployeeOfMonthSupportNominationRequests = exports.EmployeeOfMonthSupportNominationRequestStatus = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
})(EmployeeOfMonthSupportNominationRequestStatus || (exports.EmployeeOfMonthSupportNominationRequestStatus = EmployeeOfMonthSupportNominationRequestStatus = {}));
|
|
15
|
+
exports.EmployeeOfMonthSupportNominationRequestStatus = {
|
|
16
|
+
PENDING: 'Pending',
|
|
17
|
+
IN_PROGRESS: 'In Progress',
|
|
18
|
+
APPROVED: 'Approved',
|
|
19
|
+
REJECTED: 'Rejected',
|
|
20
|
+
};
|
|
22
21
|
let EmployeeOfMonthSupportNominationRequests = class EmployeeOfMonthSupportNominationRequests extends BaseModel_1.BaseModel {
|
|
23
22
|
};
|
|
24
23
|
exports.EmployeeOfMonthSupportNominationRequests = EmployeeOfMonthSupportNominationRequests;
|
|
@@ -56,10 +55,9 @@ __decorate([
|
|
|
56
55
|
], EmployeeOfMonthSupportNominationRequests.prototype, "rating_scores", void 0);
|
|
57
56
|
__decorate([
|
|
58
57
|
(0, typeorm_1.Column)({
|
|
59
|
-
type: '
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
default: EmployeeOfMonthSupportNominationRequestStatus.PENDING,
|
|
58
|
+
type: 'varchar',
|
|
59
|
+
length: 32,
|
|
60
|
+
default: exports.EmployeeOfMonthSupportNominationRequestStatus.PENDING,
|
|
63
61
|
nullable: false,
|
|
64
62
|
}),
|
|
65
63
|
__metadata("design:type", String)
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
|
-
export declare
|
|
3
|
-
PENDING
|
|
4
|
-
IN_PROGRESS
|
|
5
|
-
COMPLETED
|
|
6
|
-
FAILED
|
|
7
|
-
}
|
|
2
|
+
export declare const EmployeeOfMonthSupportNominationWorkFlowStatus: {
|
|
3
|
+
readonly PENDING: "Pending";
|
|
4
|
+
readonly IN_PROGRESS: "In Progress";
|
|
5
|
+
readonly COMPLETED: "Completed";
|
|
6
|
+
readonly FAILED: "Failed";
|
|
7
|
+
};
|
|
8
|
+
export type EmployeeOfMonthSupportNominationWorkFlowStatus = (typeof EmployeeOfMonthSupportNominationWorkFlowStatus)[keyof typeof EmployeeOfMonthSupportNominationWorkFlowStatus];
|
|
8
9
|
export declare class EmployeeOfMonthSupportNominationWorkFlow extends BaseModel {
|
|
9
10
|
request_id: number;
|
|
10
11
|
service_id: number | null;
|
|
@@ -15,5 +16,5 @@ export declare class EmployeeOfMonthSupportNominationWorkFlow extends BaseModel
|
|
|
15
16
|
section_id: number | null;
|
|
16
17
|
task_name: string;
|
|
17
18
|
description: string | null;
|
|
18
|
-
status:
|
|
19
|
+
status: string;
|
|
19
20
|
}
|
|
@@ -12,13 +12,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EmployeeOfMonthSupportNominationWorkFlow = exports.EmployeeOfMonthSupportNominationWorkFlowStatus = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
})(EmployeeOfMonthSupportNominationWorkFlowStatus || (exports.EmployeeOfMonthSupportNominationWorkFlowStatus = EmployeeOfMonthSupportNominationWorkFlowStatus = {}));
|
|
15
|
+
exports.EmployeeOfMonthSupportNominationWorkFlowStatus = {
|
|
16
|
+
PENDING: 'Pending',
|
|
17
|
+
IN_PROGRESS: 'In Progress',
|
|
18
|
+
COMPLETED: 'Completed',
|
|
19
|
+
FAILED: 'Failed',
|
|
20
|
+
};
|
|
22
21
|
let EmployeeOfMonthSupportNominationWorkFlow = class EmployeeOfMonthSupportNominationWorkFlow extends BaseModel_1.BaseModel {
|
|
23
22
|
};
|
|
24
23
|
exports.EmployeeOfMonthSupportNominationWorkFlow = EmployeeOfMonthSupportNominationWorkFlow;
|
|
@@ -60,10 +59,9 @@ __decorate([
|
|
|
60
59
|
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "description", void 0);
|
|
61
60
|
__decorate([
|
|
62
61
|
(0, typeorm_1.Column)({
|
|
63
|
-
type: '
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
default: EmployeeOfMonthSupportNominationWorkFlowStatus.PENDING,
|
|
62
|
+
type: 'varchar',
|
|
63
|
+
length: 32,
|
|
64
|
+
default: exports.EmployeeOfMonthSupportNominationWorkFlowStatus.PENDING,
|
|
67
65
|
nullable: false,
|
|
68
66
|
}),
|
|
69
67
|
__metadata("design:type", String)
|
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { Column, Entity } from 'typeorm';
|
|
2
2
|
import { BaseModel } from './BaseModel';
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
TEXT
|
|
6
|
-
IMAGE
|
|
7
|
-
VIDEO
|
|
8
|
-
FILE
|
|
9
|
-
LINK
|
|
10
|
-
}
|
|
4
|
+
export const EmployeeOfMonthSupportNominationMessageType = {
|
|
5
|
+
TEXT: 'text',
|
|
6
|
+
IMAGE: 'image',
|
|
7
|
+
VIDEO: 'video',
|
|
8
|
+
FILE: 'file',
|
|
9
|
+
LINK: 'link',
|
|
10
|
+
} as const;
|
|
11
|
+
|
|
12
|
+
export type EmployeeOfMonthSupportNominationMessageType =
|
|
13
|
+
(typeof EmployeeOfMonthSupportNominationMessageType)[keyof typeof EmployeeOfMonthSupportNominationMessageType];
|
|
11
14
|
|
|
12
15
|
@Entity({ name: 'employee_of_month_support_nomination_chats' })
|
|
13
16
|
export class EmployeeOfMonthSupportNominationRequestChat extends BaseModel {
|
|
@@ -30,13 +33,12 @@ export class EmployeeOfMonthSupportNominationRequestChat extends BaseModel {
|
|
|
30
33
|
message: string;
|
|
31
34
|
|
|
32
35
|
@Column({
|
|
33
|
-
type: '
|
|
34
|
-
|
|
35
|
-
enumName: 'eom_support_nomination_message_type_enum',
|
|
36
|
+
type: 'varchar',
|
|
37
|
+
length: 32,
|
|
36
38
|
default: EmployeeOfMonthSupportNominationMessageType.TEXT,
|
|
37
39
|
nullable: false,
|
|
38
40
|
})
|
|
39
|
-
message_type:
|
|
41
|
+
message_type: string;
|
|
40
42
|
|
|
41
43
|
@Column({ type: 'text', nullable: true })
|
|
42
44
|
status: string | null;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { Column, Entity } from 'typeorm';
|
|
2
2
|
import { BaseModel } from './BaseModel';
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
PENDING
|
|
6
|
-
IN_PROGRESS
|
|
7
|
-
APPROVED
|
|
8
|
-
REJECTED
|
|
9
|
-
}
|
|
4
|
+
export const EmployeeOfMonthSupportNominationRequestStatus = {
|
|
5
|
+
PENDING: 'Pending',
|
|
6
|
+
IN_PROGRESS: 'In Progress',
|
|
7
|
+
APPROVED: 'Approved',
|
|
8
|
+
REJECTED: 'Rejected',
|
|
9
|
+
} as const;
|
|
10
|
+
|
|
11
|
+
export type EmployeeOfMonthSupportNominationRequestStatus =
|
|
12
|
+
(typeof EmployeeOfMonthSupportNominationRequestStatus)[keyof typeof EmployeeOfMonthSupportNominationRequestStatus];
|
|
10
13
|
|
|
11
14
|
export type EomSupportNominationRatingScores = {
|
|
12
15
|
professional_ethics_teamwork: number;
|
|
@@ -43,13 +46,12 @@ export class EmployeeOfMonthSupportNominationRequests extends BaseModel {
|
|
|
43
46
|
rating_scores: EomSupportNominationRatingScores;
|
|
44
47
|
|
|
45
48
|
@Column({
|
|
46
|
-
type: '
|
|
47
|
-
|
|
48
|
-
enumName: 'eom_support_nomination_request_status_enum',
|
|
49
|
+
type: 'varchar',
|
|
50
|
+
length: 32,
|
|
49
51
|
default: EmployeeOfMonthSupportNominationRequestStatus.PENDING,
|
|
50
52
|
nullable: false,
|
|
51
53
|
})
|
|
52
|
-
status:
|
|
54
|
+
status: string;
|
|
53
55
|
|
|
54
56
|
@Column({ type: 'varchar', length: 255, nullable: true })
|
|
55
57
|
workflow_execution_id: string | null;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { Column, Entity } from 'typeorm';
|
|
2
2
|
import { BaseModel } from './BaseModel';
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
PENDING
|
|
6
|
-
IN_PROGRESS
|
|
7
|
-
COMPLETED
|
|
8
|
-
FAILED
|
|
9
|
-
}
|
|
4
|
+
export const EmployeeOfMonthSupportNominationWorkFlowStatus = {
|
|
5
|
+
PENDING: 'Pending',
|
|
6
|
+
IN_PROGRESS: 'In Progress',
|
|
7
|
+
COMPLETED: 'Completed',
|
|
8
|
+
FAILED: 'Failed',
|
|
9
|
+
} as const;
|
|
10
|
+
|
|
11
|
+
export type EmployeeOfMonthSupportNominationWorkFlowStatus =
|
|
12
|
+
(typeof EmployeeOfMonthSupportNominationWorkFlowStatus)[keyof typeof EmployeeOfMonthSupportNominationWorkFlowStatus];
|
|
10
13
|
|
|
11
14
|
@Entity({ name: 'employee_of_month_support_nomination_workflows' })
|
|
12
15
|
export class EmployeeOfMonthSupportNominationWorkFlow extends BaseModel {
|
|
@@ -38,11 +41,10 @@ export class EmployeeOfMonthSupportNominationWorkFlow extends BaseModel {
|
|
|
38
41
|
description: string | null;
|
|
39
42
|
|
|
40
43
|
@Column({
|
|
41
|
-
type: '
|
|
42
|
-
|
|
43
|
-
enumName: 'eom_support_nomination_workflow_status_enum',
|
|
44
|
+
type: 'varchar',
|
|
45
|
+
length: 32,
|
|
44
46
|
default: EmployeeOfMonthSupportNominationWorkFlowStatus.PENDING,
|
|
45
47
|
nullable: false,
|
|
46
48
|
})
|
|
47
|
-
status:
|
|
49
|
+
status: string;
|
|
48
50
|
}
|