rez_core 6.5.53 → 6.5.55
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/package.json +1 -1
- package/src/module/enterprise/entity/organization.entity.ts +4 -1
- package/src/module/module/repository/module-access.repository.ts +1 -1
- package/dist/app.controller.d.ts +0 -6
- package/dist/app.controller.js +0 -34
- package/dist/app.controller.js.map +0 -1
- package/dist/app.module.d.ts +0 -2
- package/dist/app.module.js +0 -79
- package/dist/app.module.js.map +0 -1
- package/dist/app.service.d.ts +0 -3
- package/dist/app.service.js +0 -20
- package/dist/app.service.js.map +0 -1
- package/dist/config/bull.config.d.ts +0 -10
- package/dist/config/bull.config.js +0 -66
- package/dist/config/bull.config.js.map +0 -1
- package/dist/config/config.module.d.ts +0 -2
- package/dist/config/config.module.js +0 -29
- package/dist/config/config.module.js.map +0 -1
- package/dist/config/database.config.d.ts +0 -7
- package/dist/config/database.config.js +0 -43
- package/dist/config/database.config.js.map +0 -1
- package/dist/constant/global.constant.d.ts +0 -50
- package/dist/constant/global.constant.js +0 -54
- package/dist/constant/global.constant.js.map +0 -1
- package/dist/constant/status.constant.d.ts +0 -4
- package/dist/constant/status.constant.js +0 -9
- package/dist/constant/status.constant.js.map +0 -1
- package/dist/core.module.d.ts +0 -4
- package/dist/core.module.js +0 -113
- package/dist/core.module.js.map +0 -1
- package/dist/decorators/roles.decorator.d.ts +0 -1
- package/dist/decorators/roles.decorator.js +0 -7
- package/dist/decorators/roles.decorator.js.map +0 -1
- package/dist/dtos/response.d.ts +0 -5
- package/dist/dtos/response.dto.d.ts +0 -5
- package/dist/dtos/response.dto.js +0 -3
- package/dist/dtos/response.dto.js.map +0 -1
- package/dist/dtos/response.js +0 -3
- package/dist/dtos/response.js.map +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -18
- package/dist/index.js.map +0 -1
- package/dist/main.d.ts +0 -1
- package/dist/main.js +0 -25
- package/dist/main.js.map +0 -1
- package/dist/module/app_master/app-master.module.d.ts +0 -2
- package/dist/module/app_master/app-master.module.js +0 -28
- package/dist/module/app_master/app-master.module.js.map +0 -1
- package/dist/module/app_master/controller/app-master.controller.d.ts +0 -9
- package/dist/module/app_master/controller/app-master.controller.js +0 -51
- package/dist/module/app_master/controller/app-master.controller.js.map +0 -1
- package/dist/module/app_master/entity/app-master.entity.d.ts +0 -17
- package/dist/module/app_master/entity/app-master.entity.js +0 -80
- package/dist/module/app_master/entity/app-master.entity.js.map +0 -1
- package/dist/module/app_master/repository/app-master.repository.d.ts +0 -7
- package/dist/module/app_master/repository/app-master.repository.js +0 -36
- package/dist/module/app_master/repository/app-master.repository.js.map +0 -1
- package/dist/module/app_master/service/app-master.service.d.ts +0 -8
- package/dist/module/app_master/service/app-master.service.js +0 -45
- package/dist/module/app_master/service/app-master.service.js.map +0 -1
- package/dist/module/auth/auth.module.d.ts +0 -2
- package/dist/module/auth/auth.module.js +0 -57
- package/dist/module/auth/auth.module.js.map +0 -1
- package/dist/module/auth/controller/auth.controller.d.ts +0 -5
- package/dist/module/auth/controller/auth.controller.js +0 -25
- package/dist/module/auth/controller/auth.controller.js.map +0 -1
- package/dist/module/auth/guards/google-auth.guard.d.ts +0 -6
- package/dist/module/auth/guards/google-auth.guard.js +0 -21
- package/dist/module/auth/guards/google-auth.guard.js.map +0 -1
- package/dist/module/auth/guards/jwt.guard.d.ts +0 -10
- package/dist/module/auth/guards/jwt.guard.js +0 -36
- package/dist/module/auth/guards/jwt.guard.js.map +0 -1
- package/dist/module/auth/guards/role.guard.d.ts +0 -9
- package/dist/module/auth/guards/role.guard.js +0 -59
- package/dist/module/auth/guards/role.guard.js.map +0 -1
- package/dist/module/auth/services/auth.service.d.ts +0 -14
- package/dist/module/auth/services/auth.service.js +0 -50
- package/dist/module/auth/services/auth.service.js.map +0 -1
- package/dist/module/auth/services/jwt.service.d.ts +0 -6
- package/dist/module/auth/services/jwt.service.js +0 -28
- package/dist/module/auth/services/jwt.service.js.map +0 -1
- package/dist/module/auth/strategies/google.strategy.d.ts +0 -10
- package/dist/module/auth/strategies/google.strategy.js +0 -59
- package/dist/module/auth/strategies/google.strategy.js.map +0 -1
- package/dist/module/auth/strategies/jwt.strategy.d.ts +0 -20
- package/dist/module/auth/strategies/jwt.strategy.js +0 -47
- package/dist/module/auth/strategies/jwt.strategy.js.map +0 -1
- package/dist/module/auth/strategies/local.strategy.d.ts +0 -7
- package/dist/module/auth/strategies/local.strategy.js +0 -30
- package/dist/module/auth/strategies/local.strategy.js.map +0 -1
- package/dist/module/dashboard/controller/dashboard.controller.d.ts +0 -33
- package/dist/module/dashboard/controller/dashboard.controller.js +0 -57
- package/dist/module/dashboard/controller/dashboard.controller.js.map +0 -1
- package/dist/module/dashboard/dashboard.module.d.ts +0 -2
- package/dist/module/dashboard/dashboard.module.js +0 -34
- package/dist/module/dashboard/dashboard.module.js.map +0 -1
- package/dist/module/dashboard/entity/dashboard_page_data.entity.d.ts +0 -10
- package/dist/module/dashboard/entity/dashboard_page_data.entity.js +0 -50
- package/dist/module/dashboard/entity/dashboard_page_data.entity.js.map +0 -1
- package/dist/module/dashboard/entity/widget_master.entity.d.ts +0 -7
- package/dist/module/dashboard/entity/widget_master.entity.js +0 -38
- package/dist/module/dashboard/entity/widget_master.entity.js.map +0 -1
- package/dist/module/dashboard/repository/dashboard.repository.d.ts +0 -11
- package/dist/module/dashboard/repository/dashboard.repository.js +0 -62
- package/dist/module/dashboard/repository/dashboard.repository.js.map +0 -1
- package/dist/module/dashboard/service/dashboard.service.d.ts +0 -35
- package/dist/module/dashboard/service/dashboard.service.js +0 -61
- package/dist/module/dashboard/service/dashboard.service.js.map +0 -1
- package/dist/module/enterprise/controller/enterprise.controller.d.ts +0 -12
- package/dist/module/enterprise/controller/enterprise.controller.js +0 -57
- package/dist/module/enterprise/controller/enterprise.controller.js.map +0 -1
- package/dist/module/enterprise/controller/meta.controller.d.ts +0 -9
- package/dist/module/enterprise/controller/meta.controller.js +0 -43
- package/dist/module/enterprise/controller/meta.controller.js.map +0 -1
- package/dist/module/enterprise/controller/organization.controller.d.ts +0 -22
- package/dist/module/enterprise/controller/organization.controller.js +0 -115
- package/dist/module/enterprise/controller/organization.controller.js.map +0 -1
- package/dist/module/enterprise/enterprise.module.d.ts +0 -2
- package/dist/module/enterprise/enterprise.module.js +0 -52
- package/dist/module/enterprise/enterprise.module.js.map +0 -1
- package/dist/module/enterprise/entity/enterprise.entity.d.ts +0 -11
- package/dist/module/enterprise/entity/enterprise.entity.js +0 -56
- package/dist/module/enterprise/entity/enterprise.entity.js.map +0 -1
- package/dist/module/enterprise/entity/organization-app-mapping.entity.d.ts +0 -10
- package/dist/module/enterprise/entity/organization-app-mapping.entity.js +0 -49
- package/dist/module/enterprise/entity/organization-app-mapping.entity.js.map +0 -1
- package/dist/module/enterprise/entity/organization.entity.d.ts +0 -15
- package/dist/module/enterprise/entity/organization.entity.js +0 -70
- package/dist/module/enterprise/entity/organization.entity.js.map +0 -1
- package/dist/module/enterprise/repository/enterprise.repository.d.ts +0 -10
- package/dist/module/enterprise/repository/enterprise.repository.js +0 -63
- package/dist/module/enterprise/repository/enterprise.repository.js.map +0 -1
- package/dist/module/enterprise/repository/organization.repository.d.ts +0 -8
- package/dist/module/enterprise/repository/organization.repository.js +0 -41
- package/dist/module/enterprise/repository/organization.repository.js.map +0 -1
- package/dist/module/enterprise/repository/school.repository.d.ts +0 -8
- package/dist/module/enterprise/repository/school.repository.js +0 -226
- package/dist/module/enterprise/repository/school.repository.js.map +0 -1
- package/dist/module/enterprise/service/brand-profile.service.d.ts +0 -0
- package/dist/module/enterprise/service/brand-profile.service.js +0 -1
- package/dist/module/enterprise/service/brand-profile.service.js.map +0 -1
- package/dist/module/enterprise/service/brand.service.d.ts +0 -0
- package/dist/module/enterprise/service/brand.service.js +0 -1
- package/dist/module/enterprise/service/brand.service.js.map +0 -1
- package/dist/module/enterprise/service/enterprise.service.d.ts +0 -8
- package/dist/module/enterprise/service/enterprise.service.js +0 -33
- package/dist/module/enterprise/service/enterprise.service.js.map +0 -1
- package/dist/module/enterprise/service/organization-app-mapping.service.d.ts +0 -2
- package/dist/module/enterprise/service/organization-app-mapping.service.js +0 -17
- package/dist/module/enterprise/service/organization-app-mapping.service.js.map +0 -1
- package/dist/module/enterprise/service/organization.service.d.ts +0 -19
- package/dist/module/enterprise/service/organization.service.js +0 -203
- package/dist/module/enterprise/service/organization.service.js.map +0 -1
- package/dist/module/enterprise/service/populate-meta.service.d.ts +0 -9
- package/dist/module/enterprise/service/populate-meta.service.js +0 -194
- package/dist/module/enterprise/service/populate-meta.service.js.map +0 -1
- package/dist/module/enterprise/service/school.service.d.ts +0 -0
- package/dist/module/enterprise/service/school.service.js +0 -1
- package/dist/module/enterprise/service/school.service.js.map +0 -1
- package/dist/module/entity_json/controller/entity_json.controller.d.ts +0 -18
- package/dist/module/entity_json/controller/entity_json.controller.js +0 -57
- package/dist/module/entity_json/controller/entity_json.controller.js.map +0 -1
- package/dist/module/entity_json/entity/entityJson.entity.d.ts +0 -10
- package/dist/module/entity_json/entity/entityJson.entity.js +0 -55
- package/dist/module/entity_json/entity/entityJson.entity.js.map +0 -1
- package/dist/module/entity_json/entity_json.module.d.ts +0 -2
- package/dist/module/entity_json/entity_json.module.js +0 -30
- package/dist/module/entity_json/entity_json.module.js.map +0 -1
- package/dist/module/entity_json/service/entityJson.repository.d.ts +0 -7
- package/dist/module/entity_json/service/entityJson.repository.js +0 -45
- package/dist/module/entity_json/service/entityJson.repository.js.map +0 -1
- package/dist/module/entity_json/service/entity_json.service.d.ts +0 -25
- package/dist/module/entity_json/service/entity_json.service.js +0 -209
- package/dist/module/entity_json/service/entity_json.service.js.map +0 -1
- package/dist/module/export/controller/export.controller.d.ts +0 -9
- package/dist/module/export/controller/export.controller.js +0 -83
- package/dist/module/export/controller/export.controller.js.map +0 -1
- package/dist/module/export/export.module.d.ts +0 -2
- package/dist/module/export/export.module.js +0 -27
- package/dist/module/export/export.module.js.map +0 -1
- package/dist/module/export/service/export.service.d.ts +0 -14
- package/dist/module/export/service/export.service.js +0 -85
- package/dist/module/export/service/export.service.js.map +0 -1
- package/dist/module/filter/controller/filter.controller.d.ts +0 -39
- package/dist/module/filter/controller/filter.controller.js +0 -94
- package/dist/module/filter/controller/filter.controller.js.map +0 -1
- package/dist/module/filter/dto/filter-request.dto.d.ts +0 -36
- package/dist/module/filter/dto/filter-request.dto.js +0 -3
- package/dist/module/filter/dto/filter-request.dto.js.map +0 -1
- package/dist/module/filter/entity/saved-filter-detail.entity.d.ts +0 -14
- package/dist/module/filter/entity/saved-filter-detail.entity.js +0 -67
- package/dist/module/filter/entity/saved-filter-detail.entity.js.map +0 -1
- package/dist/module/filter/entity/saved-filter-master.entity.d.ts +0 -12
- package/dist/module/filter/entity/saved-filter-master.entity.js +0 -59
- package/dist/module/filter/entity/saved-filter-master.entity.js.map +0 -1
- package/dist/module/filter/filter.module.d.ts +0 -2
- package/dist/module/filter/filter.module.js +0 -46
- package/dist/module/filter/filter.module.js.map +0 -1
- package/dist/module/filter/repository/saved-filter.repository.d.ts +0 -40
- package/dist/module/filter/repository/saved-filter.repository.js +0 -203
- package/dist/module/filter/repository/saved-filter.repository.js.map +0 -1
- package/dist/module/filter/repository/saved.filter-detail.repository.d.ts +0 -7
- package/dist/module/filter/repository/saved.filter-detail.repository.js +0 -38
- package/dist/module/filter/repository/saved.filter-detail.repository.js.map +0 -1
- package/dist/module/filter/service/filter-evaluator.service.d.ts +0 -9
- package/dist/module/filter/service/filter-evaluator.service.js +0 -59
- package/dist/module/filter/service/filter-evaluator.service.js.map +0 -1
- package/dist/module/filter/service/filter.service.d.ts +0 -74
- package/dist/module/filter/service/filter.service.js +0 -921
- package/dist/module/filter/service/filter.service.js.map +0 -1
- package/dist/module/filter/service/saved-filter.service.d.ts +0 -30
- package/dist/module/filter/service/saved-filter.service.js +0 -125
- package/dist/module/filter/service/saved-filter.service.js.map +0 -1
- package/dist/module/ics/controller/ics.controller.d.ts +0 -8
- package/dist/module/ics/controller/ics.controller.js +0 -45
- package/dist/module/ics/controller/ics.controller.js.map +0 -1
- package/dist/module/ics/dto/ics.dto.d.ts +0 -17
- package/dist/module/ics/dto/ics.dto.js +0 -73
- package/dist/module/ics/dto/ics.dto.js.map +0 -1
- package/dist/module/ics/ics.module.d.ts +0 -2
- package/dist/module/ics/ics.module.js +0 -26
- package/dist/module/ics/ics.module.js.map +0 -1
- package/dist/module/ics/service/ics.service.d.ts +0 -4
- package/dist/module/ics/service/ics.service.js +0 -61
- package/dist/module/ics/service/ics.service.js.map +0 -1
- package/dist/module/integration/controller/calender-event.controller.d.ts +0 -7
- package/dist/module/integration/controller/calender-event.controller.js +0 -51
- package/dist/module/integration/controller/calender-event.controller.js.map +0 -1
- package/dist/module/integration/controller/integration.controller.d.ts +0 -165
- package/dist/module/integration/controller/integration.controller.js +0 -697
- package/dist/module/integration/controller/integration.controller.js.map +0 -1
- package/dist/module/integration/controller/wrapper.controller.d.ts +0 -23
- package/dist/module/integration/controller/wrapper.controller.js +0 -52
- package/dist/module/integration/controller/wrapper.controller.js.map +0 -1
- package/dist/module/integration/dto/create-config.dto.d.ts +0 -217
- package/dist/module/integration/dto/create-config.dto.js +0 -495
- package/dist/module/integration/dto/create-config.dto.js.map +0 -1
- package/dist/module/integration/entity/integration-config.entity.d.ts +0 -54
- package/dist/module/integration/entity/integration-config.entity.js +0 -78
- package/dist/module/integration/entity/integration-config.entity.js.map +0 -1
- package/dist/module/integration/entity/integration-entity-mapper.entity.d.ts +0 -6
- package/dist/module/integration/entity/integration-entity-mapper.entity.js +0 -33
- package/dist/module/integration/entity/integration-entity-mapper.entity.js.map +0 -1
- package/dist/module/integration/entity/integration-source.entity.d.ts +0 -7
- package/dist/module/integration/entity/integration-source.entity.js +0 -37
- package/dist/module/integration/entity/integration-source.entity.js.map +0 -1
- package/dist/module/integration/entity/user-integration.entity.d.ts +0 -23
- package/dist/module/integration/entity/user-integration.entity.js +0 -70
- package/dist/module/integration/entity/user-integration.entity.js.map +0 -1
- package/dist/module/integration/examples/usage.example.d.ts +0 -16
- package/dist/module/integration/examples/usage.example.js +0 -217
- package/dist/module/integration/examples/usage.example.js.map +0 -1
- package/dist/module/integration/factories/base.factory.d.ts +0 -9
- package/dist/module/integration/factories/base.factory.js +0 -3
- package/dist/module/integration/factories/base.factory.js.map +0 -1
- package/dist/module/integration/factories/email.factory.d.ts +0 -17
- package/dist/module/integration/factories/email.factory.js +0 -55
- package/dist/module/integration/factories/email.factory.js.map +0 -1
- package/dist/module/integration/factories/integration.factory.d.ts +0 -33
- package/dist/module/integration/factories/integration.factory.js +0 -104
- package/dist/module/integration/factories/integration.factory.js.map +0 -1
- package/dist/module/integration/factories/sms.factory.d.ts +0 -17
- package/dist/module/integration/factories/sms.factory.js +0 -58
- package/dist/module/integration/factories/sms.factory.js.map +0 -1
- package/dist/module/integration/factories/telephone.factory.d.ts +0 -15
- package/dist/module/integration/factories/telephone.factory.js +0 -49
- package/dist/module/integration/factories/telephone.factory.js.map +0 -1
- package/dist/module/integration/factories/whatsapp.factory.d.ts +0 -19
- package/dist/module/integration/factories/whatsapp.factory.js +0 -63
- package/dist/module/integration/factories/whatsapp.factory.js.map +0 -1
- package/dist/module/integration/integration.module.d.ts +0 -2
- package/dist/module/integration/integration.module.js +0 -96
- package/dist/module/integration/integration.module.js.map +0 -1
- package/dist/module/integration/service/calendar-event.service.d.ts +0 -8
- package/dist/module/integration/service/calendar-event.service.js +0 -101
- package/dist/module/integration/service/calendar-event.service.js.map +0 -1
- package/dist/module/integration/service/integration-entity-mapper.service.d.ts +0 -7
- package/dist/module/integration/service/integration-entity-mapper.service.js +0 -36
- package/dist/module/integration/service/integration-entity-mapper.service.js.map +0 -1
- package/dist/module/integration/service/integration-queue.service.d.ts +0 -40
- package/dist/module/integration/service/integration-queue.service.js +0 -147
- package/dist/module/integration/service/integration-queue.service.js.map +0 -1
- package/dist/module/integration/service/integration.service.d.ts +0 -207
- package/dist/module/integration/service/integration.service.js +0 -1590
- package/dist/module/integration/service/integration.service.js.map +0 -1
- package/dist/module/integration/service/oauth.service.d.ts +0 -18
- package/dist/module/integration/service/oauth.service.js +0 -190
- package/dist/module/integration/service/oauth.service.js.map +0 -1
- package/dist/module/integration/service/wrapper.service.d.ts +0 -38
- package/dist/module/integration/service/wrapper.service.js +0 -348
- package/dist/module/integration/service/wrapper.service.js.map +0 -1
- package/dist/module/integration/strategies/email/gmail-api.strategy.d.ts +0 -13
- package/dist/module/integration/strategies/email/gmail-api.strategy.js +0 -195
- package/dist/module/integration/strategies/email/gmail-api.strategy.js.map +0 -1
- package/dist/module/integration/strategies/email/outlook-api.strategy.d.ts +0 -5
- package/dist/module/integration/strategies/email/outlook-api.strategy.js +0 -44
- package/dist/module/integration/strategies/email/outlook-api.strategy.js.map +0 -1
- package/dist/module/integration/strategies/email/outlook.strategy.d.ts +0 -5
- package/dist/module/integration/strategies/email/outlook.strategy.js +0 -64
- package/dist/module/integration/strategies/email/outlook.strategy.js.map +0 -1
- package/dist/module/integration/strategies/email/sendgrid-api.strategy.d.ts +0 -22
- package/dist/module/integration/strategies/email/sendgrid-api.strategy.js +0 -203
- package/dist/module/integration/strategies/email/sendgrid-api.strategy.js.map +0 -1
- package/dist/module/integration/strategies/integration.strategy.d.ts +0 -31
- package/dist/module/integration/strategies/integration.strategy.js +0 -40
- package/dist/module/integration/strategies/integration.strategy.js.map +0 -1
- package/dist/module/integration/strategies/sms/gupshup-sms.strategy.d.ts +0 -9
- package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js +0 -104
- package/dist/module/integration/strategies/sms/gupshup-sms.strategy.js.map +0 -1
- package/dist/module/integration/strategies/sms/msg91-sms.strategy.d.ts +0 -9
- package/dist/module/integration/strategies/sms/msg91-sms.strategy.js +0 -113
- package/dist/module/integration/strategies/sms/msg91-sms.strategy.js.map +0 -1
- package/dist/module/integration/strategies/sms/tubelight-sms.strategy.d.ts +0 -9
- package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js +0 -109
- package/dist/module/integration/strategies/sms/tubelight-sms.strategy.js.map +0 -1
- package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.d.ts +0 -22
- package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js +0 -170
- package/dist/module/integration/strategies/telephone/ozonetel-voice.strategy.js.map +0 -1
- package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.d.ts +0 -24
- package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js +0 -152
- package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js.map +0 -1
- package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.d.ts +0 -19
- package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js +0 -257
- package/dist/module/integration/strategies/whatsapp/gupshup-whatsapp.strategy.js.map +0 -1
- package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.d.ts +0 -33
- package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js +0 -256
- package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js.map +0 -1
- package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.d.ts +0 -20
- package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js +0 -264
- package/dist/module/integration/strategies/whatsapp/whatsapp-cloud.strategy.js.map +0 -1
- package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.d.ts +0 -5
- package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js +0 -57
- package/dist/module/integration/strategies/whatsapp/whatsapp.strategy.js.map +0 -1
- package/dist/module/layout/controller/layout.controller.d.ts +0 -9
- package/dist/module/layout/controller/layout.controller.js +0 -55
- package/dist/module/layout/controller/layout.controller.js.map +0 -1
- package/dist/module/layout/dto/header.dto.d.ts +0 -0
- package/dist/module/layout/dto/header.dto.js +0 -1
- package/dist/module/layout/dto/header.dto.js.map +0 -1
- package/dist/module/layout/entity/header-items.entity.d.ts +0 -10
- package/dist/module/layout/entity/header-items.entity.js +0 -52
- package/dist/module/layout/entity/header-items.entity.js.map +0 -1
- package/dist/module/layout/entity/header-section.entity.d.ts +0 -5
- package/dist/module/layout/entity/header-section.entity.js +0 -32
- package/dist/module/layout/entity/header-section.entity.js.map +0 -1
- package/dist/module/layout/layout.module.d.ts +0 -2
- package/dist/module/layout/layout.module.js +0 -33
- package/dist/module/layout/layout.module.js.map +0 -1
- package/dist/module/layout/repository/header-items.repository.d.ts +0 -7
- package/dist/module/layout/repository/header-items.repository.js +0 -36
- package/dist/module/layout/repository/header-items.repository.js.map +0 -1
- package/dist/module/layout/repository/header-section.repository.d.ts +0 -7
- package/dist/module/layout/repository/header-section.repository.js +0 -34
- package/dist/module/layout/repository/header-section.repository.js.map +0 -1
- package/dist/module/layout/service/header-section.service.d.ts +0 -8
- package/dist/module/layout/service/header-section.service.js +0 -37
- package/dist/module/layout/service/header-section.service.js.map +0 -1
- package/dist/module/layout_preference/controller/layout_preference.controller.d.ts +0 -19
- package/dist/module/layout_preference/controller/layout_preference.controller.js +0 -78
- package/dist/module/layout_preference/controller/layout_preference.controller.js.map +0 -1
- package/dist/module/layout_preference/dto/layout_preference.dto.d.ts +0 -0
- package/dist/module/layout_preference/dto/layout_preference.dto.js +0 -1
- package/dist/module/layout_preference/dto/layout_preference.dto.js.map +0 -1
- package/dist/module/layout_preference/entity/layout_preference.entity.d.ts +0 -9
- package/dist/module/layout_preference/entity/layout_preference.entity.js +0 -50
- package/dist/module/layout_preference/entity/layout_preference.entity.js.map +0 -1
- package/dist/module/layout_preference/layout_preference.module.d.ts +0 -2
- package/dist/module/layout_preference/layout_preference.module.js +0 -35
- package/dist/module/layout_preference/layout_preference.module.js.map +0 -1
- package/dist/module/layout_preference/repository/layout_preference.repository.d.ts +0 -13
- package/dist/module/layout_preference/repository/layout_preference.repository.js +0 -68
- package/dist/module/layout_preference/repository/layout_preference.repository.js.map +0 -1
- package/dist/module/layout_preference/service/layout_preference.service.d.ts +0 -20
- package/dist/module/layout_preference/service/layout_preference.service.js +0 -128
- package/dist/module/layout_preference/service/layout_preference.service.js.map +0 -1
- package/dist/module/lead/controller/lead.controller.d.ts +0 -20
- package/dist/module/lead/controller/lead.controller.js +0 -58
- package/dist/module/lead/controller/lead.controller.js.map +0 -1
- package/dist/module/lead/lead.module.d.ts +0 -2
- package/dist/module/lead/lead.module.js +0 -26
- package/dist/module/lead/lead.module.js.map +0 -1
- package/dist/module/lead/repository/lead.repository.d.ts +0 -10
- package/dist/module/lead/repository/lead.repository.js +0 -53
- package/dist/module/lead/repository/lead.repository.js.map +0 -1
- package/dist/module/lead/service/lead.service.d.ts +0 -20
- package/dist/module/lead/service/lead.service.js +0 -55
- package/dist/module/lead/service/lead.service.js.map +0 -1
- package/dist/module/linked_attributes/controller/linked_attributes.controller.d.ts +0 -7
- package/dist/module/linked_attributes/controller/linked_attributes.controller.js +0 -55
- package/dist/module/linked_attributes/controller/linked_attributes.controller.js.map +0 -1
- package/dist/module/linked_attributes/entity/linked_attribute.entity.d.ts +0 -10
- package/dist/module/linked_attributes/entity/linked_attribute.entity.js +0 -74
- package/dist/module/linked_attributes/entity/linked_attribute.entity.js.map +0 -1
- package/dist/module/linked_attributes/linked_attributes.module.d.ts +0 -2
- package/dist/module/linked_attributes/linked_attributes.module.js +0 -29
- package/dist/module/linked_attributes/linked_attributes.module.js.map +0 -1
- package/dist/module/linked_attributes/repository/linked_attribute.repository.d.ts +0 -6
- package/dist/module/linked_attributes/repository/linked_attribute.repository.js +0 -31
- package/dist/module/linked_attributes/repository/linked_attribute.repository.js.map +0 -1
- package/dist/module/linked_attributes/service/linked_attributes.service.d.ts +0 -10
- package/dist/module/linked_attributes/service/linked_attributes.service.js +0 -74
- package/dist/module/linked_attributes/service/linked_attributes.service.js.map +0 -1
- package/dist/module/listmaster/controller/list-master.controller.d.ts +0 -29
- package/dist/module/listmaster/controller/list-master.controller.js +0 -186
- package/dist/module/listmaster/controller/list-master.controller.js.map +0 -1
- package/dist/module/listmaster/entity/list-master-items.entity.d.ts +0 -14
- package/dist/module/listmaster/entity/list-master-items.entity.js +0 -69
- package/dist/module/listmaster/entity/list-master-items.entity.js.map +0 -1
- package/dist/module/listmaster/entity/list-master.entity.d.ts +0 -11
- package/dist/module/listmaster/entity/list-master.entity.js +0 -56
- package/dist/module/listmaster/entity/list-master.entity.js.map +0 -1
- package/dist/module/listmaster/listmaster.module.d.ts +0 -2
- package/dist/module/listmaster/listmaster.module.js +0 -55
- package/dist/module/listmaster/listmaster.module.js.map +0 -1
- package/dist/module/listmaster/repository/list-master-items.repository.d.ts +0 -21
- package/dist/module/listmaster/repository/list-master-items.repository.js +0 -143
- package/dist/module/listmaster/repository/list-master-items.repository.js.map +0 -1
- package/dist/module/listmaster/repository/list-master.repository.d.ts +0 -10
- package/dist/module/listmaster/repository/list-master.repository.js +0 -62
- package/dist/module/listmaster/repository/list-master.repository.js.map +0 -1
- package/dist/module/listmaster/service/list-master-engine.d.ts +0 -6
- package/dist/module/listmaster/service/list-master-engine.js +0 -35
- package/dist/module/listmaster/service/list-master-engine.js.map +0 -1
- package/dist/module/listmaster/service/list-master-extension.interface.d.ts +0 -4
- package/dist/module/listmaster/service/list-master-extension.interface.js +0 -3
- package/dist/module/listmaster/service/list-master-extension.interface.js.map +0 -1
- package/dist/module/listmaster/service/list-master-item.service.d.ts +0 -20
- package/dist/module/listmaster/service/list-master-item.service.js +0 -148
- package/dist/module/listmaster/service/list-master-item.service.js.map +0 -1
- package/dist/module/listmaster/service/list-master-registry.d.ts +0 -6
- package/dist/module/listmaster/service/list-master-registry.js +0 -26
- package/dist/module/listmaster/service/list-master-registry.js.map +0 -1
- package/dist/module/listmaster/service/list-master.service.d.ts +0 -40
- package/dist/module/listmaster/service/list-master.service.js +0 -323
- package/dist/module/listmaster/service/list-master.service.js.map +0 -1
- package/dist/module/mapper/controller/field-mapper.controller.d.ts +0 -11
- package/dist/module/mapper/controller/field-mapper.controller.js +0 -94
- package/dist/module/mapper/controller/field-mapper.controller.js.map +0 -1
- package/dist/module/mapper/controller/mapper.controller.d.ts +0 -14
- package/dist/module/mapper/controller/mapper.controller.js +0 -45
- package/dist/module/mapper/controller/mapper.controller.js.map +0 -1
- package/dist/module/mapper/dto/field-mapper.dto.d.ts +0 -12
- package/dist/module/mapper/dto/field-mapper.dto.js +0 -8
- package/dist/module/mapper/dto/field-mapper.dto.js.map +0 -1
- package/dist/module/mapper/entity/field-lovs.entity.d.ts +0 -7
- package/dist/module/mapper/entity/field-lovs.entity.js +0 -38
- package/dist/module/mapper/entity/field-lovs.entity.js.map +0 -1
- package/dist/module/mapper/entity/field-mapper.entity.d.ts +0 -13
- package/dist/module/mapper/entity/field-mapper.entity.js +0 -78
- package/dist/module/mapper/entity/field-mapper.entity.js.map +0 -1
- package/dist/module/mapper/entity/mapper.entity.d.ts +0 -6
- package/dist/module/mapper/entity/mapper.entity.js +0 -34
- package/dist/module/mapper/entity/mapper.entity.js.map +0 -1
- package/dist/module/mapper/mapper.module.d.ts +0 -2
- package/dist/module/mapper/mapper.module.js +0 -48
- package/dist/module/mapper/mapper.module.js.map +0 -1
- package/dist/module/mapper/repository/field-lovs.repository.d.ts +0 -11
- package/dist/module/mapper/repository/field-lovs.repository.js +0 -52
- package/dist/module/mapper/repository/field-lovs.repository.js.map +0 -1
- package/dist/module/mapper/repository/field-mapper.repository.d.ts +0 -11
- package/dist/module/mapper/repository/field-mapper.repository.js +0 -54
- package/dist/module/mapper/repository/field-mapper.repository.js.map +0 -1
- package/dist/module/mapper/repository/mapper.repository.d.ts +0 -7
- package/dist/module/mapper/repository/mapper.repository.js +0 -46
- package/dist/module/mapper/repository/mapper.repository.js.map +0 -1
- package/dist/module/mapper/service/field-mapper.service.d.ts +0 -22
- package/dist/module/mapper/service/field-mapper.service.js +0 -200
- package/dist/module/mapper/service/field-mapper.service.js.map +0 -1
- package/dist/module/mapper/service/mapper.service.d.ts +0 -24
- package/dist/module/mapper/service/mapper.service.js +0 -84
- package/dist/module/mapper/service/mapper.service.js.map +0 -1
- package/dist/module/master/controller/master.controller.d.ts +0 -20
- package/dist/module/master/controller/master.controller.js +0 -82
- package/dist/module/master/controller/master.controller.js.map +0 -1
- package/dist/module/master/service/master.service.d.ts +0 -30
- package/dist/module/master/service/master.service.js +0 -364
- package/dist/module/master/service/master.service.js.map +0 -1
- package/dist/module/meta/controller/attribute-master.controller.d.ts +0 -29
- package/dist/module/meta/controller/attribute-master.controller.js +0 -93
- package/dist/module/meta/controller/attribute-master.controller.js.map +0 -1
- package/dist/module/meta/controller/entity-dynamic.controller.d.ts +0 -21
- package/dist/module/meta/controller/entity-dynamic.controller.js +0 -115
- package/dist/module/meta/controller/entity-dynamic.controller.js.map +0 -1
- package/dist/module/meta/controller/entity-master.controller.d.ts +0 -14
- package/dist/module/meta/controller/entity-master.controller.js +0 -57
- package/dist/module/meta/controller/entity-master.controller.js.map +0 -1
- package/dist/module/meta/controller/entity-relation.controller.d.ts +0 -6
- package/dist/module/meta/controller/entity-relation.controller.js +0 -45
- package/dist/module/meta/controller/entity-relation.controller.js.map +0 -1
- package/dist/module/meta/controller/entity.controller.d.ts +0 -33
- package/dist/module/meta/controller/entity.controller.js +0 -185
- package/dist/module/meta/controller/entity.controller.js.map +0 -1
- package/dist/module/meta/controller/entity.public.controller.d.ts +0 -12
- package/dist/module/meta/controller/entity.public.controller.js +0 -75
- package/dist/module/meta/controller/entity.public.controller.js.map +0 -1
- package/dist/module/meta/controller/media.controller.d.ts +0 -30
- package/dist/module/meta/controller/media.controller.js +0 -119
- package/dist/module/meta/controller/media.controller.js.map +0 -1
- package/dist/module/meta/controller/meta.controller.d.ts +0 -30
- package/dist/module/meta/controller/meta.controller.js +0 -99
- package/dist/module/meta/controller/meta.controller.js.map +0 -1
- package/dist/module/meta/controller/view-master.controller.d.ts +0 -12
- package/dist/module/meta/controller/view-master.controller.js +0 -90
- package/dist/module/meta/controller/view-master.controller.js.map +0 -1
- package/dist/module/meta/dto/entity-list-data.dto.d.ts +0 -5
- package/dist/module/meta/dto/entity-list-data.dto.js +0 -7
- package/dist/module/meta/dto/entity-list-data.dto.js.map +0 -1
- package/dist/module/meta/dto/entity-tab.dto.d.ts +0 -4
- package/dist/module/meta/dto/entity-tab.dto.js +0 -7
- package/dist/module/meta/dto/entity-tab.dto.js.map +0 -1
- package/dist/module/meta/dto/entity-table.dto.d.ts +0 -9
- package/dist/module/meta/dto/entity-table.dto.js +0 -8
- package/dist/module/meta/dto/entity-table.dto.js.map +0 -1
- package/dist/module/meta/entity/attribute-master.entity.d.ts +0 -23
- package/dist/module/meta/entity/attribute-master.entity.js +0 -128
- package/dist/module/meta/entity/attribute-master.entity.js.map +0 -1
- package/dist/module/meta/entity/base-entity.entity.d.ts +0 -19
- package/dist/module/meta/entity/base-entity.entity.js +0 -104
- package/dist/module/meta/entity/base-entity.entity.js.map +0 -1
- package/dist/module/meta/entity/entity-master.entity.d.ts +0 -20
- package/dist/module/meta/entity/entity-master.entity.js +0 -117
- package/dist/module/meta/entity/entity-master.entity.js.map +0 -1
- package/dist/module/meta/entity/entity-relation-data.entity.d.ts +0 -10
- package/dist/module/meta/entity/entity-relation-data.entity.js +0 -51
- package/dist/module/meta/entity/entity-relation-data.entity.js.map +0 -1
- package/dist/module/meta/entity/entity-relation.entity.d.ts +0 -8
- package/dist/module/meta/entity/entity-relation.entity.js +0 -43
- package/dist/module/meta/entity/entity-relation.entity.js.map +0 -1
- package/dist/module/meta/entity/entity-table-column.entity.d.ts +0 -19
- package/dist/module/meta/entity/entity-table-column.entity.js +0 -92
- package/dist/module/meta/entity/entity-table-column.entity.js.map +0 -1
- package/dist/module/meta/entity/entity-table.entity.d.ts +0 -17
- package/dist/module/meta/entity/entity-table.entity.js +0 -79
- package/dist/module/meta/entity/entity-table.entity.js.map +0 -1
- package/dist/module/meta/entity/media-data.entity.d.ts +0 -11
- package/dist/module/meta/entity/media-data.entity.js +0 -55
- package/dist/module/meta/entity/media-data.entity.js.map +0 -1
- package/dist/module/meta/entity/preference.entity.d.ts +0 -11
- package/dist/module/meta/entity/preference.entity.js +0 -85
- package/dist/module/meta/entity/preference.entity.js.map +0 -1
- package/dist/module/meta/entity/view-master.entity.d.ts +0 -14
- package/dist/module/meta/entity/view-master.entity.js +0 -67
- package/dist/module/meta/entity/view-master.entity.js.map +0 -1
- package/dist/module/meta/entity.module.d.ts +0 -2
- package/dist/module/meta/entity.module.js +0 -150
- package/dist/module/meta/entity.module.js.map +0 -1
- package/dist/module/meta/repository/attribute-master.repository.d.ts +0 -30
- package/dist/module/meta/repository/attribute-master.repository.js +0 -136
- package/dist/module/meta/repository/attribute-master.repository.js.map +0 -1
- package/dist/module/meta/repository/entity-attribute-update.repository.d.ts +0 -8
- package/dist/module/meta/repository/entity-attribute-update.repository.js +0 -50
- package/dist/module/meta/repository/entity-attribute-update.repository.js.map +0 -1
- package/dist/module/meta/repository/entity-master.repository.d.ts +0 -33
- package/dist/module/meta/repository/entity-master.repository.js +0 -121
- package/dist/module/meta/repository/entity-master.repository.js.map +0 -1
- package/dist/module/meta/repository/entity-relation.repository.d.ts +0 -7
- package/dist/module/meta/repository/entity-relation.repository.js +0 -39
- package/dist/module/meta/repository/entity-relation.repository.js.map +0 -1
- package/dist/module/meta/repository/entity-table-column.repository.d.ts +0 -7
- package/dist/module/meta/repository/entity-table-column.repository.js +0 -52
- package/dist/module/meta/repository/entity-table-column.repository.js.map +0 -1
- package/dist/module/meta/repository/entity-table.repository.d.ts +0 -9
- package/dist/module/meta/repository/entity-table.repository.js +0 -59
- package/dist/module/meta/repository/entity-table.repository.js.map +0 -1
- package/dist/module/meta/repository/media-data.repository.d.ts +0 -9
- package/dist/module/meta/repository/media-data.repository.js +0 -55
- package/dist/module/meta/repository/media-data.repository.js.map +0 -1
- package/dist/module/meta/repository/preference.repository.d.ts +0 -7
- package/dist/module/meta/repository/preference.repository.js +0 -36
- package/dist/module/meta/repository/preference.repository.js.map +0 -1
- package/dist/module/meta/repository/user-app-mapping.repository.d.ts +0 -0
- package/dist/module/meta/repository/user-app-mapping.repository.js +0 -1
- package/dist/module/meta/repository/user-app-mapping.repository.js.map +0 -1
- package/dist/module/meta/repository/view-master.repository.d.ts +0 -11
- package/dist/module/meta/repository/view-master.repository.js +0 -52
- package/dist/module/meta/repository/view-master.repository.js.map +0 -1
- package/dist/module/meta/service/attribute-master.service.d.ts +0 -21
- package/dist/module/meta/service/attribute-master.service.js +0 -81
- package/dist/module/meta/service/attribute-master.service.js.map +0 -1
- package/dist/module/meta/service/common.service.d.ts +0 -4
- package/dist/module/meta/service/common.service.js +0 -25
- package/dist/module/meta/service/common.service.js.map +0 -1
- package/dist/module/meta/service/entity-attribute-update.service.d.ts +0 -7
- package/dist/module/meta/service/entity-attribute-update.service.js +0 -34
- package/dist/module/meta/service/entity-attribute-update.service.js.map +0 -1
- package/dist/module/meta/service/entity-dynamic.service.d.ts +0 -32
- package/dist/module/meta/service/entity-dynamic.service.js +0 -496
- package/dist/module/meta/service/entity-dynamic.service.js.map +0 -1
- package/dist/module/meta/service/entity-master.service.d.ts +0 -38
- package/dist/module/meta/service/entity-master.service.js +0 -119
- package/dist/module/meta/service/entity-master.service.js.map +0 -1
- package/dist/module/meta/service/entity-realation-data.service.d.ts +0 -4
- package/dist/module/meta/service/entity-realation-data.service.js +0 -25
- package/dist/module/meta/service/entity-realation-data.service.js.map +0 -1
- package/dist/module/meta/service/entity-relation.service.d.ts +0 -11
- package/dist/module/meta/service/entity-relation.service.js +0 -71
- package/dist/module/meta/service/entity-relation.service.js.map +0 -1
- package/dist/module/meta/service/entity-service-impl.service.d.ts +0 -35
- package/dist/module/meta/service/entity-service-impl.service.js +0 -233
- package/dist/module/meta/service/entity-service-impl.service.js.map +0 -1
- package/dist/module/meta/service/entity-table-column.service.d.ts +0 -6
- package/dist/module/meta/service/entity-table-column.service.js +0 -29
- package/dist/module/meta/service/entity-table-column.service.js.map +0 -1
- package/dist/module/meta/service/entity-table.service.d.ts +0 -17
- package/dist/module/meta/service/entity-table.service.js +0 -88
- package/dist/module/meta/service/entity-table.service.js.map +0 -1
- package/dist/module/meta/service/entity-validation.service.d.ts +0 -22
- package/dist/module/meta/service/entity-validation.service.js +0 -118
- package/dist/module/meta/service/entity-validation.service.js.map +0 -1
- package/dist/module/meta/service/entity.service.d.ts +0 -12
- package/dist/module/meta/service/entity.service.js +0 -3
- package/dist/module/meta/service/entity.service.js.map +0 -1
- package/dist/module/meta/service/field-group.service.d.ts +0 -26
- package/dist/module/meta/service/field-group.service.js +0 -76
- package/dist/module/meta/service/field-group.service.js.map +0 -1
- package/dist/module/meta/service/media-data.service.d.ts +0 -43
- package/dist/module/meta/service/media-data.service.js +0 -372
- package/dist/module/meta/service/media-data.service.js.map +0 -1
- package/dist/module/meta/service/preference.service.d.ts +0 -7
- package/dist/module/meta/service/preference.service.js +0 -31
- package/dist/module/meta/service/preference.service.js.map +0 -1
- package/dist/module/meta/service/resolver.service.d.ts +0 -21
- package/dist/module/meta/service/resolver.service.js +0 -215
- package/dist/module/meta/service/resolver.service.js.map +0 -1
- package/dist/module/meta/service/section-master.service.d.ts +0 -26
- package/dist/module/meta/service/section-master.service.js +0 -77
- package/dist/module/meta/service/section-master.service.js.map +0 -1
- package/dist/module/meta/service/update-form-json.service.d.ts +0 -9
- package/dist/module/meta/service/update-form-json.service.js +0 -39
- package/dist/module/meta/service/update-form-json.service.js.map +0 -1
- package/dist/module/meta/service/user-app-mapping.service.d.ts +0 -0
- package/dist/module/meta/service/user-app-mapping.service.js +0 -1
- package/dist/module/meta/service/user-app-mapping.service.js.map +0 -1
- package/dist/module/meta/service/view-master.service.d.ts +0 -29
- package/dist/module/meta/service/view-master.service.js +0 -82
- package/dist/module/meta/service/view-master.service.js.map +0 -1
- package/dist/module/microservice-client/microservice-clients.module.d.ts +0 -2
- package/dist/module/microservice-client/microservice-clients.module.js +0 -27
- package/dist/module/microservice-client/microservice-clients.module.js.map +0 -1
- package/dist/module/microservice-client/service/microservice-client-factory.d.ts +0 -10
- package/dist/module/microservice-client/service/microservice-client-factory.js +0 -46
- package/dist/module/microservice-client/service/microservice-client-factory.js.map +0 -1
- package/dist/module/microservice-client/service/microservice-clients.d.ts +0 -4
- package/dist/module/microservice-client/service/microservice-clients.js +0 -3
- package/dist/module/microservice-client/service/microservice-clients.js.map +0 -1
- package/dist/module/module/controller/menu.controller.d.ts +0 -8
- package/dist/module/module/controller/menu.controller.js +0 -41
- package/dist/module/module/controller/menu.controller.js.map +0 -1
- package/dist/module/module/controller/module-access.controller.d.ts +0 -34
- package/dist/module/module/controller/module-access.controller.js +0 -153
- package/dist/module/module/controller/module-access.controller.js.map +0 -1
- package/dist/module/module/entity/menu.entity.d.ts +0 -18
- package/dist/module/module/entity/menu.entity.js +0 -81
- package/dist/module/module/entity/menu.entity.js.map +0 -1
- package/dist/module/module/entity/module-access.entity.d.ts +0 -23
- package/dist/module/module/entity/module-access.entity.js +0 -94
- package/dist/module/module/entity/module-access.entity.js.map +0 -1
- package/dist/module/module/entity/module-action.entity.d.ts +0 -8
- package/dist/module/module/entity/module-action.entity.js +0 -42
- package/dist/module/module/entity/module-action.entity.js.map +0 -1
- package/dist/module/module/entity/module.entity.d.ts +0 -16
- package/dist/module/module/entity/module.entity.js +0 -74
- package/dist/module/module/entity/module.entity.js.map +0 -1
- package/dist/module/module/module.module.d.ts +0 -2
- package/dist/module/module/module.module.js +0 -53
- package/dist/module/module/module.module.js.map +0 -1
- package/dist/module/module/repository/menu.repository.d.ts +0 -15
- package/dist/module/module/repository/menu.repository.js +0 -174
- package/dist/module/module/repository/menu.repository.js.map +0 -1
- package/dist/module/module/repository/module-access.repository.d.ts +0 -52
- package/dist/module/module/repository/module-access.repository.js +0 -333
- package/dist/module/module/repository/module-access.repository.js.map +0 -1
- package/dist/module/module/service/menu.service.d.ts +0 -10
- package/dist/module/module/service/menu.service.js +0 -56
- package/dist/module/module/service/menu.service.js.map +0 -1
- package/dist/module/module/service/module-access.service.d.ts +0 -60
- package/dist/module/module/service/module-access.service.js +0 -111
- package/dist/module/module/service/module-access.service.js.map +0 -1
- package/dist/module/notification/controller/notification.controller.d.ts +0 -23
- package/dist/module/notification/controller/notification.controller.js +0 -74
- package/dist/module/notification/controller/notification.controller.js.map +0 -1
- package/dist/module/notification/controller/otp.controller.d.ts +0 -35
- package/dist/module/notification/controller/otp.controller.js +0 -103
- package/dist/module/notification/controller/otp.controller.js.map +0 -1
- package/dist/module/notification/entity/notification.entity.d.ts +0 -25
- package/dist/module/notification/entity/notification.entity.js +0 -115
- package/dist/module/notification/entity/notification.entity.js.map +0 -1
- package/dist/module/notification/entity/otp.entity.d.ts +0 -10
- package/dist/module/notification/entity/otp.entity.js +0 -52
- package/dist/module/notification/entity/otp.entity.js.map +0 -1
- package/dist/module/notification/firebase-admin.config.d.ts +0 -7
- package/dist/module/notification/firebase-admin.config.js +0 -24
- package/dist/module/notification/firebase-admin.config.js.map +0 -1
- package/dist/module/notification/notification.module.d.ts +0 -2
- package/dist/module/notification/notification.module.js +0 -81
- package/dist/module/notification/notification.module.js.map +0 -1
- package/dist/module/notification/repository/otp.repository.d.ts +0 -9
- package/dist/module/notification/repository/otp.repository.js +0 -44
- package/dist/module/notification/repository/otp.repository.js.map +0 -1
- package/dist/module/notification/service/email.service.d.ts +0 -15
- package/dist/module/notification/service/email.service.js +0 -124
- package/dist/module/notification/service/email.service.js.map +0 -1
- package/dist/module/notification/service/notification.service.d.ts +0 -27
- package/dist/module/notification/service/notification.service.js +0 -127
- package/dist/module/notification/service/notification.service.js.map +0 -1
- package/dist/module/notification/service/otp.service.d.ts +0 -31
- package/dist/module/notification/service/otp.service.js +0 -111
- package/dist/module/notification/service/otp.service.js.map +0 -1
- package/dist/module/preference_master/entity/preference.entity.d.ts +0 -9
- package/dist/module/preference_master/entity/preference.entity.js +0 -48
- package/dist/module/preference_master/entity/preference.entity.js.map +0 -1
- package/dist/module/preference_master/preference.service.d.ts +0 -8
- package/dist/module/preference_master/preference.service.js +0 -31
- package/dist/module/preference_master/preference.service.js.map +0 -1
- package/dist/module/preference_master/repo/preference.repository.d.ts +0 -8
- package/dist/module/preference_master/repo/preference.repository.js +0 -48
- package/dist/module/preference_master/repo/preference.repository.js.map +0 -1
- package/dist/module/third-party-module/entity/third-party-api-registry.entity.d.ts +0 -18
- package/dist/module/third-party-module/entity/third-party-api-registry.entity.js +0 -84
- package/dist/module/third-party-module/entity/third-party-api-registry.entity.js.map +0 -1
- package/dist/module/third-party-module/repository/third-party-api-registry.repository.d.ts +0 -7
- package/dist/module/third-party-module/repository/third-party-api-registry.repository.js +0 -38
- package/dist/module/third-party-module/repository/third-party-api-registry.repository.js.map +0 -1
- package/dist/module/third-party-module/service/api-registry.service.d.ts +0 -6
- package/dist/module/third-party-module/service/api-registry.service.js +0 -28
- package/dist/module/third-party-module/service/api-registry.service.js.map +0 -1
- package/dist/module/third-party-module/third-party.module.d.ts +0 -2
- package/dist/module/third-party-module/third-party.module.js +0 -25
- package/dist/module/third-party-module/third-party.module.js.map +0 -1
- package/dist/module/user/controller/login.controller.d.ts +0 -24
- package/dist/module/user/controller/login.controller.js +0 -173
- package/dist/module/user/controller/login.controller.js.map +0 -1
- package/dist/module/user/controller/user.controller.d.ts +0 -7
- package/dist/module/user/controller/user.controller.js +0 -46
- package/dist/module/user/controller/user.controller.js.map +0 -1
- package/dist/module/user/dto/create-user.dto.d.ts +0 -20
- package/dist/module/user/dto/create-user.dto.js +0 -70
- package/dist/module/user/dto/create-user.dto.js.map +0 -1
- package/dist/module/user/dto/update-user.dto.d.ts +0 -5
- package/dist/module/user/dto/update-user.dto.js +0 -9
- package/dist/module/user/dto/update-user.dto.js.map +0 -1
- package/dist/module/user/entity/role.entity.d.ts +0 -23
- package/dist/module/user/entity/role.entity.js +0 -101
- package/dist/module/user/entity/role.entity.js.map +0 -1
- package/dist/module/user/entity/user-role-mapping.entity.d.ts +0 -22
- package/dist/module/user/entity/user-role-mapping.entity.js +0 -95
- package/dist/module/user/entity/user-role-mapping.entity.js.map +0 -1
- package/dist/module/user/entity/user-session.entity.d.ts +0 -13
- package/dist/module/user/entity/user-session.entity.js +0 -84
- package/dist/module/user/entity/user-session.entity.js.map +0 -1
- package/dist/module/user/entity/user.entity.d.ts +0 -33
- package/dist/module/user/entity/user.entity.js +0 -141
- package/dist/module/user/entity/user.entity.js.map +0 -1
- package/dist/module/user/repository/role.repository.d.ts +0 -23
- package/dist/module/user/repository/role.repository.js +0 -102
- package/dist/module/user/repository/role.repository.js.map +0 -1
- package/dist/module/user/repository/user-role-mapping.repository.d.ts +0 -20
- package/dist/module/user/repository/user-role-mapping.repository.js +0 -113
- package/dist/module/user/repository/user-role-mapping.repository.js.map +0 -1
- package/dist/module/user/repository/user.repository.d.ts +0 -13
- package/dist/module/user/repository/user.repository.js +0 -77
- package/dist/module/user/repository/user.repository.js.map +0 -1
- package/dist/module/user/repository/userSession.repository.d.ts +0 -11
- package/dist/module/user/repository/userSession.repository.js +0 -48
- package/dist/module/user/repository/userSession.repository.js.map +0 -1
- package/dist/module/user/service/login.service.d.ts +0 -39
- package/dist/module/user/service/login.service.js +0 -243
- package/dist/module/user/service/login.service.js.map +0 -1
- package/dist/module/user/service/role.service.d.ts +0 -38
- package/dist/module/user/service/role.service.js +0 -168
- package/dist/module/user/service/role.service.js.map +0 -1
- package/dist/module/user/service/user-role-mapping.service.d.ts +0 -14
- package/dist/module/user/service/user-role-mapping.service.js +0 -66
- package/dist/module/user/service/user-role-mapping.service.js.map +0 -1
- package/dist/module/user/service/user-session.service.d.ts +0 -30
- package/dist/module/user/service/user-session.service.js +0 -159
- package/dist/module/user/service/user-session.service.js.map +0 -1
- package/dist/module/user/service/user.service.d.ts +0 -49
- package/dist/module/user/service/user.service.js +0 -251
- package/dist/module/user/service/user.service.js.map +0 -1
- package/dist/module/user/user.module.d.ts +0 -2
- package/dist/module/user/user.module.js +0 -73
- package/dist/module/user/user.module.js.map +0 -1
- package/dist/module/workflow/controller/action-category.controller.d.ts +0 -18
- package/dist/module/workflow/controller/action-category.controller.js +0 -79
- package/dist/module/workflow/controller/action-category.controller.js.map +0 -1
- package/dist/module/workflow/controller/action-resource-mapping.controller.d.ts +0 -5
- package/dist/module/workflow/controller/action-resource-mapping.controller.js +0 -31
- package/dist/module/workflow/controller/action-resource-mapping.controller.js.map +0 -1
- package/dist/module/workflow/controller/action-template-mapping.controller.d.ts +0 -12
- package/dist/module/workflow/controller/action-template-mapping.controller.js +0 -44
- package/dist/module/workflow/controller/action-template-mapping.controller.js.map +0 -1
- package/dist/module/workflow/controller/action.controller.d.ts +0 -54
- package/dist/module/workflow/controller/action.controller.js +0 -122
- package/dist/module/workflow/controller/action.controller.js.map +0 -1
- package/dist/module/workflow/controller/activity-log.controller.d.ts +0 -42
- package/dist/module/workflow/controller/activity-log.controller.js +0 -62
- package/dist/module/workflow/controller/activity-log.controller.js.map +0 -1
- package/dist/module/workflow/controller/comm-template.controller.d.ts +0 -19
- package/dist/module/workflow/controller/comm-template.controller.js +0 -58
- package/dist/module/workflow/controller/comm-template.controller.js.map +0 -1
- package/dist/module/workflow/controller/entity-modification.controller.d.ts +0 -8
- package/dist/module/workflow/controller/entity-modification.controller.js +0 -44
- package/dist/module/workflow/controller/entity-modification.controller.js.map +0 -1
- package/dist/module/workflow/controller/form-master.controller.d.ts +0 -14
- package/dist/module/workflow/controller/form-master.controller.js +0 -59
- package/dist/module/workflow/controller/form-master.controller.js.map +0 -1
- package/dist/module/workflow/controller/stage-group.controller.d.ts +0 -19
- package/dist/module/workflow/controller/stage-group.controller.js +0 -57
- package/dist/module/workflow/controller/stage-group.controller.js.map +0 -1
- package/dist/module/workflow/controller/stage.controller.d.ts +0 -16
- package/dist/module/workflow/controller/stage.controller.js +0 -58
- package/dist/module/workflow/controller/stage.controller.js.map +0 -1
- package/dist/module/workflow/controller/task.controller.d.ts +0 -32
- package/dist/module/workflow/controller/task.controller.js +0 -72
- package/dist/module/workflow/controller/task.controller.js.map +0 -1
- package/dist/module/workflow/controller/workflow-list-master.controller.d.ts +0 -14
- package/dist/module/workflow/controller/workflow-list-master.controller.js +0 -67
- package/dist/module/workflow/controller/workflow-list-master.controller.js.map +0 -1
- package/dist/module/workflow/controller/workflow-meta.controller.d.ts +0 -15
- package/dist/module/workflow/controller/workflow-meta.controller.js +0 -72
- package/dist/module/workflow/controller/workflow-meta.controller.js.map +0 -1
- package/dist/module/workflow/controller/workflow.controller.d.ts +0 -31
- package/dist/module/workflow/controller/workflow.controller.js +0 -83
- package/dist/module/workflow/controller/workflow.controller.js.map +0 -1
- package/dist/module/workflow/entity/action-category.entity.d.ts +0 -13
- package/dist/module/workflow/entity/action-category.entity.js +0 -63
- package/dist/module/workflow/entity/action-category.entity.js.map +0 -1
- package/dist/module/workflow/entity/action-data.entity.d.ts +0 -19
- package/dist/module/workflow/entity/action-data.entity.js +0 -86
- package/dist/module/workflow/entity/action-data.entity.js.map +0 -1
- package/dist/module/workflow/entity/action-resources-mapping.entity.d.ts +0 -9
- package/dist/module/workflow/entity/action-resources-mapping.entity.js +0 -47
- package/dist/module/workflow/entity/action-resources-mapping.entity.js.map +0 -1
- package/dist/module/workflow/entity/action-template-mapping.entity.d.ts +0 -6
- package/dist/module/workflow/entity/action-template-mapping.entity.js +0 -35
- package/dist/module/workflow/entity/action-template-mapping.entity.js.map +0 -1
- package/dist/module/workflow/entity/action.entity.d.ts +0 -18
- package/dist/module/workflow/entity/action.entity.js +0 -83
- package/dist/module/workflow/entity/action.entity.js.map +0 -1
- package/dist/module/workflow/entity/activity-log.entity.d.ts +0 -15
- package/dist/module/workflow/entity/activity-log.entity.js +0 -70
- package/dist/module/workflow/entity/activity-log.entity.js.map +0 -1
- package/dist/module/workflow/entity/comm-template.entity.d.ts +0 -14
- package/dist/module/workflow/entity/comm-template.entity.js +0 -67
- package/dist/module/workflow/entity/comm-template.entity.js.map +0 -1
- package/dist/module/workflow/entity/entity-modification.entity.d.ts +0 -13
- package/dist/module/workflow/entity/entity-modification.entity.js +0 -63
- package/dist/module/workflow/entity/entity-modification.entity.js.map +0 -1
- package/dist/module/workflow/entity/form.entity.d.ts +0 -9
- package/dist/module/workflow/entity/form.entity.js +0 -46
- package/dist/module/workflow/entity/form.entity.js.map +0 -1
- package/dist/module/workflow/entity/stage-action-mapping.entity.d.ts +0 -6
- package/dist/module/workflow/entity/stage-action-mapping.entity.js +0 -35
- package/dist/module/workflow/entity/stage-action-mapping.entity.js.map +0 -1
- package/dist/module/workflow/entity/stage-group.entity.d.ts +0 -8
- package/dist/module/workflow/entity/stage-group.entity.js +0 -43
- package/dist/module/workflow/entity/stage-group.entity.js.map +0 -1
- package/dist/module/workflow/entity/stage-movement-data.entity.d.ts +0 -13
- package/dist/module/workflow/entity/stage-movement-data.entity.js +0 -63
- package/dist/module/workflow/entity/stage-movement-data.entity.js.map +0 -1
- package/dist/module/workflow/entity/stage.entity.d.ts +0 -7
- package/dist/module/workflow/entity/stage.entity.js +0 -39
- package/dist/module/workflow/entity/stage.entity.js.map +0 -1
- package/dist/module/workflow/entity/task-data.entity.d.ts +0 -30
- package/dist/module/workflow/entity/task-data.entity.js +0 -130
- package/dist/module/workflow/entity/task-data.entity.js.map +0 -1
- package/dist/module/workflow/entity/template-attach-mapper.entity.d.ts +0 -11
- package/dist/module/workflow/entity/template-attach-mapper.entity.js +0 -54
- package/dist/module/workflow/entity/template-attach-mapper.entity.js.map +0 -1
- package/dist/module/workflow/entity/workflow-data.entity.d.ts +0 -4
- package/dist/module/workflow/entity/workflow-data.entity.js +0 -27
- package/dist/module/workflow/entity/workflow-data.entity.js.map +0 -1
- package/dist/module/workflow/entity/workflow-level-mapping.entity.d.ts +0 -7
- package/dist/module/workflow/entity/workflow-level-mapping.entity.js +0 -38
- package/dist/module/workflow/entity/workflow-level-mapping.entity.js.map +0 -1
- package/dist/module/workflow/entity/workflow.entity.d.ts +0 -7
- package/dist/module/workflow/entity/workflow.entity.js +0 -39
- package/dist/module/workflow/entity/workflow.entity.js.map +0 -1
- package/dist/module/workflow/repository/action-category.repository.d.ts +0 -19
- package/dist/module/workflow/repository/action-category.repository.js +0 -84
- package/dist/module/workflow/repository/action-category.repository.js.map +0 -1
- package/dist/module/workflow/repository/action-data.repository.d.ts +0 -22
- package/dist/module/workflow/repository/action-data.repository.js +0 -252
- package/dist/module/workflow/repository/action-data.repository.js.map +0 -1
- package/dist/module/workflow/repository/action.repository.d.ts +0 -31
- package/dist/module/workflow/repository/action.repository.js +0 -258
- package/dist/module/workflow/repository/action.repository.js.map +0 -1
- package/dist/module/workflow/repository/activity-log.repository.d.ts +0 -57
- package/dist/module/workflow/repository/activity-log.repository.js +0 -129
- package/dist/module/workflow/repository/activity-log.repository.js.map +0 -1
- package/dist/module/workflow/repository/comm-template.repository.d.ts +0 -17
- package/dist/module/workflow/repository/comm-template.repository.js +0 -126
- package/dist/module/workflow/repository/comm-template.repository.js.map +0 -1
- package/dist/module/workflow/repository/form-master.repository.d.ts +0 -11
- package/dist/module/workflow/repository/form-master.repository.js +0 -41
- package/dist/module/workflow/repository/form-master.repository.js.map +0 -1
- package/dist/module/workflow/repository/form.repository.d.ts +0 -0
- package/dist/module/workflow/repository/form.repository.js +0 -1
- package/dist/module/workflow/repository/form.repository.js.map +0 -1
- package/dist/module/workflow/repository/stage-group.repository.d.ts +0 -37
- package/dist/module/workflow/repository/stage-group.repository.js +0 -145
- package/dist/module/workflow/repository/stage-group.repository.js.map +0 -1
- package/dist/module/workflow/repository/stage-movement.repository.d.ts +0 -28
- package/dist/module/workflow/repository/stage-movement.repository.js +0 -180
- package/dist/module/workflow/repository/stage-movement.repository.js.map +0 -1
- package/dist/module/workflow/repository/stage.repository.d.ts +0 -31
- package/dist/module/workflow/repository/stage.repository.js +0 -117
- package/dist/module/workflow/repository/stage.repository.js.map +0 -1
- package/dist/module/workflow/repository/task.repository.d.ts +0 -18
- package/dist/module/workflow/repository/task.repository.js +0 -134
- package/dist/module/workflow/repository/task.repository.js.map +0 -1
- package/dist/module/workflow/repository/workflow.repository.d.ts +0 -10
- package/dist/module/workflow/repository/workflow.repository.js +0 -49
- package/dist/module/workflow/repository/workflow.repository.js.map +0 -1
- package/dist/module/workflow/service/action-category.service.d.ts +0 -21
- package/dist/module/workflow/service/action-category.service.js +0 -42
- package/dist/module/workflow/service/action-category.service.js.map +0 -1
- package/dist/module/workflow/service/action-data.service.d.ts +0 -16
- package/dist/module/workflow/service/action-data.service.js +0 -39
- package/dist/module/workflow/service/action-data.service.js.map +0 -1
- package/dist/module/workflow/service/action-resources-mapping.service.d.ts +0 -6
- package/dist/module/workflow/service/action-resources-mapping.service.js +0 -27
- package/dist/module/workflow/service/action-resources-mapping.service.js.map +0 -1
- package/dist/module/workflow/service/action-template-mapping.service.d.ts +0 -10
- package/dist/module/workflow/service/action-template-mapping.service.js +0 -133
- package/dist/module/workflow/service/action-template-mapping.service.js.map +0 -1
- package/dist/module/workflow/service/action.service.d.ts +0 -44
- package/dist/module/workflow/service/action.service.js +0 -211
- package/dist/module/workflow/service/action.service.js.map +0 -1
- package/dist/module/workflow/service/activity-log.service.d.ts +0 -42
- package/dist/module/workflow/service/activity-log.service.js +0 -92
- package/dist/module/workflow/service/activity-log.service.js.map +0 -1
- package/dist/module/workflow/service/comm-template.service.d.ts +0 -24
- package/dist/module/workflow/service/comm-template.service.js +0 -132
- package/dist/module/workflow/service/comm-template.service.js.map +0 -1
- package/dist/module/workflow/service/entity-modification.service.d.ts +0 -8
- package/dist/module/workflow/service/entity-modification.service.js +0 -47
- package/dist/module/workflow/service/entity-modification.service.js.map +0 -1
- package/dist/module/workflow/service/form-master.service.d.ts +0 -17
- package/dist/module/workflow/service/form-master.service.js +0 -38
- package/dist/module/workflow/service/form-master.service.js.map +0 -1
- package/dist/module/workflow/service/populate-workflow.service.d.ts +0 -21
- package/dist/module/workflow/service/populate-workflow.service.js +0 -245
- package/dist/module/workflow/service/populate-workflow.service.js.map +0 -1
- package/dist/module/workflow/service/stage-action-mapping.service.d.ts +0 -3
- package/dist/module/workflow/service/stage-action-mapping.service.js +0 -18
- package/dist/module/workflow/service/stage-action-mapping.service.js.map +0 -1
- package/dist/module/workflow/service/stage-group.service.d.ts +0 -30
- package/dist/module/workflow/service/stage-group.service.js +0 -238
- package/dist/module/workflow/service/stage-group.service.js.map +0 -1
- package/dist/module/workflow/service/stage.service.d.ts +0 -21
- package/dist/module/workflow/service/stage.service.js +0 -136
- package/dist/module/workflow/service/stage.service.js.map +0 -1
- package/dist/module/workflow/service/task.service.d.ts +0 -46
- package/dist/module/workflow/service/task.service.js +0 -368
- package/dist/module/workflow/service/task.service.js.map +0 -1
- package/dist/module/workflow/service/workflow-list-master.service.d.ts +0 -7
- package/dist/module/workflow/service/workflow-list-master.service.js +0 -73
- package/dist/module/workflow/service/workflow-list-master.service.js.map +0 -1
- package/dist/module/workflow/service/workflow-meta.service.d.ts +0 -37
- package/dist/module/workflow/service/workflow-meta.service.js +0 -424
- package/dist/module/workflow/service/workflow-meta.service.js.map +0 -1
- package/dist/module/workflow/service/workflow.service.d.ts +0 -31
- package/dist/module/workflow/service/workflow.service.js +0 -153
- package/dist/module/workflow/service/workflow.service.js.map +0 -1
- package/dist/module/workflow/workflow.module.d.ts +0 -2
- package/dist/module/workflow/workflow.module.js +0 -194
- package/dist/module/workflow/workflow.module.js.map +0 -1
- package/dist/module/workflow-automation/controller/workflow-automation.controller.d.ts +0 -11
- package/dist/module/workflow-automation/controller/workflow-automation.controller.js +0 -47
- package/dist/module/workflow-automation/controller/workflow-automation.controller.js.map +0 -1
- package/dist/module/workflow-automation/entity/workflow-automation-action.entity.d.ts +0 -9
- package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js +0 -47
- package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js.map +0 -1
- package/dist/module/workflow-automation/entity/workflow-automation.entity.d.ts +0 -14
- package/dist/module/workflow-automation/entity/workflow-automation.entity.js +0 -67
- package/dist/module/workflow-automation/entity/workflow-automation.entity.js.map +0 -1
- package/dist/module/workflow-automation/interface/action.decorator.d.ts +0 -2
- package/dist/module/workflow-automation/interface/action.decorator.js +0 -8
- package/dist/module/workflow-automation/interface/action.decorator.js.map +0 -1
- package/dist/module/workflow-automation/interface/action.interface.d.ts +0 -4
- package/dist/module/workflow-automation/interface/action.interface.js +0 -3
- package/dist/module/workflow-automation/interface/action.interface.js.map +0 -1
- package/dist/module/workflow-automation/service/action-registery.service.d.ts +0 -11
- package/dist/module/workflow-automation/service/action-registery.service.js +0 -46
- package/dist/module/workflow-automation/service/action-registery.service.js.map +0 -1
- package/dist/module/workflow-automation/service/schedule-handler.service.d.ts +0 -22
- package/dist/module/workflow-automation/service/schedule-handler.service.js +0 -141
- package/dist/module/workflow-automation/service/schedule-handler.service.js.map +0 -1
- package/dist/module/workflow-automation/service/workflow-automation-engine.service.d.ts +0 -15
- package/dist/module/workflow-automation/service/workflow-automation-engine.service.js +0 -124
- package/dist/module/workflow-automation/service/workflow-automation-engine.service.js.map +0 -1
- package/dist/module/workflow-automation/service/workflow-automation.service.d.ts +0 -68
- package/dist/module/workflow-automation/service/workflow-automation.service.js +0 -339
- package/dist/module/workflow-automation/service/workflow-automation.service.js.map +0 -1
- package/dist/module/workflow-automation/workflow-automation.module.d.ts +0 -2
- package/dist/module/workflow-automation/workflow-automation.module.js +0 -68
- package/dist/module/workflow-automation/workflow-automation.module.js.map +0 -1
- package/dist/module/workflow-schedule/constants/schedule.constants.d.ts +0 -27
- package/dist/module/workflow-schedule/constants/schedule.constants.js +0 -31
- package/dist/module/workflow-schedule/constants/schedule.constants.js.map +0 -1
- package/dist/module/workflow-schedule/controller/workflow-schedule.controller.d.ts +0 -81
- package/dist/module/workflow-schedule/controller/workflow-schedule.controller.js +0 -218
- package/dist/module/workflow-schedule/controller/workflow-schedule.controller.js.map +0 -1
- package/dist/module/workflow-schedule/dto/create-schedule.dto.d.ts +0 -32
- package/dist/module/workflow-schedule/dto/create-schedule.dto.js +0 -163
- package/dist/module/workflow-schedule/dto/create-schedule.dto.js.map +0 -1
- package/dist/module/workflow-schedule/dto/get-execution-logs.dto.d.ts +0 -35
- package/dist/module/workflow-schedule/dto/get-execution-logs.dto.js +0 -124
- package/dist/module/workflow-schedule/dto/get-execution-logs.dto.js.map +0 -1
- package/dist/module/workflow-schedule/dto/update-schedule.dto.d.ts +0 -19
- package/dist/module/workflow-schedule/dto/update-schedule.dto.js +0 -106
- package/dist/module/workflow-schedule/dto/update-schedule.dto.js.map +0 -1
- package/dist/module/workflow-schedule/entities/scheduled-workflow.entity.d.ts +0 -30
- package/dist/module/workflow-schedule/entities/scheduled-workflow.entity.js +0 -113
- package/dist/module/workflow-schedule/entities/scheduled-workflow.entity.js.map +0 -1
- package/dist/module/workflow-schedule/entities/workflow-execution-log.entity.d.ts +0 -34
- package/dist/module/workflow-schedule/entities/workflow-execution-log.entity.js +0 -118
- package/dist/module/workflow-schedule/entities/workflow-execution-log.entity.js.map +0 -1
- package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.d.ts +0 -44
- package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.js +0 -3
- package/dist/module/workflow-schedule/interfaces/schedule-job-data.interface.js.map +0 -1
- package/dist/module/workflow-schedule/interfaces/workflow-schedule-options.interface.d.ts +0 -3
- package/dist/module/workflow-schedule/interfaces/workflow-schedule-options.interface.js +0 -3
- package/dist/module/workflow-schedule/interfaces/workflow-schedule-options.interface.js.map +0 -1
- package/dist/module/workflow-schedule/processors/schedule.processor.d.ts +0 -33
- package/dist/module/workflow-schedule/processors/schedule.processor.js +0 -422
- package/dist/module/workflow-schedule/processors/schedule.processor.js.map +0 -1
- package/dist/module/workflow-schedule/service/workflow-schedule.service.d.ts +0 -43
- package/dist/module/workflow-schedule/service/workflow-schedule.service.js +0 -432
- package/dist/module/workflow-schedule/service/workflow-schedule.service.js.map +0 -1
- package/dist/module/workflow-schedule/workflow-schedule.module.d.ts +0 -5
- package/dist/module/workflow-schedule/workflow-schedule.module.js +0 -52
- package/dist/module/workflow-schedule/workflow-schedule.module.js.map +0 -1
- package/dist/resources/properties.module.d.ts +0 -2
- package/dist/resources/properties.module.js +0 -25
- package/dist/resources/properties.module.js.map +0 -1
- package/dist/resources/properties.yaml.d.ts +0 -2
- package/dist/resources/properties.yaml.js +0 -10
- package/dist/resources/properties.yaml.js.map +0 -1
- package/dist/table.config.d.ts +0 -39
- package/dist/table.config.js +0 -136
- package/dist/table.config.js.map +0 -1
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/dist/utils/dto/excel-data.dto.d.ts +0 -7
- package/dist/utils/dto/excel-data.dto.js +0 -16
- package/dist/utils/dto/excel-data.dto.js.map +0 -1
- package/dist/utils/dto/excelsheet-data.dto.d.ts +0 -5
- package/dist/utils/dto/excelsheet-data.dto.js +0 -3
- package/dist/utils/dto/excelsheet-data.dto.js.map +0 -1
- package/dist/utils/service/base64util.service.d.ts +0 -4
- package/dist/utils/service/base64util.service.js +0 -21
- package/dist/utils/service/base64util.service.js.map +0 -1
- package/dist/utils/service/clockIDGenUtil.service.d.ts +0 -8
- package/dist/utils/service/clockIDGenUtil.service.js +0 -32
- package/dist/utils/service/clockIDGenUtil.service.js.map +0 -1
- package/dist/utils/service/codeGenerator.service.d.ts +0 -3
- package/dist/utils/service/codeGenerator.service.js +0 -19
- package/dist/utils/service/codeGenerator.service.js.map +0 -1
- package/dist/utils/service/dateUtil.service.d.ts +0 -3
- package/dist/utils/service/dateUtil.service.js +0 -28
- package/dist/utils/service/dateUtil.service.js.map +0 -1
- package/dist/utils/service/encryptUtil.service.d.ts +0 -9
- package/dist/utils/service/encryptUtil.service.js +0 -112
- package/dist/utils/service/encryptUtil.service.js.map +0 -1
- package/dist/utils/service/excel-helper.service.d.ts +0 -9
- package/dist/utils/service/excel-helper.service.js +0 -56
- package/dist/utils/service/excel-helper.service.js.map +0 -1
- package/dist/utils/service/excelUtil.service.d.ts +0 -3
- package/dist/utils/service/excelUtil.service.js +0 -17
- package/dist/utils/service/excelUtil.service.js.map +0 -1
- package/dist/utils/service/file-util.service.d.ts +0 -3
- package/dist/utils/service/file-util.service.js +0 -15
- package/dist/utils/service/file-util.service.js.map +0 -1
- package/dist/utils/service/json-util.service.d.ts +0 -3
- package/dist/utils/service/json-util.service.js +0 -24
- package/dist/utils/service/json-util.service.js.map +0 -1
- package/dist/utils/service/loggingUtil.service.d.ts +0 -11
- package/dist/utils/service/loggingUtil.service.js +0 -87
- package/dist/utils/service/loggingUtil.service.js.map +0 -1
- package/dist/utils/service/reflection-helper.service.d.ts +0 -10
- package/dist/utils/service/reflection-helper.service.js +0 -66
- package/dist/utils/service/reflection-helper.service.js.map +0 -1
- package/dist/utils/service/wbsCodeGen.service.d.ts +0 -3
- package/dist/utils/service/wbsCodeGen.service.js +0 -20
- package/dist/utils/service/wbsCodeGen.service.js.map +0 -1
- package/dist/utils/utils.module.d.ts +0 -2
- package/dist/utils/utils.module.js +0 -40
- package/dist/utils/utils.module.js.map +0 -1
|
@@ -1,432 +0,0 @@
|
|
|
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 WorkflowScheduleService_1;
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.WorkflowScheduleService = void 0;
|
|
17
|
-
const common_1 = require("@nestjs/common");
|
|
18
|
-
const typeorm_1 = require("@nestjs/typeorm");
|
|
19
|
-
const typeorm_2 = require("typeorm");
|
|
20
|
-
const bull_1 = require("@nestjs/bull");
|
|
21
|
-
const cronParser = require("cron-parser");
|
|
22
|
-
const scheduled_workflow_entity_1 = require("../entities/scheduled-workflow.entity");
|
|
23
|
-
const workflow_execution_log_entity_1 = require("../entities/workflow-execution-log.entity");
|
|
24
|
-
const schedule_constants_1 = require("../constants/schedule.constants");
|
|
25
|
-
let WorkflowScheduleService = WorkflowScheduleService_1 = class WorkflowScheduleService {
|
|
26
|
-
constructor(scheduledWorkflowRepository, executionLogRepository, scheduleQueue) {
|
|
27
|
-
this.scheduledWorkflowRepository = scheduledWorkflowRepository;
|
|
28
|
-
this.executionLogRepository = executionLogRepository;
|
|
29
|
-
this.scheduleQueue = scheduleQueue;
|
|
30
|
-
this.logger = new common_1.Logger(WorkflowScheduleService_1.name);
|
|
31
|
-
}
|
|
32
|
-
async createSchedule(createScheduleDto, loggedInUser) {
|
|
33
|
-
this.logger.log(`Creating schedule for workflow ${createScheduleDto.workflow_id} by user ${loggedInUser.id}`);
|
|
34
|
-
try {
|
|
35
|
-
this.validateCronExpression(createScheduleDto.cron_expression, createScheduleDto.timezone);
|
|
36
|
-
const nextExecutionAt = this.calculateNextExecution(createScheduleDto.cron_expression, createScheduleDto.timezone || schedule_constants_1.DEFAULT_TIMEZONE);
|
|
37
|
-
const schedule = this.scheduledWorkflowRepository.create({
|
|
38
|
-
workflow_id: createScheduleDto.workflow_id,
|
|
39
|
-
workflow_name: createScheduleDto.workflow_name,
|
|
40
|
-
name: createScheduleDto.name,
|
|
41
|
-
description: createScheduleDto.description,
|
|
42
|
-
cron_expression: createScheduleDto.cron_expression,
|
|
43
|
-
timezone: createScheduleDto.timezone || schedule_constants_1.DEFAULT_TIMEZONE,
|
|
44
|
-
start_date: createScheduleDto.start_date ? new Date(createScheduleDto.start_date) : null,
|
|
45
|
-
end_date: createScheduleDto.end_date ? new Date(createScheduleDto.end_date) : null,
|
|
46
|
-
max_executions: createScheduleDto.max_executions,
|
|
47
|
-
execution_count: 0,
|
|
48
|
-
next_execution_at: nextExecutionAt,
|
|
49
|
-
schedule_status: schedule_constants_1.SCHEDULE_STATUS_ACTIVE,
|
|
50
|
-
retry_config: createScheduleDto.retry_config || {
|
|
51
|
-
maxRetries: schedule_constants_1.DEFAULT_MAX_RETRIES,
|
|
52
|
-
retryDelay: schedule_constants_1.DEFAULT_RETRY_DELAY,
|
|
53
|
-
backoffMultiplier: schedule_constants_1.DEFAULT_BACKOFF_MULTIPLIER,
|
|
54
|
-
},
|
|
55
|
-
metadata: createScheduleDto.metadata || {},
|
|
56
|
-
is_enabled: createScheduleDto.is_enabled !== false,
|
|
57
|
-
enterprise_id: createScheduleDto.enterprise_id || loggedInUser.enterprise_id,
|
|
58
|
-
level_id: createScheduleDto.level_id || loggedInUser.level_id,
|
|
59
|
-
level_type: createScheduleDto.level_type || loggedInUser.level_type,
|
|
60
|
-
created_by: loggedInUser.id,
|
|
61
|
-
created_date: new Date(),
|
|
62
|
-
status: createScheduleDto.status || 'ACTIVE',
|
|
63
|
-
entity_type: 'WFSC',
|
|
64
|
-
});
|
|
65
|
-
const savedSchedule = await this.scheduledWorkflowRepository.save(schedule);
|
|
66
|
-
if (savedSchedule.is_enabled && savedSchedule.schedule_status === schedule_constants_1.SCHEDULE_STATUS_ACTIVE) {
|
|
67
|
-
await this.scheduleJob(savedSchedule, loggedInUser);
|
|
68
|
-
}
|
|
69
|
-
this.logger.log(`Schedule created successfully with ID: ${savedSchedule.id}`);
|
|
70
|
-
return savedSchedule;
|
|
71
|
-
}
|
|
72
|
-
catch (error) {
|
|
73
|
-
this.logger.error(`Failed to create schedule: ${error.message}`, error.stack);
|
|
74
|
-
throw error;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
async updateSchedule(updateScheduleDto, loggedInUser) {
|
|
78
|
-
this.logger.log(`Updating schedule ${updateScheduleDto.id} by user ${loggedInUser.id}`);
|
|
79
|
-
try {
|
|
80
|
-
const schedule = await this.scheduledWorkflowRepository.findOne({
|
|
81
|
-
where: { id: updateScheduleDto.id },
|
|
82
|
-
});
|
|
83
|
-
if (!schedule) {
|
|
84
|
-
throw new common_1.NotFoundException(`Scheduled workflow not found with ID: ${updateScheduleDto.id}`);
|
|
85
|
-
}
|
|
86
|
-
if (updateScheduleDto.cron_expression) {
|
|
87
|
-
this.validateCronExpression(updateScheduleDto.cron_expression, updateScheduleDto.timezone || schedule.timezone);
|
|
88
|
-
}
|
|
89
|
-
if (updateScheduleDto.workflow_id !== undefined) {
|
|
90
|
-
schedule.workflow_id = updateScheduleDto.workflow_id;
|
|
91
|
-
}
|
|
92
|
-
if (updateScheduleDto.workflow_name !== undefined) {
|
|
93
|
-
schedule.workflow_name = updateScheduleDto.workflow_name;
|
|
94
|
-
}
|
|
95
|
-
if (updateScheduleDto.name !== undefined) {
|
|
96
|
-
schedule.name = updateScheduleDto.name;
|
|
97
|
-
}
|
|
98
|
-
if (updateScheduleDto.description !== undefined) {
|
|
99
|
-
schedule.description = updateScheduleDto.description;
|
|
100
|
-
}
|
|
101
|
-
if (updateScheduleDto.cron_expression !== undefined) {
|
|
102
|
-
schedule.cron_expression = updateScheduleDto.cron_expression;
|
|
103
|
-
schedule.next_execution_at = this.calculateNextExecution(updateScheduleDto.cron_expression, updateScheduleDto.timezone || schedule.timezone);
|
|
104
|
-
}
|
|
105
|
-
if (updateScheduleDto.timezone !== undefined) {
|
|
106
|
-
schedule.timezone = updateScheduleDto.timezone;
|
|
107
|
-
}
|
|
108
|
-
if (updateScheduleDto.start_date !== undefined) {
|
|
109
|
-
schedule.start_date = updateScheduleDto.start_date
|
|
110
|
-
? new Date(updateScheduleDto.start_date)
|
|
111
|
-
: null;
|
|
112
|
-
}
|
|
113
|
-
if (updateScheduleDto.end_date !== undefined) {
|
|
114
|
-
schedule.end_date = updateScheduleDto.end_date ? new Date(updateScheduleDto.end_date) : null;
|
|
115
|
-
}
|
|
116
|
-
if (updateScheduleDto.max_executions !== undefined) {
|
|
117
|
-
schedule.max_executions = updateScheduleDto.max_executions;
|
|
118
|
-
}
|
|
119
|
-
if (updateScheduleDto.schedule_status !== undefined) {
|
|
120
|
-
schedule.schedule_status = updateScheduleDto.schedule_status;
|
|
121
|
-
}
|
|
122
|
-
if (updateScheduleDto.retry_config !== undefined) {
|
|
123
|
-
schedule.retry_config = updateScheduleDto.retry_config;
|
|
124
|
-
}
|
|
125
|
-
if (updateScheduleDto.actions !== undefined) {
|
|
126
|
-
schedule.actions = updateScheduleDto.actions;
|
|
127
|
-
}
|
|
128
|
-
if (updateScheduleDto.metadata !== undefined) {
|
|
129
|
-
schedule.metadata = updateScheduleDto.metadata;
|
|
130
|
-
}
|
|
131
|
-
if (updateScheduleDto.is_enabled !== undefined) {
|
|
132
|
-
schedule.is_enabled = updateScheduleDto.is_enabled;
|
|
133
|
-
}
|
|
134
|
-
if (updateScheduleDto.status !== undefined) {
|
|
135
|
-
schedule.status = updateScheduleDto.status;
|
|
136
|
-
}
|
|
137
|
-
schedule.modified_by = loggedInUser.id;
|
|
138
|
-
schedule.modified_date = new Date();
|
|
139
|
-
const updatedSchedule = await this.scheduledWorkflowRepository.save(schedule);
|
|
140
|
-
if (schedule.job_id) {
|
|
141
|
-
await this.removeJob(schedule.job_id);
|
|
142
|
-
}
|
|
143
|
-
if (updatedSchedule.is_enabled && updatedSchedule.schedule_status === schedule_constants_1.SCHEDULE_STATUS_ACTIVE) {
|
|
144
|
-
await this.scheduleJob(updatedSchedule, loggedInUser);
|
|
145
|
-
}
|
|
146
|
-
this.logger.log(`Schedule updated successfully: ${updatedSchedule.id}`);
|
|
147
|
-
return updatedSchedule;
|
|
148
|
-
}
|
|
149
|
-
catch (error) {
|
|
150
|
-
this.logger.error(`Failed to update schedule: ${error.message}`, error.stack);
|
|
151
|
-
throw error;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
async getScheduleById(scheduleId) {
|
|
155
|
-
const schedule = await this.scheduledWorkflowRepository.findOne({
|
|
156
|
-
where: {
|
|
157
|
-
id: scheduleId,
|
|
158
|
-
},
|
|
159
|
-
});
|
|
160
|
-
if (!schedule) {
|
|
161
|
-
throw new common_1.NotFoundException(`Scheduled workflow not found with ID: ${scheduleId}`);
|
|
162
|
-
}
|
|
163
|
-
return schedule;
|
|
164
|
-
}
|
|
165
|
-
async getAllSchedules(page = 1, size = 10, filters = {}, loggedInUser) {
|
|
166
|
-
const skip = (page - 1) * size;
|
|
167
|
-
const whereConditions = {
|
|
168
|
-
enterprise_id: loggedInUser.enterprise_id,
|
|
169
|
-
};
|
|
170
|
-
if (filters.workflow_id) {
|
|
171
|
-
whereConditions.workflow_id = filters.workflow_id;
|
|
172
|
-
}
|
|
173
|
-
if (filters.schedule_status) {
|
|
174
|
-
whereConditions.schedule_status = filters.schedule_status;
|
|
175
|
-
}
|
|
176
|
-
if (filters.is_enabled !== undefined) {
|
|
177
|
-
whereConditions.is_enabled = filters.is_enabled;
|
|
178
|
-
}
|
|
179
|
-
const [data, total] = await this.scheduledWorkflowRepository.findAndCount({
|
|
180
|
-
where: whereConditions,
|
|
181
|
-
skip,
|
|
182
|
-
take: size,
|
|
183
|
-
order: { created_date: 'DESC' },
|
|
184
|
-
});
|
|
185
|
-
return {
|
|
186
|
-
data,
|
|
187
|
-
total,
|
|
188
|
-
page,
|
|
189
|
-
size,
|
|
190
|
-
};
|
|
191
|
-
}
|
|
192
|
-
async pauseSchedule(scheduleId, loggedInUser) {
|
|
193
|
-
this.logger.log(`Pausing schedule ${scheduleId} by user ${loggedInUser.id}`);
|
|
194
|
-
const schedule = await this.getScheduleById(scheduleId);
|
|
195
|
-
if (schedule.schedule_status === schedule_constants_1.SCHEDULE_STATUS_PAUSED) {
|
|
196
|
-
throw new common_1.BadRequestException('Schedule is already paused');
|
|
197
|
-
}
|
|
198
|
-
schedule.schedule_status = schedule_constants_1.SCHEDULE_STATUS_PAUSED;
|
|
199
|
-
schedule.modified_by = loggedInUser.id;
|
|
200
|
-
schedule.modified_date = new Date();
|
|
201
|
-
const updatedSchedule = await this.scheduledWorkflowRepository.save(schedule);
|
|
202
|
-
if (schedule.job_id) {
|
|
203
|
-
await this.removeJob(schedule.job_id);
|
|
204
|
-
updatedSchedule.job_id = null;
|
|
205
|
-
await this.scheduledWorkflowRepository.save(updatedSchedule);
|
|
206
|
-
}
|
|
207
|
-
this.logger.log(`Schedule paused successfully: ${scheduleId}`);
|
|
208
|
-
return updatedSchedule;
|
|
209
|
-
}
|
|
210
|
-
async resumeSchedule(scheduleId, loggedInUser) {
|
|
211
|
-
this.logger.log(`Resuming schedule ${scheduleId} by user ${loggedInUser.id}`);
|
|
212
|
-
const schedule = await this.getScheduleById(scheduleId);
|
|
213
|
-
if (schedule.schedule_status !== schedule_constants_1.SCHEDULE_STATUS_PAUSED) {
|
|
214
|
-
throw new common_1.BadRequestException('Schedule is not paused');
|
|
215
|
-
}
|
|
216
|
-
schedule.schedule_status = schedule_constants_1.SCHEDULE_STATUS_ACTIVE;
|
|
217
|
-
schedule.modified_by = loggedInUser.id;
|
|
218
|
-
schedule.modified_date = new Date();
|
|
219
|
-
schedule.next_execution_at = this.calculateNextExecution(schedule.cron_expression, schedule.timezone);
|
|
220
|
-
const updatedSchedule = await this.scheduledWorkflowRepository.save(schedule);
|
|
221
|
-
if (updatedSchedule.is_enabled) {
|
|
222
|
-
await this.scheduleJob(updatedSchedule, loggedInUser);
|
|
223
|
-
}
|
|
224
|
-
this.logger.log(`Schedule resumed successfully: ${scheduleId}`);
|
|
225
|
-
return updatedSchedule;
|
|
226
|
-
}
|
|
227
|
-
async deleteSchedule(scheduleId, loggedInUser) {
|
|
228
|
-
this.logger.log(`Deleting schedule ${scheduleId} by user ${loggedInUser.id}`);
|
|
229
|
-
const schedule = await this.getScheduleById(scheduleId);
|
|
230
|
-
if (schedule.job_id) {
|
|
231
|
-
await this.removeJob(schedule.job_id);
|
|
232
|
-
}
|
|
233
|
-
schedule.schedule_status = schedule_constants_1.SCHEDULE_STATUS_INACTIVE;
|
|
234
|
-
schedule.status = 'INACTIVE';
|
|
235
|
-
schedule.is_enabled = false;
|
|
236
|
-
schedule.modified_by = loggedInUser.id;
|
|
237
|
-
schedule.modified_date = new Date();
|
|
238
|
-
await this.scheduledWorkflowRepository.save(schedule);
|
|
239
|
-
this.logger.log(`Schedule deleted successfully: ${scheduleId}`);
|
|
240
|
-
}
|
|
241
|
-
async triggerManualExecution(scheduleId, loggedInUser, metadata) {
|
|
242
|
-
this.logger.log(`Manual trigger for schedule ${scheduleId} by user ${loggedInUser.id}`);
|
|
243
|
-
const schedule = await this.getScheduleById(scheduleId);
|
|
244
|
-
const jobData = {
|
|
245
|
-
scheduleId: schedule.id,
|
|
246
|
-
workflowId: schedule.workflow_id,
|
|
247
|
-
workflowName: schedule.workflow_name,
|
|
248
|
-
organizationId: schedule.organization_id,
|
|
249
|
-
enterpriseId: schedule.enterprise_id,
|
|
250
|
-
levelId: schedule.level_id,
|
|
251
|
-
levelType: schedule.level_type,
|
|
252
|
-
appcode: schedule.appcode,
|
|
253
|
-
createdBy: loggedInUser.id,
|
|
254
|
-
triggeredBy: 'MANUAL',
|
|
255
|
-
triggeredAt: new Date(),
|
|
256
|
-
metadata: metadata || {},
|
|
257
|
-
};
|
|
258
|
-
const job = await this.scheduleQueue.add(schedule_constants_1.EXECUTE_SCHEDULED_WORKFLOW_JOB, jobData, {
|
|
259
|
-
attempts: schedule.retry_config?.maxRetries || schedule_constants_1.DEFAULT_MAX_RETRIES,
|
|
260
|
-
backoff: {
|
|
261
|
-
type: 'exponential',
|
|
262
|
-
delay: schedule.retry_config?.retryDelay || schedule_constants_1.DEFAULT_RETRY_DELAY,
|
|
263
|
-
},
|
|
264
|
-
});
|
|
265
|
-
const executionLog = this.executionLogRepository.create({
|
|
266
|
-
schedule_id: schedule.id,
|
|
267
|
-
workflow_id: schedule.workflow_id,
|
|
268
|
-
job_id: job.id.toString(),
|
|
269
|
-
execution_status: 'PENDING',
|
|
270
|
-
triggered_by: 'MANUAL',
|
|
271
|
-
triggered_by_user_id: loggedInUser.id,
|
|
272
|
-
organization_id: schedule.organization_id,
|
|
273
|
-
enterprise_id: schedule.enterprise_id,
|
|
274
|
-
created_by: loggedInUser.id,
|
|
275
|
-
created_date: new Date(),
|
|
276
|
-
entity_type: 'WFEL',
|
|
277
|
-
status: 'ACTIVE',
|
|
278
|
-
});
|
|
279
|
-
const savedLog = await this.executionLogRepository.save(executionLog);
|
|
280
|
-
this.logger.log(`Manual execution triggered for schedule ${scheduleId}, job ID: ${job.id}`);
|
|
281
|
-
return {
|
|
282
|
-
executionLogId: savedLog.id,
|
|
283
|
-
jobId: job.id.toString(),
|
|
284
|
-
};
|
|
285
|
-
}
|
|
286
|
-
async getExecutionLogs(getExecutionLogsDto, loggedInUser) {
|
|
287
|
-
const page = getExecutionLogsDto.page || 1;
|
|
288
|
-
const size = getExecutionLogsDto.size || 10;
|
|
289
|
-
const skip = (page - 1) * size;
|
|
290
|
-
const whereConditions = {
|
|
291
|
-
enterprise_id: getExecutionLogsDto.enterprise_id || loggedInUser.enterprise_id,
|
|
292
|
-
};
|
|
293
|
-
if (getExecutionLogsDto.schedule_id) {
|
|
294
|
-
whereConditions.schedule_id = getExecutionLogsDto.schedule_id;
|
|
295
|
-
}
|
|
296
|
-
if (getExecutionLogsDto.workflow_id) {
|
|
297
|
-
whereConditions.workflow_id = getExecutionLogsDto.workflow_id;
|
|
298
|
-
}
|
|
299
|
-
if (getExecutionLogsDto.execution_status) {
|
|
300
|
-
whereConditions.execution_status = getExecutionLogsDto.execution_status;
|
|
301
|
-
}
|
|
302
|
-
if (getExecutionLogsDto.execution_statuses && getExecutionLogsDto.execution_statuses.length > 0) {
|
|
303
|
-
whereConditions.execution_status = (0, typeorm_2.In)(getExecutionLogsDto.execution_statuses);
|
|
304
|
-
}
|
|
305
|
-
if (getExecutionLogsDto.triggered_by) {
|
|
306
|
-
whereConditions.triggered_by = getExecutionLogsDto.triggered_by;
|
|
307
|
-
}
|
|
308
|
-
if (getExecutionLogsDto.triggered_by_user_id) {
|
|
309
|
-
whereConditions.triggered_by_user_id = getExecutionLogsDto.triggered_by_user_id;
|
|
310
|
-
}
|
|
311
|
-
if (getExecutionLogsDto.start_date && getExecutionLogsDto.end_date) {
|
|
312
|
-
whereConditions.created_date = (0, typeorm_2.Between)(new Date(getExecutionLogsDto.start_date), new Date(getExecutionLogsDto.end_date));
|
|
313
|
-
}
|
|
314
|
-
const [data, total] = await this.executionLogRepository.findAndCount({
|
|
315
|
-
where: whereConditions,
|
|
316
|
-
skip,
|
|
317
|
-
take: size,
|
|
318
|
-
order: {
|
|
319
|
-
[getExecutionLogsDto.sortBy || 'created_date']: getExecutionLogsDto.sortOrder || 'DESC',
|
|
320
|
-
},
|
|
321
|
-
});
|
|
322
|
-
return {
|
|
323
|
-
data,
|
|
324
|
-
total,
|
|
325
|
-
page,
|
|
326
|
-
size,
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
async getExecutionStats(scheduleId) {
|
|
330
|
-
const schedule = await this.getScheduleById(scheduleId);
|
|
331
|
-
const result = await this.executionLogRepository
|
|
332
|
-
.createQueryBuilder('log')
|
|
333
|
-
.select([
|
|
334
|
-
'COUNT(*) AS total_executions',
|
|
335
|
-
'SUM(CASE WHEN log.execution_status = \'COMPLETED\' THEN 1 ELSE 0 END) AS successful_executions',
|
|
336
|
-
'SUM(CASE WHEN log.execution_status = \'FAILED\' THEN 1 ELSE 0 END) AS failed_executions',
|
|
337
|
-
'SUM(CASE WHEN log.execution_status = \'PENDING\' THEN 1 ELSE 0 END) AS pending_executions',
|
|
338
|
-
'SUM(CASE WHEN log.execution_status = \'RUNNING\' THEN 1 ELSE 0 END) AS running_executions',
|
|
339
|
-
'AVG(log.duration_ms) AS average_duration_ms',
|
|
340
|
-
'SUM(log.total_records) AS total_records_processed',
|
|
341
|
-
])
|
|
342
|
-
.where('log.schedule_id = :scheduleId', { scheduleId })
|
|
343
|
-
.getRawOne();
|
|
344
|
-
const successRate = result.total_executions > 0
|
|
345
|
-
? (result.successful_executions / result.total_executions) * 100
|
|
346
|
-
: 0;
|
|
347
|
-
return {
|
|
348
|
-
schedule_id: scheduleId,
|
|
349
|
-
schedule_name: schedule.name,
|
|
350
|
-
total_executions: parseInt(result.total_executions),
|
|
351
|
-
successful_executions: parseInt(result.successful_executions),
|
|
352
|
-
failed_executions: parseInt(result.failed_executions),
|
|
353
|
-
pending_executions: parseInt(result.pending_executions),
|
|
354
|
-
running_executions: parseInt(result.running_executions),
|
|
355
|
-
average_duration_ms: parseFloat(result.average_duration_ms) || 0,
|
|
356
|
-
total_records_processed: parseInt(result.total_records_processed) || 0,
|
|
357
|
-
success_rate_percentage: parseFloat(successRate.toFixed(2)),
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
async scheduleJob(schedule, loggedInUser) {
|
|
361
|
-
const jobData = {
|
|
362
|
-
scheduleId: schedule.id,
|
|
363
|
-
workflowId: schedule.workflow_id,
|
|
364
|
-
workflowName: schedule.workflow_name,
|
|
365
|
-
organizationId: schedule.organization_id,
|
|
366
|
-
enterpriseId: schedule.enterprise_id,
|
|
367
|
-
levelId: schedule.level_id,
|
|
368
|
-
levelType: schedule.level_type,
|
|
369
|
-
appcode: schedule.appcode,
|
|
370
|
-
createdBy: loggedInUser.id,
|
|
371
|
-
triggeredBy: 'SCHEDULE',
|
|
372
|
-
triggeredAt: new Date(),
|
|
373
|
-
metadata: schedule.metadata || {},
|
|
374
|
-
};
|
|
375
|
-
const job = await this.scheduleQueue.add(schedule_constants_1.EXECUTE_SCHEDULED_WORKFLOW_JOB, jobData, {
|
|
376
|
-
repeat: {
|
|
377
|
-
cron: schedule.cron_expression,
|
|
378
|
-
tz: schedule.timezone,
|
|
379
|
-
startDate: schedule.start_date || undefined,
|
|
380
|
-
endDate: schedule.end_date || undefined,
|
|
381
|
-
},
|
|
382
|
-
attempts: schedule.retry_config?.maxRetries || schedule_constants_1.DEFAULT_MAX_RETRIES,
|
|
383
|
-
backoff: {
|
|
384
|
-
type: 'exponential',
|
|
385
|
-
delay: schedule.retry_config?.retryDelay || schedule_constants_1.DEFAULT_RETRY_DELAY,
|
|
386
|
-
},
|
|
387
|
-
});
|
|
388
|
-
schedule.job_id = job.id.toString();
|
|
389
|
-
await this.scheduledWorkflowRepository.save(schedule);
|
|
390
|
-
this.logger.log(`Job scheduled with ID: ${job.id} for schedule ${schedule.id}`);
|
|
391
|
-
}
|
|
392
|
-
async removeJob(jobId) {
|
|
393
|
-
try {
|
|
394
|
-
const job = await this.scheduleQueue.getJob(jobId);
|
|
395
|
-
if (job) {
|
|
396
|
-
await job.remove();
|
|
397
|
-
this.logger.log(`Job removed: ${jobId}`);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
catch (error) {
|
|
401
|
-
this.logger.warn(`Failed to remove job ${jobId}: ${error.message}`);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
validateCronExpression(cronExpression, timezone) {
|
|
405
|
-
try {
|
|
406
|
-
cronParser.CronExpressionParser.parse(cronExpression, { tz: timezone });
|
|
407
|
-
}
|
|
408
|
-
catch (error) {
|
|
409
|
-
throw new common_1.BadRequestException(`Invalid cron expression: ${cronExpression}. Error: ${error.message}`);
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
calculateNextExecution(cronExpression, timezone) {
|
|
413
|
-
try {
|
|
414
|
-
const interval = cronParser.CronExpressionParser.parse(cronExpression, { tz: timezone });
|
|
415
|
-
return interval.next().toDate();
|
|
416
|
-
}
|
|
417
|
-
catch (error) {
|
|
418
|
-
this.logger.error(`Failed to calculate next execution: ${error.message}`);
|
|
419
|
-
return null;
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
};
|
|
423
|
-
exports.WorkflowScheduleService = WorkflowScheduleService;
|
|
424
|
-
exports.WorkflowScheduleService = WorkflowScheduleService = WorkflowScheduleService_1 = __decorate([
|
|
425
|
-
(0, common_1.Injectable)(),
|
|
426
|
-
__param(0, (0, typeorm_1.InjectRepository)(scheduled_workflow_entity_1.ScheduledWorkflow)),
|
|
427
|
-
__param(1, (0, typeorm_1.InjectRepository)(workflow_execution_log_entity_1.WorkflowExecutionLog)),
|
|
428
|
-
__param(2, (0, bull_1.InjectQueue)(schedule_constants_1.WORKFLOW_SCHEDULE_QUEUE)),
|
|
429
|
-
__metadata("design:paramtypes", [typeorm_2.Repository,
|
|
430
|
-
typeorm_2.Repository, Object])
|
|
431
|
-
], WorkflowScheduleService);
|
|
432
|
-
//# sourceMappingURL=workflow-schedule.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-schedule.service.js","sourceRoot":"","sources":["../../../../src/module/workflow-schedule/service/workflow-schedule.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA4F;AAC5F,6CAAmD;AACnD,qCAAkD;AAClD,uCAA2C;AAE3C,0CAA0C;AAE1C,qFAA0E;AAC1E,6FAAiF;AAKjF,wEAUyC;AAQlC,IAAM,uBAAuB,+BAA7B,MAAM,uBAAuB;IAGlC,YAEE,2BAA2E,EAE3E,sBAAyE,EAEzE,aAAsD;QAJrC,gCAA2B,GAA3B,2BAA2B,CAA+B;QAE1D,2BAAsB,GAAtB,sBAAsB,CAAkC;QAExD,kBAAa,GAAb,aAAa,CAAwB;QARvC,WAAM,GAAG,IAAI,eAAM,CAAC,yBAAuB,CAAC,IAAI,CAAC,CAAC;IAUnE,CAAC;IAKD,KAAK,CAAC,cAAc,CAClB,iBAAoC,EACpC,YAAsB;QAEtB,IAAI,CAAC,MAAM,CAAC,GAAG,CACb,kCAAkC,iBAAiB,CAAC,WAAW,YAAY,YAAY,CAAC,EAAE,EAAE,CAC7F,CAAC;QAEF,IAAI,CAAC;YAEH,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;YAG3F,MAAM,eAAe,GAAG,IAAI,CAAC,sBAAsB,CACjD,iBAAiB,CAAC,eAAe,EACj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rE,IAAI,CAAC;YACH,UAAU,CAAC,oBAAoB,CAAC,KAAK,CAAC,cAAc,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QAC1E,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,MAAM,IAAI,4BAAmB,CAC3B,4BAA4B,cAAc,YAAY,KAAK,CAAC,OAAO,EAAE,CACtE,CAAC;QACJ,CAAC;IACH,CAAC;IAKO,sBAAsB,CAAC,cAAsB,EAAE,QAAgB;QACrE,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,UAAU,CAAC,oBAAoB,CAAC,KAAK,CAAC,cAAc,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;YACzF,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC;QAClC,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uCAAuC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;CACF,CAAA;AAnjBY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,mBAAU,GAAE;IAKR,WAAA,IAAA,0BAAgB,EAAC,6CAAiB,CAAC,CAAA;IAEnC,WAAA,IAAA,0BAAgB,EAAC,oDAAoB,CAAC,CAAA;IAEtC,WAAA,IAAA,kBAAW,EAAC,4CAAuB,CAAC,CAAA;qCAHS,oBAAU;QAEf,oBAAU;GAP1C,uBAAuB,CAmjBnC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DynamicModule } from '@nestjs/common';
|
|
2
|
-
import { WorkflowScheduleModuleOptions } from './interfaces/workflow-schedule-options.interface';
|
|
3
|
-
export declare class WorkflowScheduleModule {
|
|
4
|
-
static forRoot(options?: WorkflowScheduleModuleOptions): DynamicModule;
|
|
5
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
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 WorkflowScheduleModule_1;
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.WorkflowScheduleModule = void 0;
|
|
11
|
-
const common_1 = require("@nestjs/common");
|
|
12
|
-
const typeorm_1 = require("@nestjs/typeorm");
|
|
13
|
-
const bull_1 = require("@nestjs/bull");
|
|
14
|
-
const scheduled_workflow_entity_1 = require("./entities/scheduled-workflow.entity");
|
|
15
|
-
const workflow_execution_log_entity_1 = require("./entities/workflow-execution-log.entity");
|
|
16
|
-
const workflow_schedule_service_1 = require("./service/workflow-schedule.service");
|
|
17
|
-
const workflow_schedule_controller_1 = require("./controller/workflow-schedule.controller");
|
|
18
|
-
const schedule_processor_1 = require("./processors/schedule.processor");
|
|
19
|
-
const schedule_constants_1 = require("./constants/schedule.constants");
|
|
20
|
-
const workflow_automation_module_1 = require("../workflow-automation/workflow-automation.module");
|
|
21
|
-
let WorkflowScheduleModule = WorkflowScheduleModule_1 = class WorkflowScheduleModule {
|
|
22
|
-
static forRoot(options = {}) {
|
|
23
|
-
const { is_workflow = false } = options;
|
|
24
|
-
const providers = [workflow_schedule_service_1.WorkflowScheduleService];
|
|
25
|
-
if (is_workflow) {
|
|
26
|
-
providers.push(schedule_processor_1.ScheduleProcessor);
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
module: WorkflowScheduleModule_1,
|
|
30
|
-
global: true,
|
|
31
|
-
imports: [
|
|
32
|
-
typeorm_1.TypeOrmModule.forFeature([scheduled_workflow_entity_1.ScheduledWorkflow, workflow_execution_log_entity_1.WorkflowExecutionLog]),
|
|
33
|
-
bull_1.BullModule.registerQueue({
|
|
34
|
-
name: schedule_constants_1.WORKFLOW_SCHEDULE_QUEUE,
|
|
35
|
-
}),
|
|
36
|
-
(0, common_1.forwardRef)(() => workflow_automation_module_1.WorkflowAutomationModule),
|
|
37
|
-
],
|
|
38
|
-
providers,
|
|
39
|
-
controllers: [
|
|
40
|
-
workflow_schedule_controller_1.WorkflowScheduleController,
|
|
41
|
-
],
|
|
42
|
-
exports: [
|
|
43
|
-
workflow_schedule_service_1.WorkflowScheduleService,
|
|
44
|
-
],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
exports.WorkflowScheduleModule = WorkflowScheduleModule;
|
|
49
|
-
exports.WorkflowScheduleModule = WorkflowScheduleModule = WorkflowScheduleModule_1 = __decorate([
|
|
50
|
-
(0, common_1.Module)({})
|
|
51
|
-
], WorkflowScheduleModule);
|
|
52
|
-
//# sourceMappingURL=workflow-schedule.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-schedule.module.js","sourceRoot":"","sources":["../../../src/module/workflow-schedule/workflow-schedule.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAmE;AACnE,6CAAgD;AAChD,uCAA0C;AAC1C,oFAAyE;AACzE,4FAAgF;AAChF,mFAA8E;AAC9E,4FAAuF;AACvF,wEAAoE;AACpE,uEAAyE;AACzE,kGAA6F;AAatF,IAAM,sBAAsB,8BAA5B,MAAM,sBAAsB;IASjC,MAAM,CAAC,OAAO,CAAC,UAAyC,EAAE;QACxD,MAAM,EAAE,WAAW,GAAG,KAAK,EAAE,GAAG,OAAO,CAAC;QAGxC,MAAM,SAAS,GAAU,CAAC,mDAAuB,CAAC,CAAC;QAGnD,IAAI,WAAW,EAAE,CAAC;YAChB,SAAS,CAAC,IAAI,CAAC,sCAAiB,CAAC,CAAC;QACpC,CAAC;QAED,OAAO;YACL,MAAM,EAAE,wBAAsB;YAC9B,MAAM,EAAE,IAAI;YACZ,OAAO,EAAE;gBAEP,uBAAa,CAAC,UAAU,CAAC,CAAC,6CAAiB,EAAE,oDAAoB,CAAC,CAAC;gBAGnE,iBAAU,CAAC,aAAa,CAAC;oBACvB,IAAI,EAAE,4CAAuB;iBAC9B,CAAC;gBACF,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qDAAwB,CAAC;aAC3C;YACD,SAAS;YACT,WAAW,EAAE;gBAEX,yDAA0B;aAC3B;YACD,OAAO,EAAE;gBAEP,mDAAuB;aACxB;SACF,CAAC;IACJ,CAAC;CACF,CAAA;AA5CY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,sBAAsB,CA4ClC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
const common_1 = require("@nestjs/common");
|
|
10
|
-
const config_1 = require("@nestjs/config");
|
|
11
|
-
const properties_yaml_1 = require("./properties.yaml");
|
|
12
|
-
let Properties = class Properties {
|
|
13
|
-
};
|
|
14
|
-
Properties = __decorate([
|
|
15
|
-
(0, common_1.Module)({
|
|
16
|
-
imports: [
|
|
17
|
-
config_1.ConfigModule.forRoot({
|
|
18
|
-
load: [properties_yaml_1.default],
|
|
19
|
-
isGlobal: true,
|
|
20
|
-
}),
|
|
21
|
-
],
|
|
22
|
-
})
|
|
23
|
-
], Properties);
|
|
24
|
-
exports.default = Properties;
|
|
25
|
-
//# sourceMappingURL=properties.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"properties.module.js","sourceRoot":"","sources":["../../src/resources/properties.module.ts"],"names":[],"mappings":";;;;;;;;AAAA,2CAAwC;AACxC,2CAA8C;AAC9C,uDAA+C;AAShC,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,UAAU;IAR9B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,qBAAY,CAAC,OAAO,CAAC;gBACnB,IAAI,EAAE,CAAC,yBAAc,CAAC;gBACtB,QAAQ,EAAE,IAAI;aACf,CAAC;SACH;KACF,CAAC;GACmB,UAAU,CAAG;kBAAb,UAAU"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const fs_1 = require("fs");
|
|
4
|
-
const yaml = require("js-yaml");
|
|
5
|
-
const path_1 = require("path");
|
|
6
|
-
const YAML_CONFIG = `/dev.properties.yaml`;
|
|
7
|
-
exports.default = () => {
|
|
8
|
-
return yaml.load((0, fs_1.readFileSync)((0, path_1.join)(__dirname, YAML_CONFIG), 'utf8'));
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=properties.yaml.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"properties.yaml.js","sourceRoot":"","sources":["../../src/resources/properties.yaml.ts"],"names":[],"mappings":";;AAAA,2BAAkC;AAClC,gCAAgC;AAChC,+BAA4B;AAE5B,MAAM,WAAW,GAAG,sBAAsB,CAAC;AAE3C,kBAAe,GAAG,EAAE;IAClB,OAAO,IAAI,CAAC,IAAI,CACd,IAAA,iBAAY,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,WAAW,CAAC,EAAE,MAAM,CAAC,CAC5B,CAAC;AAC3B,CAAC,CAAC"}
|
package/dist/table.config.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { DashboardPageData } from './module/dashboard/entity/dashboard_page_data.entity';
|
|
2
|
-
import { EnterpriseData } from './module/enterprise/entity/enterprise.entity';
|
|
3
|
-
import { OrganizationAppMapping } from './module/enterprise/entity/organization-app-mapping.entity';
|
|
4
|
-
import { SavedFilterDetail } from './module/filter/entity/saved-filter-detail.entity';
|
|
5
|
-
import { IntegrationConfig } from './module/integration/entity/integration-config.entity';
|
|
6
|
-
import { IntegrationEntityMapper } from './module/integration/entity/integration-entity-mapper.entity';
|
|
7
|
-
import { IntegrationSource } from './module/integration/entity/integration-source.entity';
|
|
8
|
-
import { UserIntegration } from './module/integration/entity/user-integration.entity';
|
|
9
|
-
import { HeaderItems } from './module/layout/entity/header-items.entity';
|
|
10
|
-
import { HeaderSection } from './module/layout/entity/header-section.entity';
|
|
11
|
-
import { LayoutPreference } from './module/layout_preference/entity/layout_preference.entity';
|
|
12
|
-
import { LinkedAttributes } from './module/linked_attributes/entity/linked_attribute.entity';
|
|
13
|
-
import { ListMasterItems } from './module/listmaster/entity/list-master-items.entity';
|
|
14
|
-
import { ListMasterData } from './module/listmaster/entity/list-master.entity';
|
|
15
|
-
import { FieldLovMapper } from './module/mapper/entity/field-lovs.entity';
|
|
16
|
-
import { FieldMapper } from './module/mapper/entity/field-mapper.entity';
|
|
17
|
-
import { Mapper } from './module/mapper/entity/mapper.entity';
|
|
18
|
-
import { AppMaster } from './module/app_master/entity/app-master.entity';
|
|
19
|
-
import { EntityRelation } from './module/meta/entity/entity-relation.entity';
|
|
20
|
-
import { EntityTableColumn } from './module/meta/entity/entity-table-column.entity';
|
|
21
|
-
import { EntityTable } from './module/meta/entity/entity-table.entity';
|
|
22
|
-
import { MediaData } from './module/meta/entity/media-data.entity';
|
|
23
|
-
import { PreferenceMaster } from './module/meta/entity/preference.entity';
|
|
24
|
-
import { MenuData } from './module/module/entity/menu.entity';
|
|
25
|
-
import { ModuleAccess } from './module/module/entity/module-access.entity';
|
|
26
|
-
import { ModuleAction } from './module/module/entity/module-action.entity';
|
|
27
|
-
import { ModuleData } from './module/module/entity/module.entity';
|
|
28
|
-
import { NotificationData } from './module/notification/entity/notification.entity';
|
|
29
|
-
import { Otp } from './module/notification/entity/otp.entity';
|
|
30
|
-
import { Role } from './module/user/entity/role.entity';
|
|
31
|
-
import { UserRoleMapping } from './module/user/entity/user-role-mapping.entity';
|
|
32
|
-
import { UserSession } from './module/user/entity/user-session.entity';
|
|
33
|
-
import { UserData } from './module/user/entity/user.entity';
|
|
34
|
-
import { TemplateAttach } from './module/workflow/entity/template-attach-mapper.entity';
|
|
35
|
-
import { WorkFlowData } from './module/workflow/entity/workflow-data.entity';
|
|
36
|
-
import { WorkflowLevelMappingEntity } from './module/workflow/entity/workflow-level-mapping.entity';
|
|
37
|
-
export declare const frameworkTables: (typeof ListMasterItems | typeof ListMasterData | typeof EntityTable | typeof EntityTableColumn | typeof SavedFilterDetail | typeof MediaData | typeof EntityRelation | typeof PreferenceMaster | typeof IntegrationConfig | typeof UserIntegration | typeof IntegrationEntityMapper | typeof FieldMapper | typeof FieldLovMapper | typeof IntegrationSource | typeof Mapper | typeof NotificationData | typeof HeaderSection | typeof HeaderItems | typeof LayoutPreference | typeof DashboardPageData | typeof LinkedAttributes)[];
|
|
38
|
-
export declare const workflowTables: (typeof TemplateAttach | typeof WorkflowLevelMappingEntity | typeof WorkFlowData)[];
|
|
39
|
-
export declare const SSOTables: (typeof EnterpriseData | typeof AppMaster | typeof UserData | typeof Role | typeof UserRoleMapping | typeof OrganizationAppMapping | typeof UserSession | typeof ModuleData | typeof ModuleAction | typeof ModuleAccess | typeof MenuData | typeof Otp | typeof HeaderSection | typeof HeaderItems)[];
|