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,31 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { ExcelUtil } from 'src/utils/service/excelUtil.service';
|
|
3
|
-
import { EntityMasterService } from '../../meta/service/entity-master.service';
|
|
4
|
-
import { AttributeMasterService } from 'src/module/meta/service/attribute-master.service';
|
|
5
|
-
import { EntityServiceImpl } from 'src/module/meta/service/entity-service-impl.service';
|
|
6
|
-
import { ReflectionHelper } from 'src/utils/service/reflection-helper.service';
|
|
7
|
-
import { EntityValidationService } from 'src/module/meta/service/entity-validation.service';
|
|
8
|
-
export declare class MasterService {
|
|
9
|
-
private readonly entityManager;
|
|
10
|
-
private readonly entityMasterService;
|
|
11
|
-
private readonly attributeMasterService;
|
|
12
|
-
private readonly excelUtil;
|
|
13
|
-
private reflectionHelper;
|
|
14
|
-
private readonly entityServiceImpl;
|
|
15
|
-
protected readonly entityValidationService: EntityValidationService;
|
|
16
|
-
constructor(entityManager: EntityManager, entityMasterService: EntityMasterService, attributeMasterService: AttributeMasterService, excelUtil: ExcelUtil, reflectionHelper: ReflectionHelper, entityServiceImpl: EntityServiceImpl, entityValidationService: EntityValidationService);
|
|
17
|
-
private readonly sequence;
|
|
18
|
-
private readonly dataSequence;
|
|
19
|
-
uploadMeta(file: any): Promise<{
|
|
20
|
-
message: string;
|
|
21
|
-
}>;
|
|
22
|
-
uploadData(file: any, loggedInUser: any): Promise<{
|
|
23
|
-
message: string;
|
|
24
|
-
}>;
|
|
25
|
-
uploadEntityData(file: any, entityType: any, loggedInUser: any, duplicateHandling: 'skip_duplicates' | 'overwrite_items'): Promise<{
|
|
26
|
-
message: string;
|
|
27
|
-
}>;
|
|
28
|
-
private resolveParent;
|
|
29
|
-
upsertData(tableName: string, uniqueFields: string[], data: any[]): Promise<void>;
|
|
30
|
-
upsertViaService(entityType: string, data: any[], attributes: any[], uniqueFields: string[], loggedInUser: any, duplicateHandling: 'skip_duplicates' | 'overwrite_items'): Promise<void>;
|
|
31
|
-
}
|
|
@@ -1,366 +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.MasterService = void 0;
|
|
13
|
-
const common_1 = require("@nestjs/common");
|
|
14
|
-
const typeorm_1 = require("typeorm");
|
|
15
|
-
const excelUtil_service_1 = require("../../../utils/service/excelUtil.service");
|
|
16
|
-
const entity_master_service_1 = require("../../meta/service/entity-master.service");
|
|
17
|
-
const attribute_master_service_1 = require("../../meta/service/attribute-master.service");
|
|
18
|
-
const entity_service_impl_service_1 = require("../../meta/service/entity-service-impl.service");
|
|
19
|
-
const reflection_helper_service_1 = require("../../../utils/service/reflection-helper.service");
|
|
20
|
-
const entity_validation_service_1 = require("../../meta/service/entity-validation.service");
|
|
21
|
-
let MasterService = class MasterService {
|
|
22
|
-
constructor(entityManager, entityMasterService, attributeMasterService, excelUtil, reflectionHelper, entityServiceImpl, entityValidationService) {
|
|
23
|
-
this.entityManager = entityManager;
|
|
24
|
-
this.entityMasterService = entityMasterService;
|
|
25
|
-
this.attributeMasterService = attributeMasterService;
|
|
26
|
-
this.excelUtil = excelUtil;
|
|
27
|
-
this.reflectionHelper = reflectionHelper;
|
|
28
|
-
this.entityServiceImpl = entityServiceImpl;
|
|
29
|
-
this.entityValidationService = entityValidationService;
|
|
30
|
-
this.sequence = [
|
|
31
|
-
{
|
|
32
|
-
table: 'cr_entity_master',
|
|
33
|
-
unique_fields: ['id', 'organization_id'],
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
table: 'cr_attribute_master',
|
|
37
|
-
unique_fields: ['mapped_entity_type', 'attribute_key', 'organization_id'],
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
table: 'cr_list_master',
|
|
41
|
-
unique_fields: ['type', 'organization_id'],
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
table: 'cr_list_master_items',
|
|
45
|
-
unique_fields: ['listtype', 'code', 'organization_id'],
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
table: 'cr_entity_table',
|
|
49
|
-
unique_fields: ['list_type', 'mapped_entity_type', 'organization_id'],
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
table: 'cr_entity_table_column',
|
|
53
|
-
unique_fields: [
|
|
54
|
-
'parent_id',
|
|
55
|
-
'parent_type',
|
|
56
|
-
'attribute_key',
|
|
57
|
-
'organization_id',
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
table: 'cr_view_master',
|
|
62
|
-
unique_fields: ['mapped_entity_type', 'organization_id'],
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
table: 'cr_user',
|
|
66
|
-
unique_fields: ['organization_id'],
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
table: 'cr_header_items',
|
|
70
|
-
unique_fields: ['code', 'section_id', 'organization_id'],
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
table: 'cr_module_access',
|
|
74
|
-
unique_fields: ['module_code', 'action_type', 'role_code'],
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
table: 'cr_module_action',
|
|
78
|
-
unique_fields: ['module_code', 'action_type', 'organization_id'],
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
table: 'cr_menu',
|
|
82
|
-
unique_fields: ['module_code', 'organization_id'],
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
table: 'cr_module',
|
|
86
|
-
unique_fields: ['module_code', 'organization_id'],
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
table: 'cr_role',
|
|
90
|
-
unique_fields: ['code', 'organization_id'],
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
table: 'cr_header_sections',
|
|
94
|
-
unique_fields: ['section_name', 'organization_id'],
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
table: 'cr_user_role_mapping',
|
|
98
|
-
unique_fields: ['user_id', 'role_id', 'organization_id'],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
table: 'cr_organization',
|
|
102
|
-
unique_fields: ['code'],
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
table: 'eth_academic_year',
|
|
106
|
-
unique_fields: ['code'],
|
|
107
|
-
},
|
|
108
|
-
];
|
|
109
|
-
this.dataSequence = [
|
|
110
|
-
{
|
|
111
|
-
table: 'cr_user',
|
|
112
|
-
unique_fields: ['code'],
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
table: 'cr_role',
|
|
116
|
-
unique_fields: ['code'],
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
table: 'cr_user_role_mapping',
|
|
120
|
-
unique_fields: ['user_id', 'role_id'],
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
table: 'eth_school',
|
|
124
|
-
unique_fields: ['code'],
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
table: 'eth_school_address',
|
|
128
|
-
unique_fields: ['code'],
|
|
129
|
-
},
|
|
130
|
-
];
|
|
131
|
-
}
|
|
132
|
-
async uploadMeta(file) {
|
|
133
|
-
const data = excelUtil_service_1.ExcelUtil.readExcel(file.buffer);
|
|
134
|
-
for (let i = 0; i < this.sequence.length; i++) {
|
|
135
|
-
const { table, unique_fields } = this.sequence[i];
|
|
136
|
-
const sheetData = data[table];
|
|
137
|
-
if (!sheetData) {
|
|
138
|
-
console.log(`Sheet ${table} not found in the Excel file.`);
|
|
139
|
-
continue;
|
|
140
|
-
}
|
|
141
|
-
console.log(`Processing sheet: ${table}`);
|
|
142
|
-
await this.upsertData(table, unique_fields, sheetData);
|
|
143
|
-
}
|
|
144
|
-
return {
|
|
145
|
-
message: 'Data uploaded successfully',
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
async uploadData(file, loggedInUser) {
|
|
149
|
-
const data = excelUtil_service_1.ExcelUtil.readExcel(file.buffer);
|
|
150
|
-
for (let i = 0; i < this.dataSequence.length; i++) {
|
|
151
|
-
const { table, unique_fields } = this.dataSequence[i];
|
|
152
|
-
const sheetData = data[table];
|
|
153
|
-
if (!sheetData) {
|
|
154
|
-
console.log(`Sheet ${table} not found in the Excel file.`);
|
|
155
|
-
continue;
|
|
156
|
-
}
|
|
157
|
-
const entityMasterData = await this.entityMasterService.getEntityByTableName(table);
|
|
158
|
-
if (!entityMasterData) {
|
|
159
|
-
throw new Error(`Entity master not found for table: ${table}`);
|
|
160
|
-
}
|
|
161
|
-
const attributes = await this.attributeMasterService.findAttributesByMappedEntityType(entityMasterData.mapped_entity_type, loggedInUser.organization_id);
|
|
162
|
-
for (const row of sheetData) {
|
|
163
|
-
if (row.parent_type !== undefined && row.parent_id !== undefined) {
|
|
164
|
-
this.resolveParent(row);
|
|
165
|
-
}
|
|
166
|
-
for (const attribute of attributes) {
|
|
167
|
-
if (attribute.data_source_type === 'entity') {
|
|
168
|
-
const entityMaster = await this.entityMasterService.getEntityData(attribute.datasource_list, loggedInUser);
|
|
169
|
-
const entityData = await this.entityManager.query(`SELECT * FROM ${entityMaster.db_table_name} WHERE code = ? LIMIT 1`, [row[attribute.attribute_key]]);
|
|
170
|
-
row[attribute.attribute_key] = entityData[0].id;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
console.log(`Processing sheet: ${table}`);
|
|
175
|
-
await this.upsertData(table, unique_fields, sheetData);
|
|
176
|
-
}
|
|
177
|
-
return {
|
|
178
|
-
message: 'Data uploaded successfully',
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
async uploadEntityData(file, entityType, loggedInUser, duplicateHandling) {
|
|
182
|
-
const data = excelUtil_service_1.ExcelUtil.readExcel(file.buffer);
|
|
183
|
-
const entityMaster = await this.entityMasterService.findByMappedEntityType(entityType);
|
|
184
|
-
if (!entityMaster) {
|
|
185
|
-
throw new Error(`Entity master not found for entityType: ${entityType}`);
|
|
186
|
-
}
|
|
187
|
-
const tableName = entityMaster.db_table_name;
|
|
188
|
-
const sheetData = data[tableName];
|
|
189
|
-
if (!sheetData) {
|
|
190
|
-
throw new Error(`Sheet for ${tableName} not found in uploaded file`);
|
|
191
|
-
}
|
|
192
|
-
const attributes = await this.attributeMasterService.findAttributesByMappedEntityType(entityMaster.mapped_entity_type, loggedInUser);
|
|
193
|
-
console.log(attributes, 'attributes');
|
|
194
|
-
const uniqueFields = attributes
|
|
195
|
-
.filter((attr) => attr.is_unique)
|
|
196
|
-
.map((attr) => attr.attribute_key);
|
|
197
|
-
console.log(uniqueFields, 'uniqueFields');
|
|
198
|
-
if (uniqueFields.length === 0) {
|
|
199
|
-
throw new Error(`No unique fields found for entityType: ${entityType}`);
|
|
200
|
-
}
|
|
201
|
-
const errors = [];
|
|
202
|
-
for (let i = 0; i < sheetData.length; i++) {
|
|
203
|
-
const row = sheetData[i];
|
|
204
|
-
if (row.parent_type && row.parent_id) {
|
|
205
|
-
await this.resolveParent(row);
|
|
206
|
-
}
|
|
207
|
-
for (const attr of attributes) {
|
|
208
|
-
if (attr.data_source_type === 'entity' && row[attr.attribute_key]) {
|
|
209
|
-
const refEntity = await this.entityMasterService.getEntityData(attr.datasource_list, loggedInUser);
|
|
210
|
-
const refData = await this.entityManager.query(`SELECT * FROM ${refEntity.db_table_name} WHERE code = ? LIMIT 1`, [row[attr.attribute_key]]);
|
|
211
|
-
if (!refData.length) {
|
|
212
|
-
errors.push({
|
|
213
|
-
row: i + 1,
|
|
214
|
-
errors: [
|
|
215
|
-
`Reference entity not found for code: ${row[attr.attribute_key]}`,
|
|
216
|
-
],
|
|
217
|
-
});
|
|
218
|
-
continue;
|
|
219
|
-
}
|
|
220
|
-
row[attr.attribute_key] = refData[0].id;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
for (const attr of attributes) {
|
|
224
|
-
if (attr.data_source_type === 'master' && row[attr.attribute_key]) {
|
|
225
|
-
const refData = await this.entityManager.query(`SELECT * FROM cr_list_master_items WHERE name = ? and organization_id = ? LIMIT 1`, [row[attr.attribute_key], loggedInUser.organization_id]);
|
|
226
|
-
if (!refData.length) {
|
|
227
|
-
errors.push({
|
|
228
|
-
row: i + 1,
|
|
229
|
-
errors: [
|
|
230
|
-
`Reference master data not found for name: ${row[attr.attribute_key]}`,
|
|
231
|
-
],
|
|
232
|
-
});
|
|
233
|
-
continue;
|
|
234
|
-
}
|
|
235
|
-
row[attr.attribute_key] = refData[0].id;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
const rowErrors = await this.entityValidationService.validateImportData(row, entityMaster, loggedInUser);
|
|
239
|
-
if (rowErrors.length > 0) {
|
|
240
|
-
errors.push({ row: i + 1, errors: rowErrors });
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
if (errors.length > 0) {
|
|
244
|
-
throw new common_1.BadRequestException({
|
|
245
|
-
message: 'Validation errors found',
|
|
246
|
-
errors,
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
await this.upsertViaService(entityType, sheetData, attributes, uniqueFields, loggedInUser, duplicateHandling);
|
|
250
|
-
return { message: 'Entity data uploaded successfully' };
|
|
251
|
-
}
|
|
252
|
-
async resolveParent(row) {
|
|
253
|
-
const parentType = row.parent_type;
|
|
254
|
-
const code = row.parent_id;
|
|
255
|
-
if (!code) {
|
|
256
|
-
throw new Error('Parent code is missing in the row');
|
|
257
|
-
}
|
|
258
|
-
const parentEntity = await this.entityMasterService.findByMappedEntityType(parentType);
|
|
259
|
-
const tableName = parentEntity?.db_table_name;
|
|
260
|
-
if (!tableName) {
|
|
261
|
-
throw new Error(`Table name not found for parent type ${parentType}`);
|
|
262
|
-
}
|
|
263
|
-
const entityData = await this.entityManager.query(`SELECT * FROM ${tableName} WHERE code = ? LIMIT 1`, [code]);
|
|
264
|
-
if (!entityData || entityData.length === 0) {
|
|
265
|
-
throw new Error(`Parent entity with code ${code} not found in table ${tableName}`);
|
|
266
|
-
}
|
|
267
|
-
row.parent_id = entityData[0].id;
|
|
268
|
-
}
|
|
269
|
-
async upsertData(tableName, uniqueFields, data) {
|
|
270
|
-
for (const row of data) {
|
|
271
|
-
const whereClause = uniqueFields
|
|
272
|
-
.map((field) => `${field} = :${field}`)
|
|
273
|
-
.join(' AND ');
|
|
274
|
-
const whereParams = uniqueFields.reduce((acc, field) => {
|
|
275
|
-
acc[field] = row[field];
|
|
276
|
-
return acc;
|
|
277
|
-
}, {});
|
|
278
|
-
const existing = await this.entityManager
|
|
279
|
-
.createQueryBuilder()
|
|
280
|
-
.select('*')
|
|
281
|
-
.from(tableName, tableName)
|
|
282
|
-
.where(whereClause, whereParams)
|
|
283
|
-
.limit(1)
|
|
284
|
-
.getRawMany();
|
|
285
|
-
if (existing.length > 0) {
|
|
286
|
-
await this.entityManager
|
|
287
|
-
.createQueryBuilder()
|
|
288
|
-
.update(tableName)
|
|
289
|
-
.set(row)
|
|
290
|
-
.where(whereClause, whereParams)
|
|
291
|
-
.execute();
|
|
292
|
-
}
|
|
293
|
-
else {
|
|
294
|
-
await this.entityManager
|
|
295
|
-
.createQueryBuilder()
|
|
296
|
-
.insert()
|
|
297
|
-
.into(tableName)
|
|
298
|
-
.values(row)
|
|
299
|
-
.execute();
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
async upsertViaService(entityType, data, attributes, uniqueFields, loggedInUser, duplicateHandling) {
|
|
304
|
-
const entityMaster = await this.entityMasterService.findByMappedEntityType(entityType);
|
|
305
|
-
if (!entityMaster)
|
|
306
|
-
throw new Error(`Entity master not found for ${entityType}`);
|
|
307
|
-
const serviceName = entityMaster.entity_service;
|
|
308
|
-
const entityService = await this.reflectionHelper.getBean(serviceName);
|
|
309
|
-
if (!entityService)
|
|
310
|
-
throw new Error(`Entity service not found for ${entityType}`);
|
|
311
|
-
const errors = [];
|
|
312
|
-
for (const [i, row] of data.entries()) {
|
|
313
|
-
row.entity_type = entityType;
|
|
314
|
-
row.organization_id = loggedInUser.organization_id;
|
|
315
|
-
const qb = this.entityManager
|
|
316
|
-
.createQueryBuilder()
|
|
317
|
-
.select('*')
|
|
318
|
-
.from(entityMaster.db_table_name, entityMaster.db_table_name)
|
|
319
|
-
.where(new typeorm_1.Brackets((qbOr) => {
|
|
320
|
-
uniqueFields.forEach((field, index) => {
|
|
321
|
-
const condition = `${entityMaster.db_table_name}.${field} = :val${index}`;
|
|
322
|
-
const param = { [`val${index}`]: row[field] };
|
|
323
|
-
if (index === 0) {
|
|
324
|
-
qbOr.where(condition, param);
|
|
325
|
-
}
|
|
326
|
-
else {
|
|
327
|
-
qbOr.orWhere(condition, param);
|
|
328
|
-
}
|
|
329
|
-
});
|
|
330
|
-
}))
|
|
331
|
-
.andWhere(`${entityMaster.db_table_name}.organization_id = :orgId`, {
|
|
332
|
-
orgId: loggedInUser.organization_id,
|
|
333
|
-
})
|
|
334
|
-
.andWhere(`${entityMaster.db_table_name}.level_type = :levelType`, {
|
|
335
|
-
levelType: loggedInUser.level_type,
|
|
336
|
-
})
|
|
337
|
-
.andWhere(`${entityMaster.db_table_name}.level_id = :levelId`, {
|
|
338
|
-
levelId: loggedInUser.level_id,
|
|
339
|
-
});
|
|
340
|
-
const existing = await qb.limit(1).getRawOne();
|
|
341
|
-
if (existing) {
|
|
342
|
-
if (duplicateHandling === 'skip_duplicates')
|
|
343
|
-
continue;
|
|
344
|
-
if (duplicateHandling === 'overwrite_items') {
|
|
345
|
-
row.id = existing.id;
|
|
346
|
-
await entityService.updateEntity(row, loggedInUser);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
else {
|
|
350
|
-
await entityService.createEntity(row, loggedInUser);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
};
|
|
355
|
-
exports.MasterService = MasterService;
|
|
356
|
-
exports.MasterService = MasterService = __decorate([
|
|
357
|
-
(0, common_1.Injectable)(),
|
|
358
|
-
__metadata("design:paramtypes", [typeorm_1.EntityManager,
|
|
359
|
-
entity_master_service_1.EntityMasterService,
|
|
360
|
-
attribute_master_service_1.AttributeMasterService,
|
|
361
|
-
excelUtil_service_1.ExcelUtil,
|
|
362
|
-
reflection_helper_service_1.ReflectionHelper,
|
|
363
|
-
entity_service_impl_service_1.EntityServiceImpl,
|
|
364
|
-
entity_validation_service_1.EntityValidationService])
|
|
365
|
-
], MasterService);
|
|
366
|
-
//# sourceMappingURL=master.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"master.service.js","sourceRoot":"","sources":["../../../../src/module/master/service/master.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAiE;AACjE,qCAAkD;AAClD,gFAAgE;AAChE,oFAA+E;AAC/E,0FAA0F;AAE1F,gGAAwF;AACxF,gGAA+E;AAC/E,4FAA4F;AAGrF,IAAM,aAAa,GAAnB,MAAM,aAAa;IACxB,YACmB,aAA4B,EAC5B,mBAAwC,EACxC,sBAA8C,EAC9C,SAAoB,EAC7B,gBAAkC,EAEzB,iBAAoC,EAClC,uBAAgD;QAPlD,k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,SAAS,EAAE,CAAC;YAE/C,IAAI,QAAQ,EAAE,CAAC;gBACb,IAAI,iBAAiB,KAAK,iBAAiB;oBAAE,SAAS;gBACtD,IAAI,iBAAiB,KAAK,iBAAiB,EAAE,CAAC;oBAC5C,GAAG,CAAC,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;oBACrB,MAAM,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC;gBACtD,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,MAAM,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC;YACtD,CAAC;QACH,CAAC;IAOH,CAAC;CACF,CAAA;AA5dY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAGuB,uBAAa;QACP,2CAAmB;QAChB,iDAAsB;QACnC,6BAAS;QACX,4CAAgB;QAEN,+CAAiB;QACT,mDAAuB;GAT1D,aAAa,CA4dzB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Response } from 'express';
|
|
2
|
-
import { AppMasterService } from '../service/app-master.service';
|
|
3
|
-
export declare class AppMasterController {
|
|
4
|
-
private appMasterService;
|
|
5
|
-
constructor(appMasterService: AppMasterService);
|
|
6
|
-
getAppByAppCode(req: Request & {
|
|
7
|
-
user: any;
|
|
8
|
-
}, res: Response): Promise<Response<any, Record<string, any>>>;
|
|
9
|
-
}
|
|
@@ -1,51 +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.AppMasterController = void 0;
|
|
16
|
-
const common_1 = require("@nestjs/common");
|
|
17
|
-
const jwt_guard_1 = require("../../auth/guards/jwt.guard");
|
|
18
|
-
const app_master_service_1 = require("../service/app-master.service");
|
|
19
|
-
let AppMasterController = class AppMasterController {
|
|
20
|
-
constructor(appMasterService) {
|
|
21
|
-
this.appMasterService = appMasterService;
|
|
22
|
-
}
|
|
23
|
-
async getAppByAppCode(req, res) {
|
|
24
|
-
try {
|
|
25
|
-
const id = req.user.userData.id;
|
|
26
|
-
const data = await this.appMasterService.getAppMasterDataByAppCode(id);
|
|
27
|
-
return res.status(common_1.HttpStatus.OK).json(data);
|
|
28
|
-
}
|
|
29
|
-
catch (error) {
|
|
30
|
-
return res.status(common_1.HttpStatus.INTERNAL_SERVER_ERROR).json({
|
|
31
|
-
success: false,
|
|
32
|
-
message: error.message || 'Error fetching entity data',
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
exports.AppMasterController = AppMasterController;
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, common_1.Get)(''),
|
|
40
|
-
__param(0, (0, common_1.Req)()),
|
|
41
|
-
__param(1, (0, common_1.Res)()),
|
|
42
|
-
__metadata("design:type", Function),
|
|
43
|
-
__metadata("design:paramtypes", [Object, Object]),
|
|
44
|
-
__metadata("design:returntype", Promise)
|
|
45
|
-
], AppMasterController.prototype, "getAppByAppCode", null);
|
|
46
|
-
exports.AppMasterController = AppMasterController = __decorate([
|
|
47
|
-
(0, common_1.Controller)('apps'),
|
|
48
|
-
(0, common_1.UseGuards)(jwt_guard_1.JwtAuthGuard),
|
|
49
|
-
__metadata("design:paramtypes", [app_master_service_1.AppMasterService])
|
|
50
|
-
], AppMasterController);
|
|
51
|
-
//# sourceMappingURL=app-master.controller.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-master.controller.js","sourceRoot":"","sources":["../../../../src/module/meta/controller/app-master.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CASwB;AACxB,2DAA2D;AAE3D,sEAAiE;AAI1D,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,YAAoB,gBAAkC;QAAlC,qBAAgB,GAAhB,gBAAgB,CAAkB;IAAG,CAAC;IAGpD,AAAN,KAAK,CAAC,eAAe,CACZ,GAA4B,EAC5B,GAAa;QAEpB,IAAI,CAAC;YACH,MAAM,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAEhC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAC;YAEvE,OAAO,GAAG,CAAC,MAAM,CAAC,mBAAU,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC9C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,GAAG,CAAC,MAAM,CAAC,mBAAU,CAAC,qBAAqB,CAAC,CAAC,IAAI,CAAC;gBACvD,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,4BAA4B;aACvD,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF,CAAA;AArBY,kDAAmB;AAIxB;IADL,IAAA,YAAG,EAAC,EAAE,CAAC;IAEL,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,YAAG,GAAE,CAAA;;;;0DAcP;8BApBU,mBAAmB;IAF/B,IAAA,mBAAU,EAAC,MAAM,CAAC;IAClB,IAAA,kBAAS,EAAC,wBAAY,CAAC;qCAEgB,qCAAgB;GAD3C,mBAAmB,CAqB/B"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Request } from 'express';
|
|
2
|
-
import { AttributeMasterService } from '../service/attribute-master.service';
|
|
3
|
-
export declare class AttributeMasterController {
|
|
4
|
-
private readonly attributeMasterService;
|
|
5
|
-
constructor(attributeMasterService: AttributeMasterService);
|
|
6
|
-
createAttribute(attributeData: any, req: Request & {
|
|
7
|
-
user: any;
|
|
8
|
-
}): Promise<import("../entity/attribute-master.entity").AttributeMaster>;
|
|
9
|
-
updateAttribute(attributeData: any, id: number, req: Request & {
|
|
10
|
-
user: any;
|
|
11
|
-
}): Promise<import("../entity/attribute-master.entity").AttributeMaster | null>;
|
|
12
|
-
getAttributeById(id: number, req: Request & {
|
|
13
|
-
user: any;
|
|
14
|
-
}): Promise<import("../entity/attribute-master.entity").AttributeMaster | null>;
|
|
15
|
-
getAttributesDropdownList(entityType: string, req: Request & {
|
|
16
|
-
user: any;
|
|
17
|
-
}): Promise<{
|
|
18
|
-
label: string;
|
|
19
|
-
value: number;
|
|
20
|
-
}[]>;
|
|
21
|
-
}
|
|
@@ -1,78 +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.AttributeMasterController = void 0;
|
|
16
|
-
const common_1 = require("@nestjs/common");
|
|
17
|
-
const attribute_master_service_1 = require("../service/attribute-master.service");
|
|
18
|
-
const jwt_guard_1 = require("../../auth/guards/jwt.guard");
|
|
19
|
-
let AttributeMasterController = class AttributeMasterController {
|
|
20
|
-
constructor(attributeMasterService) {
|
|
21
|
-
this.attributeMasterService = attributeMasterService;
|
|
22
|
-
}
|
|
23
|
-
async createAttribute(attributeData, req) {
|
|
24
|
-
const loggedInUser = req.user.userData;
|
|
25
|
-
return await this.attributeMasterService.createAttribute(attributeData, loggedInUser);
|
|
26
|
-
}
|
|
27
|
-
async updateAttribute(attributeData, id, req) {
|
|
28
|
-
const loggedInUser = req.user.userData;
|
|
29
|
-
return await this.attributeMasterService.updateAttribute(attributeData, id, loggedInUser);
|
|
30
|
-
}
|
|
31
|
-
async getAttributeById(id, req) {
|
|
32
|
-
return await this.attributeMasterService.getAttributeById(id);
|
|
33
|
-
}
|
|
34
|
-
async getAttributesDropdownList(entityType, req) {
|
|
35
|
-
const loggedInUser = req.user.userData;
|
|
36
|
-
return await this.attributeMasterService.getAttributesDropdownList(entityType, loggedInUser);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
exports.AttributeMasterController = AttributeMasterController;
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, common_1.Post)('/create'),
|
|
42
|
-
__param(0, (0, common_1.Body)()),
|
|
43
|
-
__param(1, (0, common_1.Req)()),
|
|
44
|
-
__metadata("design:type", Function),
|
|
45
|
-
__metadata("design:paramtypes", [Object, Object]),
|
|
46
|
-
__metadata("design:returntype", Promise)
|
|
47
|
-
], AttributeMasterController.prototype, "createAttribute", null);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, common_1.Post)('update/:id'),
|
|
50
|
-
__param(0, (0, common_1.Body)()),
|
|
51
|
-
__param(1, (0, common_1.Param)('id')),
|
|
52
|
-
__param(2, (0, common_1.Req)()),
|
|
53
|
-
__metadata("design:type", Function),
|
|
54
|
-
__metadata("design:paramtypes", [Object, Number, Object]),
|
|
55
|
-
__metadata("design:returntype", Promise)
|
|
56
|
-
], AttributeMasterController.prototype, "updateAttribute", null);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, common_1.Get)('getById/:id'),
|
|
59
|
-
__param(0, (0, common_1.Param)('id')),
|
|
60
|
-
__param(1, (0, common_1.Req)()),
|
|
61
|
-
__metadata("design:type", Function),
|
|
62
|
-
__metadata("design:paramtypes", [Number, Object]),
|
|
63
|
-
__metadata("design:returntype", Promise)
|
|
64
|
-
], AttributeMasterController.prototype, "getAttributeById", null);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, common_1.Get)('getDropdownList/:entityType'),
|
|
67
|
-
__param(0, (0, common_1.Param)('entityType')),
|
|
68
|
-
__param(1, (0, common_1.Req)()),
|
|
69
|
-
__metadata("design:type", Function),
|
|
70
|
-
__metadata("design:paramtypes", [String, Object]),
|
|
71
|
-
__metadata("design:returntype", Promise)
|
|
72
|
-
], AttributeMasterController.prototype, "getAttributesDropdownList", null);
|
|
73
|
-
exports.AttributeMasterController = AttributeMasterController = __decorate([
|
|
74
|
-
(0, common_1.Controller)('attribute-master'),
|
|
75
|
-
(0, common_1.UseGuards)(jwt_guard_1.JwtAuthGuard),
|
|
76
|
-
__metadata("design:paramtypes", [attribute_master_service_1.AttributeMasterService])
|
|
77
|
-
], AttributeMasterController);
|
|
78
|
-
//# sourceMappingURL=attribute-master.controller.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attribute-master.controller.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AC,YAAY,CAAC;IAEhB,WAAA,IAAA,aAAI,GAAE,CAAA;IACN,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IACX,WAAA,IAAA,YAAG,GAAE,CAAA;;;;gEAQP;AAGK;IADL,IAAA,YAAG,EAAC,aAAa,CAAC;IAEhB,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IACX,WAAA,IAAA,YAAG,GAAE,CAAA;;;;iEAGP;AAGK;IADL,IAAA,YAAG,EAAC,6BAA6B,CAAC;IAEhC,WAAA,IAAA,cAAK,EAAC,YAAY,CAAC,CAAA;IACnB,WAAA,IAAA,YAAG,GAAE,CAAA;;;;0EAOP;oCAjDU,yBAAyB;IAFrC,IAAA,mBAAU,EAAC,kBAAkB,CAAC;IAC9B,IAAA,kBAAS,EAAC,wBAAY,CAAC;qCAGqB,iDAAsB;GAFtD,yBAAyB,CAkDrC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Request } from 'express';
|
|
2
|
-
import { EntityDynamicService } from '../service/entity-dynamic.service';
|
|
3
|
-
export declare class EntityDynamicController {
|
|
4
|
-
private readonly entityDynamicService;
|
|
5
|
-
constructor(entityDynamicService: EntityDynamicService);
|
|
6
|
-
createEntity(data: Record<string, any>, entityType: string, req: Request & {
|
|
7
|
-
user: any;
|
|
8
|
-
}): Promise<any>;
|
|
9
|
-
updateEntity(id: number, data: Record<string, any>, entityType: string, req: Request & {
|
|
10
|
-
user: any;
|
|
11
|
-
}): Promise<any>;
|
|
12
|
-
getEntity(id: number, entityType: string, req: Request & {
|
|
13
|
-
user: any;
|
|
14
|
-
}): Promise<any>;
|
|
15
|
-
getAttributesDropdownList(req: Request & {
|
|
16
|
-
user: any;
|
|
17
|
-
}, appcode?: string): Promise<any>;
|
|
18
|
-
}
|