@platform-modules/foreign-ministry 1.3.256 → 1.3.257
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 +3 -15
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/models/AnnualTravelTicketRequestModel.d.ts +40 -0
- package/dist/models/AnnualTravelTicketRequestModel.js +115 -0
- package/dist/models/EmbassyMasterModel.d.ts +16 -0
- package/dist/models/EmbassyMasterModel.js +75 -0
- package/dist/models/MissionBankAccountApprovalModel.d.ts +22 -0
- package/dist/models/MissionBankAccountApprovalModel.js +79 -0
- package/dist/models/MissionBankAccountAttachmentModel.d.ts +11 -0
- package/dist/models/MissionBankAccountAttachmentModel.js +52 -0
- package/dist/models/MissionBankAccountChatModel.d.ts +18 -0
- package/dist/models/MissionBankAccountChatModel.js +65 -0
- package/dist/models/MissionBankAccountRequestModel.d.ts +29 -0
- package/dist/models/MissionBankAccountRequestModel.js +90 -0
- package/dist/models/MissionBankAccountWorkflowModel.d.ts +17 -0
- package/dist/models/MissionBankAccountWorkflowModel.js +62 -0
- package/dist/models/ResignationTerminationRequestModel.d.ts +1 -0
- package/dist/models/ResignationTerminationRequestModel.js +4 -0
- package/dist/models/UserDependentsModel.d.ts +18 -0
- package/dist/models/UserDependentsModel.js +94 -0
- package/package.json +1 -1
- package/src/index.ts +421 -415
- package/src/models/AnnualTravelTicketRequestModel.ts +87 -0
- package/src/models/FinancialWorkFlowModel.ts +15 -15
- package/src/models/GatePassVisitorsModel.ts +7 -7
- package/src/models/MissionBankAccountApprovalModel.ts +51 -0
- package/src/models/MissionBankAccountAttachmentModel.ts +30 -0
- package/src/models/MissionBankAccountChatModel.ts +43 -0
- package/src/models/MissionBankAccountRequestModel.ts +62 -0
- package/src/models/MissionBankAccountWorkflowModel.ts +38 -0
- package/src/models/PollOptionsModel.ts +26 -26
- package/src/models/PollVotesModel.ts +37 -37
- package/src/models/PollsModel.ts +49 -49
- package/src/models/ResignationTerminationApprovalModel.ts +9 -9
- package/src/models/ResignationTerminationRequestModel.ts +17 -14
- package/src/models/TelephoneDirectoryModel.ts +20 -20
|
@@ -42,18 +42,18 @@ export class TelephoneDirectory extends BaseModel {
|
|
|
42
42
|
@Column({ type: "varchar", length: 20, nullable: true })
|
|
43
43
|
fax_number: string; // Fax Number
|
|
44
44
|
|
|
45
|
-
@Column({ type: "varchar", length: 255, nullable: true })
|
|
46
|
-
location: string; // Optional
|
|
47
|
-
|
|
48
|
-
// External user specific optional fields
|
|
49
|
-
@Column({ type: "varchar", length: 255, nullable: true })
|
|
50
|
-
external_department: string;
|
|
51
|
-
|
|
52
|
-
@Column({ type: "varchar", length: 255, nullable: true })
|
|
53
|
-
external_position: string;
|
|
54
|
-
|
|
55
|
-
@Column({ type: "varchar", length: 255, nullable: true })
|
|
56
|
-
external_diplomatic_title: string;
|
|
45
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
46
|
+
location: string; // Optional
|
|
47
|
+
|
|
48
|
+
// External user specific optional fields
|
|
49
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
50
|
+
external_department: string;
|
|
51
|
+
|
|
52
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
53
|
+
external_position: string;
|
|
54
|
+
|
|
55
|
+
@Column({ type: "varchar", length: 255, nullable: true })
|
|
56
|
+
external_diplomatic_title: string;
|
|
57
57
|
|
|
58
58
|
// Department Information
|
|
59
59
|
@Column({ nullable: true })
|
|
@@ -88,7 +88,7 @@ export class TelephoneDirectory extends BaseModel {
|
|
|
88
88
|
@Column({ type: "int", nullable: true })
|
|
89
89
|
sub_service_id: number;
|
|
90
90
|
|
|
91
|
-
constructor(select_type?: "personal" | "department" | "organization", category?: "FM" | "Embassy" | "M&C" | "external", name?: string, position?: string, diplomatic_title?: string, embassy_id?: number | null, contextual_search?: string | null, email?: string, contact_number?: string, extension_number?: string, fax_number?: string, location?: string, external_department?: string, external_position?: string, external_diplomatic_title?: string, department_id?: number, employee_id?: number, street?: string, city?: string, state?: string, zip_code?: string, country?: string, photo_url?: string, service_id?: number, sub_service_id?: number) {
|
|
91
|
+
constructor(select_type?: "personal" | "department" | "organization", category?: "FM" | "Embassy" | "M&C" | "external", name?: string, position?: string, diplomatic_title?: string, embassy_id?: number | null, contextual_search?: string | null, email?: string, contact_number?: string, extension_number?: string, fax_number?: string, location?: string, external_department?: string, external_position?: string, external_diplomatic_title?: string, department_id?: number, employee_id?: number, street?: string, city?: string, state?: string, zip_code?: string, country?: string, photo_url?: string, service_id?: number, sub_service_id?: number) {
|
|
92
92
|
super();
|
|
93
93
|
this.select_type = select_type || "personal";
|
|
94
94
|
this.category = category || "FM";
|
|
@@ -99,13 +99,13 @@ export class TelephoneDirectory extends BaseModel {
|
|
|
99
99
|
this.contextual_search = contextual_search || null;
|
|
100
100
|
this.email = email || "";
|
|
101
101
|
this.contact_number = contact_number || "";
|
|
102
|
-
this.extension_number = extension_number || "";
|
|
103
|
-
this.fax_number = fax_number || "";
|
|
104
|
-
this.location = location || "";
|
|
105
|
-
this.external_department = external_department || "";
|
|
106
|
-
this.external_position = external_position || "";
|
|
107
|
-
this.external_diplomatic_title = external_diplomatic_title || "";
|
|
108
|
-
this.department_id = department_id || 0;
|
|
102
|
+
this.extension_number = extension_number || "";
|
|
103
|
+
this.fax_number = fax_number || "";
|
|
104
|
+
this.location = location || "";
|
|
105
|
+
this.external_department = external_department || "";
|
|
106
|
+
this.external_position = external_position || "";
|
|
107
|
+
this.external_diplomatic_title = external_diplomatic_title || "";
|
|
108
|
+
this.department_id = department_id || 0;
|
|
109
109
|
this.employee_id = employee_id || 0;
|
|
110
110
|
this.street = street || "";
|
|
111
111
|
this.city = city || "";
|