rez_core 6.5.55 → 6.5.56
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/app.controller.d.ts +6 -0
- package/dist/app.controller.js +34 -0
- package/dist/app.controller.js.map +1 -0
- package/dist/app.module.d.ts +2 -0
- package/dist/app.module.js +79 -0
- package/dist/app.module.js.map +1 -0
- package/dist/app.service.d.ts +3 -0
- package/dist/app.service.js +20 -0
- package/dist/app.service.js.map +1 -0
- package/dist/config/bull.config.d.ts +10 -0
- package/dist/config/bull.config.js +66 -0
- package/dist/config/bull.config.js.map +1 -0
- package/dist/config/config.module.d.ts +2 -0
- package/dist/config/config.module.js +29 -0
- package/dist/config/config.module.js.map +1 -0
- package/dist/config/database.config.d.ts +7 -0
- package/dist/config/database.config.js +43 -0
- package/dist/config/database.config.js.map +1 -0
- package/dist/constant/global.constant.d.ts +50 -0
- package/dist/constant/global.constant.js +54 -0
- package/dist/constant/global.constant.js.map +1 -0
- package/dist/constant/status.constant.d.ts +4 -0
- package/dist/constant/status.constant.js +9 -0
- package/dist/constant/status.constant.js.map +1 -0
- package/dist/core.module.d.ts +4 -0
- package/dist/core.module.js +113 -0
- package/dist/core.module.js.map +1 -0
- package/dist/decorators/roles.decorator.d.ts +1 -0
- package/dist/decorators/roles.decorator.js +7 -0
- package/dist/decorators/roles.decorator.js.map +1 -0
- package/dist/dtos/response.d.ts +5 -0
- package/dist/dtos/response.dto.d.ts +5 -0
- package/dist/dtos/response.dto.js +3 -0
- package/dist/dtos/response.dto.js.map +1 -0
- package/dist/dtos/response.js +3 -0
- package/dist/dtos/response.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +25 -0
- package/dist/main.js.map +1 -0
- package/dist/module/app_master/app-master.module.d.ts +2 -0
- package/dist/module/app_master/app-master.module.js +28 -0
- package/dist/module/app_master/app-master.module.js.map +1 -0
- package/dist/module/app_master/controller/app-master.controller.d.ts +9 -0
- package/dist/module/app_master/controller/app-master.controller.js +51 -0
- package/dist/module/app_master/controller/app-master.controller.js.map +1 -0
- package/dist/module/app_master/entity/app-master.entity.d.ts +17 -0
- package/dist/module/app_master/entity/app-master.entity.js +80 -0
- package/dist/module/app_master/entity/app-master.entity.js.map +1 -0
- package/dist/module/app_master/repository/app-master.repository.d.ts +7 -0
- package/dist/module/app_master/repository/app-master.repository.js +36 -0
- package/dist/module/app_master/repository/app-master.repository.js.map +1 -0
- package/dist/module/app_master/service/app-master.service.d.ts +8 -0
- package/dist/module/app_master/service/app-master.service.js +45 -0
- package/dist/module/app_master/service/app-master.service.js.map +1 -0
- package/dist/module/auth/auth.module.d.ts +2 -0
- package/dist/module/auth/auth.module.js +57 -0
- package/dist/module/auth/auth.module.js.map +1 -0
- package/dist/module/auth/controller/auth.controller.d.ts +5 -0
- package/dist/module/auth/controller/auth.controller.js +25 -0
- package/dist/module/auth/controller/auth.controller.js.map +1 -0
- package/dist/module/auth/guards/google-auth.guard.d.ts +6 -0
- package/dist/module/auth/guards/google-auth.guard.js +21 -0
- package/dist/module/auth/guards/google-auth.guard.js.map +1 -0
- package/dist/module/auth/guards/jwt.guard.d.ts +10 -0
- package/dist/module/auth/guards/jwt.guard.js +36 -0
- package/dist/module/auth/guards/jwt.guard.js.map +1 -0
- package/dist/module/auth/guards/role.guard.d.ts +9 -0
- package/dist/module/auth/guards/role.guard.js +59 -0
- package/dist/module/auth/guards/role.guard.js.map +1 -0
- package/dist/module/auth/services/auth.service.d.ts +14 -0
- package/dist/module/auth/services/auth.service.js +50 -0
- package/dist/module/auth/services/auth.service.js.map +1 -0
- package/dist/module/auth/services/jwt.service.d.ts +6 -0
- package/dist/module/auth/services/jwt.service.js +28 -0
- package/dist/module/auth/services/jwt.service.js.map +1 -0
- package/dist/module/auth/strategies/google.strategy.d.ts +10 -0
- package/dist/module/auth/strategies/google.strategy.js +59 -0
- package/dist/module/auth/strategies/google.strategy.js.map +1 -0
- package/dist/module/auth/strategies/jwt.strategy.d.ts +20 -0
- package/dist/module/auth/strategies/jwt.strategy.js +47 -0
- package/dist/module/auth/strategies/jwt.strategy.js.map +1 -0
- package/dist/module/auth/strategies/local.strategy.d.ts +7 -0
- package/dist/module/auth/strategies/local.strategy.js +30 -0
- package/dist/module/auth/strategies/local.strategy.js.map +1 -0
- package/dist/module/dashboard/controller/dashboard.controller.d.ts +33 -0
- package/dist/module/dashboard/controller/dashboard.controller.js +57 -0
- package/dist/module/dashboard/controller/dashboard.controller.js.map +1 -0
- package/dist/module/dashboard/dashboard.module.d.ts +2 -0
- package/dist/module/dashboard/dashboard.module.js +34 -0
- package/dist/module/dashboard/dashboard.module.js.map +1 -0
- package/dist/module/dashboard/entity/dashboard_page_data.entity.d.ts +10 -0
- package/dist/module/dashboard/entity/dashboard_page_data.entity.js +50 -0
- package/dist/module/dashboard/entity/dashboard_page_data.entity.js.map +1 -0
- package/dist/module/dashboard/entity/widget_master.entity.d.ts +7 -0
- package/dist/module/dashboard/entity/widget_master.entity.js +38 -0
- package/dist/module/dashboard/entity/widget_master.entity.js.map +1 -0
- package/dist/module/dashboard/repository/dashboard.repository.d.ts +11 -0
- package/dist/module/dashboard/repository/dashboard.repository.js +62 -0
- package/dist/module/dashboard/repository/dashboard.repository.js.map +1 -0
- package/dist/module/dashboard/service/dashboard.service.d.ts +35 -0
- package/dist/module/dashboard/service/dashboard.service.js +61 -0
- package/dist/module/dashboard/service/dashboard.service.js.map +1 -0
- package/dist/module/enterprise/controller/enterprise.controller.d.ts +12 -0
- package/dist/module/enterprise/controller/enterprise.controller.js +57 -0
- package/dist/module/enterprise/controller/enterprise.controller.js.map +1 -0
- package/dist/module/enterprise/controller/meta.controller.d.ts +9 -0
- package/dist/module/enterprise/controller/meta.controller.js +43 -0
- package/dist/module/enterprise/controller/meta.controller.js.map +1 -0
- package/dist/module/enterprise/controller/organization.controller.d.ts +22 -0
- package/dist/module/enterprise/controller/organization.controller.js +115 -0
- package/dist/module/enterprise/controller/organization.controller.js.map +1 -0
- package/dist/module/enterprise/enterprise.module.d.ts +2 -0
- package/dist/module/enterprise/enterprise.module.js +52 -0
- package/dist/module/enterprise/enterprise.module.js.map +1 -0
- package/dist/module/enterprise/entity/enterprise.entity.d.ts +11 -0
- package/dist/module/enterprise/entity/enterprise.entity.js +56 -0
- package/dist/module/enterprise/entity/enterprise.entity.js.map +1 -0
- package/dist/module/enterprise/entity/organization-app-mapping.entity.d.ts +10 -0
- package/dist/module/enterprise/entity/organization-app-mapping.entity.js +49 -0
- package/dist/module/enterprise/entity/organization-app-mapping.entity.js.map +1 -0
- package/dist/module/enterprise/entity/organization.entity.d.ts +16 -0
- package/dist/module/enterprise/entity/organization.entity.js +74 -0
- package/dist/module/enterprise/entity/organization.entity.js.map +1 -0
- package/dist/module/enterprise/repository/enterprise.repository.d.ts +10 -0
- package/dist/module/enterprise/repository/enterprise.repository.js +63 -0
- package/dist/module/enterprise/repository/enterprise.repository.js.map +1 -0
- package/dist/module/enterprise/repository/organization.repository.d.ts +8 -0
- package/dist/module/enterprise/repository/organization.repository.js +41 -0
- package/dist/module/enterprise/repository/organization.repository.js.map +1 -0
- package/dist/module/enterprise/repository/school.repository.d.ts +8 -0
- package/dist/module/enterprise/repository/school.repository.js +226 -0
- package/dist/module/enterprise/repository/school.repository.js.map +1 -0
- package/dist/module/enterprise/service/brand-profile.service.d.ts +0 -0
- package/dist/module/enterprise/service/brand-profile.service.js +1 -0
- package/dist/module/enterprise/service/brand-profile.service.js.map +1 -0
- package/dist/module/enterprise/service/brand.service.d.ts +0 -0
- package/dist/module/enterprise/service/brand.service.js +1 -0
- package/dist/module/enterprise/service/brand.service.js.map +1 -0
- package/dist/module/enterprise/service/enterprise.service.d.ts +8 -0
- package/dist/module/enterprise/service/enterprise.service.js +33 -0
- package/dist/module/enterprise/service/enterprise.service.js.map +1 -0
- package/dist/module/enterprise/service/organization-app-mapping.service.d.ts +2 -0
- package/dist/module/enterprise/service/organization-app-mapping.service.js +17 -0
- package/dist/module/enterprise/service/organization-app-mapping.service.js.map +1 -0
- package/dist/module/enterprise/service/organization.service.d.ts +19 -0
- package/dist/module/enterprise/service/organization.service.js +203 -0
- package/dist/module/enterprise/service/organization.service.js.map +1 -0
- package/dist/module/enterprise/service/populate-meta.service.d.ts +9 -0
- package/dist/module/enterprise/service/populate-meta.service.js +194 -0
- package/dist/module/enterprise/service/populate-meta.service.js.map +1 -0
- package/dist/module/enterprise/service/school.service.d.ts +0 -0
- package/dist/module/enterprise/service/school.service.js +1 -0
- package/dist/module/enterprise/service/school.service.js.map +1 -0
- package/dist/module/entity_json/controller/entity_json.controller.d.ts +18 -0
- package/dist/module/entity_json/controller/entity_json.controller.js +57 -0
- package/dist/module/entity_json/controller/entity_json.controller.js.map +1 -0
- package/dist/module/entity_json/entity/entityJson.entity.d.ts +10 -0
- package/dist/module/entity_json/entity/entityJson.entity.js +55 -0
- package/dist/module/entity_json/entity/entityJson.entity.js.map +1 -0
- package/dist/module/entity_json/entity_json.module.d.ts +2 -0
- package/dist/module/entity_json/entity_json.module.js +30 -0
- package/dist/module/entity_json/entity_json.module.js.map +1 -0
- package/dist/module/entity_json/service/entityJson.repository.d.ts +7 -0
- package/dist/module/entity_json/service/entityJson.repository.js +45 -0
- package/dist/module/entity_json/service/entityJson.repository.js.map +1 -0
- package/dist/module/entity_json/service/entity_json.service.d.ts +25 -0
- package/dist/module/entity_json/service/entity_json.service.js +209 -0
- package/dist/module/entity_json/service/entity_json.service.js.map +1 -0
- package/dist/module/export/controller/export.controller.d.ts +9 -0
- package/dist/module/export/controller/export.controller.js +83 -0
- package/dist/module/export/controller/export.controller.js.map +1 -0
- package/dist/module/export/export.module.d.ts +2 -0
- package/dist/module/export/export.module.js +27 -0
- package/dist/module/export/export.module.js.map +1 -0
- package/dist/module/export/service/export.service.d.ts +14 -0
- package/dist/module/export/service/export.service.js +85 -0
- package/dist/module/export/service/export.service.js.map +1 -0
- package/dist/module/filter/controller/filter.controller.d.ts +39 -0
- package/dist/module/filter/controller/filter.controller.js +94 -0
- package/dist/module/filter/controller/filter.controller.js.map +1 -0
- package/dist/module/filter/dto/filter-request.dto.d.ts +36 -0
- package/dist/module/filter/dto/filter-request.dto.js +3 -0
- package/dist/module/filter/dto/filter-request.dto.js.map +1 -0
- package/dist/module/filter/entity/saved-filter-detail.entity.d.ts +14 -0
- package/dist/module/filter/entity/saved-filter-detail.entity.js +67 -0
- package/dist/module/filter/entity/saved-filter-detail.entity.js.map +1 -0
- package/dist/module/filter/entity/saved-filter-master.entity.d.ts +12 -0
- package/dist/module/filter/entity/saved-filter-master.entity.js +59 -0
- package/dist/module/filter/entity/saved-filter-master.entity.js.map +1 -0
- package/dist/module/filter/filter.module.d.ts +2 -0
- package/dist/module/filter/filter.module.js +46 -0
- package/dist/module/filter/filter.module.js.map +1 -0
- package/dist/module/filter/repository/saved-filter.repository.d.ts +40 -0
- package/dist/module/filter/repository/saved-filter.repository.js +203 -0
- package/dist/module/filter/repository/saved-filter.repository.js.map +1 -0
- package/dist/module/filter/repository/saved.filter-detail.repository.d.ts +7 -0
- package/dist/module/filter/repository/saved.filter-detail.repository.js +38 -0
- package/dist/module/filter/repository/saved.filter-detail.repository.js.map +1 -0
- package/dist/module/filter/service/filter-evaluator.service.d.ts +9 -0
- package/dist/module/filter/service/filter-evaluator.service.js +59 -0
- package/dist/module/filter/service/filter-evaluator.service.js.map +1 -0
- package/dist/module/filter/service/filter.service.d.ts +74 -0
- package/dist/module/filter/service/filter.service.js +921 -0
- package/dist/module/filter/service/filter.service.js.map +1 -0
- package/dist/module/filter/service/saved-filter.service.d.ts +30 -0
- package/dist/module/filter/service/saved-filter.service.js +125 -0
- package/dist/module/filter/service/saved-filter.service.js.map +1 -0
- package/dist/module/ics/controller/ics.controller.d.ts +8 -0
- package/dist/module/ics/controller/ics.controller.js +45 -0
- package/dist/module/ics/controller/ics.controller.js.map +1 -0
- package/dist/module/ics/dto/ics.dto.d.ts +17 -0
- package/dist/module/ics/dto/ics.dto.js +73 -0
- package/dist/module/ics/dto/ics.dto.js.map +1 -0
- package/dist/module/ics/ics.module.d.ts +2 -0
- package/dist/module/ics/ics.module.js +26 -0
- package/dist/module/ics/ics.module.js.map +1 -0
- package/dist/module/ics/service/ics.service.d.ts +4 -0
- package/dist/module/ics/service/ics.service.js +61 -0
- package/dist/module/ics/service/ics.service.js.map +1 -0
- package/dist/module/integration/controller/calender-event.controller.d.ts +7 -0
- package/dist/module/integration/controller/calender-event.controller.js +51 -0
- package/dist/module/integration/controller/calender-event.controller.js.map +1 -0
- package/dist/module/integration/controller/integration.controller.d.ts +165 -0
- package/dist/module/integration/controller/integration.controller.js +697 -0
- package/dist/module/integration/controller/integration.controller.js.map +1 -0
- package/dist/module/integration/controller/wrapper.controller.d.ts +23 -0
- package/dist/module/integration/controller/wrapper.controller.js +52 -0
- package/dist/module/integration/controller/wrapper.controller.js.map +1 -0
- package/dist/module/integration/dto/create-config.dto.d.ts +217 -0
- package/dist/module/integration/dto/create-config.dto.js +495 -0
- package/dist/module/integration/dto/create-config.dto.js.map +1 -0
- package/dist/module/integration/entity/integration-config.entity.d.ts +54 -0
- package/dist/module/integration/entity/integration-config.entity.js +78 -0
- package/dist/module/integration/entity/integration-config.entity.js.map +1 -0
- package/dist/module/integration/entity/integration-entity-mapper.entity.d.ts +6 -0
- package/dist/module/integration/entity/integration-entity-mapper.entity.js +33 -0
- package/dist/module/integration/entity/integration-entity-mapper.entity.js.map +1 -0
- package/dist/module/integration/entity/integration-source.entity.d.ts +7 -0
- package/dist/module/integration/entity/integration-source.entity.js +37 -0
- package/dist/module/integration/entity/integration-source.entity.js.map +1 -0
- package/dist/module/integration/entity/user-integration.entity.d.ts +23 -0
- package/dist/module/integration/entity/user-integration.entity.js +70 -0
- package/dist/module/integration/entity/user-integration.entity.js.map +1 -0
- package/dist/module/integration/examples/usage.example.d.ts +16 -0
- package/dist/module/integration/examples/usage.example.js +217 -0
- package/dist/module/integration/examples/usage.example.js.map +1 -0
- package/dist/module/integration/factories/base.factory.d.ts +9 -0
- package/dist/module/integration/factories/base.factory.js +3 -0
- package/dist/module/integration/factories/base.factory.js.map +1 -0
- package/dist/module/integration/factories/email.factory.d.ts +17 -0
- package/dist/module/integration/factories/email.factory.js +55 -0
- package/dist/module/integration/factories/email.factory.js.map +1 -0
- package/dist/module/integration/factories/integration.factory.d.ts +33 -0
- package/dist/module/integration/factories/integration.factory.js +104 -0
- package/dist/module/integration/factories/integration.factory.js.map +1 -0
- package/dist/module/integration/factories/sms.factory.d.ts +17 -0
- package/dist/module/integration/factories/sms.factory.js +58 -0
- package/dist/module/integration/factories/sms.factory.js.map +1 -0
- package/dist/module/integration/factories/telephone.factory.d.ts +15 -0
- package/dist/module/integration/factories/telephone.factory.js +49 -0
- package/dist/module/integration/factories/telephone.factory.js.map +1 -0
- package/dist/module/integration/factories/whatsapp.factory.d.ts +19 -0
- package/dist/module/integration/factories/whatsapp.factory.js +63 -0
- package/dist/module/integration/factories/whatsapp.factory.js.map +1 -0
- package/dist/module/integration/integration.module.d.ts +2 -0
- package/dist/module/integration/integration.module.js +96 -0
- package/dist/module/integration/integration.module.js.map +1 -0
- package/dist/module/integration/service/calendar-event.service.d.ts +8 -0
- package/dist/module/integration/service/calendar-event.service.js +101 -0
- package/dist/module/integration/service/calendar-event.service.js.map +1 -0
- package/dist/module/integration/service/integration-entity-mapper.service.d.ts +7 -0
- package/dist/module/integration/service/integration-entity-mapper.service.js +36 -0
- package/dist/module/integration/service/integration-entity-mapper.service.js.map +1 -0
- package/dist/module/integration/service/integration-queue.service.d.ts +40 -0
- package/dist/module/integration/service/integration-queue.service.js +147 -0
- package/dist/module/integration/service/integration-queue.service.js.map +1 -0
- package/dist/module/integration/service/integration.service.d.ts +207 -0
- package/dist/module/integration/service/integration.service.js +1590 -0
- package/dist/module/integration/service/integration.service.js.map +1 -0
- package/dist/module/integration/service/oauth.service.d.ts +18 -0
- package/dist/module/integration/service/oauth.service.js +190 -0
- package/dist/module/integration/service/oauth.service.js.map +1 -0
- package/dist/module/integration/service/wrapper.service.d.ts +38 -0
- package/dist/module/integration/service/wrapper.service.js +348 -0
- package/dist/module/integration/service/wrapper.service.js.map +1 -0
- package/dist/module/integration/strategies/email/gmail-api.strategy.d.ts +13 -0
- package/dist/module/integration/strategies/email/gmail-api.strategy.js +195 -0
- package/dist/module/integration/strategies/email/gmail-api.strategy.js.map +1 -0
- package/dist/module/integration/strategies/email/outlook-api.strategy.d.ts +5 -0
- package/dist/module/integration/strategies/email/outlook-api.strategy.js +44 -0
- package/dist/module/integration/strategies/email/outlook-api.strategy.js.map +1 -0
- package/dist/module/integration/strategies/email/outlook.strategy.d.ts +5 -0
- package/dist/module/integration/strategies/email/outlook.strategy.js +64 -0
- package/dist/module/integration/strategies/email/outlook.strategy.js.map +1 -0
- package/dist/module/integration/strategies/email/sendgrid-api.strategy.d.ts +22 -0
- package/dist/module/integration/strategies/email/sendgrid-api.strategy.js +203 -0
- package/dist/module/integration/strategies/email/sendgrid-api.strategy.js.map +1 -0
- package/dist/module/integration/strategies/integration.strategy.d.ts +31 -0
- package/dist/module/integration/strategies/integration.strategy.js +40 -0
- package/dist/module/integration/strategies/integration.strategy.js.map +1 -0
- package/dist/module/integration/strategies/sms/gupshup-sms.strategy.d.ts +9 -0
- package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js +104 -0
- package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js.map +1 -0
- package/dist/module/integration/strategies/sms/msg91-sms.strategy.d.ts +9 -0
- package/dist/module/integration/strategies/sms/msg91-sms.strategy.js +113 -0
- package/dist/module/integration/strategies/sms/msg91-sms.strategy.js.map +1 -0
- package/dist/module/integration/strategies/sms/tubelight-sms.strategy.d.ts +9 -0
- package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js +109 -0
- package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js.map +1 -0
- package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.d.ts +22 -0
- package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js +170 -0
- package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js.map +1 -0
- package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.d.ts +24 -0
- package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js +152 -0
- package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js.map +1 -0
- package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.d.ts +19 -0
- package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js +257 -0
- package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js.map +1 -0
- package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.d.ts +33 -0
- package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js +256 -0
- package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js.map +1 -0
- package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.d.ts +20 -0
- package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js +264 -0
- package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js.map +1 -0
- package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.d.ts +5 -0
- package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js +57 -0
- package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js.map +1 -0
- package/dist/module/layout/controller/layout.controller.d.ts +9 -0
- package/dist/module/layout/controller/layout.controller.js +55 -0
- package/dist/module/layout/controller/layout.controller.js.map +1 -0
- package/dist/module/layout/dto/header.dto.d.ts +0 -0
- package/dist/module/layout/dto/header.dto.js +1 -0
- package/dist/module/layout/dto/header.dto.js.map +1 -0
- package/dist/module/layout/entity/header-items.entity.d.ts +10 -0
- package/dist/module/layout/entity/header-items.entity.js +52 -0
- package/dist/module/layout/entity/header-items.entity.js.map +1 -0
- package/dist/module/layout/entity/header-section.entity.d.ts +5 -0
- package/dist/module/layout/entity/header-section.entity.js +32 -0
- package/dist/module/layout/entity/header-section.entity.js.map +1 -0
- package/dist/module/layout/layout.module.d.ts +2 -0
- package/dist/module/layout/layout.module.js +33 -0
- package/dist/module/layout/layout.module.js.map +1 -0
- package/dist/module/layout/repository/header-items.repository.d.ts +7 -0
- package/dist/module/layout/repository/header-items.repository.js +36 -0
- package/dist/module/layout/repository/header-items.repository.js.map +1 -0
- package/dist/module/layout/repository/header-section.repository.d.ts +7 -0
- package/dist/module/layout/repository/header-section.repository.js +34 -0
- package/dist/module/layout/repository/header-section.repository.js.map +1 -0
- package/dist/module/layout/service/header-section.service.d.ts +8 -0
- package/dist/module/layout/service/header-section.service.js +37 -0
- package/dist/module/layout/service/header-section.service.js.map +1 -0
- package/dist/module/layout_preference/controller/layout_preference.controller.d.ts +19 -0
- package/dist/module/layout_preference/controller/layout_preference.controller.js +78 -0
- package/dist/module/layout_preference/controller/layout_preference.controller.js.map +1 -0
- package/dist/module/layout_preference/dto/layout_preference.dto.d.ts +0 -0
- package/dist/module/layout_preference/dto/layout_preference.dto.js +1 -0
- package/dist/module/layout_preference/dto/layout_preference.dto.js.map +1 -0
- package/dist/module/layout_preference/entity/layout_preference.entity.d.ts +9 -0
- package/dist/module/layout_preference/entity/layout_preference.entity.js +50 -0
- package/dist/module/layout_preference/entity/layout_preference.entity.js.map +1 -0
- package/dist/module/layout_preference/layout_preference.module.d.ts +2 -0
- package/dist/module/layout_preference/layout_preference.module.js +35 -0
- package/dist/module/layout_preference/layout_preference.module.js.map +1 -0
- package/dist/module/layout_preference/repository/layout_preference.repository.d.ts +13 -0
- package/dist/module/layout_preference/repository/layout_preference.repository.js +68 -0
- package/dist/module/layout_preference/repository/layout_preference.repository.js.map +1 -0
- package/dist/module/layout_preference/service/layout_preference.service.d.ts +20 -0
- package/dist/module/layout_preference/service/layout_preference.service.js +128 -0
- package/dist/module/layout_preference/service/layout_preference.service.js.map +1 -0
- package/dist/module/lead/controller/lead.controller.d.ts +20 -0
- package/dist/module/lead/controller/lead.controller.js +58 -0
- package/dist/module/lead/controller/lead.controller.js.map +1 -0
- package/dist/module/lead/lead.module.d.ts +2 -0
- package/dist/module/lead/lead.module.js +26 -0
- package/dist/module/lead/lead.module.js.map +1 -0
- package/dist/module/lead/repository/lead.repository.d.ts +10 -0
- package/dist/module/lead/repository/lead.repository.js +53 -0
- package/dist/module/lead/repository/lead.repository.js.map +1 -0
- package/dist/module/lead/service/lead.service.d.ts +20 -0
- package/dist/module/lead/service/lead.service.js +55 -0
- package/dist/module/lead/service/lead.service.js.map +1 -0
- package/dist/module/linked_attributes/controller/linked_attributes.controller.d.ts +7 -0
- package/dist/module/linked_attributes/controller/linked_attributes.controller.js +55 -0
- package/dist/module/linked_attributes/controller/linked_attributes.controller.js.map +1 -0
- package/dist/module/linked_attributes/entity/linked_attribute.entity.d.ts +10 -0
- package/dist/module/linked_attributes/entity/linked_attribute.entity.js +74 -0
- package/dist/module/linked_attributes/entity/linked_attribute.entity.js.map +1 -0
- package/dist/module/linked_attributes/linked_attributes.module.d.ts +2 -0
- package/dist/module/linked_attributes/linked_attributes.module.js +29 -0
- package/dist/module/linked_attributes/linked_attributes.module.js.map +1 -0
- package/dist/module/linked_attributes/repository/linked_attribute.repository.d.ts +6 -0
- package/dist/module/linked_attributes/repository/linked_attribute.repository.js +31 -0
- package/dist/module/linked_attributes/repository/linked_attribute.repository.js.map +1 -0
- package/dist/module/linked_attributes/service/linked_attributes.service.d.ts +10 -0
- package/dist/module/linked_attributes/service/linked_attributes.service.js +74 -0
- package/dist/module/linked_attributes/service/linked_attributes.service.js.map +1 -0
- package/dist/module/listmaster/controller/list-master.controller.d.ts +29 -0
- package/dist/module/listmaster/controller/list-master.controller.js +186 -0
- package/dist/module/listmaster/controller/list-master.controller.js.map +1 -0
- package/dist/module/listmaster/entity/list-master-items.entity.d.ts +14 -0
- package/dist/module/listmaster/entity/list-master-items.entity.js +69 -0
- package/dist/module/listmaster/entity/list-master-items.entity.js.map +1 -0
- package/dist/module/listmaster/entity/list-master.entity.d.ts +11 -0
- package/dist/module/listmaster/entity/list-master.entity.js +56 -0
- package/dist/module/listmaster/entity/list-master.entity.js.map +1 -0
- package/dist/module/listmaster/listmaster.module.d.ts +2 -0
- package/dist/module/listmaster/listmaster.module.js +55 -0
- package/dist/module/listmaster/listmaster.module.js.map +1 -0
- package/dist/module/listmaster/repository/list-master-items.repository.d.ts +21 -0
- package/dist/module/listmaster/repository/list-master-items.repository.js +143 -0
- package/dist/module/listmaster/repository/list-master-items.repository.js.map +1 -0
- package/dist/module/listmaster/repository/list-master.repository.d.ts +10 -0
- package/dist/module/listmaster/repository/list-master.repository.js +62 -0
- package/dist/module/listmaster/repository/list-master.repository.js.map +1 -0
- package/dist/module/listmaster/service/list-master-engine.d.ts +6 -0
- package/dist/module/listmaster/service/list-master-engine.js +35 -0
- package/dist/module/listmaster/service/list-master-engine.js.map +1 -0
- package/dist/module/listmaster/service/list-master-extension.interface.d.ts +4 -0
- package/dist/module/listmaster/service/list-master-extension.interface.js +3 -0
- package/dist/module/listmaster/service/list-master-extension.interface.js.map +1 -0
- package/dist/module/listmaster/service/list-master-item.service.d.ts +20 -0
- package/dist/module/listmaster/service/list-master-item.service.js +148 -0
- package/dist/module/listmaster/service/list-master-item.service.js.map +1 -0
- package/dist/module/listmaster/service/list-master-registry.d.ts +6 -0
- package/dist/module/listmaster/service/list-master-registry.js +26 -0
- package/dist/module/listmaster/service/list-master-registry.js.map +1 -0
- package/dist/module/listmaster/service/list-master.service.d.ts +40 -0
- package/dist/module/listmaster/service/list-master.service.js +323 -0
- package/dist/module/listmaster/service/list-master.service.js.map +1 -0
- package/dist/module/mapper/controller/field-mapper.controller.d.ts +11 -0
- package/dist/module/mapper/controller/field-mapper.controller.js +94 -0
- package/dist/module/mapper/controller/field-mapper.controller.js.map +1 -0
- package/dist/module/mapper/controller/mapper.controller.d.ts +14 -0
- package/dist/module/mapper/controller/mapper.controller.js +45 -0
- package/dist/module/mapper/controller/mapper.controller.js.map +1 -0
- package/dist/module/mapper/dto/field-mapper.dto.d.ts +12 -0
- package/dist/module/mapper/dto/field-mapper.dto.js +8 -0
- package/dist/module/mapper/dto/field-mapper.dto.js.map +1 -0
- package/dist/module/mapper/entity/field-lovs.entity.d.ts +7 -0
- package/dist/module/mapper/entity/field-lovs.entity.js +38 -0
- package/dist/module/mapper/entity/field-lovs.entity.js.map +1 -0
- package/dist/module/mapper/entity/field-mapper.entity.d.ts +13 -0
- package/dist/module/mapper/entity/field-mapper.entity.js +78 -0
- package/dist/module/mapper/entity/field-mapper.entity.js.map +1 -0
- package/dist/module/mapper/entity/mapper.entity.d.ts +6 -0
- package/dist/module/mapper/entity/mapper.entity.js +34 -0
- package/dist/module/mapper/entity/mapper.entity.js.map +1 -0
- package/dist/module/mapper/mapper.module.d.ts +2 -0
- package/dist/module/mapper/mapper.module.js +48 -0
- package/dist/module/mapper/mapper.module.js.map +1 -0
- package/dist/module/mapper/repository/field-lovs.repository.d.ts +11 -0
- package/dist/module/mapper/repository/field-lovs.repository.js +52 -0
- package/dist/module/mapper/repository/field-lovs.repository.js.map +1 -0
- package/dist/module/mapper/repository/field-mapper.repository.d.ts +11 -0
- package/dist/module/mapper/repository/field-mapper.repository.js +54 -0
- package/dist/module/mapper/repository/field-mapper.repository.js.map +1 -0
- package/dist/module/mapper/repository/mapper.repository.d.ts +7 -0
- package/dist/module/mapper/repository/mapper.repository.js +46 -0
- package/dist/module/mapper/repository/mapper.repository.js.map +1 -0
- package/dist/module/mapper/service/field-mapper.service.d.ts +22 -0
- package/dist/module/mapper/service/field-mapper.service.js +200 -0
- package/dist/module/mapper/service/field-mapper.service.js.map +1 -0
- package/dist/module/mapper/service/mapper.service.d.ts +24 -0
- package/dist/module/mapper/service/mapper.service.js +84 -0
- package/dist/module/mapper/service/mapper.service.js.map +1 -0
- package/dist/module/master/controller/master.controller.d.ts +20 -0
- package/dist/module/master/controller/master.controller.js +82 -0
- package/dist/module/master/controller/master.controller.js.map +1 -0
- package/dist/module/master/service/master.service.d.ts +30 -0
- package/dist/module/master/service/master.service.js +364 -0
- package/dist/module/master/service/master.service.js.map +1 -0
- package/dist/module/meta/controller/attribute-master.controller.d.ts +29 -0
- package/dist/module/meta/controller/attribute-master.controller.js +93 -0
- package/dist/module/meta/controller/attribute-master.controller.js.map +1 -0
- package/dist/module/meta/controller/entity-dynamic.controller.d.ts +21 -0
- package/dist/module/meta/controller/entity-dynamic.controller.js +115 -0
- package/dist/module/meta/controller/entity-dynamic.controller.js.map +1 -0
- package/dist/module/meta/controller/entity-master.controller.d.ts +14 -0
- package/dist/module/meta/controller/entity-master.controller.js +57 -0
- package/dist/module/meta/controller/entity-master.controller.js.map +1 -0
- package/dist/module/meta/controller/entity-relation.controller.d.ts +6 -0
- package/dist/module/meta/controller/entity-relation.controller.js +45 -0
- package/dist/module/meta/controller/entity-relation.controller.js.map +1 -0
- package/dist/module/meta/controller/entity.controller.d.ts +33 -0
- package/dist/module/meta/controller/entity.controller.js +185 -0
- package/dist/module/meta/controller/entity.controller.js.map +1 -0
- package/dist/module/meta/controller/entity.public.controller.d.ts +12 -0
- package/dist/module/meta/controller/entity.public.controller.js +75 -0
- package/dist/module/meta/controller/entity.public.controller.js.map +1 -0
- package/dist/module/meta/controller/media.controller.d.ts +30 -0
- package/dist/module/meta/controller/media.controller.js +119 -0
- package/dist/module/meta/controller/media.controller.js.map +1 -0
- package/dist/module/meta/controller/meta.controller.d.ts +30 -0
- package/dist/module/meta/controller/meta.controller.js +99 -0
- package/dist/module/meta/controller/meta.controller.js.map +1 -0
- package/dist/module/meta/controller/view-master.controller.d.ts +12 -0
- package/dist/module/meta/controller/view-master.controller.js +90 -0
- package/dist/module/meta/controller/view-master.controller.js.map +1 -0
- package/dist/module/meta/dto/entity-list-data.dto.d.ts +5 -0
- package/dist/module/meta/dto/entity-list-data.dto.js +7 -0
- package/dist/module/meta/dto/entity-list-data.dto.js.map +1 -0
- package/dist/module/meta/dto/entity-tab.dto.d.ts +4 -0
- package/dist/module/meta/dto/entity-tab.dto.js +7 -0
- package/dist/module/meta/dto/entity-tab.dto.js.map +1 -0
- package/dist/module/meta/dto/entity-table.dto.d.ts +9 -0
- package/dist/module/meta/dto/entity-table.dto.js +8 -0
- package/dist/module/meta/dto/entity-table.dto.js.map +1 -0
- package/dist/module/meta/entity/attribute-master.entity.d.ts +23 -0
- package/dist/module/meta/entity/attribute-master.entity.js +128 -0
- package/dist/module/meta/entity/attribute-master.entity.js.map +1 -0
- package/dist/module/meta/entity/base-entity.entity.d.ts +19 -0
- package/dist/module/meta/entity/base-entity.entity.js +104 -0
- package/dist/module/meta/entity/base-entity.entity.js.map +1 -0
- package/dist/module/meta/entity/entity-master.entity.d.ts +20 -0
- package/dist/module/meta/entity/entity-master.entity.js +117 -0
- package/dist/module/meta/entity/entity-master.entity.js.map +1 -0
- package/dist/module/meta/entity/entity-relation-data.entity.d.ts +10 -0
- package/dist/module/meta/entity/entity-relation-data.entity.js +51 -0
- package/dist/module/meta/entity/entity-relation-data.entity.js.map +1 -0
- package/dist/module/meta/entity/entity-relation.entity.d.ts +8 -0
- package/dist/module/meta/entity/entity-relation.entity.js +43 -0
- package/dist/module/meta/entity/entity-relation.entity.js.map +1 -0
- package/dist/module/meta/entity/entity-table-column.entity.d.ts +19 -0
- package/dist/module/meta/entity/entity-table-column.entity.js +92 -0
- package/dist/module/meta/entity/entity-table-column.entity.js.map +1 -0
- package/dist/module/meta/entity/entity-table.entity.d.ts +17 -0
- package/dist/module/meta/entity/entity-table.entity.js +79 -0
- package/dist/module/meta/entity/entity-table.entity.js.map +1 -0
- package/dist/module/meta/entity/media-data.entity.d.ts +11 -0
- package/dist/module/meta/entity/media-data.entity.js +55 -0
- package/dist/module/meta/entity/media-data.entity.js.map +1 -0
- package/dist/module/meta/entity/preference.entity.d.ts +11 -0
- package/dist/module/meta/entity/preference.entity.js +85 -0
- package/dist/module/meta/entity/preference.entity.js.map +1 -0
- package/dist/module/meta/entity/view-master.entity.d.ts +14 -0
- package/dist/module/meta/entity/view-master.entity.js +67 -0
- package/dist/module/meta/entity/view-master.entity.js.map +1 -0
- package/dist/module/meta/entity.module.d.ts +2 -0
- package/dist/module/meta/entity.module.js +150 -0
- package/dist/module/meta/entity.module.js.map +1 -0
- package/dist/module/meta/repository/attribute-master.repository.d.ts +30 -0
- package/dist/module/meta/repository/attribute-master.repository.js +136 -0
- package/dist/module/meta/repository/attribute-master.repository.js.map +1 -0
- package/dist/module/meta/repository/entity-attribute-update.repository.d.ts +8 -0
- package/dist/module/meta/repository/entity-attribute-update.repository.js +50 -0
- package/dist/module/meta/repository/entity-attribute-update.repository.js.map +1 -0
- package/dist/module/meta/repository/entity-master.repository.d.ts +33 -0
- package/dist/module/meta/repository/entity-master.repository.js +121 -0
- package/dist/module/meta/repository/entity-master.repository.js.map +1 -0
- package/dist/module/meta/repository/entity-relation.repository.d.ts +7 -0
- package/dist/module/meta/repository/entity-relation.repository.js +39 -0
- package/dist/module/meta/repository/entity-relation.repository.js.map +1 -0
- package/dist/module/meta/repository/entity-table-column.repository.d.ts +7 -0
- package/dist/module/meta/repository/entity-table-column.repository.js +52 -0
- package/dist/module/meta/repository/entity-table-column.repository.js.map +1 -0
- package/dist/module/meta/repository/entity-table.repository.d.ts +9 -0
- package/dist/module/meta/repository/entity-table.repository.js +59 -0
- package/dist/module/meta/repository/entity-table.repository.js.map +1 -0
- package/dist/module/meta/repository/media-data.repository.d.ts +9 -0
- package/dist/module/meta/repository/media-data.repository.js +55 -0
- package/dist/module/meta/repository/media-data.repository.js.map +1 -0
- package/dist/module/meta/repository/preference.repository.d.ts +7 -0
- package/dist/module/meta/repository/preference.repository.js +36 -0
- package/dist/module/meta/repository/preference.repository.js.map +1 -0
- package/dist/module/meta/repository/user-app-mapping.repository.d.ts +0 -0
- package/dist/module/meta/repository/user-app-mapping.repository.js +1 -0
- package/dist/module/meta/repository/user-app-mapping.repository.js.map +1 -0
- package/dist/module/meta/repository/view-master.repository.d.ts +11 -0
- package/dist/module/meta/repository/view-master.repository.js +52 -0
- package/dist/module/meta/repository/view-master.repository.js.map +1 -0
- package/dist/module/meta/service/attribute-master.service.d.ts +21 -0
- package/dist/module/meta/service/attribute-master.service.js +81 -0
- package/dist/module/meta/service/attribute-master.service.js.map +1 -0
- package/dist/module/meta/service/common.service.d.ts +4 -0
- package/dist/module/meta/service/common.service.js +25 -0
- package/dist/module/meta/service/common.service.js.map +1 -0
- package/dist/module/meta/service/entity-attribute-update.service.d.ts +7 -0
- package/dist/module/meta/service/entity-attribute-update.service.js +34 -0
- package/dist/module/meta/service/entity-attribute-update.service.js.map +1 -0
- package/dist/module/meta/service/entity-dynamic.service.d.ts +32 -0
- package/dist/module/meta/service/entity-dynamic.service.js +496 -0
- package/dist/module/meta/service/entity-dynamic.service.js.map +1 -0
- package/dist/module/meta/service/entity-master.service.d.ts +38 -0
- package/dist/module/meta/service/entity-master.service.js +119 -0
- package/dist/module/meta/service/entity-master.service.js.map +1 -0
- package/dist/module/meta/service/entity-realation-data.service.d.ts +4 -0
- package/dist/module/meta/service/entity-realation-data.service.js +25 -0
- package/dist/module/meta/service/entity-realation-data.service.js.map +1 -0
- package/dist/module/meta/service/entity-relation.service.d.ts +11 -0
- package/dist/module/meta/service/entity-relation.service.js +71 -0
- package/dist/module/meta/service/entity-relation.service.js.map +1 -0
- package/dist/module/meta/service/entity-service-impl.service.d.ts +35 -0
- package/dist/module/meta/service/entity-service-impl.service.js +233 -0
- package/dist/module/meta/service/entity-service-impl.service.js.map +1 -0
- package/dist/module/meta/service/entity-table-column.service.d.ts +6 -0
- package/dist/module/meta/service/entity-table-column.service.js +29 -0
- package/dist/module/meta/service/entity-table-column.service.js.map +1 -0
- package/dist/module/meta/service/entity-table.service.d.ts +17 -0
- package/dist/module/meta/service/entity-table.service.js +88 -0
- package/dist/module/meta/service/entity-table.service.js.map +1 -0
- package/dist/module/meta/service/entity-validation.service.d.ts +22 -0
- package/dist/module/meta/service/entity-validation.service.js +118 -0
- package/dist/module/meta/service/entity-validation.service.js.map +1 -0
- package/dist/module/meta/service/entity.service.d.ts +12 -0
- package/dist/module/meta/service/entity.service.js +3 -0
- package/dist/module/meta/service/entity.service.js.map +1 -0
- package/dist/module/meta/service/field-group.service.d.ts +26 -0
- package/dist/module/meta/service/field-group.service.js +76 -0
- package/dist/module/meta/service/field-group.service.js.map +1 -0
- package/dist/module/meta/service/media-data.service.d.ts +43 -0
- package/dist/module/meta/service/media-data.service.js +372 -0
- package/dist/module/meta/service/media-data.service.js.map +1 -0
- package/dist/module/meta/service/preference.service.d.ts +7 -0
- package/dist/module/meta/service/preference.service.js +31 -0
- package/dist/module/meta/service/preference.service.js.map +1 -0
- package/dist/module/meta/service/resolver.service.d.ts +21 -0
- package/dist/module/meta/service/resolver.service.js +215 -0
- package/dist/module/meta/service/resolver.service.js.map +1 -0
- package/dist/module/meta/service/section-master.service.d.ts +26 -0
- package/dist/module/meta/service/section-master.service.js +77 -0
- package/dist/module/meta/service/section-master.service.js.map +1 -0
- package/dist/module/meta/service/update-form-json.service.d.ts +9 -0
- package/dist/module/meta/service/update-form-json.service.js +39 -0
- package/dist/module/meta/service/update-form-json.service.js.map +1 -0
- package/dist/module/meta/service/user-app-mapping.service.d.ts +0 -0
- package/dist/module/meta/service/user-app-mapping.service.js +1 -0
- package/dist/module/meta/service/user-app-mapping.service.js.map +1 -0
- package/dist/module/meta/service/view-master.service.d.ts +29 -0
- package/dist/module/meta/service/view-master.service.js +82 -0
- package/dist/module/meta/service/view-master.service.js.map +1 -0
- package/dist/module/microservice-client/microservice-clients.module.d.ts +2 -0
- package/dist/module/microservice-client/microservice-clients.module.js +27 -0
- package/dist/module/microservice-client/microservice-clients.module.js.map +1 -0
- package/dist/module/microservice-client/service/microservice-client-factory.d.ts +10 -0
- package/dist/module/microservice-client/service/microservice-client-factory.js +46 -0
- package/dist/module/microservice-client/service/microservice-client-factory.js.map +1 -0
- package/dist/module/microservice-client/service/microservice-clients.d.ts +4 -0
- package/dist/module/microservice-client/service/microservice-clients.js +3 -0
- package/dist/module/microservice-client/service/microservice-clients.js.map +1 -0
- package/dist/module/module/controller/menu.controller.d.ts +8 -0
- package/dist/module/module/controller/menu.controller.js +41 -0
- package/dist/module/module/controller/menu.controller.js.map +1 -0
- package/dist/module/module/controller/module-access.controller.d.ts +34 -0
- package/dist/module/module/controller/module-access.controller.js +153 -0
- package/dist/module/module/controller/module-access.controller.js.map +1 -0
- package/dist/module/module/entity/menu.entity.d.ts +18 -0
- package/dist/module/module/entity/menu.entity.js +81 -0
- package/dist/module/module/entity/menu.entity.js.map +1 -0
- package/dist/module/module/entity/module-access.entity.d.ts +23 -0
- package/dist/module/module/entity/module-access.entity.js +94 -0
- package/dist/module/module/entity/module-access.entity.js.map +1 -0
- package/dist/module/module/entity/module-action.entity.d.ts +8 -0
- package/dist/module/module/entity/module-action.entity.js +42 -0
- package/dist/module/module/entity/module-action.entity.js.map +1 -0
- package/dist/module/module/entity/module.entity.d.ts +16 -0
- package/dist/module/module/entity/module.entity.js +74 -0
- package/dist/module/module/entity/module.entity.js.map +1 -0
- package/dist/module/module/module.module.d.ts +2 -0
- package/dist/module/module/module.module.js +53 -0
- package/dist/module/module/module.module.js.map +1 -0
- package/dist/module/module/repository/menu.repository.d.ts +15 -0
- package/dist/module/module/repository/menu.repository.js +174 -0
- package/dist/module/module/repository/menu.repository.js.map +1 -0
- package/dist/module/module/repository/module-access.repository.d.ts +52 -0
- package/dist/module/module/repository/module-access.repository.js +333 -0
- package/dist/module/module/repository/module-access.repository.js.map +1 -0
- package/dist/module/module/service/menu.service.d.ts +10 -0
- package/dist/module/module/service/menu.service.js +56 -0
- package/dist/module/module/service/menu.service.js.map +1 -0
- package/dist/module/module/service/module-access.service.d.ts +60 -0
- package/dist/module/module/service/module-access.service.js +111 -0
- package/dist/module/module/service/module-access.service.js.map +1 -0
- package/dist/module/notification/controller/notification.controller.d.ts +23 -0
- package/dist/module/notification/controller/notification.controller.js +74 -0
- package/dist/module/notification/controller/notification.controller.js.map +1 -0
- package/dist/module/notification/controller/otp.controller.d.ts +35 -0
- package/dist/module/notification/controller/otp.controller.js +103 -0
- package/dist/module/notification/controller/otp.controller.js.map +1 -0
- package/dist/module/notification/entity/notification.entity.d.ts +25 -0
- package/dist/module/notification/entity/notification.entity.js +115 -0
- package/dist/module/notification/entity/notification.entity.js.map +1 -0
- package/dist/module/notification/entity/otp.entity.d.ts +10 -0
- package/dist/module/notification/entity/otp.entity.js +52 -0
- package/dist/module/notification/entity/otp.entity.js.map +1 -0
- package/dist/module/notification/firebase-admin.config.d.ts +7 -0
- package/dist/module/notification/firebase-admin.config.js +24 -0
- package/dist/module/notification/firebase-admin.config.js.map +1 -0
- package/dist/module/notification/notification.module.d.ts +2 -0
- package/dist/module/notification/notification.module.js +81 -0
- package/dist/module/notification/notification.module.js.map +1 -0
- package/dist/module/notification/repository/otp.repository.d.ts +9 -0
- package/dist/module/notification/repository/otp.repository.js +44 -0
- package/dist/module/notification/repository/otp.repository.js.map +1 -0
- package/dist/module/notification/service/email.service.d.ts +15 -0
- package/dist/module/notification/service/email.service.js +124 -0
- package/dist/module/notification/service/email.service.js.map +1 -0
- package/dist/module/notification/service/notification.service.d.ts +27 -0
- package/dist/module/notification/service/notification.service.js +127 -0
- package/dist/module/notification/service/notification.service.js.map +1 -0
- package/dist/module/notification/service/otp.service.d.ts +31 -0
- package/dist/module/notification/service/otp.service.js +111 -0
- package/dist/module/notification/service/otp.service.js.map +1 -0
- package/dist/module/preference_master/entity/preference.entity.d.ts +9 -0
- package/dist/module/preference_master/entity/preference.entity.js +48 -0
- package/dist/module/preference_master/entity/preference.entity.js.map +1 -0
- package/dist/module/preference_master/preference.service.d.ts +8 -0
- package/dist/module/preference_master/preference.service.js +31 -0
- package/dist/module/preference_master/preference.service.js.map +1 -0
- package/dist/module/preference_master/repo/preference.repository.d.ts +8 -0
- package/dist/module/preference_master/repo/preference.repository.js +48 -0
- package/dist/module/preference_master/repo/preference.repository.js.map +1 -0
- package/dist/module/third-party-module/entity/third-party-api-registry.entity.d.ts +18 -0
- package/dist/module/third-party-module/entity/third-party-api-registry.entity.js +84 -0
- package/dist/module/third-party-module/entity/third-party-api-registry.entity.js.map +1 -0
- package/dist/module/third-party-module/repository/third-party-api-registry.repository.d.ts +7 -0
- package/dist/module/third-party-module/repository/third-party-api-registry.repository.js +38 -0
- package/dist/module/third-party-module/repository/third-party-api-registry.repository.js.map +1 -0
- package/dist/module/third-party-module/service/api-registry.service.d.ts +6 -0
- package/dist/module/third-party-module/service/api-registry.service.js +28 -0
- package/dist/module/third-party-module/service/api-registry.service.js.map +1 -0
- package/dist/module/third-party-module/third-party.module.d.ts +2 -0
- package/dist/module/third-party-module/third-party.module.js +25 -0
- package/dist/module/third-party-module/third-party.module.js.map +1 -0
- package/dist/module/user/controller/login.controller.d.ts +24 -0
- package/dist/module/user/controller/login.controller.js +173 -0
- package/dist/module/user/controller/login.controller.js.map +1 -0
- package/dist/module/user/controller/user.controller.d.ts +7 -0
- package/dist/module/user/controller/user.controller.js +46 -0
- package/dist/module/user/controller/user.controller.js.map +1 -0
- package/dist/module/user/dto/create-user.dto.d.ts +20 -0
- package/dist/module/user/dto/create-user.dto.js +70 -0
- package/dist/module/user/dto/create-user.dto.js.map +1 -0
- package/dist/module/user/dto/update-user.dto.d.ts +5 -0
- package/dist/module/user/dto/update-user.dto.js +9 -0
- package/dist/module/user/dto/update-user.dto.js.map +1 -0
- package/dist/module/user/entity/role.entity.d.ts +23 -0
- package/dist/module/user/entity/role.entity.js +101 -0
- package/dist/module/user/entity/role.entity.js.map +1 -0
- package/dist/module/user/entity/user-role-mapping.entity.d.ts +22 -0
- package/dist/module/user/entity/user-role-mapping.entity.js +95 -0
- package/dist/module/user/entity/user-role-mapping.entity.js.map +1 -0
- package/dist/module/user/entity/user-session.entity.d.ts +13 -0
- package/dist/module/user/entity/user-session.entity.js +84 -0
- package/dist/module/user/entity/user-session.entity.js.map +1 -0
- package/dist/module/user/entity/user.entity.d.ts +33 -0
- package/dist/module/user/entity/user.entity.js +141 -0
- package/dist/module/user/entity/user.entity.js.map +1 -0
- package/dist/module/user/repository/role.repository.d.ts +23 -0
- package/dist/module/user/repository/role.repository.js +102 -0
- package/dist/module/user/repository/role.repository.js.map +1 -0
- package/dist/module/user/repository/user-role-mapping.repository.d.ts +20 -0
- package/dist/module/user/repository/user-role-mapping.repository.js +113 -0
- package/dist/module/user/repository/user-role-mapping.repository.js.map +1 -0
- package/dist/module/user/repository/user.repository.d.ts +13 -0
- package/dist/module/user/repository/user.repository.js +77 -0
- package/dist/module/user/repository/user.repository.js.map +1 -0
- package/dist/module/user/repository/userSession.repository.d.ts +11 -0
- package/dist/module/user/repository/userSession.repository.js +48 -0
- package/dist/module/user/repository/userSession.repository.js.map +1 -0
- package/dist/module/user/service/login.service.d.ts +39 -0
- package/dist/module/user/service/login.service.js +243 -0
- package/dist/module/user/service/login.service.js.map +1 -0
- package/dist/module/user/service/role.service.d.ts +38 -0
- package/dist/module/user/service/role.service.js +168 -0
- package/dist/module/user/service/role.service.js.map +1 -0
- package/dist/module/user/service/user-role-mapping.service.d.ts +14 -0
- package/dist/module/user/service/user-role-mapping.service.js +66 -0
- package/dist/module/user/service/user-role-mapping.service.js.map +1 -0
- package/dist/module/user/service/user-session.service.d.ts +30 -0
- package/dist/module/user/service/user-session.service.js +159 -0
- package/dist/module/user/service/user-session.service.js.map +1 -0
- package/dist/module/user/service/user.service.d.ts +49 -0
- package/dist/module/user/service/user.service.js +251 -0
- package/dist/module/user/service/user.service.js.map +1 -0
- package/dist/module/user/user.module.d.ts +2 -0
- package/dist/module/user/user.module.js +73 -0
- package/dist/module/user/user.module.js.map +1 -0
- package/dist/module/workflow/controller/action-category.controller.d.ts +18 -0
- package/dist/module/workflow/controller/action-category.controller.js +79 -0
- package/dist/module/workflow/controller/action-category.controller.js.map +1 -0
- package/dist/module/workflow/controller/action-resource-mapping.controller.d.ts +5 -0
- package/dist/module/workflow/controller/action-resource-mapping.controller.js +31 -0
- package/dist/module/workflow/controller/action-resource-mapping.controller.js.map +1 -0
- package/dist/module/workflow/controller/action-template-mapping.controller.d.ts +12 -0
- package/dist/module/workflow/controller/action-template-mapping.controller.js +44 -0
- package/dist/module/workflow/controller/action-template-mapping.controller.js.map +1 -0
- package/dist/module/workflow/controller/action.controller.d.ts +54 -0
- package/dist/module/workflow/controller/action.controller.js +122 -0
- package/dist/module/workflow/controller/action.controller.js.map +1 -0
- package/dist/module/workflow/controller/activity-log.controller.d.ts +42 -0
- package/dist/module/workflow/controller/activity-log.controller.js +62 -0
- package/dist/module/workflow/controller/activity-log.controller.js.map +1 -0
- package/dist/module/workflow/controller/comm-template.controller.d.ts +19 -0
- package/dist/module/workflow/controller/comm-template.controller.js +58 -0
- package/dist/module/workflow/controller/comm-template.controller.js.map +1 -0
- package/dist/module/workflow/controller/entity-modification.controller.d.ts +8 -0
- package/dist/module/workflow/controller/entity-modification.controller.js +44 -0
- package/dist/module/workflow/controller/entity-modification.controller.js.map +1 -0
- package/dist/module/workflow/controller/form-master.controller.d.ts +14 -0
- package/dist/module/workflow/controller/form-master.controller.js +59 -0
- package/dist/module/workflow/controller/form-master.controller.js.map +1 -0
- package/dist/module/workflow/controller/stage-group.controller.d.ts +19 -0
- package/dist/module/workflow/controller/stage-group.controller.js +57 -0
- package/dist/module/workflow/controller/stage-group.controller.js.map +1 -0
- package/dist/module/workflow/controller/stage.controller.d.ts +16 -0
- package/dist/module/workflow/controller/stage.controller.js +58 -0
- package/dist/module/workflow/controller/stage.controller.js.map +1 -0
- package/dist/module/workflow/controller/task.controller.d.ts +32 -0
- package/dist/module/workflow/controller/task.controller.js +72 -0
- package/dist/module/workflow/controller/task.controller.js.map +1 -0
- package/dist/module/workflow/controller/workflow-list-master.controller.d.ts +14 -0
- package/dist/module/workflow/controller/workflow-list-master.controller.js +67 -0
- package/dist/module/workflow/controller/workflow-list-master.controller.js.map +1 -0
- package/dist/module/workflow/controller/workflow-meta.controller.d.ts +15 -0
- package/dist/module/workflow/controller/workflow-meta.controller.js +72 -0
- package/dist/module/workflow/controller/workflow-meta.controller.js.map +1 -0
- package/dist/module/workflow/controller/workflow.controller.d.ts +31 -0
- package/dist/module/workflow/controller/workflow.controller.js +83 -0
- package/dist/module/workflow/controller/workflow.controller.js.map +1 -0
- package/dist/module/workflow/entity/action-category.entity.d.ts +13 -0
- package/dist/module/workflow/entity/action-category.entity.js +63 -0
- package/dist/module/workflow/entity/action-category.entity.js.map +1 -0
- package/dist/module/workflow/entity/action-data.entity.d.ts +19 -0
- package/dist/module/workflow/entity/action-data.entity.js +86 -0
- package/dist/module/workflow/entity/action-data.entity.js.map +1 -0
- package/dist/module/workflow/entity/action-resources-mapping.entity.d.ts +9 -0
- package/dist/module/workflow/entity/action-resources-mapping.entity.js +47 -0
- package/dist/module/workflow/entity/action-resources-mapping.entity.js.map +1 -0
- package/dist/module/workflow/entity/action-template-mapping.entity.d.ts +6 -0
- package/dist/module/workflow/entity/action-template-mapping.entity.js +35 -0
- package/dist/module/workflow/entity/action-template-mapping.entity.js.map +1 -0
- package/dist/module/workflow/entity/action.entity.d.ts +18 -0
- package/dist/module/workflow/entity/action.entity.js +83 -0
- package/dist/module/workflow/entity/action.entity.js.map +1 -0
- package/dist/module/workflow/entity/activity-log.entity.d.ts +15 -0
- package/dist/module/workflow/entity/activity-log.entity.js +70 -0
- package/dist/module/workflow/entity/activity-log.entity.js.map +1 -0
- package/dist/module/workflow/entity/comm-template.entity.d.ts +14 -0
- package/dist/module/workflow/entity/comm-template.entity.js +67 -0
- package/dist/module/workflow/entity/comm-template.entity.js.map +1 -0
- package/dist/module/workflow/entity/entity-modification.entity.d.ts +13 -0
- package/dist/module/workflow/entity/entity-modification.entity.js +63 -0
- package/dist/module/workflow/entity/entity-modification.entity.js.map +1 -0
- package/dist/module/workflow/entity/form.entity.d.ts +9 -0
- package/dist/module/workflow/entity/form.entity.js +46 -0
- package/dist/module/workflow/entity/form.entity.js.map +1 -0
- package/dist/module/workflow/entity/stage-action-mapping.entity.d.ts +6 -0
- package/dist/module/workflow/entity/stage-action-mapping.entity.js +35 -0
- package/dist/module/workflow/entity/stage-action-mapping.entity.js.map +1 -0
- package/dist/module/workflow/entity/stage-group.entity.d.ts +8 -0
- package/dist/module/workflow/entity/stage-group.entity.js +43 -0
- package/dist/module/workflow/entity/stage-group.entity.js.map +1 -0
- package/dist/module/workflow/entity/stage-movement-data.entity.d.ts +13 -0
- package/dist/module/workflow/entity/stage-movement-data.entity.js +63 -0
- package/dist/module/workflow/entity/stage-movement-data.entity.js.map +1 -0
- package/dist/module/workflow/entity/stage.entity.d.ts +7 -0
- package/dist/module/workflow/entity/stage.entity.js +39 -0
- package/dist/module/workflow/entity/stage.entity.js.map +1 -0
- package/dist/module/workflow/entity/task-data.entity.d.ts +30 -0
- package/dist/module/workflow/entity/task-data.entity.js +130 -0
- package/dist/module/workflow/entity/task-data.entity.js.map +1 -0
- package/dist/module/workflow/entity/template-attach-mapper.entity.d.ts +11 -0
- package/dist/module/workflow/entity/template-attach-mapper.entity.js +54 -0
- package/dist/module/workflow/entity/template-attach-mapper.entity.js.map +1 -0
- package/dist/module/workflow/entity/workflow-data.entity.d.ts +4 -0
- package/dist/module/workflow/entity/workflow-data.entity.js +27 -0
- package/dist/module/workflow/entity/workflow-data.entity.js.map +1 -0
- package/dist/module/workflow/entity/workflow-level-mapping.entity.d.ts +7 -0
- package/dist/module/workflow/entity/workflow-level-mapping.entity.js +38 -0
- package/dist/module/workflow/entity/workflow-level-mapping.entity.js.map +1 -0
- package/dist/module/workflow/entity/workflow.entity.d.ts +7 -0
- package/dist/module/workflow/entity/workflow.entity.js +39 -0
- package/dist/module/workflow/entity/workflow.entity.js.map +1 -0
- package/dist/module/workflow/repository/action-category.repository.d.ts +19 -0
- package/dist/module/workflow/repository/action-category.repository.js +84 -0
- package/dist/module/workflow/repository/action-category.repository.js.map +1 -0
- package/dist/module/workflow/repository/action-data.repository.d.ts +22 -0
- package/dist/module/workflow/repository/action-data.repository.js +252 -0
- package/dist/module/workflow/repository/action-data.repository.js.map +1 -0
- package/dist/module/workflow/repository/action.repository.d.ts +31 -0
- package/dist/module/workflow/repository/action.repository.js +258 -0
- package/dist/module/workflow/repository/action.repository.js.map +1 -0
- package/dist/module/workflow/repository/activity-log.repository.d.ts +57 -0
- package/dist/module/workflow/repository/activity-log.repository.js +129 -0
- package/dist/module/workflow/repository/activity-log.repository.js.map +1 -0
- package/dist/module/workflow/repository/comm-template.repository.d.ts +17 -0
- package/dist/module/workflow/repository/comm-template.repository.js +126 -0
- package/dist/module/workflow/repository/comm-template.repository.js.map +1 -0
- package/dist/module/workflow/repository/form-master.repository.d.ts +11 -0
- package/dist/module/workflow/repository/form-master.repository.js +41 -0
- package/dist/module/workflow/repository/form-master.repository.js.map +1 -0
- package/dist/module/workflow/repository/form.repository.d.ts +0 -0
- package/dist/module/workflow/repository/form.repository.js +1 -0
- package/dist/module/workflow/repository/form.repository.js.map +1 -0
- package/dist/module/workflow/repository/stage-group.repository.d.ts +37 -0
- package/dist/module/workflow/repository/stage-group.repository.js +145 -0
- package/dist/module/workflow/repository/stage-group.repository.js.map +1 -0
- package/dist/module/workflow/repository/stage-movement.repository.d.ts +28 -0
- package/dist/module/workflow/repository/stage-movement.repository.js +180 -0
- package/dist/module/workflow/repository/stage-movement.repository.js.map +1 -0
- package/dist/module/workflow/repository/stage.repository.d.ts +31 -0
- package/dist/module/workflow/repository/stage.repository.js +117 -0
- package/dist/module/workflow/repository/stage.repository.js.map +1 -0
- package/dist/module/workflow/repository/task.repository.d.ts +18 -0
- package/dist/module/workflow/repository/task.repository.js +134 -0
- package/dist/module/workflow/repository/task.repository.js.map +1 -0
- package/dist/module/workflow/repository/workflow.repository.d.ts +10 -0
- package/dist/module/workflow/repository/workflow.repository.js +49 -0
- package/dist/module/workflow/repository/workflow.repository.js.map +1 -0
- package/dist/module/workflow/service/action-category.service.d.ts +21 -0
- package/dist/module/workflow/service/action-category.service.js +42 -0
- package/dist/module/workflow/service/action-category.service.js.map +1 -0
- package/dist/module/workflow/service/action-data.service.d.ts +16 -0
- package/dist/module/workflow/service/action-data.service.js +39 -0
- package/dist/module/workflow/service/action-data.service.js.map +1 -0
- package/dist/module/workflow/service/action-resources-mapping.service.d.ts +6 -0
- package/dist/module/workflow/service/action-resources-mapping.service.js +27 -0
- package/dist/module/workflow/service/action-resources-mapping.service.js.map +1 -0
- package/dist/module/workflow/service/action-template-mapping.service.d.ts +10 -0
- package/dist/module/workflow/service/action-template-mapping.service.js +133 -0
- package/dist/module/workflow/service/action-template-mapping.service.js.map +1 -0
- package/dist/module/workflow/service/action.service.d.ts +44 -0
- package/dist/module/workflow/service/action.service.js +211 -0
- package/dist/module/workflow/service/action.service.js.map +1 -0
- package/dist/module/workflow/service/activity-log.service.d.ts +42 -0
- package/dist/module/workflow/service/activity-log.service.js +92 -0
- package/dist/module/workflow/service/activity-log.service.js.map +1 -0
- package/dist/module/workflow/service/comm-template.service.d.ts +24 -0
- package/dist/module/workflow/service/comm-template.service.js +132 -0
- package/dist/module/workflow/service/comm-template.service.js.map +1 -0
- package/dist/module/workflow/service/entity-modification.service.d.ts +8 -0
- package/dist/module/workflow/service/entity-modification.service.js +47 -0
- package/dist/module/workflow/service/entity-modification.service.js.map +1 -0
- package/dist/module/workflow/service/form-master.service.d.ts +17 -0
- package/dist/module/workflow/service/form-master.service.js +38 -0
- package/dist/module/workflow/service/form-master.service.js.map +1 -0
- package/dist/module/workflow/service/populate-workflow.service.d.ts +21 -0
- package/dist/module/workflow/service/populate-workflow.service.js +245 -0
- package/dist/module/workflow/service/populate-workflow.service.js.map +1 -0
- package/dist/module/workflow/service/stage-action-mapping.service.d.ts +3 -0
- package/dist/module/workflow/service/stage-action-mapping.service.js +18 -0
- package/dist/module/workflow/service/stage-action-mapping.service.js.map +1 -0
- package/dist/module/workflow/service/stage-group.service.d.ts +30 -0
- package/dist/module/workflow/service/stage-group.service.js +238 -0
- package/dist/module/workflow/service/stage-group.service.js.map +1 -0
- package/dist/module/workflow/service/stage.service.d.ts +21 -0
- package/dist/module/workflow/service/stage.service.js +136 -0
- package/dist/module/workflow/service/stage.service.js.map +1 -0
- package/dist/module/workflow/service/task.service.d.ts +46 -0
- package/dist/module/workflow/service/task.service.js +368 -0
- package/dist/module/workflow/service/task.service.js.map +1 -0
- package/dist/module/workflow/service/workflow-list-master.service.d.ts +7 -0
- package/dist/module/workflow/service/workflow-list-master.service.js +73 -0
- package/dist/module/workflow/service/workflow-list-master.service.js.map +1 -0
- package/dist/module/workflow/service/workflow-meta.service.d.ts +37 -0
- package/dist/module/workflow/service/workflow-meta.service.js +424 -0
- package/dist/module/workflow/service/workflow-meta.service.js.map +1 -0
- package/dist/module/workflow/service/workflow.service.d.ts +31 -0
- package/dist/module/workflow/service/workflow.service.js +153 -0
- package/dist/module/workflow/service/workflow.service.js.map +1 -0
- package/dist/module/workflow/workflow.module.d.ts +2 -0
- package/dist/module/workflow/workflow.module.js +194 -0
- package/dist/module/workflow/workflow.module.js.map +1 -0
- package/dist/module/workflow-automation/controller/workflow-automation.controller.d.ts +11 -0
- package/dist/module/workflow-automation/controller/workflow-automation.controller.js +47 -0
- package/dist/module/workflow-automation/controller/workflow-automation.controller.js.map +1 -0
- package/dist/module/workflow-automation/entity/workflow-automation-action.entity.d.ts +9 -0
- package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js +47 -0
- package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js.map +1 -0
- package/dist/module/workflow-automation/entity/workflow-automation.entity.d.ts +14 -0
- package/dist/module/workflow-automation/entity/workflow-automation.entity.js +67 -0
- package/dist/module/workflow-automation/entity/workflow-automation.entity.js.map +1 -0
- package/dist/module/workflow-automation/interface/action.decorator.d.ts +2 -0
- package/dist/module/workflow-automation/interface/action.decorator.js +8 -0
- package/dist/module/workflow-automation/interface/action.decorator.js.map +1 -0
- package/dist/module/workflow-automation/interface/action.interface.d.ts +4 -0
- package/dist/module/workflow-automation/interface/action.interface.js +3 -0
- package/dist/module/workflow-automation/interface/action.interface.js.map +1 -0
- package/dist/module/workflow-automation/service/action-registery.service.d.ts +11 -0
- package/dist/module/workflow-automation/service/action-registery.service.js +46 -0
- package/dist/module/workflow-automation/service/action-registery.service.js.map +1 -0
- package/dist/module/workflow-automation/service/schedule-handler.service.d.ts +22 -0
- package/dist/module/workflow-automation/service/schedule-handler.service.js +141 -0
- package/dist/module/workflow-automation/service/schedule-handler.service.js.map +1 -0
- package/dist/module/workflow-automation/service/workflow-automation-engine.service.d.ts +15 -0
- package/dist/module/workflow-automation/service/workflow-automation-engine.service.js +124 -0
- package/dist/module/workflow-automation/service/workflow-automation-engine.service.js.map +1 -0
- package/dist/module/workflow-automation/service/workflow-automation.service.d.ts +68 -0
- package/dist/module/workflow-automation/service/workflow-automation.service.js +339 -0
- package/dist/module/workflow-automation/service/workflow-automation.service.js.map +1 -0
- package/dist/module/workflow-automation/workflow-automation.module.d.ts +2 -0
- package/dist/module/workflow-automation/workflow-automation.module.js +68 -0
- package/dist/module/workflow-automation/workflow-automation.module.js.map +1 -0
- package/dist/module/workflow-schedule/constants/schedule.constants.d.ts +27 -0
- package/dist/module/workflow-schedule/constants/schedule.constants.js +31 -0
- package/dist/module/workflow-schedule/constants/schedule.constants.js.map +1 -0
- package/dist/module/workflow-schedule/controller/workflow-schedule.controller.d.ts +81 -0
- package/dist/module/workflow-schedule/controller/workflow-schedule.controller.js +218 -0
- package/dist/module/workflow-schedule/controller/workflow-schedule.controller.js.map +1 -0
- package/dist/module/workflow-schedule/dto/create-schedule.dto.d.ts +32 -0
- package/dist/module/workflow-schedule/dto/create-schedule.dto.js +163 -0
- package/dist/module/workflow-schedule/dto/create-schedule.dto.js.map +1 -0
- package/dist/module/workflow-schedule/dto/get-execution-logs.dto.d.ts +35 -0
- package/dist/module/workflow-schedule/dto/get-execution-logs.dto.js +124 -0
- package/dist/module/workflow-schedule/dto/get-execution-logs.dto.js.map +1 -0
- package/dist/module/workflow-schedule/dto/update-schedule.dto.d.ts +19 -0
- package/dist/module/workflow-schedule/dto/update-schedule.dto.js +106 -0
- package/dist/module/workflow-schedule/dto/update-schedule.dto.js.map +1 -0
- package/dist/module/workflow-schedule/entities/scheduled-workflow.entity.d.ts +30 -0
- package/dist/module/workflow-schedule/entities/scheduled-workflow.entity.js +113 -0
- package/dist/module/workflow-schedule/entities/scheduled-workflow.entity.js.map +1 -0
- package/dist/module/workflow-schedule/entities/workflow-execution-log.entity.d.ts +34 -0
- package/dist/module/workflow-schedule/entities/workflow-execution-log.entity.js +118 -0
- package/dist/module/workflow-schedule/entities/workflow-execution-log.entity.js.map +1 -0
- package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.d.ts +44 -0
- package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.js +3 -0
- package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.js.map +1 -0
- package/dist/module/workflow-schedule/interfaces/workflow-schedule-options.interface.d.ts +3 -0
- package/dist/module/workflow-schedule/interfaces/workflow-schedule-options.interface.js +3 -0
- package/dist/module/workflow-schedule/interfaces/workflow-schedule-options.interface.js.map +1 -0
- package/dist/module/workflow-schedule/processors/schedule.processor.d.ts +33 -0
- package/dist/module/workflow-schedule/processors/schedule.processor.js +422 -0
- package/dist/module/workflow-schedule/processors/schedule.processor.js.map +1 -0
- package/dist/module/workflow-schedule/service/workflow-schedule.service.d.ts +43 -0
- package/dist/module/workflow-schedule/service/workflow-schedule.service.js +432 -0
- package/dist/module/workflow-schedule/service/workflow-schedule.service.js.map +1 -0
- package/dist/module/workflow-schedule/workflow-schedule.module.d.ts +5 -0
- package/dist/module/workflow-schedule/workflow-schedule.module.js +52 -0
- package/dist/module/workflow-schedule/workflow-schedule.module.js.map +1 -0
- package/dist/resources/properties.module.d.ts +2 -0
- package/dist/resources/properties.module.js +25 -0
- package/dist/resources/properties.module.js.map +1 -0
- package/dist/resources/properties.yaml.d.ts +2 -0
- package/dist/resources/properties.yaml.js +10 -0
- package/dist/resources/properties.yaml.js.map +1 -0
- package/dist/table.config.d.ts +39 -0
- package/dist/table.config.js +136 -0
- package/dist/table.config.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/utils/dto/excel-data.dto.d.ts +7 -0
- package/dist/utils/dto/excel-data.dto.js +16 -0
- package/dist/utils/dto/excel-data.dto.js.map +1 -0
- package/dist/utils/dto/excelsheet-data.dto.d.ts +5 -0
- package/dist/utils/dto/excelsheet-data.dto.js +3 -0
- package/dist/utils/dto/excelsheet-data.dto.js.map +1 -0
- package/dist/utils/service/base64util.service.d.ts +4 -0
- package/dist/utils/service/base64util.service.js +21 -0
- package/dist/utils/service/base64util.service.js.map +1 -0
- package/dist/utils/service/clockIDGenUtil.service.d.ts +8 -0
- package/dist/utils/service/clockIDGenUtil.service.js +32 -0
- package/dist/utils/service/clockIDGenUtil.service.js.map +1 -0
- package/dist/utils/service/codeGenerator.service.d.ts +3 -0
- package/dist/utils/service/codeGenerator.service.js +19 -0
- package/dist/utils/service/codeGenerator.service.js.map +1 -0
- package/dist/utils/service/dateUtil.service.d.ts +3 -0
- package/dist/utils/service/dateUtil.service.js +28 -0
- package/dist/utils/service/dateUtil.service.js.map +1 -0
- package/dist/utils/service/encryptUtil.service.d.ts +9 -0
- package/dist/utils/service/encryptUtil.service.js +112 -0
- package/dist/utils/service/encryptUtil.service.js.map +1 -0
- package/dist/utils/service/excel-helper.service.d.ts +9 -0
- package/dist/utils/service/excel-helper.service.js +56 -0
- package/dist/utils/service/excel-helper.service.js.map +1 -0
- package/dist/utils/service/excelUtil.service.d.ts +3 -0
- package/dist/utils/service/excelUtil.service.js +17 -0
- package/dist/utils/service/excelUtil.service.js.map +1 -0
- package/dist/utils/service/file-util.service.d.ts +3 -0
- package/dist/utils/service/file-util.service.js +15 -0
- package/dist/utils/service/file-util.service.js.map +1 -0
- package/dist/utils/service/json-util.service.d.ts +3 -0
- package/dist/utils/service/json-util.service.js +24 -0
- package/dist/utils/service/json-util.service.js.map +1 -0
- package/dist/utils/service/loggingUtil.service.d.ts +11 -0
- package/dist/utils/service/loggingUtil.service.js +87 -0
- package/dist/utils/service/loggingUtil.service.js.map +1 -0
- package/dist/utils/service/reflection-helper.service.d.ts +10 -0
- package/dist/utils/service/reflection-helper.service.js +66 -0
- package/dist/utils/service/reflection-helper.service.js.map +1 -0
- package/dist/utils/service/wbsCodeGen.service.d.ts +3 -0
- package/dist/utils/service/wbsCodeGen.service.js +20 -0
- package/dist/utils/service/wbsCodeGen.service.js.map +1 -0
- package/dist/utils/utils.module.d.ts +2 -0
- package/dist/utils/utils.module.js +40 -0
- package/dist/utils/utils.module.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,339 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var WorkflowAutomationService_1;
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.WorkflowAutomationService = void 0;
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const typeorm_1 = require("@nestjs/typeorm");
|
|
19
|
+
const typeorm_2 = require("typeorm");
|
|
20
|
+
const workflow_automation_entity_1 = require("../entity/workflow-automation.entity");
|
|
21
|
+
const workflow_automation_action_entity_1 = require("../entity/workflow-automation-action.entity");
|
|
22
|
+
const entity_service_impl_service_1 = require("../../meta/service/entity-service-impl.service");
|
|
23
|
+
const saved_filter_service_1 = require("../../filter/service/saved-filter.service");
|
|
24
|
+
const global_constant_1 = require("../../../constant/global.constant");
|
|
25
|
+
const scheduled_workflow_entity_1 = require("../../workflow-schedule/entities/scheduled-workflow.entity");
|
|
26
|
+
const workflow_schedule_service_1 = require("../../workflow-schedule/service/workflow-schedule.service");
|
|
27
|
+
const moment = require("moment");
|
|
28
|
+
let WorkflowAutomationService = WorkflowAutomationService_1 = class WorkflowAutomationService extends entity_service_impl_service_1.EntityServiceImpl {
|
|
29
|
+
constructor(wfRepo, actionRepo, savedFilterService, dataSource, scheduledWorkflowRepository, workflowScheduleService) {
|
|
30
|
+
super();
|
|
31
|
+
this.wfRepo = wfRepo;
|
|
32
|
+
this.actionRepo = actionRepo;
|
|
33
|
+
this.savedFilterService = savedFilterService;
|
|
34
|
+
this.dataSource = dataSource;
|
|
35
|
+
this.scheduledWorkflowRepository = scheduledWorkflowRepository;
|
|
36
|
+
this.workflowScheduleService = workflowScheduleService;
|
|
37
|
+
this.logger = new common_1.Logger(WorkflowAutomationService_1.name);
|
|
38
|
+
}
|
|
39
|
+
async createRule(data) {
|
|
40
|
+
const rule = this.wfRepo.create(data);
|
|
41
|
+
return this.wfRepo.save(rule);
|
|
42
|
+
}
|
|
43
|
+
async updateRule(id, data) {
|
|
44
|
+
await this.wfRepo.update(id, data);
|
|
45
|
+
return this.wfRepo.findOneBy({ id });
|
|
46
|
+
}
|
|
47
|
+
async deleteRule(id) {
|
|
48
|
+
await this.wfRepo.delete(id);
|
|
49
|
+
}
|
|
50
|
+
async getRule(id) {
|
|
51
|
+
return this.wfRepo.findOneBy({ id });
|
|
52
|
+
}
|
|
53
|
+
async getActiveRules(entityType, event, loggedInUser) {
|
|
54
|
+
return this.wfRepo.find({
|
|
55
|
+
where: {
|
|
56
|
+
applicable_entity_type: entityType,
|
|
57
|
+
trigger_event: event,
|
|
58
|
+
enterprise_id: loggedInUser.enterprise_id,
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
async getActionsForRule(workflow_automation_id) {
|
|
63
|
+
return this.actionRepo.find({
|
|
64
|
+
where: { workflow_automation_id },
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
async updateEntity(entityData, loggedInUser) {
|
|
68
|
+
this.logger.debug(`Updating WorkflowAutomation with data: ${JSON.stringify(entityData)}`);
|
|
69
|
+
const { event, filter, action, ...workflowData } = entityData;
|
|
70
|
+
this.logger.log(`Updating core workflow fields for workflow...`);
|
|
71
|
+
let workflow = await super.updateEntity(workflowData, loggedInUser);
|
|
72
|
+
this.logger.debug(`Workflow updated (id=${workflow.id})`);
|
|
73
|
+
if (event?.triggerType) {
|
|
74
|
+
this.logger.log(`Processing EVENT filter for workflow ${workflow.id}`);
|
|
75
|
+
if (event.triggerType === 'on_event') {
|
|
76
|
+
const eventFilterMaster = {
|
|
77
|
+
entity_type: 'SFM',
|
|
78
|
+
name: `Event_Filter_${workflow.id}`,
|
|
79
|
+
filterDetails: event?.eventFilterJson ?? [],
|
|
80
|
+
filter_scope: 'RULE',
|
|
81
|
+
enterprise_id: loggedInUser.enterprise_id,
|
|
82
|
+
};
|
|
83
|
+
if (workflow.condition_filter_code) {
|
|
84
|
+
this.logger.debug(`Existing event filter found: ${workflow.condition_filter_code}`);
|
|
85
|
+
const existing = await this.savedFilterService.getEntityDataByCode(global_constant_1.ENTITYTYPE_SAVEDFILTERMASTER, workflow.condition_filter_code, loggedInUser);
|
|
86
|
+
if (existing) {
|
|
87
|
+
eventFilterMaster['id'] = existing.id;
|
|
88
|
+
const updatedEvent = await this.savedFilterService.updateEntity(eventFilterMaster, loggedInUser);
|
|
89
|
+
workflow.condition_filter_code = updatedEvent.code;
|
|
90
|
+
this.logger.log(`Updated existing event filter: ${updatedEvent.code}`);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const savedEvent = await this.savedFilterService.createEntity(eventFilterMaster, loggedInUser);
|
|
95
|
+
workflow.condition_filter_code = savedEvent.code;
|
|
96
|
+
this.logger.log(`Created new event filter: ${savedEvent.code}`);
|
|
97
|
+
}
|
|
98
|
+
workflow.trigger_event = event?.event ?? null;
|
|
99
|
+
}
|
|
100
|
+
if (event.triggerType === 'on_schedule') {
|
|
101
|
+
workflow.schedule = event?.scheduleJson ?? null;
|
|
102
|
+
workflow.trigger_type = 'on_schedule';
|
|
103
|
+
this.logger.log(`Stored schedule JSON for workflow ${workflow.id}: ${JSON.stringify(workflow.schedule)}`);
|
|
104
|
+
await this.registerScheduleAutomation(workflow, loggedInUser);
|
|
105
|
+
}
|
|
106
|
+
workflow.trigger_type = event.triggerType;
|
|
107
|
+
}
|
|
108
|
+
if (filter) {
|
|
109
|
+
this.logger.log(`Processing CRITERIA filter for workflow ${workflow.id}`);
|
|
110
|
+
workflow.criteria_filter_code = filter.filter_code ?? null;
|
|
111
|
+
}
|
|
112
|
+
if (Array.isArray(action) && action.length) {
|
|
113
|
+
this.logger.log(`Processing ${action.length} actions for workflow ${workflow.id}`);
|
|
114
|
+
const existingActions = await this.dataSource
|
|
115
|
+
.getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
|
|
116
|
+
.find({
|
|
117
|
+
where: { workflow_automation_id: workflow.id },
|
|
118
|
+
});
|
|
119
|
+
const existingMap = new Map(existingActions.map((a) => [a.action_category_id, a]));
|
|
120
|
+
for (const a of action) {
|
|
121
|
+
if (!a?.actionCategory) {
|
|
122
|
+
this.logger.warn(`Skipping action without category: ${JSON.stringify(a)}`);
|
|
123
|
+
continue;
|
|
124
|
+
}
|
|
125
|
+
const existing = existingMap.get(a.actionCategory);
|
|
126
|
+
if (existing) {
|
|
127
|
+
existing.payload = a.actionPayload ?? {};
|
|
128
|
+
existing.actioncategoryname =
|
|
129
|
+
a.actionCategoryName ?? existing.actioncategoryname;
|
|
130
|
+
existing.status = a.status ?? existing.status;
|
|
131
|
+
await this.dataSource
|
|
132
|
+
.getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
|
|
133
|
+
.save(existing);
|
|
134
|
+
this.logger.log(`Updated action: ${a.actionCategory}`);
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
const actionEntity = new workflow_automation_action_entity_1.WorkflowAutomationActionEntity();
|
|
138
|
+
actionEntity.entity_type = 'WFAA';
|
|
139
|
+
actionEntity.workflow_automation_id = workflow.id;
|
|
140
|
+
actionEntity.action_category_id = a.actionCategory;
|
|
141
|
+
actionEntity.actioncategoryname = a.actionCategoryName;
|
|
142
|
+
actionEntity.payload = a.actionPayload ?? {};
|
|
143
|
+
actionEntity.name = a.name;
|
|
144
|
+
actionEntity.status = a.status;
|
|
145
|
+
await this.dataSource
|
|
146
|
+
.getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
|
|
147
|
+
.save(actionEntity);
|
|
148
|
+
this.logger.log(`Created new action: ${a.actionCategory}`);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
const incomingCategories = action.map((a) => a.actionCategory);
|
|
152
|
+
const toDelete = existingActions.filter((a) => !incomingCategories.includes(a.action_category_id));
|
|
153
|
+
if (toDelete.length) {
|
|
154
|
+
await this.dataSource
|
|
155
|
+
.getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
|
|
156
|
+
.remove(toDelete);
|
|
157
|
+
this.logger.log(`Deleted ${toDelete.length} actions not present in request.`);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
workflow = await super.updateEntity(workflow, loggedInUser);
|
|
161
|
+
this.logger.debug(`Final workflow updated (id=${workflow.id})`);
|
|
162
|
+
return workflow;
|
|
163
|
+
}
|
|
164
|
+
async getEntityData(entity_type, id, loggedInUser) {
|
|
165
|
+
this.logger.log(`Fetching WorkflowAutomation by id=${id}`);
|
|
166
|
+
const workflowAutomation = await this.dataSource
|
|
167
|
+
.getRepository(workflow_automation_entity_1.WorkflowAutomation)
|
|
168
|
+
.findOne({
|
|
169
|
+
where: { id },
|
|
170
|
+
});
|
|
171
|
+
if (!workflowAutomation) {
|
|
172
|
+
throw new common_1.NotFoundException(`WorkflowAutomation not found with id=${id}`);
|
|
173
|
+
}
|
|
174
|
+
let event = null;
|
|
175
|
+
if (workflowAutomation.trigger_type === 'on_event') {
|
|
176
|
+
if (workflowAutomation.condition_filter_code) {
|
|
177
|
+
const eventFilterMaster = await this.savedFilterService.getEntityDataByCode(global_constant_1.ENTITYTYPE_SAVEDFILTERMASTER, workflowAutomation.condition_filter_code, loggedInUser);
|
|
178
|
+
if (eventFilterMaster) {
|
|
179
|
+
const eventFilterDetails = await this.savedFilterService.getDetailsByCode(eventFilterMaster.code);
|
|
180
|
+
event = {
|
|
181
|
+
eventFilterJson: eventFilterDetails ?? [],
|
|
182
|
+
triggerType: workflowAutomation.trigger_type,
|
|
183
|
+
event: workflowAutomation.trigger_event,
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
if (workflowAutomation.trigger_type === 'on_schedule') {
|
|
189
|
+
event = {
|
|
190
|
+
triggerType: workflowAutomation.trigger_type,
|
|
191
|
+
scheduleJson: workflowAutomation.schedule,
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
let filter = null;
|
|
195
|
+
filter = {
|
|
196
|
+
filter_code: workflowAutomation.criteria_filter_code,
|
|
197
|
+
};
|
|
198
|
+
const actions = await this.dataSource
|
|
199
|
+
.getRepository(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)
|
|
200
|
+
.find({
|
|
201
|
+
where: { workflow_automation_id: workflowAutomation.id },
|
|
202
|
+
});
|
|
203
|
+
const action = actions.map((a) => ({
|
|
204
|
+
actionCategory: a.action_category_id,
|
|
205
|
+
actionCategoryName: a.actioncategoryname,
|
|
206
|
+
actionPayload: a.payload,
|
|
207
|
+
name: a.name,
|
|
208
|
+
status: a.status,
|
|
209
|
+
}));
|
|
210
|
+
const response = {
|
|
211
|
+
...workflowAutomation,
|
|
212
|
+
event,
|
|
213
|
+
filter,
|
|
214
|
+
action,
|
|
215
|
+
};
|
|
216
|
+
this.logger.debug(`Fetched WorkflowAutomation (id=${id}) with relations`);
|
|
217
|
+
return response;
|
|
218
|
+
}
|
|
219
|
+
async registerScheduleAutomation(workflow, loggedInUser) {
|
|
220
|
+
this.logger.log(`Registering schedule automation for workflow ${workflow.id}`);
|
|
221
|
+
if (!this.workflowScheduleService) {
|
|
222
|
+
this.logger.warn(`WorkflowScheduleService not available. Skipping schedule registration for workflow ${workflow.id}. ` +
|
|
223
|
+
`Make sure WorkflowScheduleModule is imported if you need scheduling functionality.`);
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
const scheduleJson = workflow.schedule;
|
|
227
|
+
if (!scheduleJson) {
|
|
228
|
+
this.logger.warn(`No schedule JSON provided for workflow ${workflow.id}`);
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
const existingSchedule = await this.scheduledWorkflowRepository.findOne({
|
|
232
|
+
where: { workflow_id: workflow.id },
|
|
233
|
+
});
|
|
234
|
+
const cronExpression = await this.generateDailyCron(scheduleJson.fixedTime);
|
|
235
|
+
const payload = {
|
|
236
|
+
id: Number(existingSchedule?.id ?? null),
|
|
237
|
+
workflow_id: workflow.id,
|
|
238
|
+
workflow_name: workflow.name,
|
|
239
|
+
name: scheduleJson.name ?? `Schedule_${workflow.id}`,
|
|
240
|
+
description: scheduleJson.description ?? '',
|
|
241
|
+
cron_expression: cronExpression,
|
|
242
|
+
timezone: scheduleJson.timezone ?? 'Asia/Kolkata',
|
|
243
|
+
start_date: scheduleJson.start_date ?? null,
|
|
244
|
+
end_date: scheduleJson.end_date ?? null,
|
|
245
|
+
max_executions: scheduleJson.max_executions ?? null,
|
|
246
|
+
retry_config: scheduleJson.retry_config ?? {},
|
|
247
|
+
actions: scheduleJson.actions ?? [],
|
|
248
|
+
metadata: scheduleJson.metadata ?? {},
|
|
249
|
+
is_enabled: scheduleJson.is_enabled ?? true,
|
|
250
|
+
enterprise_id: loggedInUser.enterprise_id,
|
|
251
|
+
level_id: loggedInUser.level_id,
|
|
252
|
+
level_type: loggedInUser.level_type
|
|
253
|
+
};
|
|
254
|
+
if (existingSchedule) {
|
|
255
|
+
this.logger.log(`Existing schedule found (id=${existingSchedule.id}), updating...`);
|
|
256
|
+
return await this.workflowScheduleService.updateSchedule(payload, loggedInUser);
|
|
257
|
+
}
|
|
258
|
+
else {
|
|
259
|
+
this.logger.log(`No existing schedule found, creating new one...`);
|
|
260
|
+
return await this.workflowScheduleService.createSchedule(payload, loggedInUser);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
async generateDailyCron(executionTime) {
|
|
264
|
+
const time = moment(executionTime, 'HH:mm');
|
|
265
|
+
if (!time.isValid()) {
|
|
266
|
+
throw new Error('Invalid executionTime format (expected HH:mm)');
|
|
267
|
+
}
|
|
268
|
+
const minute = time.minute();
|
|
269
|
+
const hour = time.hour();
|
|
270
|
+
const cron = `${minute} ${hour} * * *`;
|
|
271
|
+
const cronRegex = /^(\*|([0-5]?\d)) (\*|([01]?\d|2[0-3])) (\*|([01]?\d|2\d|3[01])) (\*|([1-9]|1[0-2])) (\*|([0-6]))$/;
|
|
272
|
+
if (!cronRegex.test(cron)) {
|
|
273
|
+
throw new Error(`Generated cron expression "${cron}" does not match expected format`);
|
|
274
|
+
}
|
|
275
|
+
return cron;
|
|
276
|
+
}
|
|
277
|
+
async updateSequence(body, loggedInUser) {
|
|
278
|
+
if (!Array.isArray(body) || body.length === 0) {
|
|
279
|
+
throw new common_1.BadRequestException('Invalid input. Expected a non-empty array.');
|
|
280
|
+
}
|
|
281
|
+
const results = [];
|
|
282
|
+
for (const item of body) {
|
|
283
|
+
const { id, sequence } = item;
|
|
284
|
+
if (!id || sequence === undefined || sequence === null) {
|
|
285
|
+
results.push({
|
|
286
|
+
id: id || null,
|
|
287
|
+
success: false,
|
|
288
|
+
error: 'Missing id or sequence',
|
|
289
|
+
});
|
|
290
|
+
continue;
|
|
291
|
+
}
|
|
292
|
+
try {
|
|
293
|
+
const existing = await this.wfRepo.findOne({ where: { id } });
|
|
294
|
+
if (!existing) {
|
|
295
|
+
results.push({
|
|
296
|
+
id,
|
|
297
|
+
success: false,
|
|
298
|
+
error: `Workflow with id ${id} not found`,
|
|
299
|
+
});
|
|
300
|
+
continue;
|
|
301
|
+
}
|
|
302
|
+
existing.sequence = Number(sequence);
|
|
303
|
+
existing.modified_by =
|
|
304
|
+
loggedInUser?.id || loggedInUser?.user_id || null;
|
|
305
|
+
existing.modified_date = new Date();
|
|
306
|
+
const saved = await this.wfRepo.save(existing);
|
|
307
|
+
results.push({ id, success: true, result: saved });
|
|
308
|
+
}
|
|
309
|
+
catch (err) {
|
|
310
|
+
results.push({
|
|
311
|
+
id,
|
|
312
|
+
success: false,
|
|
313
|
+
error: err.message || 'Unknown error occurred',
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
return {
|
|
318
|
+
updated: results.filter((r) => r.success).length,
|
|
319
|
+
results,
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
exports.WorkflowAutomationService = WorkflowAutomationService;
|
|
324
|
+
exports.WorkflowAutomationService = WorkflowAutomationService = WorkflowAutomationService_1 = __decorate([
|
|
325
|
+
(0, common_1.Injectable)(),
|
|
326
|
+
__param(0, (0, typeorm_1.InjectRepository)(workflow_automation_entity_1.WorkflowAutomation)),
|
|
327
|
+
__param(1, (0, typeorm_1.InjectRepository)(workflow_automation_action_entity_1.WorkflowAutomationActionEntity)),
|
|
328
|
+
__param(2, (0, common_1.Inject)('SavedFilterService')),
|
|
329
|
+
__param(4, (0, typeorm_1.InjectRepository)(scheduled_workflow_entity_1.ScheduledWorkflow)),
|
|
330
|
+
__param(5, (0, common_1.Optional)()),
|
|
331
|
+
__param(5, (0, common_1.Inject)((0, common_1.forwardRef)(() => workflow_schedule_service_1.WorkflowScheduleService))),
|
|
332
|
+
__metadata("design:paramtypes", [typeorm_2.Repository,
|
|
333
|
+
typeorm_2.Repository,
|
|
334
|
+
saved_filter_service_1.SavedFilterService,
|
|
335
|
+
typeorm_2.DataSource,
|
|
336
|
+
typeorm_2.Repository,
|
|
337
|
+
workflow_schedule_service_1.WorkflowScheduleService])
|
|
338
|
+
], WorkflowAutomationService);
|
|
339
|
+
//# sourceMappingURL=workflow-automation.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-automation.service.js","sourceRoot":"","sources":["../../../../src/module/workflow-automation/service/workflow-automation.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAQwB;AACxB,6CAAmD;AACnD,qCAAiD;AACjD,qFAA0E;AAC1E,mGAA6F;AAC7F,gGAAwF;AAExF,oFAAoF;AACpF,uEAA4E;AAC5E,0GAAoG;AACpG,yGAAyG;AACzG,iCAAiC;AAK1B,IAAM,yBAAyB,iCAA/B,MAAM,yBAA0B,SAAQ,+CAAiB;IAE9D,YAEE,MAAuD,EAEvD,UAAuE,EAEvE,kBAAuD,EACtC,UAAsB,EAEvC,2BAA2E,EAG3E,uBAAiE;QAEjE,KAAK,EAAE,CAAC;QAZS,WAAM,GAAN,MAAM,CAAgC;QAEtC,eAAU,GAAV,UAAU,CAA4C;QAEtD,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,eAAU,GAAV,UAAU,CAAY;QAEtB,gCAA2B,GAA3B,2BAA2B,CAA+B;QAG1D,4BAAuB,GAAvB,uBAAuB,CAAyB;QAblD,WAAM,GAAG,IAAI,eAAM,CAAC,2BAAyB,CAAC,IAAI,CAAC,CAAC;IAgBrE,CAAC;IAED,KAAK,CAAC,UAAU,CACd,IAAiC;QAEjC,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;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,IAAI,wBAAwB;iBAC/C,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAED,OAAO;YACL,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM;YAChD,OAAO;SACR,CAAC;IACJ,CAAC;CACF,CAAA;AA7cY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,mBAAU,GAAE;IAIR,WAAA,IAAA,0BAAgB,EAAC,+CAAkB,CAAC,CAAA;IAEpC,WAAA,IAAA,0BAAgB,EAAC,kEAA8B,CAAC,CAAA;IAEhD,WAAA,IAAA,eAAM,EAAC,oBAAoB,CAAC,CAAA;IAG5B,WAAA,IAAA,0BAAgB,EAAC,6CAAiB,CAAC,CAAA;IAEnC,WAAA,IAAA,iBAAQ,GAAE,CAAA;IACV,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,mDAAuB,CAAC,CAAC,CAAA;qCATzB,oBAAU;QAEN,oBAAU;QAEF,yCAAkB;QAC1B,oBAAU;QAEO,oBAAU;QAGd,mDAAuB;GAdxD,yBAAyB,CA6crC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.WorkflowAutomationModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const typeorm_1 = require("@nestjs/typeorm");
|
|
12
|
+
const core_1 = require("@nestjs/core");
|
|
13
|
+
const workflow_automation_entity_1 = require("./entity/workflow-automation.entity");
|
|
14
|
+
const workflow_automation_controller_1 = require("./controller/workflow-automation.controller");
|
|
15
|
+
const workflow_automation_engine_service_1 = require("./service/workflow-automation-engine.service");
|
|
16
|
+
const filter_module_1 = require("../filter/filter.module");
|
|
17
|
+
const workflow_automation_service_1 = require("./service/workflow-automation.service");
|
|
18
|
+
const workflow_automation_action_entity_1 = require("./entity/workflow-automation-action.entity");
|
|
19
|
+
const entity_module_1 = require("../meta/entity.module");
|
|
20
|
+
const action_registery_service_1 = require("./service/action-registery.service");
|
|
21
|
+
const schedule_handler_service_1 = require("./service/schedule-handler.service");
|
|
22
|
+
const scheduled_workflow_entity_1 = require("../workflow-schedule/entities/scheduled-workflow.entity");
|
|
23
|
+
const workflow_execution_log_entity_1 = require("../workflow-schedule/entities/workflow-execution-log.entity");
|
|
24
|
+
const entity_master_entity_1 = require("../meta/entity/entity-master.entity");
|
|
25
|
+
const list_master_entity_1 = require("../listmaster/entity/list-master.entity");
|
|
26
|
+
const action_category_entity_1 = require("../workflow/entity/action-category.entity");
|
|
27
|
+
const workflow_schedule_module_1 = require("../workflow-schedule/workflow-schedule.module");
|
|
28
|
+
let WorkflowAutomationModule = class WorkflowAutomationModule {
|
|
29
|
+
};
|
|
30
|
+
exports.WorkflowAutomationModule = WorkflowAutomationModule;
|
|
31
|
+
exports.WorkflowAutomationModule = WorkflowAutomationModule = __decorate([
|
|
32
|
+
(0, common_1.Module)({
|
|
33
|
+
imports: [
|
|
34
|
+
typeorm_1.TypeOrmModule.forFeature([
|
|
35
|
+
workflow_automation_entity_1.WorkflowAutomation,
|
|
36
|
+
workflow_automation_action_entity_1.WorkflowAutomationActionEntity,
|
|
37
|
+
scheduled_workflow_entity_1.ScheduledWorkflow,
|
|
38
|
+
workflow_execution_log_entity_1.WorkflowExecutionLog,
|
|
39
|
+
entity_master_entity_1.EntityMaster,
|
|
40
|
+
list_master_entity_1.ListMasterData,
|
|
41
|
+
action_category_entity_1.ActionCategory
|
|
42
|
+
]),
|
|
43
|
+
(0, common_1.forwardRef)(() => filter_module_1.FilterModule),
|
|
44
|
+
(0, common_1.forwardRef)(() => entity_module_1.EntityModule),
|
|
45
|
+
(0, common_1.forwardRef)(() => workflow_schedule_module_1.WorkflowScheduleModule),
|
|
46
|
+
core_1.DiscoveryModule,
|
|
47
|
+
],
|
|
48
|
+
providers: [
|
|
49
|
+
workflow_automation_engine_service_1.WorkflowAutomationEngineService,
|
|
50
|
+
{
|
|
51
|
+
provide: 'WorkflowAutomationService',
|
|
52
|
+
useClass: workflow_automation_service_1.WorkflowAutomationService,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
provide: 'ScheduleHandlerService',
|
|
56
|
+
useClass: schedule_handler_service_1.ScheduleHandlerService,
|
|
57
|
+
},
|
|
58
|
+
action_registery_service_1.ActionRegistryService,
|
|
59
|
+
],
|
|
60
|
+
exports: [
|
|
61
|
+
workflow_automation_engine_service_1.WorkflowAutomationEngineService,
|
|
62
|
+
'WorkflowAutomationService',
|
|
63
|
+
'ScheduleHandlerService',
|
|
64
|
+
],
|
|
65
|
+
controllers: [workflow_automation_controller_1.WorkflowAutomationController],
|
|
66
|
+
})
|
|
67
|
+
], WorkflowAutomationModule);
|
|
68
|
+
//# sourceMappingURL=workflow-automation.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-automation.module.js","sourceRoot":"","sources":["../../../src/module/workflow-automation/workflow-automation.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAoD;AACpD,6CAAgD;AAChD,uCAA+C;AAC/C,oFAAyE;AACzE,gGAA2F;AAC3F,qGAA+F;AAC/F,2DAAuD;AACvD,uFAAkF;AAClF,kGAA4F;AAC5F,yDAAqD;AACrD,iFAA2E;AAC3E,iFAA4E;AAC5E,uGAA4F;AAC5F,+GAAmG;AACnG,8EAAmE;AACnE,gFAAyE;AACzE,sFAA2E;AAC3E,4FAAuF;AAqChF,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAAI,CAAA;AAA5B,4DAAwB;mCAAxB,wBAAwB;IAnCpC,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,uBAAa,CAAC,UAAU,CAAC;gBACvB,+CAAkB;gBAClB,kEAA8B;gBAC9B,6CAAiB;gBACjB,oDAAoB;gBACpB,mCAAY;gBACZ,mCAAc;gBACd,uCAAc;aACf,CAAC;YACF,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,iDAAsB,CAAC;YACxC,sBAAe;SAChB;QACD,SAAS,EAAE;YACT,oEAA+B;YAC/B;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,uDAAyB;aACpC;YACD;gBACE,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,iDAAsB;aACjC;YACD,gDAAqB;SACtB;QACD,OAAO,EAAE;YACP,oEAA+B;YAC/B,2BAA2B;YAC3B,wBAAwB;SACzB;QACD,WAAW,EAAE,CAAC,6DAA4B,CAAC;KAC5C,CAAC;GACW,wBAAwB,CAAI"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const SCHEDULED_WORKFLOW = "WFSC";
|
|
2
|
+
export declare const WORKFLOW_EXECUTION_LOG = "WFEL";
|
|
3
|
+
export declare const WORKFLOW_SCHEDULE_QUEUE = "workflow-schedule";
|
|
4
|
+
export declare const EXECUTE_SCHEDULED_WORKFLOW_JOB = "execute-scheduled-workflow";
|
|
5
|
+
export declare const SCHEDULE_STATUS_ACTIVE = "ACTIVE";
|
|
6
|
+
export declare const SCHEDULE_STATUS_PAUSED = "PAUSED";
|
|
7
|
+
export declare const SCHEDULE_STATUS_INACTIVE = "INACTIVE";
|
|
8
|
+
export declare const SCHEDULE_STATUS_EXPIRED = "EXPIRED";
|
|
9
|
+
export declare const EXECUTION_STATUS_PENDING = "PENDING";
|
|
10
|
+
export declare const EXECUTION_STATUS_RUNNING = "RUNNING";
|
|
11
|
+
export declare const EXECUTION_STATUS_COMPLETED = "COMPLETED";
|
|
12
|
+
export declare const EXECUTION_STATUS_FAILED = "FAILED";
|
|
13
|
+
export declare const EXECUTION_STATUS_PARTIAL = "PARTIAL";
|
|
14
|
+
export declare const WORKFLOW_TYPE_AUTOMATED = "AUTOMATED";
|
|
15
|
+
export declare const WORKFLOW_TYPE_MANUAL = "MANUAL";
|
|
16
|
+
export declare const WORKFLOW_TYPE_SCHEDULED = "SCHEDULED";
|
|
17
|
+
export declare const ACTION_TYPE_SEND_EMAIL = "SEND_EMAIL";
|
|
18
|
+
export declare const ACTION_TYPE_UPDATE_RECORDS = "UPDATE_RECORDS";
|
|
19
|
+
export declare const ACTION_TYPE_CREATE_TASK = "CREATE_TASK";
|
|
20
|
+
export declare const ACTION_TYPE_SEND_NOTIFICATION = "SEND_NOTIFICATION";
|
|
21
|
+
export declare const DEFAULT_BATCH_SIZE = 100;
|
|
22
|
+
export declare const DEFAULT_MAX_RETRIES = 3;
|
|
23
|
+
export declare const DEFAULT_RETRY_DELAY = 5000;
|
|
24
|
+
export declare const DEFAULT_BACKOFF_MULTIPLIER = 2;
|
|
25
|
+
export declare const DEFAULT_TIMEZONE = "Asia/Kolkata";
|
|
26
|
+
export declare const SECONDS_IN_MINUTE = 60;
|
|
27
|
+
export declare const MILLISECONDS_IN_SECOND = 1000;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MILLISECONDS_IN_SECOND = exports.SECONDS_IN_MINUTE = exports.DEFAULT_TIMEZONE = exports.DEFAULT_BACKOFF_MULTIPLIER = exports.DEFAULT_RETRY_DELAY = exports.DEFAULT_MAX_RETRIES = exports.DEFAULT_BATCH_SIZE = exports.ACTION_TYPE_SEND_NOTIFICATION = exports.ACTION_TYPE_CREATE_TASK = exports.ACTION_TYPE_UPDATE_RECORDS = exports.ACTION_TYPE_SEND_EMAIL = exports.WORKFLOW_TYPE_SCHEDULED = exports.WORKFLOW_TYPE_MANUAL = exports.WORKFLOW_TYPE_AUTOMATED = exports.EXECUTION_STATUS_PARTIAL = exports.EXECUTION_STATUS_FAILED = exports.EXECUTION_STATUS_COMPLETED = exports.EXECUTION_STATUS_RUNNING = exports.EXECUTION_STATUS_PENDING = exports.SCHEDULE_STATUS_EXPIRED = exports.SCHEDULE_STATUS_INACTIVE = exports.SCHEDULE_STATUS_PAUSED = exports.SCHEDULE_STATUS_ACTIVE = exports.EXECUTE_SCHEDULED_WORKFLOW_JOB = exports.WORKFLOW_SCHEDULE_QUEUE = exports.WORKFLOW_EXECUTION_LOG = exports.SCHEDULED_WORKFLOW = void 0;
|
|
4
|
+
exports.SCHEDULED_WORKFLOW = 'WFSC';
|
|
5
|
+
exports.WORKFLOW_EXECUTION_LOG = 'WFEL';
|
|
6
|
+
exports.WORKFLOW_SCHEDULE_QUEUE = 'workflow-schedule';
|
|
7
|
+
exports.EXECUTE_SCHEDULED_WORKFLOW_JOB = 'execute-scheduled-workflow';
|
|
8
|
+
exports.SCHEDULE_STATUS_ACTIVE = 'ACTIVE';
|
|
9
|
+
exports.SCHEDULE_STATUS_PAUSED = 'PAUSED';
|
|
10
|
+
exports.SCHEDULE_STATUS_INACTIVE = 'INACTIVE';
|
|
11
|
+
exports.SCHEDULE_STATUS_EXPIRED = 'EXPIRED';
|
|
12
|
+
exports.EXECUTION_STATUS_PENDING = 'PENDING';
|
|
13
|
+
exports.EXECUTION_STATUS_RUNNING = 'RUNNING';
|
|
14
|
+
exports.EXECUTION_STATUS_COMPLETED = 'COMPLETED';
|
|
15
|
+
exports.EXECUTION_STATUS_FAILED = 'FAILED';
|
|
16
|
+
exports.EXECUTION_STATUS_PARTIAL = 'PARTIAL';
|
|
17
|
+
exports.WORKFLOW_TYPE_AUTOMATED = 'AUTOMATED';
|
|
18
|
+
exports.WORKFLOW_TYPE_MANUAL = 'MANUAL';
|
|
19
|
+
exports.WORKFLOW_TYPE_SCHEDULED = 'SCHEDULED';
|
|
20
|
+
exports.ACTION_TYPE_SEND_EMAIL = 'SEND_EMAIL';
|
|
21
|
+
exports.ACTION_TYPE_UPDATE_RECORDS = 'UPDATE_RECORDS';
|
|
22
|
+
exports.ACTION_TYPE_CREATE_TASK = 'CREATE_TASK';
|
|
23
|
+
exports.ACTION_TYPE_SEND_NOTIFICATION = 'SEND_NOTIFICATION';
|
|
24
|
+
exports.DEFAULT_BATCH_SIZE = 100;
|
|
25
|
+
exports.DEFAULT_MAX_RETRIES = 3;
|
|
26
|
+
exports.DEFAULT_RETRY_DELAY = 5000;
|
|
27
|
+
exports.DEFAULT_BACKOFF_MULTIPLIER = 2;
|
|
28
|
+
exports.DEFAULT_TIMEZONE = 'Asia/Kolkata';
|
|
29
|
+
exports.SECONDS_IN_MINUTE = 60;
|
|
30
|
+
exports.MILLISECONDS_IN_SECOND = 1000;
|
|
31
|
+
//# sourceMappingURL=schedule.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule.constants.js","sourceRoot":"","sources":["../../../../src/module/workflow-schedule/constants/schedule.constants.ts"],"names":[],"mappings":";;;AAKa,QAAA,kBAAkB,GAAG,MAAM,CAAC;AAC5B,QAAA,sBAAsB,GAAG,MAAM,CAAC;AAGhC,QAAA,uBAAuB,GAAG,mBAAmB,CAAC;AAG9C,QAAA,8BAA8B,GAAG,4BAA4B,CAAC;AAG9D,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAClC,QAAA,sBAAsB,GAAG,QAAQ,CAAC;AAClC,QAAA,wBAAwB,GAAG,UAAU,CAAC;AACtC,QAAA,uBAAuB,GAAG,SAAS,CAAC;AAGpC,QAAA,wBAAwB,GAAG,SAAS,CAAC;AACrC,QAAA,wBAAwB,GAAG,SAAS,CAAC;AACrC,QAAA,0BAA0B,GAAG,WAAW,CAAC;AACzC,QAAA,uBAAuB,GAAG,QAAQ,CAAC;AACnC,QAAA,wBAAwB,GAAG,SAAS,CAAC;AAGrC,QAAA,uBAAuB,GAAG,WAAW,CAAC;AACtC,QAAA,oBAAoB,GAAG,QAAQ,CAAC;AAChC,QAAA,uBAAuB,GAAG,WAAW,CAAC;AAGtC,QAAA,sBAAsB,GAAG,YAAY,CAAC;AACtC,QAAA,0BAA0B,GAAG,gBAAgB,CAAC;AAC9C,QAAA,uBAAuB,GAAG,aAAa,CAAC;AACxC,QAAA,6BAA6B,GAAG,mBAAmB,CAAC;AAGpD,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,mBAAmB,GAAG,CAAC,CAAC;AACxB,QAAA,mBAAmB,GAAG,IAAI,CAAC;AAC3B,QAAA,0BAA0B,GAAG,CAAC,CAAC;AAC/B,QAAA,gBAAgB,GAAG,cAAc,CAAC;AAGlC,QAAA,iBAAiB,GAAG,EAAE,CAAC;AACvB,QAAA,sBAAsB,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Request } from 'express';
|
|
2
|
+
import { WorkflowScheduleService } from '../service/workflow-schedule.service';
|
|
3
|
+
import { CreateScheduleDto } from '../dto/create-schedule.dto';
|
|
4
|
+
import { UpdateScheduleDto } from '../dto/update-schedule.dto';
|
|
5
|
+
import { GetExecutionLogsDto } from '../dto/get-execution-logs.dto';
|
|
6
|
+
export declare class WorkflowScheduleController {
|
|
7
|
+
private readonly workflowScheduleService;
|
|
8
|
+
constructor(workflowScheduleService: WorkflowScheduleService);
|
|
9
|
+
createSchedule(createScheduleDto: CreateScheduleDto, req: Request & {
|
|
10
|
+
user: any;
|
|
11
|
+
}): Promise<{
|
|
12
|
+
success: boolean;
|
|
13
|
+
message: string;
|
|
14
|
+
data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
|
|
15
|
+
}>;
|
|
16
|
+
updateSchedule(updateScheduleDto: UpdateScheduleDto, req: Request & {
|
|
17
|
+
user: any;
|
|
18
|
+
}): Promise<{
|
|
19
|
+
success: boolean;
|
|
20
|
+
message: string;
|
|
21
|
+
data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
|
|
22
|
+
}>;
|
|
23
|
+
getScheduleById(id: number, req: Request & {
|
|
24
|
+
user: any;
|
|
25
|
+
}): Promise<{
|
|
26
|
+
success: boolean;
|
|
27
|
+
data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
|
|
28
|
+
}>;
|
|
29
|
+
getAllSchedules(workflow_id: string | undefined, schedule_status: string | undefined, is_enabled: string | undefined, page: string | undefined, size: string | undefined, req: Request & {
|
|
30
|
+
user: any;
|
|
31
|
+
}): Promise<{
|
|
32
|
+
data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow[];
|
|
33
|
+
total: number;
|
|
34
|
+
page: number;
|
|
35
|
+
size: number;
|
|
36
|
+
success: boolean;
|
|
37
|
+
}>;
|
|
38
|
+
pauseSchedule(id: number, req: Request & {
|
|
39
|
+
user: any;
|
|
40
|
+
}): Promise<{
|
|
41
|
+
success: boolean;
|
|
42
|
+
message: string;
|
|
43
|
+
data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
|
|
44
|
+
}>;
|
|
45
|
+
resumeSchedule(id: number, req: Request & {
|
|
46
|
+
user: any;
|
|
47
|
+
}): Promise<{
|
|
48
|
+
success: boolean;
|
|
49
|
+
message: string;
|
|
50
|
+
data: import("../entities/scheduled-workflow.entity").ScheduledWorkflow;
|
|
51
|
+
}>;
|
|
52
|
+
deleteSchedule(id: number, req: Request & {
|
|
53
|
+
user: any;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
success: boolean;
|
|
56
|
+
message: string;
|
|
57
|
+
}>;
|
|
58
|
+
triggerManualExecution(id: number, metadata: Record<string, any>, req: Request & {
|
|
59
|
+
user: any;
|
|
60
|
+
}): Promise<{
|
|
61
|
+
success: boolean;
|
|
62
|
+
message: string;
|
|
63
|
+
data: {
|
|
64
|
+
executionLogId: number;
|
|
65
|
+
jobId: string;
|
|
66
|
+
};
|
|
67
|
+
}>;
|
|
68
|
+
getExecutionLogs(getExecutionLogsDto: GetExecutionLogsDto, req: Request & {
|
|
69
|
+
user: any;
|
|
70
|
+
}): Promise<{
|
|
71
|
+
data: import("../entities/workflow-execution-log.entity").WorkflowExecutionLog[];
|
|
72
|
+
total: number;
|
|
73
|
+
page: number;
|
|
74
|
+
size: number;
|
|
75
|
+
success: boolean;
|
|
76
|
+
}>;
|
|
77
|
+
getExecutionStats(id: number): Promise<{
|
|
78
|
+
success: boolean;
|
|
79
|
+
data: any;
|
|
80
|
+
}>;
|
|
81
|
+
}
|