cloud-ide-lms-model 1.1.15 → 1.1.19
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/lib/common-types/common.js +2 -6
- package/lib/common-types/emailServiceConfig.js +1 -2
- package/lib/common-types/index.js +4 -20
- package/lib/common-types/jwtPayload.js +1 -2
- package/lib/common-types/userPermissions.js +1 -2
- package/lib/index.js +7 -23
- package/lib/middleware/index.js +1 -17
- package/lib/middleware/securityHeadersMiddleware.js +1 -2
- package/lib/model/academics/aca_academic_year.js +5 -12
- package/lib/model/academics/aca_academic_year_mapping.js +5 -12
- package/lib/model/academics/aca_class_prg_branch.js +6 -15
- package/lib/model/academics/aca_class_program_master.js +5 -12
- package/lib/model/academics/aca_class_program_term.js +5 -13
- package/lib/model/academics/aca_prg_trm_section.js +5 -13
- package/lib/model/academics/academics_bonafide_request.js +4 -12
- package/lib/model/academics/index.js +7 -23
- package/lib/model/accounts/acc_financial_config.js +6 -10
- package/lib/model/accounts/acc_financial_year.js +5 -12
- package/lib/model/accounts/acc_financial_year_mapping.js +5 -12
- package/lib/model/accounts/index.js +3 -19
- package/lib/model/admission/admission_application_main.js +3 -8
- package/lib/model/admission/admission_confirmation_types.js +5 -12
- package/lib/model/admission/admission_contact_addresses.js +1 -2
- package/lib/model/admission/admission_elective_detail.js +3 -8
- package/lib/model/admission/admission_family_members.js +1 -2
- package/lib/model/admission/admission_fee_snapshot.js +1 -2
- package/lib/model/admission/admission_rte_details.js +1 -2
- package/lib/model/admission/admission_vital_information.js +1 -2
- package/lib/model/admission/index.js +8 -24
- package/lib/model/app/app-build-config.model.d.ts +55 -0
- package/lib/model/app/app-build-config.model.js +36 -0
- package/lib/model/app/app-changelog.model.d.ts +55 -0
- package/lib/model/app/app-changelog.model.js +36 -0
- package/lib/model/app/app-deployment.model.d.ts +59 -0
- package/lib/model/app/app-deployment.model.js +36 -0
- package/lib/model/app/app-platform-link.model.d.ts +62 -0
- package/lib/model/app/app-platform-link.model.js +36 -0
- package/lib/model/app/app-publish.model.d.ts +93 -0
- package/lib/model/app/app-publish.model.js +36 -0
- package/lib/model/app/app-registration-start.model.d.ts +55 -0
- package/lib/model/app/app-registration-start.model.js +36 -0
- package/lib/model/app/app-registration.model.d.ts +58 -0
- package/lib/model/app/app-registration.model.js +36 -0
- package/lib/model/app/app-store-provider.model.d.ts +56 -0
- package/lib/model/app/app-store-provider.model.js +36 -0
- package/lib/model/app/app-version.model.d.ts +66 -0
- package/lib/model/app/app-version.model.js +36 -0
- package/lib/model/app/index.d.ts +9 -0
- package/lib/model/app/index.js +9 -0
- package/lib/model/auth/auth_user_mst.js +16 -26
- package/lib/model/auth/entity-switch.js +2 -4
- package/lib/model/auth/forgot-password.d.ts +1 -0
- package/lib/model/auth/forgot-password.js +2 -4
- package/lib/model/auth/generate-view-only-token.js +1 -4
- package/lib/model/auth/index.js +7 -23
- package/lib/model/auth/login.d.ts +1 -0
- package/lib/model/auth/login.js +2 -5
- package/lib/model/auth/register.js +4 -4
- package/lib/model/auth/reset-password.d.ts +2 -0
- package/lib/model/auth/reset-password.js +2 -4
- package/lib/model/common/index.js +1 -17
- package/lib/model/common/mongoose-object.js +1 -2
- package/lib/model/core/core_department.js +3 -10
- package/lib/model/core/core_designation.js +3 -10
- package/lib/model/core/core_designation_grade_level.js +5 -13
- package/lib/model/core/core_entity_access_pass_management.js +3 -10
- package/lib/model/core/core_file_manager.js +4 -8
- package/lib/model/core/core_general_master.js +6 -14
- package/lib/model/core/core_general_master_type.js +7 -15
- package/lib/model/core/core_iso_currency.js +4 -6
- package/lib/model/core/core_page_elements.js +5 -14
- package/lib/model/core/core_page_elements_mapping.js +3 -12
- package/lib/model/core/core_pin_code.js +2 -4
- package/lib/model/core/core_system_country.js +3 -6
- package/lib/model/core/core_system_entity.d.ts +17 -1
- package/lib/model/core/core_system_entity.js +17 -7
- package/lib/model/core/core_system_menu.js +6 -13
- package/lib/model/core/core_system_nationality.js +3 -6
- package/lib/model/core/core_system_pages.js +5 -13
- package/lib/model/core/core_system_pages_theme.js +3 -14
- package/lib/model/core/core_system_theme_user_preferences.js +3 -4
- package/lib/model/core/core_system_themes.js +2 -4
- package/lib/model/core/core_user_role.js +3 -10
- package/lib/model/core/core_workflow_config.js +4 -13
- package/lib/model/core/core_workflow_engine.js +2 -9
- package/lib/model/core/core_workflow_registry.js +4 -12
- package/lib/model/core/dashboard-cards.js +3 -9
- package/lib/model/core/design-config.js +2 -4
- package/lib/model/core/financial_config.js +6 -10
- package/lib/model/core/index.js +27 -43
- package/lib/model/email/email_list.js +4 -10
- package/lib/model/email/email_log.js +4 -8
- package/lib/model/email/email_reference.js +4 -10
- package/lib/model/email/email_subscription.js +4 -10
- package/lib/model/email/email_template.js +4 -10
- package/lib/model/email/email_vendor.js +4 -10
- package/lib/model/email/index.js +6 -22
- package/lib/model/fees/fee_assignment.js +6 -11
- package/lib/model/fees/fee_discount_rule.js +5 -12
- package/lib/model/fees/fee_payment.js +5 -11
- package/lib/model/fees/fee_receipt_template.js +5 -12
- package/lib/model/fees/fee_structure.js +5 -13
- package/lib/model/fees/index.js +5 -21
- package/lib/model/frontdesk/fdsk_lead_assignment_detail.js +4 -7
- package/lib/model/frontdesk/fdsk_lead_config_master.js +9 -12
- package/lib/model/frontdesk/fdsk_leads.js +5 -8
- package/lib/model/frontdesk/index.js +3 -19
- package/lib/model/index.d.ts +1 -0
- package/lib/model/index.js +11 -26
- package/lib/model/notifications/index.js +1 -17
- package/lib/model/notifications/notification.js +3 -10
- package/lib/routes/academicsRoutes.js +1 -4
- package/lib/routes/accountsRoutes.js +1 -4
- package/lib/routes/admissionRoutes.js +1 -4
- package/lib/routes/appRoutes.d.ts +64 -0
- package/lib/routes/appRoutes.js +66 -0
- package/lib/routes/authRoutes.js +1 -4
- package/lib/routes/commonRoutes.js +1 -4
- package/lib/routes/coreRoutes.d.ts +4 -0
- package/lib/routes/coreRoutes.js +5 -4
- package/lib/routes/designConfigRoutes.js +1 -4
- package/lib/routes/emailRoutes.js +1 -4
- package/lib/routes/feesRoutes.js +1 -4
- package/lib/routes/frontdeskRoutes.js +1 -4
- package/lib/routes/hostManagerRoutes.js +1 -4
- package/lib/routes/index.d.ts +1 -0
- package/lib/routes/index.js +14 -29
- package/lib/routes/notificationRoutes.js +1 -4
- package/lib/routes/userRoutes.js +1 -4
- package/lib/schema/academics/aca_academic_year.js +1 -4
- package/lib/schema/academics/aca_academic_year_mapping.js +2 -5
- package/lib/schema/academics/aca_class_prg_branch.js +2 -5
- package/lib/schema/academics/aca_class_program_master.js +2 -5
- package/lib/schema/academics/aca_class_program_term.js +2 -5
- package/lib/schema/academics/aca_prg_trm_section.js +2 -5
- package/lib/schema/academics/academics_bonafide_request.js +3 -4
- package/lib/schema/academics/index.js +7 -23
- package/lib/schema/accounts/acc_financial_config.d.ts +1 -0
- package/lib/schema/accounts/acc_financial_config.js +2 -4
- package/lib/schema/accounts/acc_financial_year.js +1 -4
- package/lib/schema/accounts/acc_financial_year_mapping.js +2 -5
- package/lib/schema/accounts/index.js +3 -19
- package/lib/schema/admission/admission_application_main.js +3 -4
- package/lib/schema/admission/admission_contact_addresses.js +5 -7
- package/lib/schema/admission/admission_document_uploads.js +3 -4
- package/lib/schema/admission/admission_elective_detail.js +3 -4
- package/lib/schema/admission/admission_family_members.js +3 -5
- package/lib/schema/admission/admission_fee_snapshot.js +1 -2
- package/lib/schema/admission/admission_rte_details.js +2 -5
- package/lib/schema/admission/admission_status_history.js +3 -4
- package/lib/schema/admission/admission_vital_information.js +2 -5
- package/lib/schema/admission/index.js +9 -25
- package/lib/schema/app/app_build_config_mst.d.ts +13 -0
- package/lib/schema/app/app_build_config_mst.js +6 -0
- package/lib/schema/app/app_platform_link_mst.d.ts +19 -0
- package/lib/schema/app/app_platform_link_mst.js +6 -0
- package/lib/schema/app/app_publish_details_mst.d.ts +50 -0
- package/lib/schema/app/app_publish_details_mst.js +6 -0
- package/lib/schema/app/app_registration_mst.d.ts +16 -0
- package/lib/schema/app/app_registration_mst.js +6 -0
- package/lib/schema/app/app_registration_start_mst.d.ts +12 -0
- package/lib/schema/app/app_registration_start_mst.js +6 -0
- package/lib/schema/app/app_rollout_config_mst.d.ts +17 -0
- package/lib/schema/app/app_rollout_config_mst.js +6 -0
- package/lib/schema/app/app_store_provider_mst.d.ts +14 -0
- package/lib/schema/app/app_store_provider_mst.js +6 -0
- package/lib/schema/app/app_update_changelog_mst.d.ts +14 -0
- package/lib/schema/app/app_update_changelog_mst.js +6 -0
- package/lib/schema/app/app_update_deployment_mst.d.ts +18 -0
- package/lib/schema/app/app_update_deployment_mst.js +6 -0
- package/lib/schema/app/app_update_statistics_mst.d.ts +17 -0
- package/lib/schema/app/app_update_statistics_mst.js +6 -0
- package/lib/schema/app/app_user_update_status_mst.d.ts +19 -0
- package/lib/schema/app/app_user_update_status_mst.js +6 -0
- package/lib/schema/app/app_version_mst.d.ts +24 -0
- package/lib/schema/app/app_version_mst.js +6 -0
- package/lib/schema/app/index.d.ts +12 -0
- package/lib/schema/app/index.js +12 -0
- package/lib/schema/auth/auth_logses.js +1 -2
- package/lib/schema/auth/auth_mpin.js +3 -4
- package/lib/schema/auth/auth_user_mst.js +2 -4
- package/lib/schema/auth/index.js +3 -19
- package/lib/schema/collection_names.js +1 -4
- package/lib/schema/core/core_board_exam_pattern.js +3 -4
- package/lib/schema/core/core_board_grade_system.js +3 -4
- package/lib/schema/core/core_dashboard_cards.js +1 -2
- package/lib/schema/core/core_department.js +1 -2
- package/lib/schema/core/core_designation.js +1 -2
- package/lib/schema/core/core_designation_grade_level.js +2 -4
- package/lib/schema/core/core_education_board.js +3 -4
- package/lib/schema/core/core_entity_access_pass_management.js +1 -5
- package/lib/schema/core/core_entity_mapping.js +4 -5
- package/lib/schema/core/core_entity_udise.js +3 -4
- package/lib/schema/core/core_file_manager.js +3 -4
- package/lib/schema/core/core_financial_config.d.ts +1 -0
- package/lib/schema/core/core_financial_config.js +2 -4
- package/lib/schema/core/core_general_master.js +3 -4
- package/lib/schema/core/core_general_master_type.js +3 -4
- package/lib/schema/core/core_iso_currency.js +1 -2
- package/lib/schema/core/core_language.js +1 -2
- package/lib/schema/core/core_page_elements.js +3 -4
- package/lib/schema/core/core_page_elements_mapping.js +1 -2
- package/lib/schema/core/core_page_grid.js +1 -2
- package/lib/schema/core/core_page_tab.js +1 -2
- package/lib/schema/core/core_pin_code.js +1 -2
- package/lib/schema/core/core_school_board_affiliation.js +3 -4
- package/lib/schema/core/core_system_config.js +3 -4
- package/lib/schema/core/core_system_country.js +1 -2
- package/lib/schema/core/core_system_entity.js +3 -4
- package/lib/schema/core/core_system_logs.js +3 -4
- package/lib/schema/core/core_system_menu.js +3 -4
- package/lib/schema/core/core_system_nationality.js +1 -2
- package/lib/schema/core/core_system_organization_themes.js +3 -4
- package/lib/schema/core/core_system_page_notes_manager.js +2 -4
- package/lib/schema/core/core_system_pages.js +3 -4
- package/lib/schema/core/core_system_pages_theme.js +1 -2
- package/lib/schema/core/core_system_theme_user_preferences.js +3 -4
- package/lib/schema/core/core_system_themes.js +2 -4
- package/lib/schema/core/core_user_attributes.js +2 -4
- package/lib/schema/core/core_user_contact_addresses.js +2 -5
- package/lib/schema/core/core_user_documents.js +2 -5
- package/lib/schema/core/core_user_family_details.js +2 -5
- package/lib/schema/core/core_user_role.js +2 -5
- package/lib/schema/core/core_user_role_exceptions.js +2 -5
- package/lib/schema/core/core_user_role_rights.js +2 -5
- package/lib/schema/core/core_user_type_mapping.js +1 -2
- package/lib/schema/core/core_workflow_approver_rules.js +3 -4
- package/lib/schema/core/core_workflow_config.js +3 -4
- package/lib/schema/core/core_workflow_registry.js +3 -4
- package/lib/schema/core/core_workflow_transaction_history.js +3 -4
- package/lib/schema/core/index.js +46 -62
- package/lib/schema/email/email_list.js +3 -4
- package/lib/schema/email/email_log.js +3 -4
- package/lib/schema/email/email_reference.js +3 -4
- package/lib/schema/email/email_subscription_vendor.js +3 -4
- package/lib/schema/email/email_templete.js +3 -4
- package/lib/schema/email/email_vendor.js +3 -4
- package/lib/schema/email/index.js +6 -22
- package/lib/schema/fees/fee_assignment.js +1 -5
- package/lib/schema/fees/fee_collection_config.js +1 -4
- package/lib/schema/fees/fee_discount.js +1 -4
- package/lib/schema/fees/fee_discount_rule.js +1 -4
- package/lib/schema/fees/fee_installment_config.js +1 -4
- package/lib/schema/fees/fee_installment_item.js +1 -4
- package/lib/schema/fees/fee_late_fee.js +1 -4
- package/lib/schema/fees/fee_late_fee_rule.js +1 -4
- package/lib/schema/fees/fee_payment.js +1 -4
- package/lib/schema/fees/fee_payment_item.js +1 -4
- package/lib/schema/fees/fee_receipt_template.js +1 -4
- package/lib/schema/fees/fee_refund.js +1 -4
- package/lib/schema/fees/fee_scholarship.js +1 -4
- package/lib/schema/fees/fee_structure.js +2 -5
- package/lib/schema/fees/fee_structure_item.js +1 -4
- package/lib/schema/fees/fee_transaction.js +1 -4
- package/lib/schema/fees/index.js +16 -37
- package/lib/schema/frontdesk/fdsk_lead_assignment_detail.js +4 -5
- package/lib/schema/frontdesk/fdsk_lead_config_master.js +4 -5
- package/lib/schema/frontdesk/fdsk_lead_detail.js +4 -5
- package/lib/schema/frontdesk/fdsk_lead_scheduling.js +4 -5
- package/lib/schema/frontdesk/fdsk_leads.js +4 -5
- package/lib/schema/frontdesk/index.js +5 -21
- package/lib/schema/index.d.ts +1 -0
- package/lib/schema/index.js +11 -26
- package/lib/schema/notifications/index.js +1 -17
- package/lib/schema/notifications/notification.js +2 -5
- package/lib/services/index.js +1 -17
- package/lib/services/theme.service.js +1 -2
- package/lib/utilities/helpers/encryption.helper.js +1 -4
- package/lib/utilities/helpers/error.helper.js +1 -8
- package/lib/utilities/helpers/index.js +5 -21
- package/lib/utilities/helpers/response.helper.js +1 -4
- package/lib/utilities/helpers/string.helper.js +5 -12
- package/lib/utilities/helpers/type.hepler.js +1 -2
- package/lib/utilities/index.js +1 -17
- package/package.json +15 -7
- package/lib/model/frontdesk/fdsk_lead_detail.d.ts +0 -34
- package/lib/model/frontdesk/fdsk_lead_detail.js +0 -27
- package/lib/model/frontdesk/fdsk_lead_scheduling.d.ts +0 -34
- package/lib/model/frontdesk/fdsk_lead_scheduling.js +0 -27
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.MFinancialYearToggleStatusPayload = exports.MFinancialYearInsertUpdatePayload = exports.MFinancialYearDeletePayload = exports.MFinancialYearGetByIdPayload = exports.MFinancialYear = void 0;
|
|
4
|
-
const common_1 = require("../../common-types/common");
|
|
5
|
-
const schema_1 = require("../../schema");
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
import { AccFinancialYear } from "../../schema";
|
|
6
3
|
/* INTERFACE END */
|
|
7
4
|
/* MODEL START */
|
|
8
|
-
class MFinancialYear extends
|
|
5
|
+
class MFinancialYear extends MTableQueries {
|
|
9
6
|
constructor(init) {
|
|
10
7
|
super(init);
|
|
11
8
|
Object.assign(this, init);
|
|
@@ -15,7 +12,6 @@ class MFinancialYear extends common_1.MTableQueries {
|
|
|
15
12
|
return errorLogger;
|
|
16
13
|
}
|
|
17
14
|
}
|
|
18
|
-
exports.MFinancialYear = MFinancialYear;
|
|
19
15
|
class MFinancialYearGetByIdPayload {
|
|
20
16
|
constructor(init) {
|
|
21
17
|
Object.assign(this, init);
|
|
@@ -28,7 +24,6 @@ class MFinancialYearGetByIdPayload {
|
|
|
28
24
|
return errorLogger;
|
|
29
25
|
}
|
|
30
26
|
}
|
|
31
|
-
exports.MFinancialYearGetByIdPayload = MFinancialYearGetByIdPayload;
|
|
32
27
|
class MFinancialYearDeletePayload {
|
|
33
28
|
constructor(init) {
|
|
34
29
|
Object.assign(this, init);
|
|
@@ -41,7 +36,6 @@ class MFinancialYearDeletePayload {
|
|
|
41
36
|
return errorLogger;
|
|
42
37
|
}
|
|
43
38
|
}
|
|
44
|
-
exports.MFinancialYearDeletePayload = MFinancialYearDeletePayload;
|
|
45
39
|
class MFinancialYearToggleStatusPayload {
|
|
46
40
|
constructor(init) {
|
|
47
41
|
Object.assign(this, init);
|
|
@@ -54,8 +48,7 @@ class MFinancialYearToggleStatusPayload {
|
|
|
54
48
|
return errorLogger;
|
|
55
49
|
}
|
|
56
50
|
}
|
|
57
|
-
|
|
58
|
-
class MFinancialYearInsertUpdatePayload extends schema_1.AccFinancialYear {
|
|
51
|
+
class MFinancialYearInsertUpdatePayload extends AccFinancialYear {
|
|
59
52
|
constructor(init) {
|
|
60
53
|
super();
|
|
61
54
|
Object.assign(this, init);
|
|
@@ -77,4 +70,4 @@ class MFinancialYearInsertUpdatePayload extends schema_1.AccFinancialYear {
|
|
|
77
70
|
return errorLogger;
|
|
78
71
|
}
|
|
79
72
|
}
|
|
80
|
-
|
|
73
|
+
export { MFinancialYear, MFinancialYearGetByIdPayload, MFinancialYearDeletePayload, MFinancialYearInsertUpdatePayload, MFinancialYearToggleStatusPayload };
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.MFinancialYearMappingToggleStatusPayload = exports.MFinancialYearMappingInsertUpdatePayload = exports.MFinancialYearMappingDeletePayload = exports.MFinancialYearMappingGetByIdPayload = exports.MFinancialYearMapping = void 0;
|
|
4
|
-
const common_1 = require("../../common-types/common");
|
|
5
|
-
const schema_1 = require("../../schema");
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
import { AccFinancialYearMapping } from "../../schema";
|
|
6
3
|
/* INTERFACE END */
|
|
7
4
|
/* MODEL START */
|
|
8
|
-
class MFinancialYearMapping extends
|
|
5
|
+
class MFinancialYearMapping extends MTableQueries {
|
|
9
6
|
constructor(init) {
|
|
10
7
|
super(init);
|
|
11
8
|
Object.assign(this, init);
|
|
@@ -15,7 +12,6 @@ class MFinancialYearMapping extends common_1.MTableQueries {
|
|
|
15
12
|
return errorLogger;
|
|
16
13
|
}
|
|
17
14
|
}
|
|
18
|
-
exports.MFinancialYearMapping = MFinancialYearMapping;
|
|
19
15
|
class MFinancialYearMappingGetByIdPayload {
|
|
20
16
|
constructor(init) {
|
|
21
17
|
Object.assign(this, init);
|
|
@@ -28,7 +24,6 @@ class MFinancialYearMappingGetByIdPayload {
|
|
|
28
24
|
return errorLogger;
|
|
29
25
|
}
|
|
30
26
|
}
|
|
31
|
-
exports.MFinancialYearMappingGetByIdPayload = MFinancialYearMappingGetByIdPayload;
|
|
32
27
|
class MFinancialYearMappingDeletePayload {
|
|
33
28
|
constructor(init) {
|
|
34
29
|
Object.assign(this, init);
|
|
@@ -41,7 +36,6 @@ class MFinancialYearMappingDeletePayload {
|
|
|
41
36
|
return errorLogger;
|
|
42
37
|
}
|
|
43
38
|
}
|
|
44
|
-
exports.MFinancialYearMappingDeletePayload = MFinancialYearMappingDeletePayload;
|
|
45
39
|
class MFinancialYearMappingToggleStatusPayload {
|
|
46
40
|
constructor(init) {
|
|
47
41
|
Object.assign(this, init);
|
|
@@ -54,8 +48,7 @@ class MFinancialYearMappingToggleStatusPayload {
|
|
|
54
48
|
return errorLogger;
|
|
55
49
|
}
|
|
56
50
|
}
|
|
57
|
-
|
|
58
|
-
class MFinancialYearMappingInsertUpdatePayload extends schema_1.AccFinancialYearMapping {
|
|
51
|
+
class MFinancialYearMappingInsertUpdatePayload extends AccFinancialYearMapping {
|
|
59
52
|
constructor(init) {
|
|
60
53
|
super();
|
|
61
54
|
Object.assign(this, init);
|
|
@@ -71,4 +64,4 @@ class MFinancialYearMappingInsertUpdatePayload extends schema_1.AccFinancialYear
|
|
|
71
64
|
return errorLogger;
|
|
72
65
|
}
|
|
73
66
|
}
|
|
74
|
-
|
|
67
|
+
export { MFinancialYearMapping, MFinancialYearMappingGetByIdPayload, MFinancialYearMappingDeletePayload, MFinancialYearMappingInsertUpdatePayload, MFinancialYearMappingToggleStatusPayload };
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./acc_financial_year"), exports);
|
|
18
|
-
__exportStar(require("./acc_financial_year_mapping"), exports);
|
|
19
|
-
__exportStar(require("./acc_financial_config"), exports);
|
|
1
|
+
export * from "./acc_financial_year";
|
|
2
|
+
export * from "./acc_financial_year_mapping";
|
|
3
|
+
export * from "./acc_financial_config";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MAdmissionApplicationMainGetByIdPayload = exports.MAdmissionApplicationMain = exports.AdmissionApplicationPayload = void 0;
|
|
4
|
-
const common_1 = require("../../common-types/common");
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
5
2
|
/* INTERFACE END */
|
|
6
3
|
/* MODEL START */
|
|
7
4
|
class AdmissionApplicationPayload {
|
|
@@ -13,8 +10,7 @@ class AdmissionApplicationPayload {
|
|
|
13
10
|
return errorLogger;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
|
|
17
|
-
class MAdmissionApplicationMain extends common_1.MTableQueries {
|
|
13
|
+
class MAdmissionApplicationMain extends MTableQueries {
|
|
18
14
|
constructor(init) {
|
|
19
15
|
super(init);
|
|
20
16
|
Object.assign(this, init);
|
|
@@ -24,7 +20,6 @@ class MAdmissionApplicationMain extends common_1.MTableQueries {
|
|
|
24
20
|
return errorLogger;
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
|
-
exports.MAdmissionApplicationMain = MAdmissionApplicationMain;
|
|
28
23
|
class MAdmissionApplicationMainGetByIdPayload {
|
|
29
24
|
constructor(init) {
|
|
30
25
|
Object.assign(this, init);
|
|
@@ -37,4 +32,4 @@ class MAdmissionApplicationMainGetByIdPayload {
|
|
|
37
32
|
return errorLogger;
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
|
-
|
|
35
|
+
export { AdmissionApplicationPayload, MAdmissionApplicationMain, MAdmissionApplicationMainGetByIdPayload };
|
|
@@ -1,24 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Admission Confirmation Types
|
|
4
3
|
* Purpose: Type definitions for admission confirmation functionality
|
|
5
4
|
*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.isPopulatedObject = isPopulatedObject;
|
|
8
|
-
exports.extractIdFromField = extractIdFromField;
|
|
9
|
-
exports.extractTitleFromGeneralMaster = extractTitleFromGeneralMaster;
|
|
10
|
-
exports.extractTitleFromClassProgram = extractTitleFromClassProgram;
|
|
11
|
-
exports.extractTitleFromAcademicYear = extractTitleFromAcademicYear;
|
|
12
5
|
/**
|
|
13
6
|
* Type guard to check if a value is a populated object
|
|
14
7
|
*/
|
|
15
|
-
function isPopulatedObject(value) {
|
|
8
|
+
export function isPopulatedObject(value) {
|
|
16
9
|
return typeof value === 'object' && value !== null && '_id' in value && typeof value._id === 'string';
|
|
17
10
|
}
|
|
18
11
|
/**
|
|
19
12
|
* Extract ID from a populated field or string
|
|
20
13
|
*/
|
|
21
|
-
function extractIdFromField(field) {
|
|
14
|
+
export function extractIdFromField(field) {
|
|
22
15
|
if (!field)
|
|
23
16
|
return '';
|
|
24
17
|
if (typeof field === 'string')
|
|
@@ -30,7 +23,7 @@ function extractIdFromField(field) {
|
|
|
30
23
|
/**
|
|
31
24
|
* Extract title from a populated general master field
|
|
32
25
|
*/
|
|
33
|
-
function extractTitleFromGeneralMaster(field) {
|
|
26
|
+
export function extractTitleFromGeneralMaster(field) {
|
|
34
27
|
if (!field)
|
|
35
28
|
return 'N/A';
|
|
36
29
|
if (typeof field === 'string')
|
|
@@ -43,7 +36,7 @@ function extractTitleFromGeneralMaster(field) {
|
|
|
43
36
|
/**
|
|
44
37
|
* Extract title from a populated class program field
|
|
45
38
|
*/
|
|
46
|
-
function extractTitleFromClassProgram(field) {
|
|
39
|
+
export function extractTitleFromClassProgram(field) {
|
|
47
40
|
if (!field)
|
|
48
41
|
return 'N/A';
|
|
49
42
|
if (typeof field === 'string')
|
|
@@ -57,7 +50,7 @@ function extractTitleFromClassProgram(field) {
|
|
|
57
50
|
/**
|
|
58
51
|
* Extract title from a populated academic year field
|
|
59
52
|
*/
|
|
60
|
-
function extractTitleFromAcademicYear(field) {
|
|
53
|
+
export function extractTitleFromAcademicYear(field) {
|
|
61
54
|
if (!field)
|
|
62
55
|
return 'N/A';
|
|
63
56
|
if (typeof field === 'string')
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Admission Contact Addresses Model - Response Types
|
|
4
3
|
*
|
|
@@ -6,4 +5,4 @@
|
|
|
6
5
|
* Cloned from: AuthUserCoreUserContactAddresses
|
|
7
6
|
* Prefix: admca_ (admission contact addresses)
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
export {};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MAdmissionElectiveDetailGetByIdPayload = exports.MAdmissionElectiveDetail = exports.AdmissionElectiveDetailPayload = void 0;
|
|
4
|
-
const common_1 = require("../../common-types/common");
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
5
2
|
/* INTERFACE END */
|
|
6
3
|
/* MODEL START */
|
|
7
4
|
class AdmissionElectiveDetailPayload {
|
|
@@ -14,8 +11,7 @@ class AdmissionElectiveDetailPayload {
|
|
|
14
11
|
return errorLogger;
|
|
15
12
|
}
|
|
16
13
|
}
|
|
17
|
-
|
|
18
|
-
class MAdmissionElectiveDetail extends common_1.MTableQueries {
|
|
14
|
+
class MAdmissionElectiveDetail extends MTableQueries {
|
|
19
15
|
constructor(init) {
|
|
20
16
|
super(init);
|
|
21
17
|
Object.assign(this, init);
|
|
@@ -26,7 +22,6 @@ class MAdmissionElectiveDetail extends common_1.MTableQueries {
|
|
|
26
22
|
return errorLogger;
|
|
27
23
|
}
|
|
28
24
|
}
|
|
29
|
-
exports.MAdmissionElectiveDetail = MAdmissionElectiveDetail;
|
|
30
25
|
class MAdmissionElectiveDetailGetByIdPayload {
|
|
31
26
|
constructor(init) {
|
|
32
27
|
Object.assign(this, init);
|
|
@@ -39,4 +34,4 @@ class MAdmissionElectiveDetailGetByIdPayload {
|
|
|
39
34
|
return errorLogger;
|
|
40
35
|
}
|
|
41
36
|
}
|
|
42
|
-
|
|
37
|
+
export { AdmissionElectiveDetailPayload, MAdmissionElectiveDetail, MAdmissionElectiveDetailGetByIdPayload };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Admission Family Members / Guardians Model - Response Types
|
|
4
3
|
*
|
|
@@ -6,4 +5,4 @@
|
|
|
6
5
|
* Cloned from: AuthUserCoreUserFamilyDetails
|
|
7
6
|
* Prefix: admfm_ (admission family member)
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Admission Fee Snapshot Model - Response Types
|
|
4
3
|
*
|
|
@@ -6,4 +5,4 @@
|
|
|
6
5
|
* Stores complete fee structure snapshot at the time of admission confirmation/conversion
|
|
7
6
|
* Prefix: adfsn_ (admission fee snapshot)
|
|
8
7
|
*/
|
|
9
|
-
|
|
8
|
+
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Admission RTE (Right to Education) Details Model - Response Types
|
|
4
3
|
*
|
|
5
4
|
* Purpose: Response type definitions with populated references
|
|
6
5
|
* Prefix: admrte_ (admission RTE)
|
|
7
6
|
*/
|
|
8
|
-
|
|
7
|
+
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Admission Vital Information Model - Response Types
|
|
4
3
|
*
|
|
5
4
|
* Purpose: Response type definitions with populated references
|
|
6
5
|
* Prefix: admvi_ (admission vital information)
|
|
7
6
|
*/
|
|
8
|
-
|
|
7
|
+
export {};
|
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./admission_contact_addresses"), exports);
|
|
18
|
-
__exportStar(require("./admission_family_members"), exports);
|
|
19
|
-
__exportStar(require("./admission_application_main"), exports);
|
|
20
|
-
__exportStar(require("./admission_elective_detail"), exports);
|
|
21
|
-
__exportStar(require("./admission_confirmation_types"), exports);
|
|
22
|
-
__exportStar(require("./admission_fee_snapshot"), exports);
|
|
23
|
-
__exportStar(require("./admission_rte_details"), exports);
|
|
24
|
-
__exportStar(require("./admission_vital_information"), exports);
|
|
1
|
+
export * from './admission_contact_addresses';
|
|
2
|
+
export * from './admission_family_members';
|
|
3
|
+
export * from './admission_application_main';
|
|
4
|
+
export * from './admission_elective_detail';
|
|
5
|
+
export * from './admission_confirmation_types';
|
|
6
|
+
export * from './admission_fee_snapshot';
|
|
7
|
+
export * from './admission_rte_details';
|
|
8
|
+
export * from './admission_vital_information';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { MTableQueries, MRequestMiddelware } from "../../common-types/common";
|
|
2
|
+
import { IAppBuildConfigMst } from "../../schema/app/app_build_config_mst";
|
|
3
|
+
import { controllerResponse } from "../../utilities";
|
|
4
|
+
type IAppBuildConfigErrorLogger = {
|
|
5
|
+
[key in keyof MAppBuildConfig]: string;
|
|
6
|
+
};
|
|
7
|
+
type IAppBuildConfigGetByIdErrorLogger = {
|
|
8
|
+
[key in keyof MAppBuildConfigGetByIdPayload]: string;
|
|
9
|
+
};
|
|
10
|
+
type IAppBuildConfigInsertUpdateErrorLogger = {
|
|
11
|
+
[key in keyof MAppBuildConfigInsertUpdatePayload]: string;
|
|
12
|
+
};
|
|
13
|
+
declare class MAppBuildConfig extends MTableQueries {
|
|
14
|
+
appbuild_id?: string;
|
|
15
|
+
appbuild_reg_id_appreg?: string;
|
|
16
|
+
appbuild_link_id_applink?: string;
|
|
17
|
+
appbuild_build_type_id_sygms?: string;
|
|
18
|
+
query?: string;
|
|
19
|
+
constructor(init: MAppBuildConfig);
|
|
20
|
+
Validate?(): Partial<IAppBuildConfigErrorLogger>;
|
|
21
|
+
}
|
|
22
|
+
declare class MAppBuildConfigGetByIdPayload implements MRequestMiddelware {
|
|
23
|
+
appbuild_id?: string;
|
|
24
|
+
_id?: string;
|
|
25
|
+
constructor(init: MAppBuildConfigGetByIdPayload);
|
|
26
|
+
Validate?(): Partial<IAppBuildConfigGetByIdErrorLogger>;
|
|
27
|
+
}
|
|
28
|
+
declare class MAppBuildConfigInsertUpdatePayload implements IAppBuildConfigMst, MRequestMiddelware {
|
|
29
|
+
_id?: string;
|
|
30
|
+
appbuild_reg_id_appreg?: string;
|
|
31
|
+
appbuild_link_id_applink?: string;
|
|
32
|
+
appbuild_platform_id_sygms?: string;
|
|
33
|
+
appbuild_build_type_id_sygms?: string;
|
|
34
|
+
appbuild_config_data?: Record<string, unknown>;
|
|
35
|
+
appbuild_is_active?: boolean;
|
|
36
|
+
appbuild_created_by_id_auth?: string;
|
|
37
|
+
appbuild_created_at?: Date;
|
|
38
|
+
appbuild_updated_at?: Date;
|
|
39
|
+
constructor(init: Partial<IAppBuildConfigMst> & {
|
|
40
|
+
_id?: string;
|
|
41
|
+
});
|
|
42
|
+
Validate?(): Partial<IAppBuildConfigInsertUpdateErrorLogger>;
|
|
43
|
+
}
|
|
44
|
+
interface appBuildConfigControllerResponse extends controllerResponse {
|
|
45
|
+
data?: any[] | any | null;
|
|
46
|
+
total?: number;
|
|
47
|
+
totalDocument?: number;
|
|
48
|
+
}
|
|
49
|
+
interface appBuildConfigByIdControllerResponse extends controllerResponse {
|
|
50
|
+
data?: any | null;
|
|
51
|
+
}
|
|
52
|
+
interface appBuildConfigInsertUpdateControllerResponse extends controllerResponse {
|
|
53
|
+
data?: any | null;
|
|
54
|
+
}
|
|
55
|
+
export { MAppBuildConfig, MAppBuildConfigGetByIdPayload, MAppBuildConfigInsertUpdatePayload, appBuildConfigControllerResponse, appBuildConfigByIdControllerResponse, appBuildConfigInsertUpdateControllerResponse };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
/* INTERFACE END */
|
|
3
|
+
/* MODEL START */
|
|
4
|
+
class MAppBuildConfig extends MTableQueries {
|
|
5
|
+
constructor(init) {
|
|
6
|
+
super(init);
|
|
7
|
+
Object.assign(this, init);
|
|
8
|
+
}
|
|
9
|
+
Validate() {
|
|
10
|
+
let errorLogger = {};
|
|
11
|
+
return errorLogger;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
class MAppBuildConfigGetByIdPayload {
|
|
15
|
+
constructor(init) {
|
|
16
|
+
Object.assign(this, init);
|
|
17
|
+
}
|
|
18
|
+
Validate() {
|
|
19
|
+
let errorLogger = {};
|
|
20
|
+
if (!this.appbuild_id && !this._id) {
|
|
21
|
+
errorLogger.appbuild_id = "App Build Config ID is Required!";
|
|
22
|
+
}
|
|
23
|
+
return errorLogger;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
class MAppBuildConfigInsertUpdatePayload {
|
|
27
|
+
constructor(init) {
|
|
28
|
+
Object.assign(this, init);
|
|
29
|
+
}
|
|
30
|
+
Validate() {
|
|
31
|
+
let errorLogger = {};
|
|
32
|
+
return errorLogger;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/* RESPONSE TYPES END */
|
|
36
|
+
export { MAppBuildConfig, MAppBuildConfigGetByIdPayload, MAppBuildConfigInsertUpdatePayload };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { MTableQueries, MRequestMiddelware } from "../../common-types/common";
|
|
2
|
+
import { IAppUpdateChangelogMst } from "../../schema/app/app_update_changelog_mst";
|
|
3
|
+
import { controllerResponse } from "../../utilities";
|
|
4
|
+
type IAppChangelogErrorLogger = {
|
|
5
|
+
[key in keyof MAppChangelog]: string;
|
|
6
|
+
};
|
|
7
|
+
type IAppChangelogGetByIdErrorLogger = {
|
|
8
|
+
[key in keyof MAppChangelogGetByIdPayload]: string;
|
|
9
|
+
};
|
|
10
|
+
type IAppChangelogInsertUpdateErrorLogger = {
|
|
11
|
+
[key in keyof MAppChangelogInsertUpdatePayload]: string;
|
|
12
|
+
};
|
|
13
|
+
declare class MAppChangelog extends MTableQueries {
|
|
14
|
+
appchg_id?: string;
|
|
15
|
+
appchg_version_id_appver?: string;
|
|
16
|
+
appchg_category_id_sygms?: string;
|
|
17
|
+
query?: string;
|
|
18
|
+
constructor(init: MAppChangelog);
|
|
19
|
+
Validate?(): Partial<IAppChangelogErrorLogger>;
|
|
20
|
+
}
|
|
21
|
+
declare class MAppChangelogGetByIdPayload implements MRequestMiddelware {
|
|
22
|
+
appchg_id?: string;
|
|
23
|
+
_id?: string;
|
|
24
|
+
constructor(init: MAppChangelogGetByIdPayload);
|
|
25
|
+
Validate?(): Partial<IAppChangelogGetByIdErrorLogger>;
|
|
26
|
+
}
|
|
27
|
+
declare class MAppChangelogInsertUpdatePayload implements IAppUpdateChangelogMst, MRequestMiddelware {
|
|
28
|
+
_id?: string;
|
|
29
|
+
appchg_version_id_appver?: string;
|
|
30
|
+
appchg_category_id_sygms?: string;
|
|
31
|
+
appchg_title?: string;
|
|
32
|
+
appchg_description?: string;
|
|
33
|
+
appchg_bug_id?: string;
|
|
34
|
+
appchg_affected_modules?: string[];
|
|
35
|
+
appchg_priority_id_sygms?: string;
|
|
36
|
+
appchg_tags?: string[];
|
|
37
|
+
appchg_created_by_id_auth?: string;
|
|
38
|
+
appchg_created_at?: Date;
|
|
39
|
+
constructor(init: Partial<IAppUpdateChangelogMst> & {
|
|
40
|
+
_id?: string;
|
|
41
|
+
});
|
|
42
|
+
Validate?(): Partial<IAppChangelogInsertUpdateErrorLogger>;
|
|
43
|
+
}
|
|
44
|
+
interface appChangelogControllerResponse extends controllerResponse {
|
|
45
|
+
data?: any[] | any | null;
|
|
46
|
+
total?: number;
|
|
47
|
+
totalDocument?: number;
|
|
48
|
+
}
|
|
49
|
+
interface appChangelogByIdControllerResponse extends controllerResponse {
|
|
50
|
+
data?: any | null;
|
|
51
|
+
}
|
|
52
|
+
interface appChangelogInsertUpdateControllerResponse extends controllerResponse {
|
|
53
|
+
data?: any | null;
|
|
54
|
+
}
|
|
55
|
+
export { MAppChangelog, MAppChangelogGetByIdPayload, MAppChangelogInsertUpdatePayload, appChangelogControllerResponse, appChangelogByIdControllerResponse, appChangelogInsertUpdateControllerResponse };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
/* INTERFACE END */
|
|
3
|
+
/* MODEL START */
|
|
4
|
+
class MAppChangelog extends MTableQueries {
|
|
5
|
+
constructor(init) {
|
|
6
|
+
super(init);
|
|
7
|
+
Object.assign(this, init);
|
|
8
|
+
}
|
|
9
|
+
Validate() {
|
|
10
|
+
let errorLogger = {};
|
|
11
|
+
return errorLogger;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
class MAppChangelogGetByIdPayload {
|
|
15
|
+
constructor(init) {
|
|
16
|
+
Object.assign(this, init);
|
|
17
|
+
}
|
|
18
|
+
Validate() {
|
|
19
|
+
let errorLogger = {};
|
|
20
|
+
if (!this.appchg_id && !this._id) {
|
|
21
|
+
errorLogger.appchg_id = "App Changelog ID is Required!";
|
|
22
|
+
}
|
|
23
|
+
return errorLogger;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
class MAppChangelogInsertUpdatePayload {
|
|
27
|
+
constructor(init) {
|
|
28
|
+
Object.assign(this, init);
|
|
29
|
+
}
|
|
30
|
+
Validate() {
|
|
31
|
+
let errorLogger = {};
|
|
32
|
+
return errorLogger;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/* RESPONSE TYPES END */
|
|
36
|
+
export { MAppChangelog, MAppChangelogGetByIdPayload, MAppChangelogInsertUpdatePayload };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { MTableQueries, MRequestMiddelware } from "../../common-types/common";
|
|
2
|
+
import { IAppUpdateDeploymentMst } from "../../schema/app/app_update_deployment_mst";
|
|
3
|
+
import { controllerResponse } from "../../utilities";
|
|
4
|
+
type IAppDeploymentErrorLogger = {
|
|
5
|
+
[key in keyof MAppDeployment]: string;
|
|
6
|
+
};
|
|
7
|
+
type IAppDeploymentGetByIdErrorLogger = {
|
|
8
|
+
[key in keyof MAppDeploymentGetByIdPayload]: string;
|
|
9
|
+
};
|
|
10
|
+
type IAppDeploymentInsertUpdateErrorLogger = {
|
|
11
|
+
[key in keyof MAppDeploymentInsertUpdatePayload]: string;
|
|
12
|
+
};
|
|
13
|
+
declare class MAppDeployment extends MTableQueries {
|
|
14
|
+
appdep_id?: string;
|
|
15
|
+
appdep_version_id_appver?: string;
|
|
16
|
+
appdep_status_id_sygms?: string;
|
|
17
|
+
query?: string;
|
|
18
|
+
constructor(init: MAppDeployment);
|
|
19
|
+
Validate?(): Partial<IAppDeploymentErrorLogger>;
|
|
20
|
+
}
|
|
21
|
+
declare class MAppDeploymentGetByIdPayload implements MRequestMiddelware {
|
|
22
|
+
appdep_id?: string;
|
|
23
|
+
_id?: string;
|
|
24
|
+
constructor(init: MAppDeploymentGetByIdPayload);
|
|
25
|
+
Validate?(): Partial<IAppDeploymentGetByIdErrorLogger>;
|
|
26
|
+
}
|
|
27
|
+
declare class MAppDeploymentInsertUpdatePayload implements IAppUpdateDeploymentMst, MRequestMiddelware {
|
|
28
|
+
_id?: string;
|
|
29
|
+
appdep_version_id_appver?: string;
|
|
30
|
+
appdep_deployment_type_id_sygms?: string;
|
|
31
|
+
appdep_rollout_percentage?: number;
|
|
32
|
+
appdep_target_users?: string[];
|
|
33
|
+
appdep_start_date?: Date;
|
|
34
|
+
appdep_end_date?: Date;
|
|
35
|
+
appdep_status_id_sygms?: string;
|
|
36
|
+
appdep_rollback_version_id_appver?: string;
|
|
37
|
+
appdep_rollback_reason?: string;
|
|
38
|
+
appdep_workflow_id_wfrg?: string;
|
|
39
|
+
appdep_current_step?: number;
|
|
40
|
+
appdep_created_by_id_auth?: string;
|
|
41
|
+
appdep_created_at?: Date;
|
|
42
|
+
appdep_updated_at?: Date;
|
|
43
|
+
constructor(init: Partial<IAppUpdateDeploymentMst> & {
|
|
44
|
+
_id?: string;
|
|
45
|
+
});
|
|
46
|
+
Validate?(): Partial<IAppDeploymentInsertUpdateErrorLogger>;
|
|
47
|
+
}
|
|
48
|
+
interface appDeploymentControllerResponse extends controllerResponse {
|
|
49
|
+
data?: any[] | any | null;
|
|
50
|
+
total?: number;
|
|
51
|
+
totalDocument?: number;
|
|
52
|
+
}
|
|
53
|
+
interface appDeploymentByIdControllerResponse extends controllerResponse {
|
|
54
|
+
data?: any | null;
|
|
55
|
+
}
|
|
56
|
+
interface appDeploymentInsertUpdateControllerResponse extends controllerResponse {
|
|
57
|
+
data?: any | null;
|
|
58
|
+
}
|
|
59
|
+
export { MAppDeployment, MAppDeploymentGetByIdPayload, MAppDeploymentInsertUpdatePayload, appDeploymentControllerResponse, appDeploymentByIdControllerResponse, appDeploymentInsertUpdateControllerResponse };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
/* INTERFACE END */
|
|
3
|
+
/* MODEL START */
|
|
4
|
+
class MAppDeployment extends MTableQueries {
|
|
5
|
+
constructor(init) {
|
|
6
|
+
super(init);
|
|
7
|
+
Object.assign(this, init);
|
|
8
|
+
}
|
|
9
|
+
Validate() {
|
|
10
|
+
let errorLogger = {};
|
|
11
|
+
return errorLogger;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
class MAppDeploymentGetByIdPayload {
|
|
15
|
+
constructor(init) {
|
|
16
|
+
Object.assign(this, init);
|
|
17
|
+
}
|
|
18
|
+
Validate() {
|
|
19
|
+
let errorLogger = {};
|
|
20
|
+
if (!this.appdep_id && !this._id) {
|
|
21
|
+
errorLogger.appdep_id = "App Deployment ID is Required!";
|
|
22
|
+
}
|
|
23
|
+
return errorLogger;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
class MAppDeploymentInsertUpdatePayload {
|
|
27
|
+
constructor(init) {
|
|
28
|
+
Object.assign(this, init);
|
|
29
|
+
}
|
|
30
|
+
Validate() {
|
|
31
|
+
let errorLogger = {};
|
|
32
|
+
return errorLogger;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/* RESPONSE TYPES END */
|
|
36
|
+
export { MAppDeployment, MAppDeploymentGetByIdPayload, MAppDeploymentInsertUpdatePayload };
|