@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin.tool.registry.js","sourceRoot":"","sources":["../../../../src/mcp/admin/tools/admin.tool.registry.ts"],"names":[],"mappings":";;;AAEA,gFAA0E;AAC1E,gFAA0E;AAC1E,0EAAoE;AACpE,4EAAsE;AACtE,gFAA0E;AAC1E,4FAAsF;AACtF,4FAAsF;AACtF,sFAAgF;AAChF,wFAAkF;AAClF,4FAAsF;AACtF,sFAAgF;AAChF,sFAAgF;AAChF,gFAA0E;AAC1E,kFAA4E;AAC5E,sFAAgF;AAChF,wGAAkG;AAClG,wGAAkG;AAClG,kGAA4F;AAC5F,oGAA8F;AAC9F,wGAAkG;AAClG,8DAAyD;AACzD,8DAAyD;AACzD,wDAAmD;AACnD,0DAAqD;AACrD,8DAAyD;AACzD,6EAAuE;AACvE,6EAAuE;AACvE,uEAAiE;AACjE,yEAAmE;AACnE,6EAAuE;AACvE,4FAAqF;AACrF,4FAAqF;AACrF,sFAA+E;AAC/E,wFAAiF;AACjF,4FAAqF;AACrF,oEAA+D;AAC/D,oEAA+D;AAC/D,8DAAyD;AACzD,gEAA2D;AAC3D,oEAA+D;AAC/D,mFAA6E;AAC7E,mFAA6E;AAC7E,6EAAuE;AACvE,+EAAyE;AACzE,mFAA6E;AAC7E,oEAA+D;AAC/D,oEAA+D;AAC/D,8DAAyD;AACzD,gEAA2D;AAC3D,oEAA+D;AAC/D,6EAAuE;AACvE,6EAAuE;AACvE,uEAAiE;AACjE,yEAAmE;AACnE,6EAAuE;AACvE,4FAAqF;AACrF,4FAAqF;AACrF,sFAA+E;AAC/E,wFAAiF;AACjF,4FAAqF;AACrF,mFAA6E;AAC7E,mFAA6E;AAC7E,6EAAuE;AACvE,+EAAyE;AACzE,mFAA6E;AAC7E,uFAAiF;AACjF,qFAA+E;AAC/E,6FAAsF;AACtF,yFAAkF;AAClF,qFAA+E;AAC/E,yFAAkF;AAClF,iFAA2E;AAC3E,6EAAuE;AACvE,6EAAuE;AACvE,2EAAqE;
|
|
1
|
+
{"version":3,"file":"admin.tool.registry.js","sourceRoot":"","sources":["../../../../src/mcp/admin/tools/admin.tool.registry.ts"],"names":[],"mappings":";;;AAEA,gFAA0E;AAC1E,gFAA0E;AAC1E,0EAAoE;AACpE,4EAAsE;AACtE,gFAA0E;AAC1E,4FAAsF;AACtF,4FAAsF;AACtF,sFAAgF;AAChF,wFAAkF;AAClF,4FAAsF;AACtF,sFAAgF;AAChF,sFAAgF;AAChF,gFAA0E;AAC1E,kFAA4E;AAC5E,sFAAgF;AAChF,wGAAkG;AAClG,wGAAkG;AAClG,kGAA4F;AAC5F,oGAA8F;AAC9F,wGAAkG;AAClG,8DAAyD;AACzD,8DAAyD;AACzD,wDAAmD;AACnD,0DAAqD;AACrD,8DAAyD;AACzD,6EAAuE;AACvE,6EAAuE;AACvE,uEAAiE;AACjE,yEAAmE;AACnE,6EAAuE;AACvE,4FAAqF;AACrF,4FAAqF;AACrF,sFAA+E;AAC/E,wFAAiF;AACjF,4FAAqF;AACrF,oEAA+D;AAC/D,oEAA+D;AAC/D,8DAAyD;AACzD,gEAA2D;AAC3D,oEAA+D;AAC/D,mFAA6E;AAC7E,mFAA6E;AAC7E,6EAAuE;AACvE,+EAAyE;AACzE,mFAA6E;AAC7E,oEAA+D;AAC/D,oEAA+D;AAC/D,8DAAyD;AACzD,gEAA2D;AAC3D,oEAA+D;AAC/D,6EAAuE;AACvE,6EAAuE;AACvE,uEAAiE;AACjE,yEAAmE;AACnE,6EAAuE;AACvE,4FAAqF;AACrF,4FAAqF;AACrF,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;AAhHD,8CAgHC"}
|
|
@@ -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 BusinessFeatureCreateInput = {
|
|
5
|
+
business_id: number;
|
|
6
|
+
feature_id: number;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
attributes?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
export declare class BusinessFeatureCreateTool extends McpTool<BusinessFeatureCreateInput> {
|
|
11
|
+
readonly name = "business_feature_create";
|
|
12
|
+
readonly title = "Create business feature (admin)";
|
|
13
|
+
readonly description = "Create a business feature record directly in the database (admin/development only). Returns the created row.";
|
|
14
|
+
readonly inputSchema: {
|
|
15
|
+
business_id: z.ZodNumber;
|
|
16
|
+
feature_id: z.ZodNumber;
|
|
17
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
};
|
|
20
|
+
execute(args: BusinessFeatureCreateInput): Promise<McpToolResultInterface>;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessFeatureCreateTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
business_id: zod_1.z.number().int().positive().describe('Business the feature is enabled for (FK utl_business_features.business_id).'),
|
|
8
|
+
feature_id: zod_1.z.number().int().positive().describe('Feature being enabled (FK utl_feature_details.id).'),
|
|
9
|
+
active: zod_1.z.boolean().optional().describe('Whether the feature is currently enabled for the business.'),
|
|
10
|
+
attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
|
|
11
|
+
};
|
|
12
|
+
class BusinessFeatureCreateTool extends mcp_tool_1.McpTool {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.name = 'business_feature_create';
|
|
16
|
+
this.title = 'Create business feature (admin)';
|
|
17
|
+
this.description = 'Create a business feature record directly in the database (admin/development only). Returns the created row.';
|
|
18
|
+
this.inputSchema = inputSchema;
|
|
19
|
+
}
|
|
20
|
+
execute(args) {
|
|
21
|
+
return this.run(() => this.client.request({ method: 'POST', path: 'development/business_feature', body: args }));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.BusinessFeatureCreateTool = BusinessFeatureCreateTool;
|
|
25
|
+
//# sourceMappingURL=business.feature.create.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.feature.create.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/business_feature/business.feature.create.tool.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAAkD;AAElD,MAAM,WAAW,GAAG;IAChB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6EAA6E,CAAC;IAChI,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oDAAoD,CAAC;IACtG,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4DAA4D,CAAC;IACrG,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,yBAA0B,SAAQ,kBAAmC;IAAlF;;QACa,SAAI,GAAG,yBAAyB,CAAC;QACjC,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAAG,8GAA8G,CAAC;QAC7H,gBAAW,GAAG,WAAW,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAAgC;QACpC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,8BAA8B,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACrH,CAAC;CACJ;AATD,8DASC"}
|
|
@@ -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 BusinessFeatureDeleteInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class BusinessFeatureDeleteTool extends McpTool<BusinessFeatureDeleteInput> {
|
|
8
|
+
readonly name = "business_feature_delete";
|
|
9
|
+
readonly title = "Delete business feature (admin)";
|
|
10
|
+
readonly description = "Soft-delete a business feature 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: BusinessFeatureDeleteInput): Promise<McpToolResultInterface>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessFeatureDeleteTool = 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 business feature row to soft-delete.'),
|
|
8
|
+
};
|
|
9
|
+
class BusinessFeatureDeleteTool extends mcp_tool_1.McpTool {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.name = 'business_feature_delete';
|
|
13
|
+
this.title = 'Delete business feature (admin)';
|
|
14
|
+
this.description = 'Soft-delete a business feature 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/business_feature/${args.id}` }));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.BusinessFeatureDeleteTool = BusinessFeatureDeleteTool;
|
|
23
|
+
//# sourceMappingURL=business.feature.delete.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.feature.delete.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/business_feature/business.feature.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,yBAA0B,SAAQ,kBAAmC;IAAlF;;QACa,SAAI,GAAG,yBAAyB,CAAC;QACjC,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAAG,2GAA2G,CAAC;QAC1H,gBAAW,GAAG,WAAW,CAAC;QAChB,gBAAW,GAAG,IAAI,CAAC;IAK1C,CAAC;IAHG,OAAO,CAAC,IAAgC;QACpC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,gCAAgC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IACtH,CAAC;CACJ;AAVD,8DAUC"}
|
|
@@ -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 BusinessFeatureGetInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class BusinessFeatureGetTool extends McpTool<BusinessFeatureGetInput> {
|
|
8
|
+
readonly name = "business_feature_get";
|
|
9
|
+
readonly title = "Get business feature (admin)";
|
|
10
|
+
readonly description = "Fetch a single business feature 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: BusinessFeatureGetInput): Promise<McpToolResultInterface>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessFeatureGetTool = 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 business feature row to fetch.'),
|
|
8
|
+
};
|
|
9
|
+
class BusinessFeatureGetTool extends mcp_tool_1.McpTool {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.name = 'business_feature_get';
|
|
13
|
+
this.title = 'Get business feature (admin)';
|
|
14
|
+
this.description = 'Fetch a single business feature 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/business_feature/${args.id}` }));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.BusinessFeatureGetTool = BusinessFeatureGetTool;
|
|
23
|
+
//# sourceMappingURL=business.feature.get.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.feature.get.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/business_feature/business.feature.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,sBAAuB,SAAQ,kBAAgC;IAA5E;;QACa,SAAI,GAAG,sBAAsB,CAAC;QAC9B,UAAK,GAAG,8BAA8B,CAAC;QACvC,gBAAW,GAAG,mGAAmG,CAAC;QAClH,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAA6B;QACjC,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,gCAAgC,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IACnH,CAAC;CACJ;AAVD,wDAUC"}
|
|
@@ -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 BusinessFeatureListInput = {
|
|
5
|
+
limit?: number;
|
|
6
|
+
offset?: number;
|
|
7
|
+
order?: string;
|
|
8
|
+
filter?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
export declare class BusinessFeatureListTool extends McpTool<BusinessFeatureListInput> {
|
|
11
|
+
readonly name = "business_feature_list";
|
|
12
|
+
readonly title = "List business features (admin)";
|
|
13
|
+
readonly description = "List business feature 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: BusinessFeatureListInput): Promise<McpToolResultInterface>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessFeatureListTool = 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. { "business_id": 4 }. Non-column keys are ignored.'),
|
|
11
|
+
};
|
|
12
|
+
class BusinessFeatureListTool extends mcp_tool_1.McpTool {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.name = 'business_feature_list';
|
|
16
|
+
this.title = 'List business features (admin)';
|
|
17
|
+
this.description = 'List business feature 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/business_feature${query ? `?${query}` : ''}`;
|
|
33
|
+
return this.run(() => this.client.request({ method: 'GET', path }));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.BusinessFeatureListTool = BusinessFeatureListTool;
|
|
37
|
+
//# sourceMappingURL=business.feature.list.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.feature.list.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/business_feature/business.feature.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,E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
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type BusinessFeatureUpdateInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
business_id?: number;
|
|
7
|
+
feature_id?: number;
|
|
8
|
+
active?: boolean;
|
|
9
|
+
attributes?: Record<string, unknown>;
|
|
10
|
+
};
|
|
11
|
+
export declare class BusinessFeatureUpdateTool extends McpTool<BusinessFeatureUpdateInput> {
|
|
12
|
+
readonly name = "business_feature_update";
|
|
13
|
+
readonly title = "Update business feature (admin)";
|
|
14
|
+
readonly description = "Update fields of a business feature record directly in the database (admin/development only). Returns the updated row.";
|
|
15
|
+
readonly inputSchema: {
|
|
16
|
+
id: z.ZodNumber;
|
|
17
|
+
business_id: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
feature_id: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
21
|
+
};
|
|
22
|
+
execute(args: BusinessFeatureUpdateInput): Promise<McpToolResultInterface>;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessFeatureUpdateTool = 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 business feature row to update.'),
|
|
8
|
+
business_id: zod_1.z.number().int().positive().optional().describe('Business the feature is enabled for (FK utl_business_features.business_id).'),
|
|
9
|
+
feature_id: zod_1.z.number().int().positive().optional().describe('Feature being enabled (FK utl_feature_details.id).'),
|
|
10
|
+
active: zod_1.z.boolean().optional().describe('Whether the feature is currently enabled for the business.'),
|
|
11
|
+
attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
|
|
12
|
+
};
|
|
13
|
+
class BusinessFeatureUpdateTool extends mcp_tool_1.McpTool {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.name = 'business_feature_update';
|
|
17
|
+
this.title = 'Update business feature (admin)';
|
|
18
|
+
this.description = 'Update fields of a business feature record directly in the database (admin/development only). Returns the updated row.';
|
|
19
|
+
this.inputSchema = inputSchema;
|
|
20
|
+
}
|
|
21
|
+
execute(args) {
|
|
22
|
+
const { id, ...body } = args;
|
|
23
|
+
return this.run(() => this.client.request({ method: 'PUT', path: `development/business_feature/${id}`, body }));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.BusinessFeatureUpdateTool = BusinessFeatureUpdateTool;
|
|
27
|
+
//# sourceMappingURL=business.feature.update.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.feature.update.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/business_feature/business.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,2CAA2C,CAAC;IACrF,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6EAA6E,CAAC;IAC3I,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oDAAoD,CAAC;IACjH,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4DAA4D,CAAC;IACrG,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,yBAA0B,SAAQ,kBAAmC;IAAlF;;QACa,SAAI,GAAG,yBAAyB,CAAC;QACjC,UAAK,GAAG,iCAAiC,CAAC;QAC1C,gBAAW,GAAG,wHAAwH,CAAC;QACvI,gBAAW,GAAG,WAAW,CAAC;IAOvC,CAAC;IALG,OAAO,CAAC,IAAgC;QACpC,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,gCAAgC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACpH,CAAC;CACJ;AAXD,8DAWC"}
|
|
@@ -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("./business.feature.create.tool"), exports);
|
|
18
|
+
__exportStar(require("./business.feature.delete.tool"), exports);
|
|
19
|
+
__exportStar(require("./business.feature.get.tool"), exports);
|
|
20
|
+
__exportStar(require("./business.feature.list.tool"), exports);
|
|
21
|
+
__exportStar(require("./business.feature.update.tool"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/business_feature/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,iEAA+C;AAC/C,iEAA+C;AAC/C,8DAA4C;AAC5C,+DAA6C;AAC7C,iEAA+C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/catalog/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/catalog/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,gEAA8C;AAC9C,+DAA6C;AAC7C,mEAAiD;AACjD,iEAA+C;AAC/C,+DAA6C;AAC7C,iEAA+C;AAC/C,6DAA2C;AAC3C,2DAAyC;AACzC,2DAAyC;AACzC,0DAAwC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/child_menu/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/child_menu/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,2DAAyC;AACzC,2DAAyC;AACzC,wDAAsC;AACtC,yDAAuC;AACvC,2DAAyC"}
|
|
@@ -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 FeatureCreateInput = {
|
|
5
|
+
product_id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
attributes?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
export declare class FeatureCreateTool extends McpTool<FeatureCreateInput> {
|
|
11
|
+
readonly name = "feature_create";
|
|
12
|
+
readonly title = "Create feature (admin)";
|
|
13
|
+
readonly description = "Create a feature record directly in the database (admin/development only). Returns the created row.";
|
|
14
|
+
readonly inputSchema: {
|
|
15
|
+
product_id: z.ZodNumber;
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
};
|
|
20
|
+
execute(args: FeatureCreateInput): Promise<McpToolResultInterface>;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureCreateTool = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const mcp_tool_1 = require("../../../tools/mcp.tool");
|
|
6
|
+
const inputSchema = {
|
|
7
|
+
product_id: zod_1.z.number().int().positive().describe('Product the feature belongs to (FK utl_feature_details.product_id).'),
|
|
8
|
+
name: zod_1.z.string().describe('Display name of the feature.'),
|
|
9
|
+
description: zod_1.z.string().optional().describe('Human description of what the feature enables.'),
|
|
10
|
+
attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
|
|
11
|
+
};
|
|
12
|
+
class FeatureCreateTool extends mcp_tool_1.McpTool {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.name = 'feature_create';
|
|
16
|
+
this.title = 'Create feature (admin)';
|
|
17
|
+
this.description = 'Create a feature record directly in the database (admin/development only). Returns the created row.';
|
|
18
|
+
this.inputSchema = inputSchema;
|
|
19
|
+
}
|
|
20
|
+
execute(args) {
|
|
21
|
+
return this.run(() => this.client.request({ method: 'POST', path: 'development/feature', body: args }));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.FeatureCreateTool = FeatureCreateTool;
|
|
25
|
+
//# sourceMappingURL=feature.create.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.create.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature/feature.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,qEAAqE,CAAC;IACvH,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACzD,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;AAaF,MAAa,iBAAkB,SAAQ,kBAA2B;IAAlE;;QACa,SAAI,GAAG,gBAAgB,CAAC;QACxB,UAAK,GAAG,wBAAwB,CAAC;QACjC,gBAAW,GAAG,qGAAqG,CAAC;QACpH,gBAAW,GAAG,WAAW,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAAwB;QAC5B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC5G,CAAC;CACJ;AATD,8CASC"}
|
|
@@ -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 FeatureDeleteInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class FeatureDeleteTool extends McpTool<FeatureDeleteInput> {
|
|
8
|
+
readonly name = "feature_delete";
|
|
9
|
+
readonly title = "Delete feature (admin)";
|
|
10
|
+
readonly description = "Soft-delete a feature 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: FeatureDeleteInput): Promise<McpToolResultInterface>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureDeleteTool = 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 row to soft-delete.'),
|
|
8
|
+
};
|
|
9
|
+
class FeatureDeleteTool extends mcp_tool_1.McpTool {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.name = 'feature_delete';
|
|
13
|
+
this.title = 'Delete feature (admin)';
|
|
14
|
+
this.description = 'Soft-delete a feature 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/${args.id}` }));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.FeatureDeleteTool = FeatureDeleteTool;
|
|
23
|
+
//# sourceMappingURL=feature.delete.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.delete.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature/feature.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,uCAAuC,CAAC;CACpF,CAAC;AAQF,MAAa,iBAAkB,SAAQ,kBAA2B;IAAlE;;QACa,SAAI,GAAG,gBAAgB,CAAC;QACxB,UAAK,GAAG,wBAAwB,CAAC;QACjC,gBAAW,GAAG,kGAAkG,CAAC;QACjH,gBAAW,GAAG,WAAW,CAAC;QAChB,gBAAW,GAAG,IAAI,CAAC;IAK1C,CAAC;IAHG,OAAO,CAAC,IAAwB;QAC5B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,uBAAuB,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAC7G,CAAC;CACJ;AAVD,8CAUC"}
|
|
@@ -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 FeatureGetInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class FeatureGetTool extends McpTool<FeatureGetInput> {
|
|
8
|
+
readonly name = "feature_get";
|
|
9
|
+
readonly title = "Get feature (admin)";
|
|
10
|
+
readonly description = "Fetch a single feature 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: FeatureGetInput): Promise<McpToolResultInterface>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureGetTool = 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 row to fetch.'),
|
|
8
|
+
};
|
|
9
|
+
class FeatureGetTool extends mcp_tool_1.McpTool {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.name = 'feature_get';
|
|
13
|
+
this.title = 'Get feature (admin)';
|
|
14
|
+
this.description = 'Fetch a single feature 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/${args.id}` }));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.FeatureGetTool = FeatureGetTool;
|
|
23
|
+
//# sourceMappingURL=feature.get.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.get.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature/feature.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,iCAAiC,CAAC;CAC9E,CAAC;AAOF,MAAa,cAAe,SAAQ,kBAAwB;IAA5D;;QACa,SAAI,GAAG,aAAa,CAAC;QACrB,UAAK,GAAG,qBAAqB,CAAC;QAC9B,gBAAW,GAAG,0FAA0F,CAAC;QACzG,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAKvC,CAAC;IAHG,OAAO,CAAC,IAAqB;QACzB,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,uBAAuB,IAAI,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAC1G,CAAC;CACJ;AAVD,wCAUC"}
|
|
@@ -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 FeatureListInput = {
|
|
5
|
+
limit?: number;
|
|
6
|
+
offset?: number;
|
|
7
|
+
order?: string;
|
|
8
|
+
filter?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
export declare class FeatureListTool extends McpTool<FeatureListInput> {
|
|
11
|
+
readonly name = "feature_list";
|
|
12
|
+
readonly title = "List features (admin)";
|
|
13
|
+
readonly description = "List feature 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: FeatureListInput): Promise<McpToolResultInterface>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureListTool = 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. { "product_id": 4 }. Non-column keys are ignored.'),
|
|
11
|
+
};
|
|
12
|
+
class FeatureListTool extends mcp_tool_1.McpTool {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.name = 'feature_list';
|
|
16
|
+
this.title = 'List features (admin)';
|
|
17
|
+
this.description = 'List feature 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${query ? `?${query}` : ''}`;
|
|
33
|
+
return this.run(() => this.client.request({ method: 'GET', path }));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.FeatureListTool = FeatureListTool;
|
|
37
|
+
//# sourceMappingURL=feature.list.tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.list.tool.js","sourceRoot":"","sources":["../../../../../src/mcp/admin/tools/feature/feature.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,eAAgB,SAAQ,kBAAyB;IAA9D;;QACa,SAAI,GAAG,cAAc,CAAC;QACtB,UAAK,GAAG,uBAAuB,CAAC;QAChC,gBAAW,GAChB,8HAA8H,CAAC;QAC1H,gBAAW,GAAG,WAAW,CAAC;QAChB,aAAQ,GAAG,IAAI,CAAC;IAcvC,CAAC;IAZG,OAAO,CAAC,IAAsB;QAC1B,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,sBAAsB,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;QAE9D,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,0CAoBC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { McpToolResultInterface } from '../../../interfaces/mcp.tool.result.interface';
|
|
3
|
+
import { McpTool } from '../../../tools/mcp.tool';
|
|
4
|
+
type FeatureUpdateInput = {
|
|
5
|
+
id: number;
|
|
6
|
+
product_id?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
attributes?: Record<string, unknown>;
|
|
10
|
+
};
|
|
11
|
+
export declare class FeatureUpdateTool extends McpTool<FeatureUpdateInput> {
|
|
12
|
+
readonly name = "feature_update";
|
|
13
|
+
readonly title = "Update feature (admin)";
|
|
14
|
+
readonly description = "Update fields of a feature record directly in the database (admin/development only). Returns the updated row.";
|
|
15
|
+
readonly inputSchema: {
|
|
16
|
+
id: z.ZodNumber;
|
|
17
|
+
product_id: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
name: z.ZodOptional<z.ZodString>;
|
|
19
|
+
description: z.ZodOptional<z.ZodString>;
|
|
20
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
21
|
+
};
|
|
22
|
+
execute(args: FeatureUpdateInput): Promise<McpToolResultInterface>;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeatureUpdateTool = 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 row to update.'),
|
|
8
|
+
product_id: zod_1.z.number().int().positive().optional().describe('Product the feature belongs to (FK utl_feature_details.product_id).'),
|
|
9
|
+
name: zod_1.z.string().optional().describe('Display name of the feature.'),
|
|
10
|
+
description: zod_1.z.string().optional().describe('Human description of what the feature enables.'),
|
|
11
|
+
attributes: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional().describe('Arbitrary JSON attributes (json column).'),
|
|
12
|
+
};
|
|
13
|
+
class FeatureUpdateTool extends mcp_tool_1.McpTool {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.name = 'feature_update';
|
|
17
|
+
this.title = 'Update feature (admin)';
|
|
18
|
+
this.description = 'Update fields of a feature record directly in the database (admin/development only). Returns the updated row.';
|
|
19
|
+
this.inputSchema = inputSchema;
|
|
20
|
+
}
|
|
21
|
+
execute(args) {
|
|
22
|
+
const { id, ...body } = args;
|
|
23
|
+
return this.run(() => this.client.request({ method: 'PUT', path: `development/feature/${id}`, body }));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.FeatureUpdateTool = FeatureUpdateTool;
|
|
27
|
+
//# sourceMappingURL=feature.update.tool.js.map
|