@platform-modules/foreign-ministry 1.3.219 → 1.3.221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data-source.js +56 -0
- package/dist/index.d.ts +29 -1
- package/dist/index.js +35 -1
- package/dist/models/AppointmentRequestModel.d.ts +3 -0
- package/dist/models/AppointmentRequestModel.js +9 -0
- package/dist/models/ChildrensDetailsModel.d.ts +12 -0
- package/dist/models/ChildrensDetailsModel.js +56 -0
- package/dist/models/ChildrensEducationApprovalModel.d.ts +22 -0
- package/dist/models/ChildrensEducationApprovalModel.js +84 -0
- package/dist/models/ChildrensEducationAttachmentModel.d.ts +11 -0
- package/dist/models/ChildrensEducationAttachmentModel.js +52 -0
- package/dist/models/ChildrensEducationChatModel.d.ts +19 -0
- package/dist/models/ChildrensEducationChatModel.js +77 -0
- package/dist/models/ChildrensEducationRequestModel.d.ts +18 -0
- package/dist/models/ChildrensEducationRequestModel.js +62 -0
- package/dist/models/ChildrensEducationWorkflowModel.d.ts +17 -0
- package/dist/models/ChildrensEducationWorkflowModel.js +67 -0
- package/dist/models/MedicalExpensesApprovalModel.d.ts +22 -0
- package/dist/models/MedicalExpensesApprovalModel.js +84 -0
- package/dist/models/MedicalExpensesAttachmentModel.d.ts +11 -0
- package/dist/models/MedicalExpensesAttachmentModel.js +52 -0
- package/dist/models/MedicalExpensesChatModel.d.ts +19 -0
- package/dist/models/MedicalExpensesChatModel.js +77 -0
- package/dist/models/MedicalExpensesFamilyDetailsModel.d.ts +7 -0
- package/dist/models/MedicalExpensesFamilyDetailsModel.js +36 -0
- package/dist/models/MedicalExpensesRequestModel.d.ts +18 -0
- package/dist/models/MedicalExpensesRequestModel.js +62 -0
- package/dist/models/MedicalExpensesWorkflowModel.d.ts +17 -0
- package/dist/models/MedicalExpensesWorkflowModel.js +67 -0
- package/dist/models/RecruitmentDomesticWorkersApprovalModel.d.ts +22 -0
- package/dist/models/RecruitmentDomesticWorkersApprovalModel.js +84 -0
- package/dist/models/RecruitmentDomesticWorkersAttachmentModel.d.ts +11 -0
- package/dist/models/RecruitmentDomesticWorkersAttachmentModel.js +52 -0
- package/dist/models/RecruitmentDomesticWorkersChatModel.d.ts +19 -0
- package/dist/models/RecruitmentDomesticWorkersChatModel.js +77 -0
- package/dist/models/RecruitmentDomesticWorkersDetailsModel.d.ts +7 -0
- package/dist/models/RecruitmentDomesticWorkersDetailsModel.js +36 -0
- package/dist/models/RecruitmentDomesticWorkersRequestModel.d.ts +18 -0
- package/dist/models/RecruitmentDomesticWorkersRequestModel.js +62 -0
- package/dist/models/RecruitmentDomesticWorkersWorkflowModel.d.ts +17 -0
- package/dist/models/RecruitmentDomesticWorkersWorkflowModel.js +67 -0
- package/dist/models/TransferAllowanceApprovalModel.d.ts +22 -0
- package/dist/models/TransferAllowanceApprovalModel.js +84 -0
- package/dist/models/TransferAllowanceAttachmentModel.d.ts +11 -0
- package/dist/models/TransferAllowanceAttachmentModel.js +52 -0
- package/dist/models/TransferAllowanceChatModel.d.ts +19 -0
- package/dist/models/TransferAllowanceChatModel.js +77 -0
- package/dist/models/TransferAllowanceRequestModel.d.ts +24 -0
- package/dist/models/TransferAllowanceRequestModel.js +86 -0
- package/dist/models/TransferAllowanceWorkflowModel.d.ts +17 -0
- package/dist/models/TransferAllowanceWorkflowModel.js +67 -0
- package/dist/models/TransferSalaryBankAccountApprovalModel.d.ts +22 -0
- package/dist/models/TransferSalaryBankAccountApprovalModel.js +84 -0
- package/dist/models/TransferSalaryBankAccountAttachmentModel.d.ts +11 -0
- package/dist/models/TransferSalaryBankAccountAttachmentModel.js +52 -0
- package/dist/models/TransferSalaryBankAccountChatModel.d.ts +19 -0
- package/dist/models/TransferSalaryBankAccountChatModel.js +77 -0
- package/dist/models/TransferSalaryBankAccountRequestModel.d.ts +21 -0
- package/dist/models/TransferSalaryBankAccountRequestModel.js +74 -0
- package/dist/models/TransferSalaryBankAccountWorkflowModel.d.ts +17 -0
- package/dist/models/TransferSalaryBankAccountWorkflowModel.js +67 -0
- package/package.json +1 -1
- package/src/data-source.ts +56 -0
- package/src/index.ts +34 -1
- package/src/models/AppointmentRequestModel.ts +7 -0
- package/src/models/ChildrensDetailsModel.ts +32 -0
- package/src/models/ChildrensEducationApprovalModel.ts +56 -0
- package/src/models/ChildrensEducationAttachmentModel.ts +29 -0
- package/src/models/ChildrensEducationChatModel.ts +63 -0
- package/src/models/ChildrensEducationRequestModel.ts +40 -0
- package/src/models/ChildrensEducationWorkflowModel.ts +43 -0
- package/src/models/MedicalExpensesApprovalModel.ts +56 -0
- package/src/models/MedicalExpensesAttachmentModel.ts +29 -0
- package/src/models/MedicalExpensesChatModel.ts +63 -0
- package/src/models/MedicalExpensesFamilyDetailsModel.ts +17 -0
- package/src/models/MedicalExpensesRequestModel.ts +40 -0
- package/src/models/MedicalExpensesWorkflowModel.ts +43 -0
- package/src/models/RecruitmentDomesticWorkersApprovalModel.ts +56 -0
- package/src/models/RecruitmentDomesticWorkersAttachmentModel.ts +29 -0
- package/src/models/RecruitmentDomesticWorkersChatModel.ts +63 -0
- package/src/models/RecruitmentDomesticWorkersDetailsModel.ts +17 -0
- package/src/models/RecruitmentDomesticWorkersRequestModel.ts +40 -0
- package/src/models/RecruitmentDomesticWorkersWorkflowModel.ts +43 -0
- package/src/models/TransferAllowanceApprovalModel.ts +56 -0
- package/src/models/TransferAllowanceAttachmentModel.ts +29 -0
- package/src/models/TransferAllowanceChatModel.ts +63 -0
- package/src/models/TransferAllowanceRequestModel.ts +58 -0
- package/src/models/TransferAllowanceWorkflowModel.ts +43 -0
- package/src/models/TransferSalaryBankAccountApprovalModel.ts +56 -0
- package/src/models/TransferSalaryBankAccountAttachmentModel.ts +29 -0
- package/src/models/TransferSalaryBankAccountChatModel.ts +63 -0
- package/src/models/TransferSalaryBankAccountRequestModel.ts +49 -0
- package/src/models/TransferSalaryBankAccountWorkflowModel.ts +43 -0
package/dist/data-source.js
CHANGED
|
@@ -178,6 +178,34 @@ const MeetingApprovalModel_1 = require("./models/MeetingApprovalModel");
|
|
|
178
178
|
const MeetingAttachmentModel_1 = require("./models/MeetingAttachmentModel");
|
|
179
179
|
const MeetingChatModel_1 = require("./models/MeetingChatModel");
|
|
180
180
|
const MeetingWorkflowModel_1 = require("./models/MeetingWorkflowModel");
|
|
181
|
+
const ChildrensEducationRequestModel_1 = require("./models/ChildrensEducationRequestModel");
|
|
182
|
+
const ChildrensDetailsModel_1 = require("./models/ChildrensDetailsModel");
|
|
183
|
+
const ChildrensEducationApprovalModel_1 = require("./models/ChildrensEducationApprovalModel");
|
|
184
|
+
const ChildrensEducationAttachmentModel_1 = require("./models/ChildrensEducationAttachmentModel");
|
|
185
|
+
const ChildrensEducationChatModel_1 = require("./models/ChildrensEducationChatModel");
|
|
186
|
+
const ChildrensEducationWorkflowModel_1 = require("./models/ChildrensEducationWorkflowModel");
|
|
187
|
+
const MedicalExpensesRequestModel_1 = require("./models/MedicalExpensesRequestModel");
|
|
188
|
+
const MedicalExpensesFamilyDetailsModel_1 = require("./models/MedicalExpensesFamilyDetailsModel");
|
|
189
|
+
const MedicalExpensesApprovalModel_1 = require("./models/MedicalExpensesApprovalModel");
|
|
190
|
+
const MedicalExpensesAttachmentModel_1 = require("./models/MedicalExpensesAttachmentModel");
|
|
191
|
+
const MedicalExpensesChatModel_1 = require("./models/MedicalExpensesChatModel");
|
|
192
|
+
const MedicalExpensesWorkflowModel_1 = require("./models/MedicalExpensesWorkflowModel");
|
|
193
|
+
const RecruitmentDomesticWorkersRequestModel_1 = require("./models/RecruitmentDomesticWorkersRequestModel");
|
|
194
|
+
const RecruitmentDomesticWorkersDetailsModel_1 = require("./models/RecruitmentDomesticWorkersDetailsModel");
|
|
195
|
+
const RecruitmentDomesticWorkersApprovalModel_1 = require("./models/RecruitmentDomesticWorkersApprovalModel");
|
|
196
|
+
const RecruitmentDomesticWorkersAttachmentModel_1 = require("./models/RecruitmentDomesticWorkersAttachmentModel");
|
|
197
|
+
const RecruitmentDomesticWorkersChatModel_1 = require("./models/RecruitmentDomesticWorkersChatModel");
|
|
198
|
+
const RecruitmentDomesticWorkersWorkflowModel_1 = require("./models/RecruitmentDomesticWorkersWorkflowModel");
|
|
199
|
+
const TransferSalaryBankAccountRequestModel_1 = require("./models/TransferSalaryBankAccountRequestModel");
|
|
200
|
+
const TransferSalaryBankAccountApprovalModel_1 = require("./models/TransferSalaryBankAccountApprovalModel");
|
|
201
|
+
const TransferSalaryBankAccountAttachmentModel_1 = require("./models/TransferSalaryBankAccountAttachmentModel");
|
|
202
|
+
const TransferSalaryBankAccountChatModel_1 = require("./models/TransferSalaryBankAccountChatModel");
|
|
203
|
+
const TransferSalaryBankAccountWorkflowModel_1 = require("./models/TransferSalaryBankAccountWorkflowModel");
|
|
204
|
+
const TransferAllowanceRequestModel_1 = require("./models/TransferAllowanceRequestModel");
|
|
205
|
+
const TransferAllowanceApprovalModel_1 = require("./models/TransferAllowanceApprovalModel");
|
|
206
|
+
const TransferAllowanceAttachmentModel_1 = require("./models/TransferAllowanceAttachmentModel");
|
|
207
|
+
const TransferAllowanceChatModel_1 = require("./models/TransferAllowanceChatModel");
|
|
208
|
+
const TransferAllowanceWorkflowModel_1 = require("./models/TransferAllowanceWorkflowModel");
|
|
181
209
|
const MeetingAttendeeModel_1 = require("./models/MeetingAttendeeModel");
|
|
182
210
|
const MeetingDocumentsPermissionModel_1 = require("./models/MeetingDocumentsPermissionModel");
|
|
183
211
|
const AppointmentRequestModel_1 = require("./models/AppointmentRequestModel");
|
|
@@ -402,6 +430,34 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
402
430
|
MeetingAttachmentModel_1.MeetingRequestAttachment,
|
|
403
431
|
MeetingChatModel_1.MeetingRequestChat,
|
|
404
432
|
MeetingWorkflowModel_1.MeetingWorkFlow,
|
|
433
|
+
ChildrensEducationRequestModel_1.ChildrensEducationRequests,
|
|
434
|
+
ChildrensDetailsModel_1.ChildrensDetails,
|
|
435
|
+
ChildrensEducationApprovalModel_1.ChildrensEducationApprovalDetails,
|
|
436
|
+
ChildrensEducationAttachmentModel_1.ChildrensEducationRequestAttachment,
|
|
437
|
+
ChildrensEducationChatModel_1.ChildrensEducationRequestChat,
|
|
438
|
+
ChildrensEducationWorkflowModel_1.ChildrensEducationWorkFlow,
|
|
439
|
+
MedicalExpensesRequestModel_1.MedicalExpensesRequests,
|
|
440
|
+
MedicalExpensesFamilyDetailsModel_1.MedicalExpensesFamilyDetails,
|
|
441
|
+
MedicalExpensesApprovalModel_1.MedicalExpensesApprovalDetails,
|
|
442
|
+
MedicalExpensesAttachmentModel_1.MedicalExpensesRequestAttachment,
|
|
443
|
+
MedicalExpensesChatModel_1.MedicalExpensesRequestChat,
|
|
444
|
+
MedicalExpensesWorkflowModel_1.MedicalExpensesWorkFlow,
|
|
445
|
+
RecruitmentDomesticWorkersRequestModel_1.RecruitmentDomesticWorkersRequests,
|
|
446
|
+
RecruitmentDomesticWorkersDetailsModel_1.RecruitmentDomesticWorkersDetails,
|
|
447
|
+
RecruitmentDomesticWorkersApprovalModel_1.RecruitmentDomesticWorkersApprovalDetails,
|
|
448
|
+
RecruitmentDomesticWorkersAttachmentModel_1.RecruitmentDomesticWorkersRequestAttachment,
|
|
449
|
+
RecruitmentDomesticWorkersChatModel_1.RecruitmentDomesticWorkersRequestChat,
|
|
450
|
+
RecruitmentDomesticWorkersWorkflowModel_1.RecruitmentDomesticWorkersWorkFlow,
|
|
451
|
+
TransferSalaryBankAccountRequestModel_1.TransferSalaryBankAccountRequests,
|
|
452
|
+
TransferSalaryBankAccountApprovalModel_1.TransferSalaryBankAccountApprovalDetails,
|
|
453
|
+
TransferSalaryBankAccountAttachmentModel_1.TransferSalaryBankAccountRequestAttachment,
|
|
454
|
+
TransferSalaryBankAccountChatModel_1.TransferSalaryBankAccountRequestChat,
|
|
455
|
+
TransferSalaryBankAccountWorkflowModel_1.TransferSalaryBankAccountWorkFlow,
|
|
456
|
+
TransferAllowanceRequestModel_1.TransferAllowanceRequests,
|
|
457
|
+
TransferAllowanceApprovalModel_1.TransferAllowanceApprovalDetails,
|
|
458
|
+
TransferAllowanceAttachmentModel_1.TransferAllowanceRequestAttachment,
|
|
459
|
+
TransferAllowanceChatModel_1.TransferAllowanceRequestChat,
|
|
460
|
+
TransferAllowanceWorkflowModel_1.TransferAllowanceWorkFlow,
|
|
405
461
|
MeetingAttendeeModel_1.MeetingAttendees,
|
|
406
462
|
MeetingDocumentsPermissionModel_1.MeetingDocumentsPermission,
|
|
407
463
|
AppointmentRequestModel_1.AppointmentRequests,
|
package/dist/index.d.ts
CHANGED
|
@@ -273,7 +273,35 @@ export * from './models/MeetingChatModel';
|
|
|
273
273
|
export * from './models/MeetingWorkflowModel';
|
|
274
274
|
export * from './models/MeetingAttendeeModel';
|
|
275
275
|
export * from './models/MeetingDocumentsPermissionModel';
|
|
276
|
-
export
|
|
276
|
+
export * from './models/ChildrensEducationRequestModel';
|
|
277
|
+
export * from './models/ChildrensDetailsModel';
|
|
278
|
+
export * from './models/ChildrensEducationApprovalModel';
|
|
279
|
+
export * from './models/ChildrensEducationAttachmentModel';
|
|
280
|
+
export * from './models/ChildrensEducationChatModel';
|
|
281
|
+
export * from './models/ChildrensEducationWorkflowModel';
|
|
282
|
+
export * from './models/MedicalExpensesRequestModel';
|
|
283
|
+
export * from './models/MedicalExpensesFamilyDetailsModel';
|
|
284
|
+
export * from './models/MedicalExpensesApprovalModel';
|
|
285
|
+
export * from './models/MedicalExpensesAttachmentModel';
|
|
286
|
+
export * from './models/MedicalExpensesChatModel';
|
|
287
|
+
export * from './models/MedicalExpensesWorkflowModel';
|
|
288
|
+
export * from './models/RecruitmentDomesticWorkersRequestModel';
|
|
289
|
+
export * from './models/RecruitmentDomesticWorkersDetailsModel';
|
|
290
|
+
export * from './models/RecruitmentDomesticWorkersApprovalModel';
|
|
291
|
+
export * from './models/RecruitmentDomesticWorkersAttachmentModel';
|
|
292
|
+
export * from './models/RecruitmentDomesticWorkersChatModel';
|
|
293
|
+
export * from './models/RecruitmentDomesticWorkersWorkflowModel';
|
|
294
|
+
export * from './models/TransferSalaryBankAccountRequestModel';
|
|
295
|
+
export * from './models/TransferSalaryBankAccountApprovalModel';
|
|
296
|
+
export * from './models/TransferSalaryBankAccountAttachmentModel';
|
|
297
|
+
export * from './models/TransferSalaryBankAccountChatModel';
|
|
298
|
+
export * from './models/TransferSalaryBankAccountWorkflowModel';
|
|
299
|
+
export * from './models/TransferAllowanceRequestModel';
|
|
300
|
+
export * from './models/TransferAllowanceApprovalModel';
|
|
301
|
+
export * from './models/TransferAllowanceAttachmentModel';
|
|
302
|
+
export * from './models/TransferAllowanceChatModel';
|
|
303
|
+
export * from './models/TransferAllowanceWorkflowModel';
|
|
304
|
+
export { AppointmentRequests, AppointmentRequestStatus } from './models/AppointmentRequestModel';
|
|
277
305
|
export { AppointmentApprovalDetails } from './models/AppointmentApprovalModel';
|
|
278
306
|
export { AppointmentRequestAttachment } from './models/AppointmentAttachmentModel';
|
|
279
307
|
export { AppointmentRequestChat } from './models/AppointmentChatModel';
|
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.ServicesNotificationTriggerType = exports.AppointmentWorkFlowStatus = exports.AppointmentMessageType = exports.AppointmentAttendeeStatus = exports.AppointmentApprovalStatus = exports.AppointmentAttendees = exports.AppointmentWorkFlow = exports.AppointmentRequestChat = exports.AppointmentRequestAttachment = exports.AppointmentApprovalDetails = exports.AppointmentRequests = 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 = exports.RegisterCandidateExperienceActivity = void 0;
|
|
17
|
+
exports.ServicesNotificationTriggerType = exports.AppointmentWorkFlowStatus = exports.AppointmentMessageType = exports.AppointmentAttendeeStatus = exports.AppointmentApprovalStatus = exports.AppointmentAttendees = exports.AppointmentWorkFlow = exports.AppointmentRequestChat = exports.AppointmentRequestAttachment = exports.AppointmentApprovalDetails = exports.AppointmentRequestStatus = exports.AppointmentRequests = 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 = exports.RegisterCandidateExperienceActivity = void 0;
|
|
18
18
|
__exportStar(require("./models/user"), exports);
|
|
19
19
|
__exportStar(require("./models/role"), exports);
|
|
20
20
|
__exportStar(require("./models/user-sessions"), exports);
|
|
@@ -333,9 +333,43 @@ __exportStar(require("./models/MeetingChatModel"), exports);
|
|
|
333
333
|
__exportStar(require("./models/MeetingWorkflowModel"), exports);
|
|
334
334
|
__exportStar(require("./models/MeetingAttendeeModel"), exports);
|
|
335
335
|
__exportStar(require("./models/MeetingDocumentsPermissionModel"), exports);
|
|
336
|
+
// Children's Education (Missions) Models
|
|
337
|
+
__exportStar(require("./models/ChildrensEducationRequestModel"), exports);
|
|
338
|
+
__exportStar(require("./models/ChildrensDetailsModel"), exports);
|
|
339
|
+
__exportStar(require("./models/ChildrensEducationApprovalModel"), exports);
|
|
340
|
+
__exportStar(require("./models/ChildrensEducationAttachmentModel"), exports);
|
|
341
|
+
__exportStar(require("./models/ChildrensEducationChatModel"), exports);
|
|
342
|
+
__exportStar(require("./models/ChildrensEducationWorkflowModel"), exports);
|
|
343
|
+
// Medical Expenses (Missions) Models
|
|
344
|
+
__exportStar(require("./models/MedicalExpensesRequestModel"), exports);
|
|
345
|
+
__exportStar(require("./models/MedicalExpensesFamilyDetailsModel"), exports);
|
|
346
|
+
__exportStar(require("./models/MedicalExpensesApprovalModel"), exports);
|
|
347
|
+
__exportStar(require("./models/MedicalExpensesAttachmentModel"), exports);
|
|
348
|
+
__exportStar(require("./models/MedicalExpensesChatModel"), exports);
|
|
349
|
+
__exportStar(require("./models/MedicalExpensesWorkflowModel"), exports);
|
|
350
|
+
// Recruitment Domestic Workers (Missions) Models
|
|
351
|
+
__exportStar(require("./models/RecruitmentDomesticWorkersRequestModel"), exports);
|
|
352
|
+
__exportStar(require("./models/RecruitmentDomesticWorkersDetailsModel"), exports);
|
|
353
|
+
__exportStar(require("./models/RecruitmentDomesticWorkersApprovalModel"), exports);
|
|
354
|
+
__exportStar(require("./models/RecruitmentDomesticWorkersAttachmentModel"), exports);
|
|
355
|
+
__exportStar(require("./models/RecruitmentDomesticWorkersChatModel"), exports);
|
|
356
|
+
__exportStar(require("./models/RecruitmentDomesticWorkersWorkflowModel"), exports);
|
|
357
|
+
// Transfer Salary Bank Account (Missions) Models
|
|
358
|
+
__exportStar(require("./models/TransferSalaryBankAccountRequestModel"), exports);
|
|
359
|
+
__exportStar(require("./models/TransferSalaryBankAccountApprovalModel"), exports);
|
|
360
|
+
__exportStar(require("./models/TransferSalaryBankAccountAttachmentModel"), exports);
|
|
361
|
+
__exportStar(require("./models/TransferSalaryBankAccountChatModel"), exports);
|
|
362
|
+
__exportStar(require("./models/TransferSalaryBankAccountWorkflowModel"), exports);
|
|
363
|
+
// Transfer Allowance (Missions) Models
|
|
364
|
+
__exportStar(require("./models/TransferAllowanceRequestModel"), exports);
|
|
365
|
+
__exportStar(require("./models/TransferAllowanceApprovalModel"), exports);
|
|
366
|
+
__exportStar(require("./models/TransferAllowanceAttachmentModel"), exports);
|
|
367
|
+
__exportStar(require("./models/TransferAllowanceChatModel"), exports);
|
|
368
|
+
__exportStar(require("./models/TransferAllowanceWorkflowModel"), exports);
|
|
336
369
|
// Appointment Models (export entities only to avoid name collisions)
|
|
337
370
|
var AppointmentRequestModel_1 = require("./models/AppointmentRequestModel");
|
|
338
371
|
Object.defineProperty(exports, "AppointmentRequests", { enumerable: true, get: function () { return AppointmentRequestModel_1.AppointmentRequests; } });
|
|
372
|
+
Object.defineProperty(exports, "AppointmentRequestStatus", { enumerable: true, get: function () { return AppointmentRequestModel_1.AppointmentRequestStatus; } });
|
|
339
373
|
var AppointmentApprovalModel_1 = require("./models/AppointmentApprovalModel");
|
|
340
374
|
Object.defineProperty(exports, "AppointmentApprovalDetails", { enumerable: true, get: function () { return AppointmentApprovalModel_1.AppointmentApprovalDetails; } });
|
|
341
375
|
var AppointmentAttachmentModel_1 = require("./models/AppointmentAttachmentModel");
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { RequestResourceSystem } from './MeetingRequestModel';
|
|
2
3
|
export declare enum AppointmentRequestStatus {
|
|
3
4
|
PENDING = "Pending",
|
|
4
5
|
ASSIGNED = "Assigned",
|
|
@@ -33,6 +34,8 @@ export declare class AppointmentRequests extends BaseModel {
|
|
|
33
34
|
user_id: number;
|
|
34
35
|
/** Array of department IDs (e.g. [1, 2, 5]). Replaces single department_id. */
|
|
35
36
|
departments: number[] | null;
|
|
37
|
+
project_id: number | null;
|
|
38
|
+
request_resource_system: RequestResourceSystem | null;
|
|
36
39
|
receiving_department_id: number | null;
|
|
37
40
|
request_type: AppointmentRequestType | null;
|
|
38
41
|
appointment_type: AppointmentType | null;
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AppointmentRequests = exports.AppointmentLocation = exports.AppointmentYesNo = exports.AppointmentType = exports.AppointmentRequestType = exports.AppointmentRequestStatus = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const MeetingRequestModel_1 = require("./MeetingRequestModel");
|
|
15
16
|
var AppointmentRequestStatus;
|
|
16
17
|
(function (AppointmentRequestStatus) {
|
|
17
18
|
AppointmentRequestStatus["PENDING"] = "Pending";
|
|
@@ -70,6 +71,14 @@ __decorate([
|
|
|
70
71
|
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
71
72
|
__metadata("design:type", Object)
|
|
72
73
|
], AppointmentRequests.prototype, "departments", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
76
|
+
__metadata("design:type", Object)
|
|
77
|
+
], AppointmentRequests.prototype, "project_id", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: MeetingRequestModel_1.RequestResourceSystem, nullable: true }),
|
|
80
|
+
__metadata("design:type", Object)
|
|
81
|
+
], AppointmentRequests.prototype, "request_resource_system", void 0);
|
|
73
82
|
__decorate([
|
|
74
83
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
75
84
|
__metadata("design:type", Object)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class ChildrensDetails extends BaseModel {
|
|
3
|
+
request_id: number;
|
|
4
|
+
child_name: string | null;
|
|
5
|
+
age: number | null;
|
|
6
|
+
country: string | null;
|
|
7
|
+
purpose: string | null;
|
|
8
|
+
school_name: string | null;
|
|
9
|
+
cost: string | null;
|
|
10
|
+
currency_type: string | null;
|
|
11
|
+
remark: string | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.ChildrensDetails = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ChildrensDetails = class ChildrensDetails extends BaseModel_1.BaseModel {
|
|
16
|
+
};
|
|
17
|
+
exports.ChildrensDetails = ChildrensDetails;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], ChildrensDetails.prototype, "request_id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], ChildrensDetails.prototype, "child_name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], ChildrensDetails.prototype, "age", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], ChildrensDetails.prototype, "country", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], ChildrensDetails.prototype, "purpose", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
40
|
+
__metadata("design:type", Object)
|
|
41
|
+
], ChildrensDetails.prototype, "school_name", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'decimal', precision: 15, scale: 2, nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], ChildrensDetails.prototype, "cost", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
48
|
+
__metadata("design:type", Object)
|
|
49
|
+
], ChildrensDetails.prototype, "currency_type", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
52
|
+
__metadata("design:type", Object)
|
|
53
|
+
], ChildrensDetails.prototype, "remark", void 0);
|
|
54
|
+
exports.ChildrensDetails = ChildrensDetails = __decorate([
|
|
55
|
+
(0, typeorm_1.Entity)({ name: 'childrens_details' })
|
|
56
|
+
], ChildrensDetails);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum ChildrensEducationApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class ChildrensEducationApprovalDetails 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: ChildrensEducationApprovalStatus;
|
|
21
|
+
is_allowed: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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.ChildrensEducationApprovalDetails = exports.ChildrensEducationApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ChildrensEducationApprovalStatus;
|
|
16
|
+
(function (ChildrensEducationApprovalStatus) {
|
|
17
|
+
ChildrensEducationApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
ChildrensEducationApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
ChildrensEducationApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
ChildrensEducationApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(ChildrensEducationApprovalStatus || (exports.ChildrensEducationApprovalStatus = ChildrensEducationApprovalStatus = {}));
|
|
22
|
+
let ChildrensEducationApprovalDetails = class ChildrensEducationApprovalDetails extends BaseModel_1.BaseModel {
|
|
23
|
+
};
|
|
24
|
+
exports.ChildrensEducationApprovalDetails = ChildrensEducationApprovalDetails;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], ChildrensEducationApprovalDetails.prototype, "request_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], ChildrensEducationApprovalDetails.prototype, "service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], ChildrensEducationApprovalDetails.prototype, "sub_service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], ChildrensEducationApprovalDetails.prototype, "level", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], ChildrensEducationApprovalDetails.prototype, "approver_role_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], ChildrensEducationApprovalDetails.prototype, "department_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], ChildrensEducationApprovalDetails.prototype, "section_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], ChildrensEducationApprovalDetails.prototype, "approver_user_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], ChildrensEducationApprovalDetails.prototype, "delegate_user_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], ChildrensEducationApprovalDetails.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
|
+
], ChildrensEducationApprovalDetails.prototype, "comment", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({
|
|
71
|
+
type: 'enum',
|
|
72
|
+
enum: ChildrensEducationApprovalStatus,
|
|
73
|
+
default: ChildrensEducationApprovalStatus.PENDING,
|
|
74
|
+
nullable: false,
|
|
75
|
+
}),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], ChildrensEducationApprovalDetails.prototype, "approval_status", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
80
|
+
__metadata("design:type", Boolean)
|
|
81
|
+
], ChildrensEducationApprovalDetails.prototype, "is_allowed", void 0);
|
|
82
|
+
exports.ChildrensEducationApprovalDetails = ChildrensEducationApprovalDetails = __decorate([
|
|
83
|
+
(0, typeorm_1.Entity)({ name: 'childrens_education_approvals' })
|
|
84
|
+
], ChildrensEducationApprovalDetails);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class ChildrensEducationRequestAttachment 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.ChildrensEducationRequestAttachment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ChildrensEducationRequestAttachment = class ChildrensEducationRequestAttachment extends BaseModel_1.BaseModel {
|
|
16
|
+
};
|
|
17
|
+
exports.ChildrensEducationRequestAttachment = ChildrensEducationRequestAttachment;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], ChildrensEducationRequestAttachment.prototype, "request_id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], ChildrensEducationRequestAttachment.prototype, "service_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], ChildrensEducationRequestAttachment.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
|
+
], ChildrensEducationRequestAttachment.prototype, "file_url", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ChildrensEducationRequestAttachment.prototype, "file_name", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], ChildrensEducationRequestAttachment.prototype, "file_type", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], ChildrensEducationRequestAttachment.prototype, "file_size", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
48
|
+
__metadata("design:type", Object)
|
|
49
|
+
], ChildrensEducationRequestAttachment.prototype, "chat_id", void 0);
|
|
50
|
+
exports.ChildrensEducationRequestAttachment = ChildrensEducationRequestAttachment = __decorate([
|
|
51
|
+
(0, typeorm_1.Entity)({ name: 'childrens_education_attachments' })
|
|
52
|
+
], ChildrensEducationRequestAttachment);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum ChildrensEducationMessageType {
|
|
3
|
+
TEXT = "text",
|
|
4
|
+
IMAGE = "image",
|
|
5
|
+
VIDEO = "video",
|
|
6
|
+
FILE = "file",
|
|
7
|
+
LINK = "link"
|
|
8
|
+
}
|
|
9
|
+
export declare class ChildrensEducationRequestChat 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: ChildrensEducationMessageType;
|
|
17
|
+
status: string;
|
|
18
|
+
constructor(request_id: number, user_id: number, role_id: number, message: string, service_id?: number, sub_service_id?: number, messageType?: ChildrensEducationMessageType, status?: string);
|
|
19
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.ChildrensEducationRequestChat = exports.ChildrensEducationMessageType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ChildrensEducationMessageType;
|
|
16
|
+
(function (ChildrensEducationMessageType) {
|
|
17
|
+
ChildrensEducationMessageType["TEXT"] = "text";
|
|
18
|
+
ChildrensEducationMessageType["IMAGE"] = "image";
|
|
19
|
+
ChildrensEducationMessageType["VIDEO"] = "video";
|
|
20
|
+
ChildrensEducationMessageType["FILE"] = "file";
|
|
21
|
+
ChildrensEducationMessageType["LINK"] = "link";
|
|
22
|
+
})(ChildrensEducationMessageType || (exports.ChildrensEducationMessageType = ChildrensEducationMessageType = {}));
|
|
23
|
+
let ChildrensEducationRequestChat = class ChildrensEducationRequestChat extends BaseModel_1.BaseModel {
|
|
24
|
+
constructor(request_id, user_id, role_id, message, service_id, sub_service_id, messageType, status) {
|
|
25
|
+
super();
|
|
26
|
+
this.request_id = request_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 ?? ChildrensEducationMessageType.TEXT;
|
|
33
|
+
this.status = status ?? 'Pending';
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
exports.ChildrensEducationRequestChat = ChildrensEducationRequestChat;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], ChildrensEducationRequestChat.prototype, "request_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], ChildrensEducationRequestChat.prototype, "service_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], ChildrensEducationRequestChat.prototype, "sub_service_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], ChildrensEducationRequestChat.prototype, "user_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], ChildrensEducationRequestChat.prototype, "role_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], ChildrensEducationRequestChat.prototype, "message", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({
|
|
63
|
+
type: 'enum',
|
|
64
|
+
enum: ChildrensEducationMessageType,
|
|
65
|
+
default: ChildrensEducationMessageType.TEXT,
|
|
66
|
+
nullable: false,
|
|
67
|
+
}),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], ChildrensEducationRequestChat.prototype, "messageType", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], ChildrensEducationRequestChat.prototype, "status", void 0);
|
|
74
|
+
exports.ChildrensEducationRequestChat = ChildrensEducationRequestChat = __decorate([
|
|
75
|
+
(0, typeorm_1.Entity)({ name: 'childrens_education_chats' }),
|
|
76
|
+
__metadata("design:paramtypes", [Number, Number, Number, String, Number, Number, String, String])
|
|
77
|
+
], ChildrensEducationRequestChat);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum ChildrensEducationRequestStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
ASSIGNED = "Assigned",
|
|
5
|
+
IN_PROGRESS = "In Progress",
|
|
6
|
+
APPROVED = "Approved",
|
|
7
|
+
REJECTED = "Rejected",
|
|
8
|
+
CANCELLED = "Cancelled"
|
|
9
|
+
}
|
|
10
|
+
export declare class ChildrensEducationRequests extends BaseModel {
|
|
11
|
+
req_user_department_id: number | null;
|
|
12
|
+
req_user_section_id: number | null;
|
|
13
|
+
service_id: number | null;
|
|
14
|
+
sub_service_id: number | null;
|
|
15
|
+
user_id: number;
|
|
16
|
+
status: ChildrensEducationRequestStatus;
|
|
17
|
+
workflow_execution_id: string | null;
|
|
18
|
+
}
|
|
@@ -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.ChildrensEducationRequests = exports.ChildrensEducationRequestStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var ChildrensEducationRequestStatus;
|
|
16
|
+
(function (ChildrensEducationRequestStatus) {
|
|
17
|
+
ChildrensEducationRequestStatus["PENDING"] = "Pending";
|
|
18
|
+
ChildrensEducationRequestStatus["ASSIGNED"] = "Assigned";
|
|
19
|
+
ChildrensEducationRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
20
|
+
ChildrensEducationRequestStatus["APPROVED"] = "Approved";
|
|
21
|
+
ChildrensEducationRequestStatus["REJECTED"] = "Rejected";
|
|
22
|
+
ChildrensEducationRequestStatus["CANCELLED"] = "Cancelled";
|
|
23
|
+
})(ChildrensEducationRequestStatus || (exports.ChildrensEducationRequestStatus = ChildrensEducationRequestStatus = {}));
|
|
24
|
+
let ChildrensEducationRequests = class ChildrensEducationRequests extends BaseModel_1.BaseModel {
|
|
25
|
+
};
|
|
26
|
+
exports.ChildrensEducationRequests = ChildrensEducationRequests;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
|
+
__metadata("design:type", Object)
|
|
30
|
+
], ChildrensEducationRequests.prototype, "req_user_department_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], ChildrensEducationRequests.prototype, "req_user_section_id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], ChildrensEducationRequests.prototype, "service_id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
41
|
+
__metadata("design:type", Object)
|
|
42
|
+
], ChildrensEducationRequests.prototype, "sub_service_id", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], ChildrensEducationRequests.prototype, "user_id", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({
|
|
49
|
+
type: 'enum',
|
|
50
|
+
enum: ChildrensEducationRequestStatus,
|
|
51
|
+
default: ChildrensEducationRequestStatus.PENDING,
|
|
52
|
+
nullable: false,
|
|
53
|
+
}),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], ChildrensEducationRequests.prototype, "status", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], ChildrensEducationRequests.prototype, "workflow_execution_id", void 0);
|
|
60
|
+
exports.ChildrensEducationRequests = ChildrensEducationRequests = __decorate([
|
|
61
|
+
(0, typeorm_1.Entity)({ name: 'childrens_education_requests' })
|
|
62
|
+
], ChildrensEducationRequests);
|