@servicelabsco/slabs-access-manager 2.0.2 → 2.0.4
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/CLAUDE.md +29 -0
- package/CODEBASE-REVIEW.md +129 -0
- package/dist/access/commands/index.js.map +1 -1
- package/dist/access/controllers/dashboard.controller.js +8 -5
- package/dist/access/controllers/dashboard.controller.js.map +1 -1
- package/dist/access/controllers/group.member.controller.js +9 -3
- package/dist/access/controllers/group.member.controller.js.map +1 -1
- package/dist/access/controllers/group.role.controller.js +7 -3
- package/dist/access/controllers/group.role.controller.js.map +1 -1
- package/dist/access/controllers/index.js.map +1 -1
- package/dist/access/controllers/tag.controller.js +8 -4
- package/dist/access/controllers/tag.controller.js.map +1 -1
- package/dist/access/dtos/index.js.map +1 -1
- package/dist/access/entities/access.employee.entity.js +1 -1
- package/dist/access/entities/access.employee.entity.js.map +1 -1
- package/dist/access/entities/access.whatsapp.template.entity.js +1 -1
- package/dist/access/entities/access.whatsapp.template.entity.js.map +1 -1
- package/dist/access/entities/api.account.entity.js +3 -3
- package/dist/access/entities/api.account.entity.js.map +1 -1
- package/dist/access/entities/app.integration.entity.js +1 -1
- package/dist/access/entities/app.integration.entity.js.map +1 -1
- package/dist/access/entities/business.app.integration.credential.entity.js +1 -1
- package/dist/access/entities/business.app.integration.credential.entity.js.map +1 -1
- package/dist/access/entities/business.app.integration.entity.js +1 -1
- package/dist/access/entities/business.app.integration.entity.js.map +1 -1
- package/dist/access/entities/business.app.integration.messages.entity.js +1 -1
- package/dist/access/entities/business.app.integration.messages.entity.js.map +1 -1
- package/dist/access/entities/business.currency.entity.js +1 -1
- package/dist/access/entities/business.currency.entity.js.map +1 -1
- package/dist/access/entities/business.downloadable.report.entity.js +2 -2
- package/dist/access/entities/business.downloadable.report.entity.js.map +1 -1
- package/dist/access/entities/business.email.entity.js +1 -1
- package/dist/access/entities/business.email.entity.js.map +1 -1
- package/dist/access/entities/business.feature.entity.js +1 -1
- package/dist/access/entities/business.feature.entity.js.map +1 -1
- package/dist/access/entities/business.group.role.entity.js +1 -1
- package/dist/access/entities/business.group.role.entity.js.map +1 -1
- package/dist/access/entities/business.material.view.entity.js +1 -1
- package/dist/access/entities/business.material.view.entity.js.map +1 -1
- package/dist/access/entities/business.menu.entity.js +1 -1
- package/dist/access/entities/business.menu.entity.js.map +1 -1
- package/dist/access/entities/business.preference.entity.js +2 -2
- package/dist/access/entities/business.preference.entity.js.map +1 -1
- package/dist/access/entities/business.property.entity.js +1 -1
- package/dist/access/entities/business.property.entity.js.map +1 -1
- package/dist/access/entities/business.report.entity.js +3 -3
- package/dist/access/entities/business.report.entity.js.map +1 -1
- package/dist/access/entities/business.script.entity.js +2 -2
- package/dist/access/entities/business.script.entity.js.map +1 -1
- package/dist/access/entities/business.user.entity.js +1 -1
- package/dist/access/entities/business.user.entity.js.map +1 -1
- package/dist/access/entities/business.user.group.entity.js +1 -1
- package/dist/access/entities/business.user.group.entity.js.map +1 -1
- package/dist/access/entities/business.user.notification.preference.entity.js +1 -1
- package/dist/access/entities/business.user.notification.preference.entity.js.map +1 -1
- package/dist/access/entities/business.user.role.entity.js +1 -1
- package/dist/access/entities/business.user.role.entity.js.map +1 -1
- package/dist/access/entities/business.webhook.entity.js +2 -2
- package/dist/access/entities/business.webhook.entity.js.map +1 -1
- package/dist/access/entities/bz.notification.channel.preference.entity.js +1 -1
- package/dist/access/entities/bz.notification.channel.preference.entity.js.map +1 -1
- package/dist/access/entities/child.menu.entity.js +1 -1
- package/dist/access/entities/child.menu.entity.js.map +1 -1
- package/dist/access/entities/choice.list.entity.js +1 -1
- package/dist/access/entities/choice.list.entity.js.map +1 -1
- package/dist/access/entities/choice.type.entity.js +1 -1
- package/dist/access/entities/choice.type.entity.js.map +1 -1
- package/dist/access/entities/conversation.entity.js +2 -2
- package/dist/access/entities/conversation.entity.js.map +1 -1
- package/dist/access/entities/currency.rate.entity.js +1 -1
- package/dist/access/entities/currency.rate.entity.js.map +1 -1
- package/dist/access/entities/custom.field.entity.js +1 -1
- package/dist/access/entities/custom.field.entity.js.map +1 -1
- package/dist/access/entities/custom.report.entity.js +3 -3
- package/dist/access/entities/custom.report.entity.js.map +1 -1
- package/dist/access/entities/dashboard.component.entity.js +2 -2
- package/dist/access/entities/dashboard.component.entity.js.map +1 -1
- package/dist/access/entities/dashboard.entity.js +1 -1
- package/dist/access/entities/dashboard.entity.js.map +1 -1
- package/dist/access/entities/download.log.entity.js +1 -1
- package/dist/access/entities/download.log.entity.js.map +1 -1
- package/dist/access/entities/email.attachment.entity.js +1 -1
- package/dist/access/entities/email.attachment.entity.js.map +1 -1
- package/dist/access/entities/email.message.entity.js +2 -2
- package/dist/access/entities/email.message.entity.js.map +1 -1
- package/dist/access/entities/email.recipient.entity.js +1 -1
- package/dist/access/entities/email.recipient.entity.js.map +1 -1
- package/dist/access/entities/email.rule.entity.js +2 -2
- package/dist/access/entities/email.rule.entity.js.map +1 -1
- package/dist/access/entities/email.style.entity.js +3 -3
- package/dist/access/entities/email.style.entity.js.map +1 -1
- package/dist/access/entities/email.template.log.entity.js +3 -3
- package/dist/access/entities/email.template.log.entity.js.map +1 -1
- package/dist/access/entities/email.template.recipient.entity.js +4 -4
- package/dist/access/entities/email.template.recipient.entity.js.map +1 -1
- package/dist/access/entities/event.trigger.entity.js +1 -1
- package/dist/access/entities/event.trigger.entity.js.map +1 -1
- package/dist/access/entities/event.trigger.log.entity.js +2 -2
- package/dist/access/entities/event.trigger.log.entity.js.map +1 -1
- package/dist/access/entities/execution.log.entity.js +1 -1
- package/dist/access/entities/execution.log.entity.js.map +1 -1
- package/dist/access/entities/fcm.message.entity.js +3 -3
- package/dist/access/entities/fcm.message.entity.js.map +1 -1
- package/dist/access/entities/fcm.token.entity.js +1 -1
- package/dist/access/entities/fcm.token.entity.js.map +1 -1
- package/dist/access/entities/feature.entity.js +1 -1
- package/dist/access/entities/feature.entity.js.map +1 -1
- package/dist/access/entities/feature.menu.entity.js +1 -1
- package/dist/access/entities/feature.menu.entity.js.map +1 -1
- package/dist/access/entities/finnoto.user.entity.js +1 -1
- package/dist/access/entities/finnoto.user.entity.js.map +1 -1
- package/dist/access/entities/form.script.entity.js +1 -1
- package/dist/access/entities/form.script.entity.js.map +1 -1
- package/dist/access/entities/gchat.message.entity.js +2 -2
- package/dist/access/entities/gchat.message.entity.js.map +1 -1
- package/dist/access/entities/gchat.template.entity.js +3 -3
- package/dist/access/entities/gchat.template.entity.js.map +1 -1
- package/dist/access/entities/gchat.user.entity.js +1 -1
- package/dist/access/entities/gchat.user.entity.js.map +1 -1
- package/dist/access/entities/gchat.webhook.entity.js +1 -1
- package/dist/access/entities/gchat.webhook.entity.js.map +1 -1
- package/dist/access/entities/gchat.webhook.message.entity.js +2 -2
- package/dist/access/entities/gchat.webhook.message.entity.js.map +1 -1
- package/dist/access/entities/group.member.entity.js +1 -1
- package/dist/access/entities/group.member.entity.js.map +1 -1
- package/dist/access/entities/group.role.entity.js +1 -1
- package/dist/access/entities/group.role.entity.js.map +1 -1
- package/dist/access/entities/gst.mapping.entity.js +1 -1
- package/dist/access/entities/gst.mapping.entity.js.map +1 -1
- package/dist/access/entities/index.js.map +1 -1
- package/dist/access/entities/list.preference.entity.js +3 -3
- package/dist/access/entities/list.preference.entity.js.map +1 -1
- package/dist/access/entities/listing.column.entity.js +2 -2
- package/dist/access/entities/listing.column.entity.js.map +1 -1
- package/dist/access/entities/listing.page.entity.js +2 -2
- package/dist/access/entities/listing.page.entity.js.map +1 -1
- package/dist/access/entities/listing.preference.entity.js +3 -3
- package/dist/access/entities/listing.preference.entity.js.map +1 -1
- package/dist/access/entities/lock.script.entity.js +1 -1
- package/dist/access/entities/lock.script.entity.js.map +1 -1
- package/dist/access/entities/menu.action.entity.js +1 -1
- package/dist/access/entities/menu.action.entity.js.map +1 -1
- package/dist/access/entities/menu.entity.js +1 -1
- package/dist/access/entities/menu.entity.js.map +1 -1
- package/dist/access/entities/menu.role.entity.js +1 -1
- package/dist/access/entities/menu.role.entity.js.map +1 -1
- package/dist/access/entities/module.entity.js +1 -1
- package/dist/access/entities/module.entity.js.map +1 -1
- package/dist/access/entities/module.menu.entity.js +1 -1
- package/dist/access/entities/module.menu.entity.js.map +1 -1
- package/dist/access/entities/oauth.client.entity.js +3 -3
- package/dist/access/entities/oauth.client.entity.js.map +1 -1
- package/dist/access/entities/onhold.document.entity.js +1 -1
- package/dist/access/entities/onhold.document.entity.js.map +1 -1
- package/dist/access/entities/overriding.script.entity.js +1 -1
- package/dist/access/entities/overriding.script.entity.js.map +1 -1
- package/dist/access/entities/preference.user.entity.js +1 -1
- package/dist/access/entities/preference.user.entity.js.map +1 -1
- package/dist/access/entities/preference.user.group.entity.js +1 -1
- package/dist/access/entities/preference.user.group.entity.js.map +1 -1
- package/dist/access/entities/product.entity.js +1 -1
- package/dist/access/entities/product.entity.js.map +1 -1
- package/dist/access/entities/report.log.entity.js +3 -3
- package/dist/access/entities/report.log.entity.js.map +1 -1
- package/dist/access/entities/request.log.entity.js +3 -3
- package/dist/access/entities/request.log.entity.js.map +1 -1
- package/dist/access/entities/role.group.entity.js +1 -1
- package/dist/access/entities/role.group.entity.js.map +1 -1
- package/dist/access/entities/scheduled.report.email.entity.js +1 -1
- package/dist/access/entities/scheduled.report.email.entity.js.map +1 -1
- package/dist/access/entities/scheduled.report.entity.js +3 -3
- package/dist/access/entities/scheduled.report.entity.js.map +1 -1
- package/dist/access/entities/scheduled.report.item.entity.js +1 -1
- package/dist/access/entities/scheduled.report.item.entity.js.map +1 -1
- package/dist/access/entities/slack.integration.entity.js +1 -1
- package/dist/access/entities/slack.integration.entity.js.map +1 -1
- package/dist/access/entities/slack.message.entity.js +3 -3
- package/dist/access/entities/slack.message.entity.js.map +1 -1
- package/dist/access/entities/slack.template.entity.js +3 -3
- package/dist/access/entities/slack.template.entity.js.map +1 -1
- package/dist/access/entities/slack.user.entity.js +1 -1
- package/dist/access/entities/slack.user.entity.js.map +1 -1
- package/dist/access/entities/slack.webhook.entity.js +1 -1
- package/dist/access/entities/slack.webhook.entity.js.map +1 -1
- package/dist/access/entities/slack.webhook.message.entity.js +2 -2
- package/dist/access/entities/slack.webhook.message.entity.js.map +1 -1
- package/dist/access/entities/ui.action.entity.js +2 -2
- package/dist/access/entities/ui.action.entity.js.map +1 -1
- package/dist/access/entities/ui.action.role.entity.js +1 -1
- package/dist/access/entities/ui.action.role.entity.js.map +1 -1
- package/dist/access/entities/user.business.secret.entity.js +3 -3
- package/dist/access/entities/user.business.secret.entity.js.map +1 -1
- package/dist/access/entities/user.notification.entity.js +2 -2
- package/dist/access/entities/user.notification.entity.js.map +1 -1
- package/dist/access/entities/user.preference.entity.js +2 -2
- package/dist/access/entities/user.preference.entity.js.map +1 -1
- package/dist/access/entities/user.role.entity.js +1 -1
- package/dist/access/entities/user.role.entity.js.map +1 -1
- package/dist/access/entities/watchlist.assignment.entity.js +1 -1
- package/dist/access/entities/watchlist.assignment.entity.js.map +1 -1
- package/dist/access/entities/webhook.event.entity.js +1 -1
- package/dist/access/entities/webhook.event.entity.js.map +1 -1
- package/dist/access/entities/webhook.log.entity.js +3 -3
- package/dist/access/entities/webhook.log.entity.js.map +1 -1
- package/dist/access/entities/webhook.slug.entity.js +1 -1
- package/dist/access/entities/webhook.slug.entity.js.map +1 -1
- package/dist/access/entities/webhook.type.entity.js +1 -1
- package/dist/access/entities/webhook.type.entity.js.map +1 -1
- package/dist/access/entities/whatsapp.message.entity.js +3 -3
- package/dist/access/entities/whatsapp.message.entity.js.map +1 -1
- package/dist/access/entities/whatsapp.preference.entity.js +1 -1
- package/dist/access/entities/whatsapp.preference.entity.js.map +1 -1
- package/dist/access/entities/whitelisted.whatsapp.number.entity.js +1 -1
- package/dist/access/entities/whitelisted.whatsapp.number.entity.js.map +1 -1
- package/dist/access/enums/index.js.map +1 -1
- package/dist/access/es6.classes.d.ts +8 -9
- package/dist/access/es6.classes.js +4 -4
- package/dist/access/es6.classes.js.map +1 -1
- package/dist/access/index.d.ts +1 -1
- package/dist/access/index.js +1 -1
- package/dist/access/index.js.map +1 -1
- package/dist/access/jobs/business.app.integration.job.js +6 -2
- package/dist/access/jobs/business.app.integration.job.js.map +1 -1
- package/dist/access/jobs/business.feature.job.js +12 -4
- package/dist/access/jobs/business.feature.job.js.map +1 -1
- package/dist/access/jobs/business.report.job.js +6 -2
- package/dist/access/jobs/business.report.job.js.map +1 -1
- package/dist/access/jobs/business.script.job.js +12 -4
- package/dist/access/jobs/business.script.job.js.map +1 -1
- package/dist/access/jobs/choice.list.job.js +6 -2
- package/dist/access/jobs/choice.list.job.js.map +1 -1
- package/dist/access/jobs/email.attachment.job.js +6 -2
- package/dist/access/jobs/email.attachment.job.js.map +1 -1
- package/dist/access/jobs/email.message.job.js +12 -4
- package/dist/access/jobs/email.message.job.js.map +1 -1
- package/dist/access/jobs/email.recipient.job.js +6 -2
- package/dist/access/jobs/email.recipient.job.js.map +1 -1
- package/dist/access/jobs/feature.job.js +6 -2
- package/dist/access/jobs/feature.job.js.map +1 -1
- package/dist/access/jobs/feature.menu.job.js +12 -4
- package/dist/access/jobs/feature.menu.job.js.map +1 -1
- package/dist/access/jobs/group.role.job.js +6 -2
- package/dist/access/jobs/group.role.job.js.map +1 -1
- package/dist/access/jobs/index.js.map +1 -1
- package/dist/access/jobs/scheduled.report.job.js +12 -4
- package/dist/access/jobs/scheduled.report.job.js.map +1 -1
- package/dist/access/jobs/watchlist.assignment.job.js +6 -2
- package/dist/access/jobs/watchlist.assignment.job.js.map +1 -1
- package/dist/access/jobs/webhook.type.job.js +6 -2
- package/dist/access/jobs/webhook.type.job.js.map +1 -1
- package/dist/access/libraries/assert.safe.sql.fragment.d.ts +6 -0
- package/dist/access/libraries/assert.safe.sql.fragment.js +19 -0
- package/dist/access/libraries/assert.safe.sql.fragment.js.map +1 -0
- package/dist/access/libraries/index.d.ts +2 -1
- package/dist/access/libraries/index.js +2 -1
- package/dist/access/libraries/index.js.map +1 -1
- package/dist/access/libraries/process.dashboard.report.data.js +5 -1
- package/dist/access/libraries/process.dashboard.report.data.js.map +1 -1
- package/dist/access/libraries/process.db.find.d.ts +3 -0
- package/dist/access/libraries/process.db.find.js +30 -16
- package/dist/access/libraries/process.db.find.js.map +1 -1
- package/dist/access/libraries/process.report.data.js +8 -2
- package/dist/access/libraries/process.report.data.js.map +1 -1
- package/dist/access/libraries/resolve.client.ip.d.ts +3 -0
- package/dist/access/libraries/resolve.client.ip.js +11 -0
- package/dist/access/libraries/resolve.client.ip.js.map +1 -0
- package/dist/access/libraries/send.fcm.notification.d.ts +1 -1
- package/dist/access/libraries/send.fcm.notification.js +15 -8
- package/dist/access/libraries/send.fcm.notification.js.map +1 -1
- package/dist/access/middlewares/external.access.middleware.js +2 -1
- package/dist/access/middlewares/external.access.middleware.js.map +1 -1
- package/dist/access/middlewares/index.js.map +1 -1
- package/dist/access/middlewares/mcp.access.middleware.js +2 -1
- package/dist/access/middlewares/mcp.access.middleware.js.map +1 -1
- package/dist/access/middlewares/mcp.rate.limit.middleware.js +3 -2
- package/dist/access/middlewares/mcp.rate.limit.middleware.js.map +1 -1
- package/dist/access/services/gmail.integration.service.d.ts +1 -1
- package/dist/access/services/gmail.integration.service.js +7 -8
- package/dist/access/services/gmail.integration.service.js.map +1 -1
- package/dist/access/services/index.d.ts +0 -1
- package/dist/access/services/index.js +0 -1
- package/dist/access/services/index.js.map +1 -1
- package/dist/access/services/slack.service.d.ts +3 -2
- package/dist/access/services/slack.service.js +14 -17
- package/dist/access/services/slack.service.js.map +1 -1
- package/dist/access/services/webhook.service.d.ts +2 -1
- package/dist/access/services/webhook.service.js +7 -9
- package/dist/access/services/webhook.service.js.map +1 -1
- package/dist/access/subscribers/index.js.map +1 -1
- package/dist/accessUtility/controllers/index.js.map +1 -1
- package/dist/accessUtility/dtos/index.js.map +1 -1
- package/dist/accessUtility/entities/bulk.definition.entity.js +1 -1
- package/dist/accessUtility/entities/bulk.definition.entity.js.map +1 -1
- package/dist/accessUtility/entities/bulk.definition.load.entity.js +1 -1
- package/dist/accessUtility/entities/bulk.definition.load.entity.js.map +1 -1
- package/dist/accessUtility/entities/bulk.definition.processing.entity.js +1 -1
- package/dist/accessUtility/entities/bulk.definition.processing.entity.js.map +1 -1
- package/dist/accessUtility/entities/bulk.upload.column.entity.js +1 -1
- package/dist/accessUtility/entities/bulk.upload.column.entity.js.map +1 -1
- package/dist/accessUtility/entities/bulk.upload.entity.js +2 -2
- package/dist/accessUtility/entities/bulk.upload.entity.js.map +1 -1
- package/dist/accessUtility/entities/bulk.upload.item.entity.js +3 -3
- package/dist/accessUtility/entities/bulk.upload.item.entity.js.map +1 -1
- package/dist/accessUtility/entities/bulk.upload.type.entity.js +2 -2
- package/dist/accessUtility/entities/bulk.upload.type.entity.js.map +1 -1
- package/dist/accessUtility/entities/business.bulk.definition.entity.js +1 -1
- package/dist/accessUtility/entities/business.bulk.definition.entity.js.map +1 -1
- package/dist/accessUtility/entities/business.policy.entity.js +2 -2
- package/dist/accessUtility/entities/business.policy.entity.js.map +1 -1
- package/dist/accessUtility/entities/business.violation.entity.js +2 -2
- package/dist/accessUtility/entities/business.violation.entity.js.map +1 -1
- package/dist/accessUtility/entities/currency.entity.js +1 -1
- package/dist/accessUtility/entities/currency.entity.js.map +1 -1
- package/dist/accessUtility/entities/data.access.entity.js +1 -1
- package/dist/accessUtility/entities/data.access.entity.js.map +1 -1
- package/dist/accessUtility/entities/data.mapping.entity.js +1 -1
- package/dist/accessUtility/entities/data.mapping.entity.js.map +1 -1
- package/dist/accessUtility/entities/data.violation.entity.js +1 -1
- package/dist/accessUtility/entities/data.violation.entity.js.map +1 -1
- package/dist/accessUtility/entities/email.notification.entity.js +2 -2
- package/dist/accessUtility/entities/email.notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/fcm.notification.entity.js +2 -2
- package/dist/accessUtility/entities/fcm.notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/fcm.template.entity.js +3 -3
- package/dist/accessUtility/entities/fcm.template.entity.js.map +1 -1
- package/dist/accessUtility/entities/gchat.notification.entity.js +2 -2
- package/dist/accessUtility/entities/gchat.notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/gst.state.entity.js +1 -1
- package/dist/accessUtility/entities/gst.state.entity.js.map +1 -1
- package/dist/accessUtility/entities/inapp.notification.entity.js +3 -3
- package/dist/accessUtility/entities/inapp.notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/index.js.map +1 -1
- package/dist/accessUtility/entities/item.unit.entity.js +1 -1
- package/dist/accessUtility/entities/item.unit.entity.js.map +1 -1
- package/dist/accessUtility/entities/item.violation.entity.js +1 -1
- package/dist/accessUtility/entities/item.violation.entity.js.map +1 -1
- package/dist/accessUtility/entities/listing.model.entity.js +3 -3
- package/dist/accessUtility/entities/listing.model.entity.js.map +1 -1
- package/dist/accessUtility/entities/notification.entity.js +2 -2
- package/dist/accessUtility/entities/notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/notification.recipient.entity.js +1 -1
- package/dist/accessUtility/entities/notification.recipient.entity.js.map +1 -1
- package/dist/accessUtility/entities/pdf.documents.entity.js +2 -2
- package/dist/accessUtility/entities/pdf.documents.entity.js.map +1 -1
- package/dist/accessUtility/entities/pdf.log.entity.js +5 -5
- package/dist/accessUtility/entities/pdf.log.entity.js.map +1 -1
- package/dist/accessUtility/entities/pdf.templates.entity.js +2 -2
- package/dist/accessUtility/entities/pdf.templates.entity.js.map +1 -1
- package/dist/accessUtility/entities/slack.notification.entity.js +2 -2
- package/dist/accessUtility/entities/slack.notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/sms.notification.entity.js +2 -2
- package/dist/accessUtility/entities/sms.notification.entity.js.map +1 -1
- package/dist/accessUtility/entities/tag.assignment.entity.js +1 -1
- package/dist/accessUtility/entities/tag.assignment.entity.js.map +1 -1
- package/dist/accessUtility/entities/ui.policies.entity.js +2 -2
- package/dist/accessUtility/entities/ui.policies.entity.js.map +1 -1
- package/dist/accessUtility/entities/upload.modification.entity.js +1 -1
- package/dist/accessUtility/entities/upload.modification.entity.js.map +1 -1
- package/dist/accessUtility/entities/violation.definition.entity.js +1 -1
- package/dist/accessUtility/entities/violation.definition.entity.js.map +1 -1
- package/dist/accessUtility/entities/webhook.request.entity.js +2 -2
- package/dist/accessUtility/entities/webhook.request.entity.js.map +1 -1
- package/dist/accessUtility/entities/whatsapp.notification.entity.js +2 -2
- package/dist/accessUtility/entities/whatsapp.notification.entity.js.map +1 -1
- package/dist/accessUtility/enums/index.js.map +1 -1
- package/dist/accessUtility/es6.classes.d.ts +2 -3
- package/dist/accessUtility/es6.classes.js +0 -2
- package/dist/accessUtility/es6.classes.js.map +1 -1
- package/dist/accessUtility/index.d.ts +2 -2
- package/dist/accessUtility/index.js +2 -2
- package/dist/accessUtility/index.js.map +1 -1
- package/dist/accessUtility/interfaces/index.js.map +1 -1
- package/dist/accessUtility/jobs/bulk.upload.item.job.js +6 -2
- package/dist/accessUtility/jobs/bulk.upload.item.job.js.map +1 -1
- package/dist/accessUtility/jobs/index.js.map +1 -1
- package/dist/accessUtility/jobs/pdfDocument.job.js +6 -2
- package/dist/accessUtility/jobs/pdfDocument.job.js.map +1 -1
- package/dist/accessUtility/libraries/index.js.map +1 -1
- package/dist/accessUtility/services/business.policy.service.d.ts +2 -1
- package/dist/accessUtility/services/business.policy.service.js +12 -9
- package/dist/accessUtility/services/business.policy.service.js.map +1 -1
- package/dist/accessUtility/services/index.js.map +1 -1
- package/dist/accessUtility/subscribers/index.js.map +1 -1
- package/dist/accessWorkflow/controllers/index.js.map +1 -1
- package/dist/accessWorkflow/dtos/index.js.map +1 -1
- package/dist/accessWorkflow/entities/approval.rule.entity.js +2 -2
- package/dist/accessWorkflow/entities/approval.rule.entity.js.map +1 -1
- package/dist/accessWorkflow/entities/approval.step.entity.js +2 -2
- package/dist/accessWorkflow/entities/approval.step.entity.js.map +1 -1
- package/dist/accessWorkflow/entities/authority.delegation.entity.js +1 -1
- package/dist/accessWorkflow/entities/authority.delegation.entity.js.map +1 -1
- package/dist/accessWorkflow/entities/index.js.map +1 -1
- package/dist/accessWorkflow/entities/limit.config.entity.js +1 -1
- package/dist/accessWorkflow/entities/limit.config.entity.js.map +1 -1
- package/dist/accessWorkflow/entities/workflow.stage.activity.entity.js +1 -1
- package/dist/accessWorkflow/entities/workflow.stage.activity.entity.js.map +1 -1
- package/dist/accessWorkflow/entities/workflow.stage.entity.js +1 -1
- package/dist/accessWorkflow/entities/workflow.stage.entity.js.map +1 -1
- package/dist/accessWorkflow/entities/workflow.stage.level.entity.js +1 -1
- package/dist/accessWorkflow/entities/workflow.stage.level.entity.js.map +1 -1
- package/dist/accessWorkflow/entities/workflow.stage.status.entity.js +2 -2
- package/dist/accessWorkflow/entities/workflow.stage.status.entity.js.map +1 -1
- package/dist/accessWorkflow/entities/workflow.step.entity.js +1 -1
- package/dist/accessWorkflow/entities/workflow.step.entity.js.map +1 -1
- package/dist/accessWorkflow/entities/workflow.user.entity.js +1 -1
- package/dist/accessWorkflow/entities/workflow.user.entity.js.map +1 -1
- package/dist/accessWorkflow/enums/index.js.map +1 -1
- package/dist/accessWorkflow/es6.classes.d.ts +1 -2
- package/dist/accessWorkflow/es6.classes.js +1 -2
- package/dist/accessWorkflow/es6.classes.js.map +1 -1
- package/dist/accessWorkflow/index.d.ts +1 -1
- package/dist/accessWorkflow/index.js +1 -1
- package/dist/accessWorkflow/index.js.map +1 -1
- package/dist/accessWorkflow/jobs/approval.step.job.js +6 -2
- package/dist/accessWorkflow/jobs/approval.step.job.js.map +1 -1
- package/dist/accessWorkflow/jobs/authority.delegation.job.js +6 -2
- package/dist/accessWorkflow/jobs/authority.delegation.job.js.map +1 -1
- package/dist/accessWorkflow/jobs/index.js.map +1 -1
- package/dist/accessWorkflow/jobs/workflow.stage.activity.job.js +6 -2
- package/dist/accessWorkflow/jobs/workflow.stage.activity.job.js.map +1 -1
- package/dist/accessWorkflow/jobs/workflow.stage.level.job.js +12 -4
- package/dist/accessWorkflow/jobs/workflow.stage.level.job.js.map +1 -1
- package/dist/accessWorkflow/jobs/workflow.step.job.js +18 -6
- package/dist/accessWorkflow/jobs/workflow.step.job.js.map +1 -1
- package/dist/accessWorkflow/jobs/workflow.user.job.js +18 -6
- package/dist/accessWorkflow/jobs/workflow.user.job.js.map +1 -1
- package/dist/accessWorkflow/libraries/index.js.map +1 -1
- package/dist/accessWorkflow/services/index.js.map +1 -1
- package/dist/accessWorkflow/subscribers/index.js.map +1 -1
- package/dist/app.controller.d.ts +0 -2
- package/dist/app.controller.js +10 -29
- package/dist/app.controller.js.map +1 -1
- package/dist/app.service.d.ts +0 -5
- package/dist/app.service.js +1 -20
- package/dist/app.service.js.map +1 -1
- package/dist/development/commands/index.js.map +1 -1
- package/dist/development/controllers/index.js.map +1 -1
- package/dist/development/dtos/index.js.map +1 -1
- package/dist/development/es6.classes.d.ts +3 -0
- package/dist/development/es6.classes.js +3 -0
- package/dist/development/es6.classes.js.map +1 -1
- package/dist/development/gates/index.js.map +1 -1
- package/dist/development/index.d.ts +1 -1
- package/dist/development/index.js +1 -1
- package/dist/development/index.js.map +1 -1
- package/dist/development/interfaces/index.js.map +1 -1
- package/dist/development/middlewares/development.middleware.js +2 -3
- package/dist/development/middlewares/development.middleware.js.map +1 -1
- package/dist/development/middlewares/index.js.map +1 -1
- package/dist/development/registries/development.entity.registry.d.ts +2 -0
- package/dist/development/registries/development.entity.registry.js +17 -0
- package/dist/development/registries/development.entity.registry.js.map +1 -1
- package/dist/development/registries/index.js.map +1 -1
- package/dist/development/services/development.crud.service.d.ts +1 -0
- package/dist/development/services/development.crud.service.js +8 -0
- package/dist/development/services/development.crud.service.js.map +1 -1
- package/dist/development/services/index.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/admin/index.js.map +1 -1
- package/dist/mcp/admin/tools/admin.tool.registry.js +60 -0
- package/dist/mcp/admin/tools/admin.tool.registry.js.map +1 -1
- package/dist/mcp/admin/tools/business_feature/business.feature.create.tool.d.ts +22 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.create.tool.js +25 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.create.tool.js.map +1 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.delete.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.delete.tool.js +23 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.delete.tool.js.map +1 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.get.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.get.tool.js +23 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.get.tool.js.map +1 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.list.tool.d.ts +23 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.list.tool.js +37 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.list.tool.js.map +1 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.update.tool.d.ts +24 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.update.tool.js +27 -0
- package/dist/mcp/admin/tools/business_feature/business.feature.update.tool.js.map +1 -0
- package/dist/mcp/admin/tools/business_feature/index.d.ts +5 -0
- package/dist/mcp/admin/tools/business_feature/index.js +22 -0
- package/dist/mcp/admin/tools/business_feature/index.js.map +1 -0
- package/dist/mcp/admin/tools/catalog/index.js.map +1 -1
- package/dist/mcp/admin/tools/child_menu/index.js.map +1 -1
- package/dist/mcp/admin/tools/feature/feature.create.tool.d.ts +22 -0
- package/dist/mcp/admin/tools/feature/feature.create.tool.js +25 -0
- package/dist/mcp/admin/tools/feature/feature.create.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature/feature.delete.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/feature/feature.delete.tool.js +23 -0
- package/dist/mcp/admin/tools/feature/feature.delete.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature/feature.get.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/feature/feature.get.tool.js +23 -0
- package/dist/mcp/admin/tools/feature/feature.get.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature/feature.list.tool.d.ts +23 -0
- package/dist/mcp/admin/tools/feature/feature.list.tool.js +37 -0
- package/dist/mcp/admin/tools/feature/feature.list.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature/feature.update.tool.d.ts +24 -0
- package/dist/mcp/admin/tools/feature/feature.update.tool.js +27 -0
- package/dist/mcp/admin/tools/feature/feature.update.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature/index.d.ts +5 -0
- package/dist/mcp/admin/tools/feature/index.js +22 -0
- package/dist/mcp/admin/tools/feature/index.js.map +1 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.create.tool.d.ts +20 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.create.tool.js +24 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.create.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.delete.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.delete.tool.js +23 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.delete.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.get.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.get.tool.js +23 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.get.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.list.tool.d.ts +23 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.list.tool.js +37 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.list.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.update.tool.d.ts +22 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.update.tool.js +26 -0
- package/dist/mcp/admin/tools/feature_menu/feature.menu.update.tool.js.map +1 -0
- package/dist/mcp/admin/tools/feature_menu/index.d.ts +5 -0
- package/dist/mcp/admin/tools/feature_menu/index.js +22 -0
- package/dist/mcp/admin/tools/feature_menu/index.js.map +1 -0
- package/dist/mcp/admin/tools/form_script/index.js.map +1 -1
- package/dist/mcp/admin/tools/group_role/group.role.create.tool.d.ts +20 -0
- package/dist/mcp/admin/tools/group_role/group.role.create.tool.js +24 -0
- package/dist/mcp/admin/tools/group_role/group.role.create.tool.js.map +1 -0
- package/dist/mcp/admin/tools/group_role/group.role.delete.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/group_role/group.role.delete.tool.js +23 -0
- package/dist/mcp/admin/tools/group_role/group.role.delete.tool.js.map +1 -0
- package/dist/mcp/admin/tools/group_role/group.role.get.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/group_role/group.role.get.tool.js +23 -0
- package/dist/mcp/admin/tools/group_role/group.role.get.tool.js.map +1 -0
- package/dist/mcp/admin/tools/group_role/group.role.list.tool.d.ts +23 -0
- package/dist/mcp/admin/tools/group_role/group.role.list.tool.js +37 -0
- package/dist/mcp/admin/tools/group_role/group.role.list.tool.js.map +1 -0
- package/dist/mcp/admin/tools/group_role/group.role.update.tool.d.ts +22 -0
- package/dist/mcp/admin/tools/group_role/group.role.update.tool.js +26 -0
- package/dist/mcp/admin/tools/group_role/group.role.update.tool.js.map +1 -0
- package/dist/mcp/admin/tools/group_role/index.d.ts +5 -0
- package/dist/mcp/admin/tools/group_role/index.js +22 -0
- package/dist/mcp/admin/tools/group_role/index.js.map +1 -0
- package/dist/mcp/admin/tools/index.d.ts +7 -1
- package/dist/mcp/admin/tools/index.js +7 -1
- package/dist/mcp/admin/tools/index.js.map +1 -1
- package/dist/mcp/admin/tools/listing_column/index.js.map +1 -1
- package/dist/mcp/admin/tools/listing_page/index.js.map +1 -1
- package/dist/mcp/admin/tools/listing_preference/index.js.map +1 -1
- package/dist/mcp/admin/tools/menu/index.js.map +1 -1
- package/dist/mcp/admin/tools/menu_role/index.js.map +1 -1
- package/dist/mcp/admin/tools/menu_ui_action/index.js.map +1 -1
- package/dist/mcp/admin/tools/module/index.js.map +1 -1
- package/dist/mcp/admin/tools/module_menu/index.js.map +1 -1
- package/dist/mcp/admin/tools/report/index.js.map +1 -1
- package/dist/mcp/admin/tools/role/index.d.ts +5 -0
- package/dist/mcp/admin/tools/role/index.js +22 -0
- package/dist/mcp/admin/tools/role/index.js.map +1 -0
- package/dist/mcp/admin/tools/role/role.create.tool.d.ts +24 -0
- package/dist/mcp/admin/tools/role/role.create.tool.js +26 -0
- package/dist/mcp/admin/tools/role/role.create.tool.js.map +1 -0
- package/dist/mcp/admin/tools/role/role.delete.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/role/role.delete.tool.js +23 -0
- package/dist/mcp/admin/tools/role/role.delete.tool.js.map +1 -0
- package/dist/mcp/admin/tools/role/role.get.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/role/role.get.tool.js +23 -0
- package/dist/mcp/admin/tools/role/role.get.tool.js.map +1 -0
- package/dist/mcp/admin/tools/role/role.list.tool.d.ts +23 -0
- package/dist/mcp/admin/tools/role/role.list.tool.js +37 -0
- package/dist/mcp/admin/tools/role/role.list.tool.js.map +1 -0
- package/dist/mcp/admin/tools/role/role.update.tool.d.ts +26 -0
- package/dist/mcp/admin/tools/role/role.update.tool.js +28 -0
- package/dist/mcp/admin/tools/role/role.update.tool.js.map +1 -0
- package/dist/mcp/admin/tools/role_group/index.d.ts +5 -0
- package/dist/mcp/admin/tools/role_group/index.js +22 -0
- package/dist/mcp/admin/tools/role_group/index.js.map +1 -0
- package/dist/mcp/admin/tools/role_group/role.group.create.tool.d.ts +22 -0
- package/dist/mcp/admin/tools/role_group/role.group.create.tool.js +25 -0
- package/dist/mcp/admin/tools/role_group/role.group.create.tool.js.map +1 -0
- package/dist/mcp/admin/tools/role_group/role.group.delete.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/role_group/role.group.delete.tool.js +23 -0
- package/dist/mcp/admin/tools/role_group/role.group.delete.tool.js.map +1 -0
- package/dist/mcp/admin/tools/role_group/role.group.get.tool.d.ts +17 -0
- package/dist/mcp/admin/tools/role_group/role.group.get.tool.js +23 -0
- package/dist/mcp/admin/tools/role_group/role.group.get.tool.js.map +1 -0
- package/dist/mcp/admin/tools/role_group/role.group.list.tool.d.ts +23 -0
- package/dist/mcp/admin/tools/role_group/role.group.list.tool.js +37 -0
- package/dist/mcp/admin/tools/role_group/role.group.list.tool.js.map +1 -0
- package/dist/mcp/admin/tools/role_group/role.group.update.tool.d.ts +24 -0
- package/dist/mcp/admin/tools/role_group/role.group.update.tool.js +27 -0
- package/dist/mcp/admin/tools/role_group/role.group.update.tool.js.map +1 -0
- package/dist/mcp/admin/tools/ui_action/index.js.map +1 -1
- package/dist/mcp/admin/tools/ui_action_role/index.js.map +1 -1
- package/dist/mcp/auth/index.js.map +1 -1
- package/dist/mcp/catalog/index.js.map +1 -1
- package/dist/mcp/client/index.js.map +1 -1
- package/dist/mcp/es6.classes.d.ts +36 -1
- package/dist/mcp/es6.classes.js +65 -0
- package/dist/mcp/es6.classes.js.map +1 -1
- package/dist/mcp/http/index.js.map +1 -1
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +2 -2
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/interfaces/index.js.map +1 -1
- package/dist/mcp/logging/index.js.map +1 -1
- package/dist/mcp/mentities/index.js.map +1 -1
- package/dist/mcp/tools/index.js.map +1 -1
- package/dist/migrations/1780500000000-MigrateSlaJsonColumnsToJsonb.d.ts +17 -0
- package/dist/migrations/1780500000000-MigrateSlaJsonColumnsToJsonb.js +348 -0
- package/dist/migrations/1780500000000-MigrateSlaJsonColumnsToJsonb.js.map +1 -0
- package/package.json +5 -2
- package/dist/access/services/es6.jobs.service.d.ts +0 -94
- package/dist/access/services/es6.jobs.service.js +0 -209
- package/dist/access/services/es6.jobs.service.js.map +0 -1
- package/dist/access/services/load.entity.service.d.ts +0 -4
- package/dist/access/services/load.entity.service.js +0 -30
- package/dist/access/services/load.entity.service.js.map +0 -1
- package/dist/accessUtility/services/es6.jobs.service.d.ts +0 -30
- package/dist/accessUtility/services/es6.jobs.service.js +0 -81
- package/dist/accessUtility/services/es6.jobs.service.js.map +0 -1
- package/dist/accessWorkflow/services/es6.jobs.service.d.ts +0 -32
- package/dist/accessWorkflow/services/es6.jobs.service.js +0 -85
- package/dist/accessWorkflow/services/es6.jobs.service.js.map +0 -1
- package/dist/config/entity.constants.d.ts +0 -301
- package/dist/config/entity.constants.js +0 -303
- package/dist/config/entity.constants.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.update.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature/feature.update.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC5E,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,qEAAqE,CAAC;IAClI,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACpE,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gDAAgD,CAAC;IAC7F,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAcF,MAAa,iBAAkB,SAAQ,kBAA2B;IAAlE;;QACa,SAAI,GAAG,gBAAgB,CAAC;QACxB,UAAK,GAAG,wBAAwB,CAAC;QACjC,gBAAW,GAAG,+GAA+G,CAAC;QAC9H,gBAAW,GAAG,WAAW,CAAC;IAOvC,CAAC;IALG,OAAO,CAAC,IAAwB;QAC5B,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;QAE7B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC3G,CAAC;CACJ;AAXD,8CAWC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./feature.create.tool"), exports);
|
|
18
|
+
__exportStar(require("./feature.delete.tool"), exports);
|
|
19
|
+
__exportStar(require("./feature.get.tool"), exports);
|
|
20
|
+
__exportStar(require("./feature.list.tool"), exports);
|
|
21
|
+
__exportStar(require("./feature.update.tool"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,wDAAsC;AACtC,wDAAsC;AACtC,qDAAmC;AACnC,sDAAoC;AACpC,wDAAsC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type FeatureMenuCreateInput = {
|
|
5
|
+
feature_id: number;
|
|
6
|
+
menu_id: number;
|
|
7
|
+
attributes?: Record<string, unknown>;
|
|
8
|
+
};
|
|
9
|
+
export declare class FeatureMenuCreateTool extends McpTool<FeatureMenuCreateInput> {
|
|
10
|
+
readonly name = "feature_menu_create";
|
|
11
|
+
readonly title = "Create feature-menu link (admin)";
|
|
12
|
+
readonly description = "Create a feature-menu link record directly in the database (admin/development only). Returns the created row.";
|
|
13
|
+
readonly inputSchema: {
|
|
14
|
+
feature_id: z.ZodNumber;
|
|
15
|
+
menu_id: z.ZodNumber;
|
|
16
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17
|
+
};
|
|
18
|
+
execute(args: FeatureMenuCreateInput): Promise<McpToolResultInterface>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureMenuCreateTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
feature_id: zod_1.z.number().int().positive().describe('Feature the menu belongs to (FK utl_feature_menus.feature_id).'),
|
|
8
|
+
menu_id: zod_1.z.number().int().positive().describe('Menu unlocked by the feature (FK utl_menus.id).'),
|
|
9
|
+
attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
|
|
10
|
+
};
|
|
11
|
+
class FeatureMenuCreateTool extends mcp_tool_1.McpTool {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.name = 'feature_menu_create';
|
|
15
|
+
this.title = 'Create feature-menu link (admin)';
|
|
16
|
+
this.description = 'Create a feature-menu link record directly in the database (admin/development only). Returns the created row.';
|
|
17
|
+
this.inputSchema = inputSchema;
|
|
18
|
+
}
|
|
19
|
+
execute(args) {
|
|
20
|
+
return this.run(() => this.client.request({ method: 'POST', path: 'development/feature_menu', body: args }));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.FeatureMenuCreateTool = FeatureMenuCreateTool;
|
|
24
|
+
//# sourceMappingURL=feature.menu.create.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.menu.create.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.create.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gEAAgE,CAAC;IAClH,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC;IAChG,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAYF,MAAa,qBAAsB,SAAQ,kBAA+B;IAA1E;;QACa,SAAI,GAAG,qBAAqB,CAAC;QAC7B,UAAK,GAAG,kCAAkC,CAAC;QAC3C,gBAAW,GAAG,+GAA+G,CAAC;QAC9H,gBAAW,GAAG,WAAW,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAA4B;QAChC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACjH,CAAC;CACJ;AATD,sDASC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type FeatureMenuDeleteInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class FeatureMenuDeleteTool extends McpTool<FeatureMenuDeleteInput> {
|
|
8
|
+
readonly name = "feature_menu_delete";
|
|
9
|
+
readonly title = "Delete feature-menu link (admin)";
|
|
10
|
+
readonly description = "Soft-delete a feature-menu link record by id (sets deleted_at; not a hard delete). Admin/development only.";
|
|
11
|
+
readonly inputSchema: {
|
|
12
|
+
id: z.ZodNumber;
|
|
13
|
+
};
|
|
14
|
+
protected readonly destructive = true;
|
|
15
|
+
execute(args: FeatureMenuDeleteInput): Promise<McpToolResultInterface>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureMenuDeleteTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
id: zod_1.z.number().int().positive().describe('Id of the feature-menu link row to soft-delete.'),
|
|
8
|
+
};
|
|
9
|
+
class FeatureMenuDeleteTool extends mcp_tool_1.McpTool {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.name = 'feature_menu_delete';
|
|
13
|
+
this.title = 'Delete feature-menu link (admin)';
|
|
14
|
+
this.description = 'Soft-delete a feature-menu link record by id (sets deleted_at; not a hard delete). Admin/development only.';
|
|
15
|
+
this.inputSchema = inputSchema;
|
|
16
|
+
this.destructive = true;
|
|
17
|
+
}
|
|
18
|
+
execute(args) {
|
|
19
|
+
return this.run(() => this.client.request({ method: 'DELETE', path: `development/feature_menu/${args.id}` }));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.FeatureMenuDeleteTool = FeatureMenuDeleteTool;
|
|
23
|
+
//# sourceMappingURL=feature.menu.delete.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.menu.delete.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.delete.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC;CAC9F,CAAC;AAQF,MAAa,qBAAsB,SAAQ,kBAA+B;IAA1E;;QACa,SAAI,GAAG,qBAAqB,CAAC;QAC7B,UAAK,GAAG,kCAAkC,CAAC;QAC3C,gBAAW,GAAG,4GAA4G,CAAC;QAC3H,gBAAW,GAAG,WAAW,CAAC;QAChB,gBAAW,GAAG,IAAI,CAAC;IAK1C,CAAC;IAHG,OAAO,CAAC,IAA4B;QAChC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,4BAA4B,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAClH,CAAC;CACJ;AAVD,sDAUC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type FeatureMenuGetInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class FeatureMenuGetTool extends McpTool<FeatureMenuGetInput> {
|
|
8
|
+
readonly name = "feature_menu_get";
|
|
9
|
+
readonly title = "Get feature-menu link (admin)";
|
|
10
|
+
readonly description = "Fetch a single feature-menu link record by id directly from the database (admin/development only).";
|
|
11
|
+
readonly inputSchema: {
|
|
12
|
+
id: z.ZodNumber;
|
|
13
|
+
};
|
|
14
|
+
protected readonly readOnly = true;
|
|
15
|
+
execute(args: FeatureMenuGetInput): Promise<McpToolResultInterface>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureMenuGetTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
id: zod_1.z.number().int().positive().describe('Id of the feature-menu link row to fetch.'),
|
|
8
|
+
};
|
|
9
|
+
class FeatureMenuGetTool extends mcp_tool_1.McpTool {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.name = 'feature_menu_get';
|
|
13
|
+
this.title = 'Get feature-menu link (admin)';
|
|
14
|
+
this.description = 'Fetch a single feature-menu link record by id directly from the database (admin/development only).';
|
|
15
|
+
this.inputSchema = inputSchema;
|
|
16
|
+
this.readOnly = true;
|
|
17
|
+
}
|
|
18
|
+
execute(args) {
|
|
19
|
+
return this.run(() => this.client.request({ method: 'GET', path: `development/feature_menu/${args.id}` }));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.FeatureMenuGetTool = FeatureMenuGetTool;
|
|
23
|
+
//# sourceMappingURL=feature.menu.get.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.menu.get.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.get.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;CACxF,CAAC;AAOF,MAAa,kBAAmB,SAAQ,kBAA4B;IAApE;;QACa,SAAI,GAAG,kBAAkB,CAAC;QAC1B,UAAK,GAAG,+BAA+B,CAAC;QACxC,gBAAW,GAAG,oGAAoG,CAAC;QACnH,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAAyB;QAC7B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,4BAA4B,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAC/G,CAAC;CACJ;AAVD,gDAUC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type FeatureMenuListInput = {
|
|
5
|
+
limit?: number;
|
|
6
|
+
offset?: number;
|
|
7
|
+
order?: string;
|
|
8
|
+
filter?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
export declare class FeatureMenuListTool extends McpTool<FeatureMenuListInput> {
|
|
11
|
+
readonly name = "feature_menu_list";
|
|
12
|
+
readonly title = "List feature-menu links (admin)";
|
|
13
|
+
readonly description = "List feature-menu link records directly from the database with paging, ordering, and column-equality filters (admin/development only).";
|
|
14
|
+
readonly inputSchema: {
|
|
15
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
order: z.ZodOptional<z.ZodString>;
|
|
18
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
};
|
|
20
|
+
protected readonly readOnly = true;
|
|
21
|
+
execute(args: FeatureMenuListInput): Promise<McpToolResultInterface>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureMenuListTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
limit: zod_1.z.number().int().min(0).optional().describe('Max rows to return (default 50).'),
|
|
8
|
+
offset: zod_1.z.number().int().min(0).optional().describe('Rows to skip (default 0).'),
|
|
9
|
+
order: zod_1.z.string().optional().describe('Order as "column" or "column:asc|desc", e.g. "id:desc".'),
|
|
10
|
+
filter: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Column equality filters, e.g. { "feature_id": 4 }. Non-column keys are ignored.'),
|
|
11
|
+
};
|
|
12
|
+
class FeatureMenuListTool extends mcp_tool_1.McpTool {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.name = 'feature_menu_list';
|
|
16
|
+
this.title = 'List feature-menu links (admin)';
|
|
17
|
+
this.description = 'List feature-menu link records directly from the database with paging, ordering, and column-equality filters (admin/development only).';
|
|
18
|
+
this.inputSchema = inputSchema;
|
|
19
|
+
this.readOnly = true;
|
|
20
|
+
}
|
|
21
|
+
execute(args) {
|
|
22
|
+
const params = new URLSearchParams();
|
|
23
|
+
if (args.limit !== undefined)
|
|
24
|
+
params.set('limit', String(args.limit));
|
|
25
|
+
if (args.offset !== undefined)
|
|
26
|
+
params.set('offset', String(args.offset));
|
|
27
|
+
if (args.order)
|
|
28
|
+
params.set('order', args.order);
|
|
29
|
+
if (args.filter)
|
|
30
|
+
params.set('filter', JSON.stringify(args.filter));
|
|
31
|
+
const query = params.toString();
|
|
32
|
+
const path = `development/feature_menu${query ? `?${query}` : ''}`;
|
|
33
|
+
return this.run(() => this.client.request({ method: 'GET', path }));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.FeatureMenuListTool = FeatureMenuListTool;
|
|
37
|
+
//# sourceMappingURL=feature.menu.list.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.menu.list.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.list.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IACtF,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAChF,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yDAAyD,CAAC;IAChG,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iFAAiF,CAAC;CACnJ,CAAC;AAaF,MAAa,mBAAoB,SAAQ,kBAA6B;IAAtE;;QACa,SAAI,GAAG,mBAAmB,CAAC;QAC3B,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAChB,wIAAwI,CAAC;QACpI,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAcvC,CAAC;IAZG,OAAO,CAAC,IAA0B;QAC9B,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;QACrC,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;YAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QACtE,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS;YAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACzE,IAAI,IAAI,CAAC,KAAK;YAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAChD,IAAI,IAAI,CAAC,MAAM;YAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAEnE,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,2BAA2B,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAEnE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACxE,CAAC;CACJ;AApBD,kDAoBC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type FeatureMenuUpdateInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
feature_id?: number;
|
|
7
|
+
menu_id?: number;
|
|
8
|
+
attributes?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
export declare class FeatureMenuUpdateTool extends McpTool<FeatureMenuUpdateInput> {
|
|
11
|
+
readonly name = "feature_menu_update";
|
|
12
|
+
readonly title = "Update feature-menu link (admin)";
|
|
13
|
+
readonly description = "Update fields of a feature-menu link record directly in the database (admin/development only). Returns the updated row.";
|
|
14
|
+
readonly inputSchema: {
|
|
15
|
+
id: z.ZodNumber;
|
|
16
|
+
feature_id: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
menu_id: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
};
|
|
20
|
+
execute(args: FeatureMenuUpdateInput): Promise<McpToolResultInterface>;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureMenuUpdateTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
id: zod_1.z.number().int().positive().describe('Id of the feature-menu link row to update.'),
|
|
8
|
+
feature_id: zod_1.z.number().int().positive().optional().describe('Feature the menu belongs to (FK utl_feature_menus.feature_id).'),
|
|
9
|
+
menu_id: zod_1.z.number().int().positive().optional().describe('Menu unlocked by the feature (FK utl_menus.id).'),
|
|
10
|
+
attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
|
|
11
|
+
};
|
|
12
|
+
class FeatureMenuUpdateTool extends mcp_tool_1.McpTool {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.name = 'feature_menu_update';
|
|
16
|
+
this.title = 'Update feature-menu link (admin)';
|
|
17
|
+
this.description = 'Update fields of a feature-menu link record directly in the database (admin/development only). Returns the updated row.';
|
|
18
|
+
this.inputSchema = inputSchema;
|
|
19
|
+
}
|
|
20
|
+
execute(args) {
|
|
21
|
+
const { id, ...body } = args;
|
|
22
|
+
return this.run(() => this.client.request({ method: 'PUT', path: `development/feature_menu/${id}`, body }));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.FeatureMenuUpdateTool = FeatureMenuUpdateTool;
|
|
26
|
+
//# sourceMappingURL=feature.menu.update.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.menu.update.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/feature.menu.update.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4CAA4C,CAAC;IACtF,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gEAAgE,CAAC;IAC7H,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC;IAC3G,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAaF,MAAa,qBAAsB,SAAQ,kBAA+B;IAA1E;;QACa,SAAI,GAAG,qBAAqB,CAAC;QAC7B,UAAK,GAAG,kCAAkC,CAAC;QAC3C,gBAAW,GAAG,yHAAyH,CAAC;QACxI,gBAAW,GAAG,WAAW,CAAC;IAOvC,CAAC;IALG,OAAO,CAAC,IAA4B;QAChC,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;QAE7B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,4BAA4B,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAChH,CAAC;CACJ;AAXD,sDAWC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./feature.menu.create.tool"), exports);
|
|
18
|
+
__exportStar(require("./feature.menu.delete.tool"), exports);
|
|
19
|
+
__exportStar(require("./feature.menu.get.tool"), exports);
|
|
20
|
+
__exportStar(require("./feature.menu.list.tool"), exports);
|
|
21
|
+
__exportStar(require("./feature.menu.update.tool"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature_menu/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,6DAA2C;AAC3C,6DAA2C;AAC3C,0DAAwC;AACxC,2DAAyC;AACzC,6DAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/form_script/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/form_script/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,4DAA0C;AAC1C,4DAA0C;AAC1C,yDAAuC;AACvC,0DAAwC;AACxC,4DAA0C"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type GroupRoleCreateInput = {
|
|
5
|
+
group_id: number;
|
|
6
|
+
role_id: number;
|
|
7
|
+
attributes?: Record<string, unknown>;
|
|
8
|
+
};
|
|
9
|
+
export declare class GroupRoleCreateTool extends McpTool<GroupRoleCreateInput> {
|
|
10
|
+
readonly name = "group_role_create";
|
|
11
|
+
readonly title = "Create group-role grant (admin)";
|
|
12
|
+
readonly description = "Create a group-role grant record directly in the database (admin/development only). Returns the created row.";
|
|
13
|
+
readonly inputSchema: {
|
|
14
|
+
group_id: z.ZodNumber;
|
|
15
|
+
role_id: z.ZodNumber;
|
|
16
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17
|
+
};
|
|
18
|
+
execute(args: GroupRoleCreateInput): Promise<McpToolResultInterface>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GroupRoleCreateTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
group_id: zod_1.z.number().int().positive().describe('Role group this grant belongs to (FK utl_group_roles.group_id).'),
|
|
8
|
+
role_id: zod_1.z.number().int().positive().describe('Role granted to the group (FK sys_roles.id).'),
|
|
9
|
+
attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
|
|
10
|
+
};
|
|
11
|
+
class GroupRoleCreateTool extends mcp_tool_1.McpTool {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.name = 'group_role_create';
|
|
15
|
+
this.title = 'Create group-role grant (admin)';
|
|
16
|
+
this.description = 'Create a group-role grant record directly in the database (admin/development only). Returns the created row.';
|
|
17
|
+
this.inputSchema = inputSchema;
|
|
18
|
+
}
|
|
19
|
+
execute(args) {
|
|
20
|
+
return this.run(() => this.client.request({ method: 'POST', path: 'development/group_role', body: args }));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.GroupRoleCreateTool = GroupRoleCreateTool;
|
|
24
|
+
//# sourceMappingURL=group.role.create.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.role.create.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.create.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iEAAiE,CAAC;IACjH,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IAC7F,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAYF,MAAa,mBAAoB,SAAQ,kBAA6B;IAAtE;;QACa,SAAI,GAAG,mBAAmB,CAAC;QAC3B,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAAG,8GAA8G,CAAC;QAC7H,gBAAW,GAAG,WAAW,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAA0B;QAC9B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,wBAAwB,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC/G,CAAC;CACJ;AATD,kDASC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type GroupRoleDeleteInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class GroupRoleDeleteTool extends McpTool<GroupRoleDeleteInput> {
|
|
8
|
+
readonly name = "group_role_delete";
|
|
9
|
+
readonly title = "Delete group-role grant (admin)";
|
|
10
|
+
readonly description = "Soft-delete a group-role grant record by id (sets deleted_at; not a hard delete). Admin/development only.";
|
|
11
|
+
readonly inputSchema: {
|
|
12
|
+
id: z.ZodNumber;
|
|
13
|
+
};
|
|
14
|
+
protected readonly destructive = true;
|
|
15
|
+
execute(args: GroupRoleDeleteInput): Promise<McpToolResultInterface>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GroupRoleDeleteTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
id: zod_1.z.number().int().positive().describe('Id of the group-role grant row to soft-delete.'),
|
|
8
|
+
};
|
|
9
|
+
class GroupRoleDeleteTool extends mcp_tool_1.McpTool {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.name = 'group_role_delete';
|
|
13
|
+
this.title = 'Delete group-role grant (admin)';
|
|
14
|
+
this.description = 'Soft-delete a group-role grant record by id (sets deleted_at; not a hard delete). Admin/development only.';
|
|
15
|
+
this.inputSchema = inputSchema;
|
|
16
|
+
this.destructive = true;
|
|
17
|
+
}
|
|
18
|
+
execute(args) {
|
|
19
|
+
return this.run(() => this.client.request({ method: 'DELETE', path: `development/group_role/${args.id}` }));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.GroupRoleDeleteTool = GroupRoleDeleteTool;
|
|
23
|
+
//# sourceMappingURL=group.role.delete.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.role.delete.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.delete.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gDAAgD,CAAC;CAC7F,CAAC;AAQF,MAAa,mBAAoB,SAAQ,kBAA6B;IAAtE;;QACa,SAAI,GAAG,mBAAmB,CAAC;QAC3B,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAAG,2GAA2G,CAAC;QAC1H,gBAAW,GAAG,WAAW,CAAC;QAChB,gBAAW,GAAG,IAAI,CAAC;IAK1C,CAAC;IAHG,OAAO,CAAC,IAA0B;QAC9B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,0BAA0B,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAChH,CAAC;CACJ;AAVD,kDAUC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type GroupRoleGetInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class GroupRoleGetTool extends McpTool<GroupRoleGetInput> {
|
|
8
|
+
readonly name = "group_role_get";
|
|
9
|
+
readonly title = "Get group-role grant (admin)";
|
|
10
|
+
readonly description = "Fetch a single group-role grant record by id directly from the database (admin/development only).";
|
|
11
|
+
readonly inputSchema: {
|
|
12
|
+
id: z.ZodNumber;
|
|
13
|
+
};
|
|
14
|
+
protected readonly readOnly = true;
|
|
15
|
+
execute(args: GroupRoleGetInput): Promise<McpToolResultInterface>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GroupRoleGetTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
id: zod_1.z.number().int().positive().describe('Id of the group-role grant row to fetch.'),
|
|
8
|
+
};
|
|
9
|
+
class GroupRoleGetTool extends mcp_tool_1.McpTool {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.name = 'group_role_get';
|
|
13
|
+
this.title = 'Get group-role grant (admin)';
|
|
14
|
+
this.description = 'Fetch a single group-role grant record by id directly from the database (admin/development only).';
|
|
15
|
+
this.inputSchema = inputSchema;
|
|
16
|
+
this.readOnly = true;
|
|
17
|
+
}
|
|
18
|
+
execute(args) {
|
|
19
|
+
return this.run(() => this.client.request({ method: 'GET', path: `development/group_role/${args.id}` }));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.GroupRoleGetTool = GroupRoleGetTool;
|
|
23
|
+
//# sourceMappingURL=group.role.get.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.role.get.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.get.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CACvF,CAAC;AAOF,MAAa,gBAAiB,SAAQ,kBAA0B;IAAhE;;QACa,SAAI,GAAG,gBAAgB,CAAC;QACxB,UAAK,GAAG,8BAA8B,CAAC;QACvC,gBAAW,GAAG,mGAAmG,CAAC;QAClH,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAAuB;QAC3B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,0BAA0B,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAC7G,CAAC;CACJ;AAVD,4CAUC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type GroupRoleListInput = {
|
|
5
|
+
limit?: number;
|
|
6
|
+
offset?: number;
|
|
7
|
+
order?: string;
|
|
8
|
+
filter?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
export declare class GroupRoleListTool extends McpTool<GroupRoleListInput> {
|
|
11
|
+
readonly name = "group_role_list";
|
|
12
|
+
readonly title = "List group-role grants (admin)";
|
|
13
|
+
readonly description = "List group-role grant records directly from the database with paging, ordering, and column-equality filters (admin/development only).";
|
|
14
|
+
readonly inputSchema: {
|
|
15
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
order: z.ZodOptional<z.ZodString>;
|
|
18
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
};
|
|
20
|
+
protected readonly readOnly = true;
|
|
21
|
+
execute(args: GroupRoleListInput): Promise<McpToolResultInterface>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GroupRoleListTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
limit: zod_1.z.number().int().min(0).optional().describe('Max rows to return (default 50).'),
|
|
8
|
+
offset: zod_1.z.number().int().min(0).optional().describe('Rows to skip (default 0).'),
|
|
9
|
+
order: zod_1.z.string().optional().describe('Order as "column" or "column:asc|desc", e.g. "id:desc".'),
|
|
10
|
+
filter: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Column equality filters, e.g. { "group_id": 4 }. Non-column keys are ignored.'),
|
|
11
|
+
};
|
|
12
|
+
class GroupRoleListTool extends mcp_tool_1.McpTool {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.name = 'group_role_list';
|
|
16
|
+
this.title = 'List group-role grants (admin)';
|
|
17
|
+
this.description = 'List group-role grant records directly from the database with paging, ordering, and column-equality filters (admin/development only).';
|
|
18
|
+
this.inputSchema = inputSchema;
|
|
19
|
+
this.readOnly = true;
|
|
20
|
+
}
|
|
21
|
+
execute(args) {
|
|
22
|
+
const params = new URLSearchParams();
|
|
23
|
+
if (args.limit !== undefined)
|
|
24
|
+
params.set('limit', String(args.limit));
|
|
25
|
+
if (args.offset !== undefined)
|
|
26
|
+
params.set('offset', String(args.offset));
|
|
27
|
+
if (args.order)
|
|
28
|
+
params.set('order', args.order);
|
|
29
|
+
if (args.filter)
|
|
30
|
+
params.set('filter', JSON.stringify(args.filter));
|
|
31
|
+
const query = params.toString();
|
|
32
|
+
const path = `development/group_role${query ? `?${query}` : ''}`;
|
|
33
|
+
return this.run(() => this.client.request({ method: 'GET', path }));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GroupRoleListTool = GroupRoleListTool;
|
|
37
|
+
//# sourceMappingURL=group.role.list.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.role.list.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.list.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IACtF,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAChF,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yDAAyD,CAAC;IAChG,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+EAA+E,CAAC;CACjJ,CAAC;AAaF,MAAa,iBAAkB,SAAQ,kBAA2B;IAAlE;;QACa,SAAI,GAAG,iBAAiB,CAAC;QACzB,UAAK,GAAG,gCAAgC,CAAC;QACzC,gBAAW,GAChB,uIAAuI,CAAC;QACnI,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAcvC,CAAC;IAZG,OAAO,CAAC,IAAwB;QAC5B,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;QACrC,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS;YAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QACtE,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS;YAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACzE,IAAI,IAAI,CAAC,KAAK;YAAE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAChD,IAAI,IAAI,CAAC,MAAM;YAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAEnE,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,yBAAyB,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAEjE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACxE,CAAC;CACJ;AApBD,8CAoBC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type GroupRoleUpdateInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
group_id?: number;
|
|
7
|
+
role_id?: number;
|
|
8
|
+
attributes?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
export declare class GroupRoleUpdateTool extends McpTool<GroupRoleUpdateInput> {
|
|
11
|
+
readonly name = "group_role_update";
|
|
12
|
+
readonly title = "Update group-role grant (admin)";
|
|
13
|
+
readonly description = "Update fields of a group-role grant record directly in the database (admin/development only). Returns the updated row.";
|
|
14
|
+
readonly inputSchema: {
|
|
15
|
+
id: z.ZodNumber;
|
|
16
|
+
group_id: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
role_id: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
};
|
|
20
|
+
execute(args: GroupRoleUpdateInput): Promise<McpToolResultInterface>;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GroupRoleUpdateTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
id: zod_1.z.number().int().positive().describe('Id of the group-role grant row to update.'),
|
|
8
|
+
group_id: zod_1.z.number().int().positive().optional().describe('Role group this grant belongs to (FK utl_group_roles.group_id).'),
|
|
9
|
+
role_id: zod_1.z.number().int().positive().optional().describe('Role granted to the group (FK sys_roles.id).'),
|
|
10
|
+
attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
|
|
11
|
+
};
|
|
12
|
+
class GroupRoleUpdateTool extends mcp_tool_1.McpTool {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.name = 'group_role_update';
|
|
16
|
+
this.title = 'Update group-role grant (admin)';
|
|
17
|
+
this.description = 'Update fields of a group-role grant record directly in the database (admin/development only). Returns the updated row.';
|
|
18
|
+
this.inputSchema = inputSchema;
|
|
19
|
+
}
|
|
20
|
+
execute(args) {
|
|
21
|
+
const { id, ...body } = args;
|
|
22
|
+
return this.run(() => this.client.request({ method: 'PUT', path: `development/group_role/${id}`, body }));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.GroupRoleUpdateTool = GroupRoleUpdateTool;
|
|
26
|
+
//# sourceMappingURL=group.role.update.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.role.update.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/group_role/group.role.update.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IACrF,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iEAAiE,CAAC;IAC5H,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IACxG,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CAChH,CAAC;AAaF,MAAa,mBAAoB,SAAQ,kBAA6B;IAAtE;;QACa,SAAI,GAAG,mBAAmB,CAAC;QAC3B,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAAG,wHAAwH,CAAC;QACvI,gBAAW,GAAG,WAAW,CAAC;IAOvC,CAAC;IALG,OAAO,CAAC,IAA0B;QAC9B,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;QAE7B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,0BAA0B,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC9G,CAAC;CACJ;AAXD,kDAWC"}
|