rez_core 3.1.37 → 3.1.40
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/core.module.ts +5 -2
- package/src/module/filter/repository/saved-filter.repository.ts +1 -1
- package/src/module/filter/service/filter.service.ts +30 -36
- package/src/module/mapper/controller/field-mapper.controller.ts +10 -4
- package/src/module/mapper/controller/mapper.controller.ts +1 -1
- package/src/module/mapper/dto/field-mapper.dto.ts +1 -1
- package/src/module/mapper/entity/field-mapper.entity.ts +5 -5
- package/src/module/mapper/repository/field-mapper.repository.ts +1 -1
- package/src/module/mapper/service/field-mapper.service.ts +4 -4
- package/src/module/mapper/service/mapper.service.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 -62
- 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/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 -39
- 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/core.module.d.ts +0 -4
- package/dist/core.module.js +0 -76
- 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/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 -8
- package/dist/module/auth/controller/auth.controller.js +0 -51
- 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 -39
- 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 -19
- package/dist/module/auth/strategies/jwt.strategy.js +0 -46
- 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 -55
- 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 -10
- package/dist/module/dashboard/repository/dashboard.repository.js +0 -50
- 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 -62
- package/dist/module/dashboard/service/dashboard.service.js.map +0 -1
- package/dist/module/dev/dev.module.d.ts +0 -2
- package/dist/module/dev/dev.module.js +0 -25
- package/dist/module/dev/dev.module.js.map +0 -1
- package/dist/module/dev/service/dev.service.d.ts +0 -5
- package/dist/module/dev/service/dev.service.js +0 -25
- package/dist/module/dev/service/dev.service.js.map +0 -1
- package/dist/module/enterprise/controller/organization.controller.d.ts +0 -14
- package/dist/module/enterprise/controller/organization.controller.js +0 -59
- 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 -43
- package/dist/module/enterprise/enterprise.module.js.map +0 -1
- package/dist/module/enterprise/entity/enterprise.entity.d.ts +0 -13
- package/dist/module/enterprise/entity/enterprise.entity.js +0 -64
- package/dist/module/enterprise/entity/enterprise.entity.js.map +0 -1
- package/dist/module/enterprise/entity/organization-app-mapping.entity.d.ts +0 -5
- package/dist/module/enterprise/entity/organization-app-mapping.entity.js +0 -32
- package/dist/module/enterprise/entity/organization-app-mapping.entity.js.map +0 -1
- package/dist/module/enterprise/entity/organization.entity.d.ts +0 -30
- package/dist/module/enterprise/entity/organization.entity.js +0 -136
- package/dist/module/enterprise/entity/organization.entity.js.map +0 -1
- package/dist/module/enterprise/repository/enterprise.repository.d.ts +0 -8
- package/dist/module/enterprise/repository/enterprise.repository.js +0 -48
- 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 -245
- package/dist/module/enterprise/repository/school.repository.js.map +0 -1
- package/dist/module/enterprise/service/brand.service.d.ts +0 -3
- package/dist/module/enterprise/service/brand.service.js +0 -18
- 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 -31
- 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 -121
- package/dist/module/enterprise/service/organization.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 -91
- package/dist/module/filter/controller/filter.controller.js.map +0 -1
- package/dist/module/filter/dto/filter-request.dto.d.ts +0 -35
- 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 -8
- package/dist/module/filter/entity/saved-filter-master.entity.js +0 -43
- 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 -44
- package/dist/module/filter/filter.module.js.map +0 -1
- package/dist/module/filter/repository/saved-filter.repository.d.ts +0 -38
- package/dist/module/filter/repository/saved-filter.repository.js +0 -144
- package/dist/module/filter/repository/saved-filter.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 -62
- package/dist/module/filter/service/filter-evaluator.service.js.map +0 -1
- package/dist/module/filter/service/filter.service.d.ts +0 -66
- package/dist/module/filter/service/filter.service.js +0 -643
- 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 -139
- package/dist/module/integration/controller/integration.controller.js +0 -540
- 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 -56
- package/dist/module/integration/controller/wrapper.controller.js.map +0 -1
- package/dist/module/integration/dto/create-config.dto.d.ts +0 -208
- package/dist/module/integration/dto/create-config.dto.js +0 -461
- 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-ivr-mapper.entity.d.ts +0 -6
- package/dist/module/integration/entity/integration-ivr-mapper.entity.js +0 -33
- package/dist/module/integration/entity/integration-ivr-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 -87
- 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-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 -165
- package/dist/module/integration/service/integration.service.js +0 -1362
- 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 -32
- package/dist/module/integration/service/wrapper.service.js +0 -253
- 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 -198
- 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 -30
- 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 -162
- 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 -17
- package/dist/module/integration/strategies/telephone/tubelight-voice.strategy.js +0 -100
- 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 -22
- package/dist/module/integration/strategies/whatsapp/tubelight-whatsapp.strategy.js +0 -295
- 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 -11
- package/dist/module/layout/controller/layout.controller.js +0 -59
- 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 -7
- package/dist/module/layout/entity/header-section.entity.js +0 -40
- 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 -34
- 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 -8
- package/dist/module/layout/repository/header-section.repository.js +0 -39
- 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 -13
- package/dist/module/layout_preference/controller/layout_preference.controller.js +0 -59
- 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 -31
- package/dist/module/layout_preference/layout_preference.module.js.map +0 -1
- package/dist/module/layout_preference/repository/layout_preference.repository.d.ts +0 -7
- package/dist/module/layout_preference/repository/layout_preference.repository.js +0 -42
- 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 -15
- package/dist/module/layout_preference/service/layout_preference.service.js +0 -99
- 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/listmaster/controller/list-master.controller.d.ts +0 -24
- package/dist/module/listmaster/controller/list-master.controller.js +0 -124
- 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 -67
- 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 -55
- 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 -43
- 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 -142
- package/dist/module/listmaster/repository/list-master-items.repository.js.map +0 -1
- package/dist/module/listmaster/repository/list-master.repository.d.ts +0 -9
- package/dist/module/listmaster/repository/list-master.repository.js +0 -53
- package/dist/module/listmaster/repository/list-master.repository.js.map +0 -1
- package/dist/module/listmaster/service/list-master-item.service.d.ts +0 -19
- package/dist/module/listmaster/service/list-master-item.service.js +0 -151
- package/dist/module/listmaster/service/list-master-item.service.js.map +0 -1
- package/dist/module/listmaster/service/list-master.service.d.ts +0 -32
- package/dist/module/listmaster/service/list-master.service.js +0 -228
- package/dist/module/listmaster/service/list-master.service.js.map +0 -1
- package/dist/module/mapper/controller/field-mapper.controller.d.ts +0 -6
- package/dist/module/mapper/controller/field-mapper.controller.js +0 -45
- package/dist/module/mapper/controller/field-mapper.controller.js.map +0 -1
- package/dist/module/mapper/controller/mapper.controller.d.ts +0 -6
- package/dist/module/mapper/controller/mapper.controller.js +0 -39
- package/dist/module/mapper/controller/mapper.controller.js.map +0 -1
- package/dist/module/mapper/dto/field-mapper.dto.d.ts +0 -11
- 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 -12
- package/dist/module/mapper/entity/field-mapper.entity.js +0 -58
- 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 -42
- package/dist/module/mapper/mapper.module.js.map +0 -1
- package/dist/module/mapper/repository/field-lovs.repository.d.ts +0 -8
- package/dist/module/mapper/repository/field-lovs.repository.js +0 -41
- package/dist/module/mapper/repository/field-lovs.repository.js.map +0 -1
- package/dist/module/mapper/repository/field-mapper.repository.d.ts +0 -9
- package/dist/module/mapper/repository/field-mapper.repository.js +0 -42
- package/dist/module/mapper/repository/field-mapper.repository.js.map +0 -1
- package/dist/module/mapper/service/field-mapper.service.d.ts +0 -20
- package/dist/module/mapper/service/field-mapper.service.js +0 -140
- package/dist/module/mapper/service/field-mapper.service.js.map +0 -1
- package/dist/module/mapper/service/mapper.service.d.ts +0 -7
- package/dist/module/mapper/service/mapper.service.js +0 -40
- 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 -31
- package/dist/module/master/service/master.service.js +0 -366
- package/dist/module/master/service/master.service.js.map +0 -1
- package/dist/module/meta/controller/app-master.controller.d.ts +0 -9
- package/dist/module/meta/controller/app-master.controller.js +0 -51
- package/dist/module/meta/controller/app-master.controller.js.map +0 -1
- package/dist/module/meta/controller/attribute-master.controller.d.ts +0 -21
- package/dist/module/meta/controller/attribute-master.controller.js +0 -78
- package/dist/module/meta/controller/attribute-master.controller.js.map +0 -1
- package/dist/module/meta/controller/entity-dynamic.controller.d.ts +0 -18
- package/dist/module/meta/controller/entity-dynamic.controller.js +0 -102
- package/dist/module/meta/controller/entity-dynamic.controller.js.map +0 -1
- package/dist/module/meta/controller/entity-master.controller.d.ts +0 -8
- package/dist/module/meta/controller/entity-master.controller.js +0 -44
- 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 -38
- package/dist/module/meta/controller/entity.controller.js +0 -245
- package/dist/module/meta/controller/entity.controller.js.map +0 -1
- package/dist/module/meta/controller/media.controller.d.ts +0 -17
- package/dist/module/meta/controller/media.controller.js +0 -79
- package/dist/module/meta/controller/media.controller.js.map +0 -1
- package/dist/module/meta/controller/meta.controller.d.ts +0 -19
- package/dist/module/meta/controller/meta.controller.js +0 -87
- 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 -87
- 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 -11
- 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/app-master.entity.d.ts +0 -12
- package/dist/module/meta/entity/app-master.entity.js +0 -58
- package/dist/module/meta/entity/app-master.entity.js.map +0 -1
- package/dist/module/meta/entity/attribute-master.entity.d.ts +0 -21
- package/dist/module/meta/entity/attribute-master.entity.js +0 -118
- 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 -18
- package/dist/module/meta/entity/entity-master.entity.js +0 -108
- 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 -153
- package/dist/module/meta/entity.module.js.map +0 -1
- package/dist/module/meta/repository/app-master.repository.d.ts +0 -7
- package/dist/module/meta/repository/app-master.repository.js +0 -36
- package/dist/module/meta/repository/app-master.repository.js.map +0 -1
- package/dist/module/meta/repository/attribute-master.repository.d.ts +0 -20
- package/dist/module/meta/repository/attribute-master.repository.js +0 -85
- package/dist/module/meta/repository/attribute-master.repository.js.map +0 -1
- package/dist/module/meta/repository/entity-master.repository.d.ts +0 -9
- package/dist/module/meta/repository/entity-master.repository.js +0 -44
- package/dist/module/meta/repository/entity-master.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 -60
- 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 -50
- package/dist/module/meta/repository/view-master.repository.js.map +0 -1
- package/dist/module/meta/service/app-master.service.d.ts +0 -8
- package/dist/module/meta/service/app-master.service.js +0 -45
- package/dist/module/meta/service/app-master.service.js.map +0 -1
- package/dist/module/meta/service/attribute-master.service.d.ts +0 -16
- package/dist/module/meta/service/attribute-master.service.js +0 -75
- 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-dynamic.service.d.ts +0 -19
- package/dist/module/meta/service/entity-dynamic.service.js +0 -395
- package/dist/module/meta/service/entity-dynamic.service.js.map +0 -1
- package/dist/module/meta/service/entity-list.service.d.ts +0 -17
- package/dist/module/meta/service/entity-list.service.js +0 -141
- package/dist/module/meta/service/entity-list.service.js.map +0 -1
- package/dist/module/meta/service/entity-master.service.d.ts +0 -20
- package/dist/module/meta/service/entity-master.service.js +0 -106
- 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 -8
- package/dist/module/meta/service/entity-relation.service.js +0 -58
- package/dist/module/meta/service/entity-relation.service.js.map +0 -1
- package/dist/module/meta/service/entity-service-impl.service.d.ts +0 -42
- package/dist/module/meta/service/entity-service-impl.service.js +0 -267
- 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 -7
- package/dist/module/meta/service/entity-table-column.service.js +0 -37
- 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 -86
- package/dist/module/meta/service/entity-table.service.js.map +0 -1
- package/dist/module/meta/service/entity-validation.service.d.ts +0 -21
- package/dist/module/meta/service/entity-validation.service.js +0 -117
- package/dist/module/meta/service/entity-validation.service.js.map +0 -1
- package/dist/module/meta/service/entity.service.d.ts +0 -15
- 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 -78
- package/dist/module/meta/service/field-group.service.js.map +0 -1
- package/dist/module/meta/service/media-data.service.d.ts +0 -29
- package/dist/module/meta/service/media-data.service.js +0 -108
- package/dist/module/meta/service/media-data.service.js.map +0 -1
- package/dist/module/meta/service/populate-meta.service.d.ts +0 -11
- package/dist/module/meta/service/populate-meta.service.js +0 -108
- package/dist/module/meta/service/populate-meta.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 -9
- package/dist/module/meta/service/resolver.service.js +0 -168
- 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 -26
- package/dist/module/meta/service/view-master.service.js +0 -58
- package/dist/module/meta/service/view-master.service.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 -35
- package/dist/module/module/controller/module-access.controller.js +0 -148
- package/dist/module/module/controller/module-access.controller.js.map +0 -1
- package/dist/module/module/entity/menu.entity.d.ts +0 -15
- package/dist/module/module/entity/menu.entity.js +0 -72
- package/dist/module/module/entity/menu.entity.js.map +0 -1
- package/dist/module/module/entity/module-access.entity.d.ts +0 -9
- package/dist/module/module/entity/module-access.entity.js +0 -48
- package/dist/module/module/entity/module-access.entity.js.map +0 -1
- package/dist/module/module/entity/module-action.entity.d.ts +0 -6
- package/dist/module/module/entity/module-action.entity.js +0 -37
- package/dist/module/module/entity/module-action.entity.js.map +0 -1
- package/dist/module/module/entity/module.entity.d.ts +0 -18
- package/dist/module/module/entity/module.entity.js +0 -84
- 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 -55
- package/dist/module/module/module.module.js.map +0 -1
- package/dist/module/module/repository/menu.repository.d.ts +0 -11
- package/dist/module/module/repository/menu.repository.js +0 -152
- package/dist/module/module/repository/menu.repository.js.map +0 -1
- package/dist/module/module/repository/module-access.repository.d.ts +0 -51
- package/dist/module/module/repository/module-access.repository.js +0 -271
- package/dist/module/module/repository/module-access.repository.js.map +0 -1
- package/dist/module/module/service/menu.service.d.ts +0 -12
- package/dist/module/module/service/menu.service.js +0 -59
- 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 -119
- 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 -53
- 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 -9
- package/dist/module/notification/entity/notification.entity.js +0 -45
- 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 -82
- 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 -14
- package/dist/module/notification/service/email.service.js +0 -110
- package/dist/module/notification/service/email.service.js.map +0 -1
- package/dist/module/notification/service/notification.service.d.ts +0 -25
- package/dist/module/notification/service/notification.service.js +0 -112
- package/dist/module/notification/service/notification.service.js.map +0 -1
- package/dist/module/notification/service/otp.service.d.ts +0 -49
- package/dist/module/notification/service/otp.service.js +0 -102
- package/dist/module/notification/service/otp.service.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 -26
- package/dist/module/user/controller/login.controller.js +0 -176
- package/dist/module/user/controller/login.controller.js.map +0 -1
- package/dist/module/user/controller/user.controller.d.ts +0 -9
- package/dist/module/user/controller/user.controller.js +0 -59
- package/dist/module/user/controller/user.controller.js.map +0 -1
- package/dist/module/user/dto/create-user.dto.d.ts +0 -17
- package/dist/module/user/dto/create-user.dto.js +0 -64
- 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 -11
- package/dist/module/user/entity/role.entity.js +0 -56
- package/dist/module/user/entity/role.entity.js.map +0 -1
- package/dist/module/user/entity/user-role-mapping.entity.d.ts +0 -12
- package/dist/module/user/entity/user-role-mapping.entity.js +0 -63
- package/dist/module/user/entity/user-role-mapping.entity.js.map +0 -1
- package/dist/module/user/entity/user-session.entity.d.ts +0 -11
- package/dist/module/user/entity/user-session.entity.js +0 -86
- package/dist/module/user/entity/user-session.entity.js.map +0 -1
- package/dist/module/user/entity/user.entity.d.ts +0 -23
- package/dist/module/user/entity/user.entity.js +0 -103
- package/dist/module/user/entity/user.entity.js.map +0 -1
- package/dist/module/user/repository/role.repository.d.ts +0 -18
- package/dist/module/user/repository/role.repository.js +0 -87
- package/dist/module/user/repository/role.repository.js.map +0 -1
- package/dist/module/user/repository/user-role-mapping.repository.d.ts +0 -19
- package/dist/module/user/repository/user-role-mapping.repository.js +0 -110
- package/dist/module/user/repository/user-role-mapping.repository.js.map +0 -1
- package/dist/module/user/repository/user.repository.d.ts +0 -10
- package/dist/module/user/repository/user.repository.js +0 -58
- package/dist/module/user/repository/user.repository.js.map +0 -1
- package/dist/module/user/repository/userSession.repository.d.ts +0 -10
- package/dist/module/user/repository/userSession.repository.js +0 -45
- package/dist/module/user/repository/userSession.repository.js.map +0 -1
- package/dist/module/user/service/login.service.d.ts +0 -80
- package/dist/module/user/service/login.service.js +0 -209
- package/dist/module/user/service/login.service.js.map +0 -1
- package/dist/module/user/service/role.service.d.ts +0 -23
- package/dist/module/user/service/role.service.js +0 -146
- package/dist/module/user/service/role.service.js.map +0 -1
- package/dist/module/user/service/user-role-mapping.service.d.ts +0 -12
- package/dist/module/user/service/user-role-mapping.service.js +0 -60
- package/dist/module/user/service/user-role-mapping.service.js.map +0 -1
- package/dist/module/user/service/user-session.service.d.ts +0 -38
- package/dist/module/user/service/user-session.service.js +0 -132
- package/dist/module/user/service/user-session.service.js.map +0 -1
- package/dist/module/user/service/user.service.d.ts +0 -38
- package/dist/module/user/service/user.service.js +0 -234
- 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 -78
- 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 -45
- package/dist/module/workflow/controller/action.controller.js +0 -108
- package/dist/module/workflow/controller/action.controller.js.map +0 -1
- package/dist/module/workflow/controller/activity-log.controller.d.ts +0 -44
- 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 -13
- package/dist/module/workflow/controller/comm-template.controller.js +0 -45
- 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 -11
- 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 -56
- package/dist/module/workflow/controller/stage-group.controller.js.map +0 -1
- package/dist/module/workflow/controller/stage.controller.d.ts +0 -34
- package/dist/module/workflow/controller/stage.controller.js +0 -56
- 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 -12
- package/dist/module/workflow/entity/action-category.entity.js +0 -59
- 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 -17
- package/dist/module/workflow/entity/action.entity.js +0 -79
- 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 -13
- package/dist/module/workflow/entity/comm-template.entity.js +0 -63
- 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-master.entity.d.ts +0 -10
- package/dist/module/workflow/entity/form-master.entity.js +0 -50
- package/dist/module/workflow/entity/form-master.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 -20
- package/dist/module/workflow/repository/action-data.repository.js +0 -176
- package/dist/module/workflow/repository/action-data.repository.js.map +0 -1
- package/dist/module/workflow/repository/action.repository.d.ts +0 -29
- package/dist/module/workflow/repository/action.repository.js +0 -220
- 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 -112
- package/dist/module/workflow/repository/activity-log.repository.js.map +0 -1
- package/dist/module/workflow/repository/comm-template.repository.d.ts +0 -15
- package/dist/module/workflow/repository/comm-template.repository.js +0 -107
- package/dist/module/workflow/repository/comm-template.repository.js.map +0 -1
- package/dist/module/workflow/repository/form-master.repository.d.ts +0 -12
- package/dist/module/workflow/repository/form-master.repository.js +0 -59
- 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 -34
- package/dist/module/workflow/repository/stage-group.repository.js +0 -135
- package/dist/module/workflow/repository/stage-group.repository.js.map +0 -1
- package/dist/module/workflow/repository/stage-movement.repository.d.ts +0 -23
- package/dist/module/workflow/repository/stage-movement.repository.js +0 -150
- package/dist/module/workflow/repository/stage-movement.repository.js.map +0 -1
- package/dist/module/workflow/repository/stage.repository.d.ts +0 -30
- package/dist/module/workflow/repository/stage.repository.js +0 -88
- package/dist/module/workflow/repository/stage.repository.js.map +0 -1
- package/dist/module/workflow/repository/task.repository.d.ts +0 -10
- package/dist/module/workflow/repository/task.repository.js +0 -92
- 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 -40
- 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 -7
- package/dist/module/workflow/service/action-template-mapping.service.js +0 -52
- package/dist/module/workflow/service/action-template-mapping.service.js.map +0 -1
- package/dist/module/workflow/service/action.service.d.ts +0 -35
- package/dist/module/workflow/service/action.service.js +0 -152
- package/dist/module/workflow/service/action.service.js.map +0 -1
- package/dist/module/workflow/service/activity-log.service.d.ts +0 -44
- 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 -16
- package/dist/module/workflow/service/comm-template.service.js +0 -91
- 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 -52
- package/dist/module/workflow/service/entity-modification.service.js.map +0 -1
- package/dist/module/workflow/service/form-master.service.d.ts +0 -14
- 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 -181
- 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 -29
- package/dist/module/workflow/service/stage-group.service.js +0 -213
- package/dist/module/workflow/service/stage-group.service.js.map +0 -1
- package/dist/module/workflow/service/stage.service.d.ts +0 -42
- package/dist/module/workflow/service/stage.service.js +0 -102
- package/dist/module/workflow/service/stage.service.js.map +0 -1
- package/dist/module/workflow/service/task.service.d.ts +0 -48
- package/dist/module/workflow/service/task.service.js +0 -324
- package/dist/module/workflow/service/task.service.js.map +0 -1
- package/dist/module/workflow/service/workflow-list-master.service.d.ts +0 -9
- package/dist/module/workflow/service/workflow-list-master.service.js +0 -61
- package/dist/module/workflow/service/workflow-list-master.service.js.map +0 -1
- package/dist/module/workflow/service/workflow-meta.service.d.ts +0 -26
- package/dist/module/workflow/service/workflow-meta.service.js +0 -343
- package/dist/module/workflow/service/workflow-meta.service.js.map +0 -1
- package/dist/module/workflow/service/workflow.service.d.ts +0 -33
- package/dist/module/workflow/service/workflow.service.js +0 -140
- 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 -188
- package/dist/module/workflow/workflow.module.js.map +0 -1
- package/dist/module/workflow-automation/controller/workflow-automation.controller.d.ts +0 -5
- package/dist/module/workflow-automation/controller/workflow-automation.controller.js +0 -31
- 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 -10
- package/dist/module/workflow-automation/entity/workflow-automation-action.entity.js +0 -51
- 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 -11
- package/dist/module/workflow-automation/entity/workflow-automation.entity.js +0 -55
- 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/workflow-automation-engine.service.d.ts +0 -12
- package/dist/module/workflow-automation/service/workflow-automation-engine.service.js +0 -70
- 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 -53
- package/dist/module/workflow-automation/service/workflow-automation.service.js +0 -219
- 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 -47
- package/dist/module/workflow-automation/workflow-automation.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/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 -4
- package/dist/utils/service/loggingUtil.service.js +0 -49
- package/dist/utils/service/loggingUtil.service.js.map +0 -1
- package/dist/utils/service/reflection-helper.service.d.ts +0 -9
- package/dist/utils/service/reflection-helper.service.js +0 -60
- 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 -38
- package/dist/utils/utils.module.js.map +0 -1
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { EntityServiceImpl } from 'src/module/meta/service/entity-service-impl.service';
|
|
2
|
-
import { UserData } from 'src/module/user/entity/user.entity';
|
|
3
|
-
import { TaskRepository } from '../repository/task.repository';
|
|
4
|
-
import { ActionDataService } from './action-data.service';
|
|
5
|
-
import { DataSource, EntityManager } from 'typeorm';
|
|
6
|
-
import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
|
|
7
|
-
import { ActivityLogService } from './activity-log.service';
|
|
8
|
-
import { MediaDataService } from 'src/module/meta/service/media-data.service';
|
|
9
|
-
export declare class TaskService extends EntityServiceImpl {
|
|
10
|
-
private readonly taskRepository;
|
|
11
|
-
private readonly actionDataService;
|
|
12
|
-
private readonly dataSource;
|
|
13
|
-
private readonly activityLogService;
|
|
14
|
-
private readonly mediaDataService;
|
|
15
|
-
constructor(taskRepository: TaskRepository, actionDataService: ActionDataService, dataSource: DataSource, activityLogService: ActivityLogService, mediaDataService: MediaDataService);
|
|
16
|
-
name: string;
|
|
17
|
-
execute(payload: any): Promise<any>;
|
|
18
|
-
createEntity(entityData: any, loggedInUser: any, manager?: EntityManager | null, appcode?: string): Promise<any>;
|
|
19
|
-
updateEntity(entityData: any, loggedInUser: UserData, appcode?: string): Promise<any>;
|
|
20
|
-
getAllTaskByUserIdandStageId(loggedInUser: UserData, data: any): Promise<any>;
|
|
21
|
-
getAllTask(loggedInUser: UserData, data: {
|
|
22
|
-
mapped_entity_type: string;
|
|
23
|
-
mapped_entity_id: number;
|
|
24
|
-
status?: string;
|
|
25
|
-
mandatory?: boolean;
|
|
26
|
-
overdue?: boolean;
|
|
27
|
-
}): Promise<any[]>;
|
|
28
|
-
getEntityData(entityType: string, id: number, loggedInUser: any): Promise<BaseEntity | null>;
|
|
29
|
-
saveActionData(action: any, loggedInUser: UserData, mapped_entity_id: number, mapped_entity_type: string): Promise<any>;
|
|
30
|
-
moveTask(loggedInUser: UserData, body: {
|
|
31
|
-
mapped_entity_type: string;
|
|
32
|
-
mapped_entity_id: number;
|
|
33
|
-
stage_id: number;
|
|
34
|
-
action_id: number;
|
|
35
|
-
reason_code?: string | number;
|
|
36
|
-
remark?: string;
|
|
37
|
-
stage_group_id?: number;
|
|
38
|
-
}): Promise<any>;
|
|
39
|
-
deleteEntity(entity_type: string, taskId: number, loggedInUser: UserData): Promise<any>;
|
|
40
|
-
createSystemNote(entity: {
|
|
41
|
-
reason_code: string | number;
|
|
42
|
-
remark: string;
|
|
43
|
-
mapped_entity_id: number;
|
|
44
|
-
stage_id: number;
|
|
45
|
-
action_id: number;
|
|
46
|
-
stage_group_id?: number;
|
|
47
|
-
}, loggedInUser: any): Promise<any>;
|
|
48
|
-
}
|
|
@@ -1,324 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.TaskService = void 0;
|
|
16
|
-
const common_1 = require("@nestjs/common");
|
|
17
|
-
const entity_service_impl_service_1 = require("../../meta/service/entity-service-impl.service");
|
|
18
|
-
const task_repository_1 = require("../repository/task.repository");
|
|
19
|
-
const action_data_service_1 = require("./action-data.service");
|
|
20
|
-
const typeorm_1 = require("typeorm");
|
|
21
|
-
const activity_log_service_1 = require("./activity-log.service");
|
|
22
|
-
const activity_log_repository_1 = require("../repository/activity-log.repository");
|
|
23
|
-
const media_data_service_1 = require("../../meta/service/media-data.service");
|
|
24
|
-
const action_decorator_1 = require("../../workflow-automation/interface/action.decorator");
|
|
25
|
-
let TaskService = class TaskService extends entity_service_impl_service_1.EntityServiceImpl {
|
|
26
|
-
constructor(taskRepository, actionDataService, dataSource, activityLogService, mediaDataService) {
|
|
27
|
-
super();
|
|
28
|
-
this.taskRepository = taskRepository;
|
|
29
|
-
this.actionDataService = actionDataService;
|
|
30
|
-
this.dataSource = dataSource;
|
|
31
|
-
this.activityLogService = activityLogService;
|
|
32
|
-
this.mediaDataService = mediaDataService;
|
|
33
|
-
this.name = 'add_task';
|
|
34
|
-
}
|
|
35
|
-
async execute(payload) {
|
|
36
|
-
const { entity, user, config } = payload;
|
|
37
|
-
let toValue = null;
|
|
38
|
-
const stageRow = await this.dataSource.query(`SELECT stage_id
|
|
39
|
-
FROM cr_wf_stage_movement_data
|
|
40
|
-
WHERE mapped_entity_id = ?
|
|
41
|
-
AND is_current = 'Y'
|
|
42
|
-
LIMIT 1`, [entity.id]);
|
|
43
|
-
const stageId = stageRow.length > 0 ? stageRow[0].stage_id : null;
|
|
44
|
-
if (!stageId) {
|
|
45
|
-
throw new Error(`No current stage found in cr_wf_stage_movement_data for entity_id=${entity.id}`);
|
|
46
|
-
}
|
|
47
|
-
const entityData = {
|
|
48
|
-
...config,
|
|
49
|
-
mapped_entity_id: entity.id,
|
|
50
|
-
mapped_entity_type: entity.entity_type,
|
|
51
|
-
task_owner: config.task_owner,
|
|
52
|
-
stage_id: stageId,
|
|
53
|
-
status: config.status,
|
|
54
|
-
due_date: config.due_date,
|
|
55
|
-
due_time: config.due_time,
|
|
56
|
-
reminder: config.reminder,
|
|
57
|
-
description: config.description,
|
|
58
|
-
is_mandatory: config.is_mandatory,
|
|
59
|
-
};
|
|
60
|
-
return await this.createEntity(entityData, user);
|
|
61
|
-
}
|
|
62
|
-
async createEntity(entityData, loggedInUser, manager, appcode) {
|
|
63
|
-
if (entityData && typeof entityData['is_mandatory'] === 'string') {
|
|
64
|
-
entityData['is_mandatory'] = entityData['is_mandatory'] === '1';
|
|
65
|
-
}
|
|
66
|
-
const createdEntity = await super.createEntity(entityData, loggedInUser, manager, appcode);
|
|
67
|
-
try {
|
|
68
|
-
const logData = {
|
|
69
|
-
mapped_entity_id: createdEntity.mapped_entity_id,
|
|
70
|
-
mapped_entity_type: createdEntity.mapped_entity_type,
|
|
71
|
-
title: `Task added`,
|
|
72
|
-
description: `A new task ${createdEntity.name} was added`,
|
|
73
|
-
category: activity_log_repository_1.ACTIVITY_CATEGORIES.TASK,
|
|
74
|
-
action: 'add',
|
|
75
|
-
appcode: loggedInUser.appcode,
|
|
76
|
-
};
|
|
77
|
-
await this.activityLogService.logActivity(logData, loggedInUser);
|
|
78
|
-
}
|
|
79
|
-
catch (error) {
|
|
80
|
-
console.error('Failed to log activity for meeting:', error?.message || error);
|
|
81
|
-
}
|
|
82
|
-
let relationData = await this.dataSource.query(`SELECT * FROM cr_entity_relation WHERE source_entity_type = ? AND target_entity_type = ?`, [createdEntity.mapped_entity_type, createdEntity.entity_type]);
|
|
83
|
-
if (relationData) {
|
|
84
|
-
await this.dataSource.query(`INSERT INTO cr_entity_relation_data (source_entity_id, source_entity_type, target_entity_id, target_entity_type, relation_type) VALUES (?, ?, ?, ?, ?)`, [
|
|
85
|
-
createdEntity.mapped_entity_id,
|
|
86
|
-
createdEntity.mapped_entity_type,
|
|
87
|
-
createdEntity.id,
|
|
88
|
-
createdEntity.entity_type,
|
|
89
|
-
relationData[0]?.relation_type,
|
|
90
|
-
]);
|
|
91
|
-
}
|
|
92
|
-
return createdEntity;
|
|
93
|
-
}
|
|
94
|
-
async updateEntity(entityData, loggedInUser, appcode) {
|
|
95
|
-
const taskStatusQuery = `
|
|
96
|
-
SELECT name
|
|
97
|
-
FROM cr_list_master_items
|
|
98
|
-
WHERE id = ?
|
|
99
|
-
AND organization_id = ?
|
|
100
|
-
AND listtype = 'TKST'
|
|
101
|
-
LIMIT 1;
|
|
102
|
-
`;
|
|
103
|
-
const statusRows = await this.dataSource.query(taskStatusQuery, [
|
|
104
|
-
entityData.status,
|
|
105
|
-
loggedInUser.organization_id,
|
|
106
|
-
]);
|
|
107
|
-
const isCompletedStatus = statusRows.length > 0 &&
|
|
108
|
-
statusRows[0].name?.toLowerCase() === 'completed';
|
|
109
|
-
entityData.is_completed = isCompletedStatus;
|
|
110
|
-
entityData.is_done = isCompletedStatus;
|
|
111
|
-
const isMandatory = String(entityData.is_mandatory).toLowerCase() === 'true' ||
|
|
112
|
-
entityData.is_mandatory === true ||
|
|
113
|
-
entityData.is_mandatory === 1 ||
|
|
114
|
-
entityData.is_mandatory === '1';
|
|
115
|
-
const updatedEntity = await super.updateEntity({
|
|
116
|
-
...entityData,
|
|
117
|
-
is_mandatory: isMandatory,
|
|
118
|
-
}, loggedInUser, appcode);
|
|
119
|
-
if (updatedEntity && typeof updatedEntity['is_mandatory'] === 'boolean') {
|
|
120
|
-
updatedEntity['is_mandatory'] = updatedEntity['is_mandatory'] ? '1' : '0';
|
|
121
|
-
}
|
|
122
|
-
try {
|
|
123
|
-
const editLogData = {
|
|
124
|
-
mapped_entity_id: updatedEntity.mapped_entity_id,
|
|
125
|
-
mapped_entity_type: updatedEntity.mapped_entity_type,
|
|
126
|
-
title: `Task edited`,
|
|
127
|
-
description: `${updatedEntity.code} was edited`,
|
|
128
|
-
category: activity_log_repository_1.ACTIVITY_CATEGORIES.TASK,
|
|
129
|
-
action: 'edit',
|
|
130
|
-
appcode: loggedInUser.appcode,
|
|
131
|
-
};
|
|
132
|
-
await this.activityLogService.logActivity(editLogData, loggedInUser);
|
|
133
|
-
if (isCompletedStatus) {
|
|
134
|
-
const completedLogData = {
|
|
135
|
-
mapped_entity_id: updatedEntity.mapped_entity_id,
|
|
136
|
-
mapped_entity_type: updatedEntity.mapped_entity_type,
|
|
137
|
-
title: `Task completed`,
|
|
138
|
-
description: `${updatedEntity.code} was marked as completed`,
|
|
139
|
-
category: activity_log_repository_1.ACTIVITY_CATEGORIES.TASK,
|
|
140
|
-
action: 'completed',
|
|
141
|
-
appcode: loggedInUser.appcode,
|
|
142
|
-
};
|
|
143
|
-
await this.activityLogService.logActivity(completedLogData, loggedInUser);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
catch (error) {
|
|
147
|
-
console.error('Failed to log activity for task:', error?.message || error);
|
|
148
|
-
}
|
|
149
|
-
return updatedEntity;
|
|
150
|
-
}
|
|
151
|
-
async getAllTaskByUserIdandStageId(loggedInUser, data) {
|
|
152
|
-
const taskData = await this.taskRepository.getAllTaskByUserIdAndStageId({
|
|
153
|
-
user_id: data.user_id,
|
|
154
|
-
stage_id: data.stage_id,
|
|
155
|
-
mapped_entity_type: data.mapped_entity_type,
|
|
156
|
-
mapped_entity_id: data.mapped_entity_id,
|
|
157
|
-
});
|
|
158
|
-
const grouped = {
|
|
159
|
-
mandatory: [],
|
|
160
|
-
non_mandatory: [],
|
|
161
|
-
};
|
|
162
|
-
for (const task of taskData) {
|
|
163
|
-
if (task && task.is_mandatory) {
|
|
164
|
-
grouped.mandatory.push(task);
|
|
165
|
-
}
|
|
166
|
-
else {
|
|
167
|
-
grouped.non_mandatory.push(task);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
return grouped;
|
|
171
|
-
}
|
|
172
|
-
async getAllTask(loggedInUser, data) {
|
|
173
|
-
const { mapped_entity_type, mapped_entity_id, status, mandatory, overdue } = data;
|
|
174
|
-
const whereClauses = [`t.mapped_entity_type = ?`, `t.mapped_entity_id = ?`];
|
|
175
|
-
const params = [mapped_entity_type, mapped_entity_id];
|
|
176
|
-
if (status) {
|
|
177
|
-
whereClauses.push(`t.status = ?`);
|
|
178
|
-
params.push(status);
|
|
179
|
-
}
|
|
180
|
-
if (mandatory) {
|
|
181
|
-
whereClauses.push(`t.is_mandatory = ?`);
|
|
182
|
-
params.push(mandatory ? 1 : 0);
|
|
183
|
-
}
|
|
184
|
-
if (overdue) {
|
|
185
|
-
whereClauses.push(`(t.due_date < CURDATE() OR (t.due_date = CURDATE() AND t.due_time < CURTIME()))`);
|
|
186
|
-
whereClauses.push(`t.is_done = ?`);
|
|
187
|
-
params.push(0);
|
|
188
|
-
}
|
|
189
|
-
const sql = `
|
|
190
|
-
SELECT
|
|
191
|
-
t.*,
|
|
192
|
-
sg.name AS stage_group_name,
|
|
193
|
-
s.name AS stage_name,
|
|
194
|
-
a.name AS action_name,
|
|
195
|
-
u.name AS created_by_name,
|
|
196
|
-
u2.name AS task_owner_name,
|
|
197
|
-
u2.profile_image AS task_owner_profile
|
|
198
|
-
FROM cr_wf_task_data t
|
|
199
|
-
LEFT JOIN cr_wf_stage s ON t.stage_id = s.id
|
|
200
|
-
LEFT JOIN cr_wf_stage_group sg ON s.stage_group_id = sg.id
|
|
201
|
-
LEFT JOIN cr_wf_action a ON t.action_id = a.id
|
|
202
|
-
LEFT JOIN cr_user u ON t.created_by = u.id
|
|
203
|
-
LEFT JOIN eth_user_profile u2 ON t.task_owner = u2.parent_id
|
|
204
|
-
WHERE ${whereClauses.join(' AND ')}
|
|
205
|
-
ORDER BY t.created_date DESC
|
|
206
|
-
`;
|
|
207
|
-
const taskData = await this.dataSource.query(sql, params);
|
|
208
|
-
if (taskData.length === 0) {
|
|
209
|
-
return [];
|
|
210
|
-
}
|
|
211
|
-
const taskStatusQuery = `
|
|
212
|
-
SELECT id, name
|
|
213
|
-
FROM cr_list_master_items
|
|
214
|
-
WHERE organization_id = ?
|
|
215
|
-
AND listtype = 'TKST'
|
|
216
|
-
`;
|
|
217
|
-
const taskAllStatus = await this.dataSource.query(taskStatusQuery, [
|
|
218
|
-
loggedInUser.organization_id,
|
|
219
|
-
]);
|
|
220
|
-
const statusMap = new Map(taskAllStatus.map((row) => [String(row.id), row.name]));
|
|
221
|
-
const mediaCache = new Map();
|
|
222
|
-
for (const task of taskData) {
|
|
223
|
-
task.task_status = task.status
|
|
224
|
-
? statusMap.get(String(task.status)) || null
|
|
225
|
-
: null;
|
|
226
|
-
task.action_name =
|
|
227
|
-
task.action_id === '0' || task.action_id === 0
|
|
228
|
-
? 'Generic'
|
|
229
|
-
: task.action_name;
|
|
230
|
-
if (task.task_owner_profile) {
|
|
231
|
-
if (!mediaCache.has(task.task_owner_profile)) {
|
|
232
|
-
const url = await this.mediaDataService.getMediaDownloadUrl(task.task_owner_profile, loggedInUser);
|
|
233
|
-
mediaCache.set(task.task_owner_profile, url);
|
|
234
|
-
}
|
|
235
|
-
task.task_owner_profile = mediaCache.get(task.task_owner_profile);
|
|
236
|
-
}
|
|
237
|
-
else {
|
|
238
|
-
task.task_owner_profile = null;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
return taskData.map((task) => ({
|
|
242
|
-
...task,
|
|
243
|
-
is_mandatory: task.is_mandatory ? '1' : '0',
|
|
244
|
-
}));
|
|
245
|
-
}
|
|
246
|
-
async getEntityData(entityType, id, loggedInUser) {
|
|
247
|
-
const taskData = await super.getEntityData(entityType, id, loggedInUser);
|
|
248
|
-
return taskData;
|
|
249
|
-
}
|
|
250
|
-
async saveActionData(action, loggedInUser, mapped_entity_id, mapped_entity_type) {
|
|
251
|
-
await this.taskRepository.saveActionDataInTask(action, loggedInUser, mapped_entity_id, mapped_entity_type);
|
|
252
|
-
}
|
|
253
|
-
async moveTask(loggedInUser, body) {
|
|
254
|
-
this.taskRepository.updateTaskStatus(loggedInUser, body.mapped_entity_type, body.mapped_entity_id, body.stage_id, body.action_id);
|
|
255
|
-
await this.actionDataService.updateActionStatus(loggedInUser, body.mapped_entity_type, body.mapped_entity_id, body.stage_id, body.action_id);
|
|
256
|
-
if (body.reason_code || body.remark) {
|
|
257
|
-
await this.createSystemNote({
|
|
258
|
-
reason_code: body.reason_code,
|
|
259
|
-
remark: body.remark || '',
|
|
260
|
-
mapped_entity_id: body.mapped_entity_id,
|
|
261
|
-
stage_id: body.stage_id,
|
|
262
|
-
action_id: body.action_id,
|
|
263
|
-
stage_group_id: body.stage_group_id,
|
|
264
|
-
}, loggedInUser);
|
|
265
|
-
}
|
|
266
|
-
return 'Task moved successfully';
|
|
267
|
-
}
|
|
268
|
-
async deleteEntity(entity_type, taskId, loggedInUser) {
|
|
269
|
-
const task = await super.getEntityData(entity_type, taskId, loggedInUser);
|
|
270
|
-
if (!task) {
|
|
271
|
-
throw new Error('Task not found');
|
|
272
|
-
}
|
|
273
|
-
if (task.is_system) {
|
|
274
|
-
throw new Error('Cannot delete system-generated tasks');
|
|
275
|
-
}
|
|
276
|
-
await super.deleteEntity(entity_type, taskId, loggedInUser);
|
|
277
|
-
try {
|
|
278
|
-
const logData = {
|
|
279
|
-
mapped_entity_id: task.mapped_entity_id,
|
|
280
|
-
mapped_entity_type: task.mapped_entity_type,
|
|
281
|
-
title: `Task deleted`,
|
|
282
|
-
description: `${task.name} was deleted`,
|
|
283
|
-
category: activity_log_repository_1.ACTIVITY_CATEGORIES.TASK,
|
|
284
|
-
action: 'delete',
|
|
285
|
-
appcode: loggedInUser.appcode,
|
|
286
|
-
};
|
|
287
|
-
await this.activityLogService.logActivity(logData, loggedInUser);
|
|
288
|
-
}
|
|
289
|
-
catch (error) {
|
|
290
|
-
console.error('Failed to log activity for task deletion:', error?.message || error);
|
|
291
|
-
}
|
|
292
|
-
return { message: 'Task deleted successfully' };
|
|
293
|
-
}
|
|
294
|
-
async createSystemNote(entity, loggedInUser) {
|
|
295
|
-
if (!entity || !entity.mapped_entity_id || !entity.reason_code)
|
|
296
|
-
return null;
|
|
297
|
-
const [reason] = await this.dataSource.query(`SELECT name FROM cr_list_master_items WHERE id = ? AND organization_id = ?`, [entity.reason_code, loggedInUser.organization_id]);
|
|
298
|
-
const notePayload = {
|
|
299
|
-
note_title: reason ? reason.name : entity.reason_code,
|
|
300
|
-
note: entity.remark,
|
|
301
|
-
is_system: true,
|
|
302
|
-
mapped_entity_type: 'LEAD',
|
|
303
|
-
entity_type: 'NOTE',
|
|
304
|
-
mapped_entity_id: entity.mapped_entity_id,
|
|
305
|
-
stage_id: entity.stage_id,
|
|
306
|
-
action_id: entity.action_id,
|
|
307
|
-
stage_group_id: entity.stage_group_id,
|
|
308
|
-
};
|
|
309
|
-
console.log(notePayload);
|
|
310
|
-
return await super.createEntity(notePayload, loggedInUser);
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
exports.TaskService = TaskService;
|
|
314
|
-
exports.TaskService = TaskService = __decorate([
|
|
315
|
-
(0, common_1.Injectable)(),
|
|
316
|
-
(0, action_decorator_1.ActionHandler)('add_task'),
|
|
317
|
-
__param(3, (0, common_1.Inject)('ActivityLogService')),
|
|
318
|
-
__metadata("design:paramtypes", [task_repository_1.TaskRepository,
|
|
319
|
-
action_data_service_1.ActionDataService,
|
|
320
|
-
typeorm_1.DataSource,
|
|
321
|
-
activity_log_service_1.ActivityLogService,
|
|
322
|
-
media_data_service_1.MediaDataService])
|
|
323
|
-
], TaskService);
|
|
324
|
-
//# sourceMappingURL=task.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task.service.js","sourceRoot":"","sources":["../../../../src/module/workflow/service/task.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,gGAAwF;AAExF,mEAA+D;AAC/D,+DAA0D;AAC1D,qCAAoD;AAEpD,iEAA4D;AAC5D,mFAA4E;AAC5E,8EAA8E;AAC9E,2FAA0F;AAInF,IAAM,WAAW,GAAjB,MAAM,WA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,CAAC,YAAY,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IAC7D,CAAC;CACF,CAAA;AAzeY,kCAAW;sBAAX,WAAW;IAFvB,IAAA,mBAAU,GAAE;IACZ,IAAA,gCAAa,EAAC,UAAU,CAAC;IAMrB,WAAA,IAAA,eAAM,EAAC,oBAAoB,CAAC,CAAA;qCAHI,gCAAc;QACX,uCAAiB;QACxB,oBAAU;QAEF,yCAAkB;QACpB,qCAAgB;GAP1C,WAAW,CAyevB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EntityServiceImpl } from 'src/module/meta/service/entity-service-impl.service';
|
|
2
|
-
import { DataSource } from 'typeorm';
|
|
3
|
-
export declare class WorkflowListMasterService extends EntityServiceImpl {
|
|
4
|
-
private readonly dataSource;
|
|
5
|
-
constructor(dataSource: DataSource);
|
|
6
|
-
getActionCategoryListByStageId(stageId: number): Promise<any[]>;
|
|
7
|
-
getStagesByGroup(stageGroupId: number): Promise<any[]>;
|
|
8
|
-
getModes(loggedInUser: any): Promise<any[]>;
|
|
9
|
-
}
|
|
@@ -1,61 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.WorkflowListMasterService = void 0;
|
|
13
|
-
const common_1 = require("@nestjs/common");
|
|
14
|
-
const entity_service_impl_service_1 = require("../../meta/service/entity-service-impl.service");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
let WorkflowListMasterService = class WorkflowListMasterService extends entity_service_impl_service_1.EntityServiceImpl {
|
|
17
|
-
constructor(dataSource) {
|
|
18
|
-
super();
|
|
19
|
-
this.dataSource = dataSource;
|
|
20
|
-
}
|
|
21
|
-
async getActionCategoryListByStageId(stageId) {
|
|
22
|
-
const results = await this.dataSource.query(`
|
|
23
|
-
SELECT
|
|
24
|
-
ac.name AS name,
|
|
25
|
-
ac.logo AS logo,
|
|
26
|
-
ac.modalName AS modalName,
|
|
27
|
-
a.action_requirement AS actionRequirement
|
|
28
|
-
FROM cr_wf_stage_action_mapping sam
|
|
29
|
-
JOIN cr_wf_action a ON sam.action_id = a.id
|
|
30
|
-
JOIN cr_wf_action_category ac ON a.action_category = ac.id
|
|
31
|
-
WHERE sam.stage_id = ?
|
|
32
|
-
`, [stageId]);
|
|
33
|
-
return results.map((item) => ({
|
|
34
|
-
name: item.name,
|
|
35
|
-
logo: item.logo,
|
|
36
|
-
modalName: item.modalName,
|
|
37
|
-
actionRequirement: item.actionRequirement,
|
|
38
|
-
actionStatus: 'Done',
|
|
39
|
-
}));
|
|
40
|
-
}
|
|
41
|
-
async getStagesByGroup(stageGroupId) {
|
|
42
|
-
const results = await this.dataSource.query(`SELECT id, full_name FROM cr_wf_stage WHERE stage_group_id = ?`, [stageGroupId]);
|
|
43
|
-
return results;
|
|
44
|
-
}
|
|
45
|
-
async getModes(loggedInUser) {
|
|
46
|
-
const { organization_id } = loggedInUser;
|
|
47
|
-
const modes = await this.dataSource.query(`
|
|
48
|
-
SELECT id, name
|
|
49
|
-
FROM cr_list_master_items
|
|
50
|
-
WHERE listtype = 'MOD'
|
|
51
|
-
AND organization_id = ?
|
|
52
|
-
`, [organization_id]);
|
|
53
|
-
return modes;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
exports.WorkflowListMasterService = WorkflowListMasterService;
|
|
57
|
-
exports.WorkflowListMasterService = WorkflowListMasterService = __decorate([
|
|
58
|
-
(0, common_1.Injectable)(),
|
|
59
|
-
__metadata("design:paramtypes", [typeorm_1.DataSource])
|
|
60
|
-
], WorkflowListMasterService);
|
|
61
|
-
//# sourceMappingURL=workflow-list-master.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-list-master.service.js","sourceRoot":"","sources":["../../../../src/module/workflow/service/workflow-list-master.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,gGAAwF;AACxF,qCAAqC;AAG9B,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,+CAAiB;IAC9D,YAA6B,UAAsB;QACjD,KAAK,EAAE,CAAC;QADmB,eAAU,GAAV,UAAU,CAAY;IAEnD,CAAC;IAED,KAAK,CAAC,8BAA8B,CAAC,OAAe;QAClD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CACzC;;;;;;;;;;OAUC,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QAGF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC;YACjC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,YAAY,EAAE,MAAM;SACrB,CAAC,CAAC,CAAC;IACN,CAAC;IAED,KAAK,CAAC,gBAAgB,CAAC,YAAoB;QACzC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CACzC,gEAAgE,EAChE,CAAC,YAAY,CAAC,CACf,CAAC;QACF,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,YAAY;QACzB,MAAM,EAAE,eAAe,EAAE,GAAG,YAAY,CAAC;QAEzC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CACvC;;;;;KAKD,EACC,CAAC,eAAe,CAAC,CAClB,CAAC;QAEF,OAAO,KAAK,CAAC;IACf,CAAC;CACF,CAAA;AAtDY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,mBAAU,GAAE;qCAE8B,oBAAU;GADxC,yBAAyB,CAsDrC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EntityServiceImpl } from 'src/module/meta/service/entity-service-impl.service';
|
|
2
|
-
import { UserData } from 'src/module/user/entity/user.entity';
|
|
3
|
-
import { DataSource, Repository } from 'typeorm';
|
|
4
|
-
import { StageMovementData } from '../entity/stage-movement-data.entity';
|
|
5
|
-
import { StageMovementRepository } from '../repository/stage-movement.repository';
|
|
6
|
-
import { ActionDataService } from './action-data.service';
|
|
7
|
-
import { ActivityLogService } from './activity-log.service';
|
|
8
|
-
import { EntityModificationService } from './entity-modification.service';
|
|
9
|
-
import { TaskService } from './task.service';
|
|
10
|
-
export declare class WorkflowMetaService extends EntityServiceImpl {
|
|
11
|
-
private readonly stageMovementRepo;
|
|
12
|
-
private readonly stageMovementRepository;
|
|
13
|
-
private readonly dataSource;
|
|
14
|
-
private readonly actionDataService;
|
|
15
|
-
private readonly taskService;
|
|
16
|
-
private readonly activityLogService;
|
|
17
|
-
private readonly modificationService;
|
|
18
|
-
constructor(stageMovementRepo: Repository<StageMovementData>, stageMovementRepository: StageMovementRepository, dataSource: DataSource, actionDataService: ActionDataService, taskService: TaskService, activityLogService: ActivityLogService, modificationService: EntityModificationService);
|
|
19
|
-
getFirstStage(loggedInUser: UserData, mapped_entity_type: string, mapped_entity_id: number): Promise<any | null>;
|
|
20
|
-
getCurrentStage(mapped_entity_type: string, mapped_entity_id: number, loggedInUser: UserData): Promise<any | null>;
|
|
21
|
-
getNextStage(currentStage: any): Promise<any | null>;
|
|
22
|
-
moveToNextStage(mapped_entity_type: string, mapped_entity_id: number, loggedInUser: UserData, reason_code?: string, remark?: string): Promise<string>;
|
|
23
|
-
populateActionService(stage_id: number, loggedInUser: UserData, mapped_entity_id: number, mapped_entity_type: string): Promise<any>;
|
|
24
|
-
updateLeadOwner(entityData: any, loggedInUser: any): Promise<any>;
|
|
25
|
-
assignLead(loggedInUser: UserData, mapped_entity_id: number, mapped_entity_type: string, stage_id: number, actions: any[]): Promise<number>;
|
|
26
|
-
}
|